Skip to content

MovementClasses

Type ISIAPIMovementClasses · Interface
Namespace SIDRASolutions.SI.API
Assembly SIDRASolutions.SI.API.dll
COM CLSID BB0704D0-5295-4EF2-A6B1-1DF3324E23BF

Declaration

[Guid("BB0704D0-5295-4EF2-A6B1-1DF3324E23BF")]
public interface ISIAPIMovementClasses

Members

Properties

Property Type Summary
Count int
this[] ISIAPIMovementClass Get a Movement Class. Return a Movement Class if it exists in the data storage; otherwise, null/Nothing.

Methods

Method Returns Summary
MovementClassExists(int) bool Get a value indicating whether a Movement Class exists in the data storage.

Properties

Count

int Count { get; }

Type int

Code samples
int count = movementClasses.Count;
long count;
movementClasses->get_Count(&count);
count = movementClasses.Count
$count = $movementClasses.Count

this[]

Get a Movement Class.
Return a Movement Class if it exists in the data storage; otherwise, null/Nothing.

ISIAPIMovementClass this[] { get; }

Type ISIAPIMovementClass

Code samples
var this[] = movementClasses.this[];
CComPtr<ISIAPIMovementClass> this[];
movementClasses->get_this[](&this[]);
this[] = movementClasses.this[]
$this[] = $movementClasses.this[]

Methods

MovementClassExists(int)

Get a value indicating whether a Movement Class exists in the data storage.

bool MovementClassExists(int mcClass)

Parameters

Name Type Description
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 - 9 - User Class 3 - 10 - User Class 4 - 11 - User Class 5 - 12 - User Class 6

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

Code samples
bool result = movementClasses.MovementClassExists(0);
VARIANT_BOOL result;
movementClasses->MovementClassExists(0, &result);
result = movementClasses.MovementClassExists(0)
$result = $movementClasses.MovementClassExists(0)