Skip to content

ISIAPIPhasemovement_peds Interface

Namespace: SIDRASolutions.SI.API
Assembly: SIDRASolutions.SI.API.dll COM CLSID: 29FCFFCB-198A-48E0-A45E-D3C24650D76A

Declaration

[Guid("29FCFFCB-198A-48E0-A45E-D3C24650D76A")]
public interface ISIAPIPhasemovement_peds

Get an instance

// Navigate to the ISIAPIPhasemovement_peds you need via the ISIAPI tree.
// See ISIAPI for the activation root.
var phasemovement_peds = /* ... */;
' Navigate to the ISIAPIPhasemovement_peds you need via the ISIAPI tree.
' See ISIAPI for the activation root.
Dim phasemovement_peds As ISIAPIPhasemovement_peds = Nothing
# Navigate to the ISIAPIPhasemovement_peds you need via the ISIAPI tree.
# See ISIAPI for the activation root.
phasemovement_peds = ...
# Navigate to the ISIAPIPhasemovement_peds you need via the ISIAPI tree.
# See ISIAPI for the activation root.
$phasemovement_peds = $null

Properties

Count

int Count { get; }

Type int

Code samples
int count = phasemovement_peds.Count;
Dim count As Integer = phasemovement_peds.Count
count = phasemovement_peds.Count
$count = $phasemovement_peds.Count

this[]

Get a Phase's Pedestrian Movement.

ISIAPIPhasemovement_ped this[] { get; }

Type ISIAPIPhasemovement_ped - Return a Phase's Pedestrian Movement if it exists in the data storage; otherwise, null/Nothing.

Code samples
var this[] = phasemovement_peds.this[];
Dim this[] As ISIAPIPhasemovement_ped = phasemovement_peds.this[]
this[] = phasemovement_peds.this[]
$this[] = $phasemovement_peds.this[]

Methods

PhasemovementPedExists(int, int, int)

Get a value indicating whether a Phase's Pedestrian Movement exists in the data storage.

bool PhasemovementPedExists(int type, int origin, int stage)

Parameters

Name Type Description
type int One of: - 1 - Full Crossing - 2 - Slip Lane - 3 - Staged - 4 - Diagonal
origin int One of: - 0 - South - 1 - South East - 2 - East - 3 - North East - 4 - North - 5 - North West - 6 - West - 7 - South West
stage int One of: - 1 - Stage 1 (Approach-side crossing) - 2 - Stage 2 (Exit-side crossing)

Returns bool - true if it exists in the data storage; otherwise, false

Code samples
bool result = phasemovement_peds.PhasemovementPedExists(0, 0, 0);
Dim result As Boolean = phasemovement_peds.PhasemovementPedExists(0, 0, 0)
result = phasemovement_peds.PhasemovementPedExists(0, 0, 0)
$result = $phasemovement_peds.PhasemovementPedExists(0, 0, 0)