Skip to content

SiteVolumeMCs

Type ISIAPISiteVolumeMCs · Interface
Namespace SIDRASolutions.SI.API
Assembly SIDRASolutions.SI.API.dll
COM CLSID 2D40E19F-8A0C-4516-884C-E7B195B71B7D

Declaration

[Guid("2D40E19F-8A0C-4516-884C-E7B195B71B7D")]
public interface ISIAPISiteVolumeMCs

Members

Properties

Property Type Summary
Count int
this[] ISIAPISiteVolumeMC Get a Site Volume Bin Movement Class. Return a Site Volume Bin 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 Site Volume Bin Movement Class exists in the data storage.

Properties

Count

int Count { get; }

Type int

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

this[]

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

ISIAPISiteVolumeMC this[] { get; }

Type ISIAPISiteVolumeMC

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

Methods

MovementClassExists(int)

Get a value indicating whether a Site Volume Bin 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 = siteVolumeMCs.MovementClassExists(0);
VARIANT_BOOL result;
siteVolumeMCs->MovementClassExists(0, &result);
result = siteVolumeMCs.MovementClassExists(0)
$result = $siteVolumeMCs.MovementClassExists(0)