ISIAPISequence Interface¶
Namespace: SIDRASolutions.SI.API
Assembly: SIDRASolutions.SI.API.dll
COM CLSID: 3BE91ECF-5A7F-4DA5-8F7F-72C9E2320809
Declaration¶
Get an instance¶
Properties¶
Name¶
Type string
Code samples
Position¶
The Sequence Position in the Site's Sequences collection. It is a zero-base integer.
Type int
Code samples
Is_selected¶
Get or Set this Sequence is selected for analysis.
More than one Sequence can be selected for analysis.
Type bool
Code samples
Cycle_time_option¶
Cycle Time Option
Type int
Value
One of:
0- Practical Cycle Time1- Optimum Cycle Time2- User-Given Cycle Time3- User-Given Phase Time4- Optimum Maximum Green Settings
Code samples
Practical_max_cycle_time¶
Type float
Code samples
Practical_cycle_rounding_applied¶
Type bool
Code samples
Practical_cycle_rounding¶
Type int
Code samples
Optimum_cycle_time_lower_user¶
Type bool
Code samples
Optimum_cycle_time_lower¶
Type int
Code samples
Optimum_cycle_time_upper¶
Type int
Code samples
Optimum_cycle_time_increment¶
Type int
Code samples
Optimum_cycle_time_perf_measure¶
Type int
Code samples
Optimum_cycle_time_optim_method¶
Type int
Code samples
Optimum_max_green_percent_lower¶
Type int
Code samples
Optimum_max_green_percent_upper¶
Type int
Code samples
Optimum_max_green_percent_increment¶
Type int
Code samples
Optimum_max_green_perf_measure¶
Type int
Code samples
Optimum_max_green_optim_method¶
Type int
Code samples
Variable_phasing_perf_measure¶
Type int
Code samples
Usergiven_cycle_time¶
Type float
Code samples
Green_split_priority_option¶
Green Split Priority
Type int
Value
One of:
0- None1- Coordinated Movements2- User-Specified Movements
Code samples
Actuated_max_green_major_mov¶
Type float
Code samples
Actuated_max_green_minor_mov¶
Type float
Code samples
Actuated_gap_major_mov¶
Type float
Code samples
Actuated_gap_minor_mov¶
Type float
Code samples
Eff_det_zone_len_major_mov¶
Type float
Code samples
Eff_det_zone_len_minor_mov¶
Type float
Code samples
Site¶
Type ISIAPISite
Code samples
Phases¶
Type ISIAPIPhases
Code samples
LastErrorMessage¶
Type string
Code samples
Lane_blockage_effect_option¶
Lane Blockage Effect Option:
In Network analysis, include Lane Blockage effects in determining Phase Times.
Type int
Value
One of:
0- Without Lane Blockage Effects1- With Lane Blockage Effects
Code samples
Is_timing_optimised_for_selected_result¶
Type bool
Code samples
Methods¶
AddPhase(string)¶
Add a new Phase to the end of this Sequence.
Parameters
| Name | Type | Description |
|---|---|---|
name |
string |
The name of the new Phase. |
Returns ISIAPIPhase - The new added Phase.
Code samples
RemovePhase(ISIAPIPhase)¶
Remove a Phase from this Sequence.
Parameters
| Name | Type | Description |
|---|---|---|
phase |
ISIAPIPhase |
The Phase to remove. |
Returns bool - true if the Phase is successfully removed; otherwise, false. This method also returns false if the Phase does not exist in this Sequence.
Code samples
InsertPhase(int, string)¶
Insert a new Phase into this Sequence at the specified position.
Parameters
| Name | Type | Description |
|---|---|---|
position |
int |
The zero-based position at which the new Phase should be inserted. |
name |
string |
The name of the new Phase. |
Returns ISIAPIPhase - The new added Phase.
Code samples
ClonePhase(ISIAPIPhase)¶
Clone a Phase.
Parameters
| Name | Type | Description |
|---|---|---|
phase |
ISIAPIPhase |
The Phase to clone. |
Returns ISIAPIPhase - The new cloned Phase.
Code samples
MovePhaseTo(ISIAPIPhase, int)¶
Move a Phase to a new position.
Parameters
| Name | Type | Description |
|---|---|---|
phase |
ISIAPIPhase |
The Phase to move. |
newPosition |
int |
The zero-based position that the Phase should be moved to. |
Returns bool - true if the Phase is successfully moved; otherwise, false. This method also returns false if the Phase does not exist in this Sequence.