Skip to content

ISIAPIRouteMC Interface

Namespace: SIDRASolutions.SI.API
Assembly: SIDRASolutions.SI.API.dll COM CLSID: 562A8D97-07F0-4160-ABA4-50241723E32F

Declaration

[Guid("562A8D97-07F0-4160-ABA4-50241723E32F")]
public interface ISIAPIRouteMC

Get an instance

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

Properties

MC_class

Movement Class Number

int MC_class { get; }

Type int

Value

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
Code samples
int mC_class = routeMC.MC_class;
Dim mC_class As Integer = routeMC.MC_class
mc_class = routeMC.MC_class
$mC_class = $routeMC.MC_class

DesiredSpeedMethod

Desired Speed Method or Option

int DesiredSpeedMethod { get; set; }

Type int

Value

One of:

  • 0 - User Input
  • 1 - Program
Code samples
int desiredSpeedMethod = routeMC.DesiredSpeedMethod;
routeMC.DesiredSpeedMethod = 0;
Dim desiredSpeedMethod As Integer = routeMC.DesiredSpeedMethod
routeMC.DesiredSpeedMethod = 0
desired_speed_method = routeMC.DesiredSpeedMethod
routeMC.DesiredSpeedMethod = 0
$desiredSpeedMethod = $routeMC.DesiredSpeedMethod
$routeMC.DesiredSpeedMethod = 0

DesiredSpeed

float DesiredSpeed { get; set; }

Type float

Code samples
float desiredSpeed = routeMC.DesiredSpeed;
routeMC.DesiredSpeed = 0.0;
Dim desiredSpeed As Single = routeMC.DesiredSpeed
routeMC.DesiredSpeed = 0.0
desired_speed = routeMC.DesiredSpeed
routeMC.DesiredSpeed = 0.0
$desiredSpeed = $routeMC.DesiredSpeed
$routeMC.DesiredSpeed = 0.0

LowerLimitOfSpeedEfficiency

float LowerLimitOfSpeedEfficiency { get; set; }

Type float

Code samples
float lowerLimitOfSpeedEfficiency = routeMC.LowerLimitOfSpeedEfficiency;
routeMC.LowerLimitOfSpeedEfficiency = 0.0;
Dim lowerLimitOfSpeedEfficiency As Single = routeMC.LowerLimitOfSpeedEfficiency
routeMC.LowerLimitOfSpeedEfficiency = 0.0
lower_limit_of_speed_efficiency = routeMC.LowerLimitOfSpeedEfficiency
routeMC.LowerLimitOfSpeedEfficiency = 0.0
$lowerLimitOfSpeedEfficiency = $routeMC.LowerLimitOfSpeedEfficiency
$routeMC.LowerLimitOfSpeedEfficiency = 0.0

Route

ISIAPIRoute Route { get; }

Type ISIAPIRoute

Code samples
var route = routeMC.Route;
Dim route As ISIAPIRoute = routeMC.Route
route = routeMC.Route
$route = $routeMC.Route