Click or drag to resize

SwtControls Class

[This is preliminary documentation and is subject to change.]

[Missing <summary> documentation for "T:dss_sharp.SwtControls"]

Inheritance Hierarchy

Namespace:  dss_sharp
Assembly:  dss_sharp (in dss_sharp.dll) Version: 1.0.0
public class SwtControls : ContextState

The SwtControls type exposes the following members.

Public methodSwtControls
Initializes a new instance of the SwtControls class
Public propertyAction
Open or Close the switch. No effect if switch is locked. However, Reset removes any lock and then closes the switch (shelf state).
Public propertyAllNames
Array of strings with all SwtControl names in the circuit.
Public propertyCount
Number of SwtControl objects in active circuit.
Public propertyDelay
Time delay [s] betwen arming and opening or closing the switch. Control may reset before actually operating the switch.
Public propertyFirst
Sets the first SwtControl active. Returns 0 if no more.
Public propertyidx
Get/set active SwtControl by index; index is 1-based: 1..count
Public propertyIsLocked
The lock prevents both manual and automatic switch operation.
Public propertyName
Sets the active SwtControl by Name.
Public propertyNext
Sets the next SwtControl active. Returns 0 if no more.
Public propertyNormalState
Get/set Normal state of switch (see actioncodes) dssActionOpen or dssActionClose
Public propertyState
Set it to force the switch to a specified state, otherwise read its present state.
Public propertySwitchedObj
Full name of the switched element.
Public propertySwitchedTerm
Terminal number where the switch is located on the SwitchedObj
Protected methodCheckForError (Inherited from ContextState.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetContextHandle
Returns the low-level handle of the current OpenDSS/DSS-CAPI instance.
(Inherited from ContextState.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodReset
Public methodToString (Inherited from Object.)
Protected fieldapiutil (Inherited from ContextState.)
Protected fieldctx (Inherited from ContextState.)
See Also