My Blog List

Tuesday, August 2, 2011

NTest and Fiber Customer Report


I've been looking into a problem that Neil reported yesterday about the NTest window in ArcMap not getting populated with the alarms that were being generated by the simulator executable. I found the code on Brook's old machine and now have it sort of working on my machine.  The solution includes two projects - Telvent.SE.ArcMapNTest and Telvent.SE.SimulateNTestRTU.  The simulator simply writes alarms events to a configurable database table when a button is clicked.  It doesn't seem like there is any problem there at all.  In the Telvent.SE.ArcMapNTest project, there are two command - CMDOpenManager (which launches a dockable window that is to contain the events sent to the database table from the simulator) and also CMDFiberCustomerReport.  On my machine when you click on the CMDOpenManager, it correctly docks and populates - on Neil's machine, it does not populate. Neil thinks this may be because he has another version of Telvent.SE.FiberTools.dll (which is apparently the location of an older / alternate version of the Customer Report).  The newer version of the report, which apparently has an XSL that allows for collapsible regions, is in the Telvent.SE.ArcMapNTest assembly.  The two customer reports can be distinguished by their bitmaps.  The old one is red and the new one is blue.
New bitmap for Customer Trace (called also from Right-click context of Alarms dockable window).

UPDATE - In Telvent.SE.ArcMapNTest the right-click context menu for launching to Customer report is actually using different code than what the button (command) does despite the fact that they are in the same project.  So in essence there are three copies of this Customer report - the first red one the Telvent.SE.FiberTools assembly, and the other two in the ArcMapNTest assembly. 

No comments:

Post a Comment