Miner.Interop.Framework Assembly > Miner.Interop Namespace > IMMTracedElements Interface : Diff Method |
Takes an IMMTracedElements object
An IMMTracedElements object containing a collection of elements that have been energized
An IMMTracedElements object containing a collection of elements that have been de-energized
An IMMTracedElementDeltas object containing a collection of elements that have been energized on a different phase
'Declaration Sub Diff( _ ByVal after As IMMTracedElements, _ ByRef newlyEnergizedElements As IMMTracedElements, _ ByRef newlyDeEnergizedElements As IMMTracedElements, _ ByRef differentlyEnergizedElements As IMMTracedElementDeltas _ )
'Usage Dim instance As IMMTracedElements Dim after As IMMTracedElements Dim newlyEnergizedElements As IMMTracedElements Dim newlyDeEnergizedElements As IMMTracedElements Dim differentlyEnergizedElements As IMMTracedElementDeltas instance.Diff(after, newlyEnergizedElements, newlyDeEnergizedElements, differentlyEnergizedElements)
Takes an IMMTracedElements object
An IMMTracedElements object containing a collection of elements that have been energized
An IMMTracedElements object containing a collection of elements that have been de-energized
An IMMTracedElementDeltas object containing a collection of elements that have been energized on a different phase
This method allows you to analyze the differences between two traces. For example, you may perform a TraceDownstream with connectivity and switching in the normal state. Preserve the resulting IMMTracedElements collections for junctions and edges in a variable. Execute some sort of disturbance in the network. For example, you do some as simple as opening a fuse, or do it up right and take out a few circuit breakers (it's okay no one will get hurt).
Once you've modified the network, perform a second TraceDownstream with connectivity and switching in the post-disturbance state. Now, call the Diff method on the "before" trace, passing in the results of the "after" trace to the after argument. The Diff method returns information about the differences between the before and after traces as an IMMTracedElementDeltas object.
Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)
Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.