Skip to content

ISIAPINetworkMC Interface

Namespace: SIDRASolutions.SI.API
Assembly: SIDRASolutions.SI.API.dll COM CLSID: 68E9501D-A37F-40DC-9B5D-200CA57ABAB3

Declaration

[Guid("68E9501D-A37F-40DC-9B5D-200CA57ABAB3")]
public interface ISIAPINetworkMC

Get an instance

// Navigate to the ISIAPINetworkMC you need via the ISIAPI tree.
// See ISIAPI for the activation root.
var networkMC = /* ... */;
' Navigate to the ISIAPINetworkMC you need via the ISIAPI tree.
' See ISIAPI for the activation root.
Dim networkMC As ISIAPINetworkMC = Nothing
# Navigate to the ISIAPINetworkMC you need via the ISIAPI tree.
# See ISIAPI for the activation root.
networkMC = ...
# Navigate to the ISIAPINetworkMC you need via the ISIAPI tree.
# See ISIAPI for the activation root.
$networkMC = $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 = networkMC.MC_class;
Dim mC_class As Integer = networkMC.MC_class
mc_class = networkMC.MC_class
$mC_class = $networkMC.MC_class

DesiredSpeedMethod

Desired Speed Method

int DesiredSpeedMethod { get; set; }

Type int

Value

One of:

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

DesiredSpeed

float DesiredSpeed { get; set; }

Type float

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

LowerLimitOfSpeedEfficiency

float LowerLimitOfSpeedEfficiency { get; set; }

Type float

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

Network

ISIAPINetwork Network { get; }

Type ISIAPINetwork

Code samples
var network = networkMC.Network;
Dim network As ISIAPINetwork = networkMC.Network
network = networkMC.Network
$network = $networkMC.Network