ISIAPINetworkCCG Interface¶
Namespace: SIDRASolutions.SI.API
Assembly: SIDRASolutions.SI.API.dll
COM CLSID: 19F00866-DA77-4C33-8A2C-B433B45AA65F
Wrapper interface for a Common Control Group (CCG) in a particular Network
Declaration¶
Get an instance¶
Properties¶
Name¶
Type string
Code samples
NetworkCCGID¶
Network Common Control Group (CCG) ID for displaying in reports.
Type string
Code samples
Position¶
The Common Control Group (CCG) Position in the Network's CCGs collection. It is a zero-base integer.
Type int
Code samples
IsReference¶
Type bool
Code samples
Offset¶
Type int
Code samples
CoordinatedOption¶
Coordinated Option
Type int
Value
One of:
0- NA1- Yes2- No
Code samples
Signal_analysis_method¶
Signalised analysis method, applied to the Sites in this Common Control Group (CCG).
Type int
Value
One of:
0- Fixed-Time/Pretimed1- Actuated
Code samples
Network¶
Type ISIAPINetwork
Code samples
NetworkSites¶
Type ISIAPINetworkSites
Code samples
CCGSequences¶
Type ISIAPINetworkCCGSequences
Code samples
LastErrorMessage¶
Type string
Code samples
Is_multi_sequence_enabled¶
Type bool
Code samples
Methods¶
AddNetworkSite(ISIAPINetworkSite)¶
Add a Network Site into this Network CCG.
Parameters
| Name | Type | Description |
|---|---|---|
networkSite |
ISIAPINetworkSite |
The Network Site to add. |
Returns bool - true if the Network Site is successfully added; otherwise, false.
Code samples
RemoveNetworkSite(ISIAPINetworkSite)¶
Remove a Network Site from this Network CCG.
Parameters
| Name | Type | Description |
|---|---|---|
networkSite |
ISIAPINetworkSite |
The Network Site to remove. |
Returns bool - true if the Network Site is successfully removed; otherwise, false. This method also returns false if the Network Site does not exist in this Network CCG.
Code samples
AddCCGSequence(string)¶
Add a Sequence. A new Sequence is created and added to this Network CCG.
Parameters
| Name | Type | Description |
|---|---|---|
name |
string |
The name of the new Sequence. |
Returns ISIAPINetworkCCGSequence - The new Sequence
Code samples
RemoveCCGSequence(ISIAPINetworkCCGSequence)¶
Remove a Sequence from this Network CCG.
Parameters
| Name | Type | Description |
|---|---|---|
ccgSequence |
ISIAPINetworkCCGSequence |
The Sequence to remove. |
Returns bool - true if the Sequence is successfully removed; otherwise, false. This method also returns false if the Sequence does not exist in this Network CCG.
Code samples
CloneCCGSequence(ISIAPINetworkCCGSequence)¶
Clone a Sequence.
Parameters
| Name | Type | Description |
|---|---|---|
ccgSequence |
ISIAPINetworkCCGSequence |
The Sequence to be cloned. |
Returns ISIAPINetworkCCGSequence - The new cloned Sequence.
Code samples
MoveCCGSequenceTo(ISIAPINetworkCCGSequence, int)¶
Move a Sequence to a new position.
Parameters
| Name | Type | Description |
|---|---|---|
ccgSequence |
ISIAPINetworkCCGSequence |
The Sequence to move. |
newPosition |
int |
The zero-based position that the Sequence should be moved to. |
Returns bool - true if the Sequence is successfully moved; otherwise, false. This method also returns false if the Sequence does not exist in this Network CCG.