ArcFM Solution Developer Guide
GetPhasesForDeviceAtNewLocation Method


This function assumes that the total number of phases on the device cannot be changed, i.e. you cannot turn a single-phase device into a 3-phase device or vice versa, and it returns a value with that same number of phases if possible, with phase names changed as needed, based on the availability of named phases at the new location. Returns Phases.None if the original phases of the device are incompatible with the available phases at the new location, e.g. the original device phases are ABC and A is the only available phase at the new location.
Syntax
'Declaration
 
<System.Runtime.CompilerServices.ExtensionAttribute()>
Public Shared Function GetPhasesForDeviceAtNewLocation( _
   ByVal originalDevicePhases As Phases, _
   ByVal phasesAvailableAtNewLocation As Phases _
) As Phases
'Usage
 
Dim originalDevicePhases As Phases
Dim phasesAvailableAtNewLocation As Phases
Dim value As Phases
 
value = PhaseExtensions.GetPhasesForDeviceAtNewLocation(originalDevicePhases, phasesAvailableAtNewLocation)
[System.Runtime.CompilerServices.Extension()]
public static Phases GetPhasesForDeviceAtNewLocation( 
   Phases originalDevicePhases,
   Phases phasesAvailableAtNewLocation
)

Parameters

originalDevicePhases
phasesAvailableAtNewLocation
Requirements

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.

See Also

Reference

PhaseExtensions Class
PhaseExtensions Members

 

 


Send Comment