Skip to content

ISIAPIPhasemovement_vehicles Interface

Namespace: SIDRASolutions.SI.API
Assembly: SIDRASolutions.SI.API.dll COM CLSID: 6C0D331C-1B1B-4C15-9D8D-43B7310274CC

Declaration

[Guid("6C0D331C-1B1B-4C15-9D8D-43B7310274CC")]
public interface ISIAPIPhasemovement_vehicles

Get an instance

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

Properties

Count

int Count { get; }

Type int

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

this[]

Get a Phase's Vehicle Movement.

ISIAPIPhasemovement_vehicle this[] { get; }

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

Code samples
var this[] = phasemovement_vehicles.this[];
Dim this[] As ISIAPIPhasemovement_vehicle = phasemovement_vehicles.this[]
this[] = phasemovement_vehicles.this[]
$this[] = $phasemovement_vehicles.this[]

Methods

PhasemovementVehicleExists(int, int, int)

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

bool PhasemovementVehicleExists(int origin, int destination, int mcClass)

Parameters

Name Type Description
origin int One of: - 0 - South - 1 - South East - 2 - East - 3 - North East - 4 - North - 5 - North West - 6 - West - 7 - South West
destination int One of: - 0 - South - 1 - South East - 2 - East - 3 - North East - 4 - North - 5 - North West - 6 - West - 7 - South West
mcClass int One of: - 1 - Light Vehicles - 2 - Heavy Vehicles - 3 - Buses - 4 - Bicycles - 5 - Large Trucks - 6 - Trams - 7 - User Class 1 - 8 - User Class 2

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

Code samples
bool result = phasemovement_vehicles.PhasemovementVehicleExists(0, 0, 0);
Dim result As Boolean = phasemovement_vehicles.PhasemovementVehicleExists(0, 0, 0)
result = phasemovement_vehicles.PhasemovementVehicleExists(0, 0, 0)
$result = $phasemovement_vehicles.PhasemovementVehicleExists(0, 0, 0)