Skip to content

ISIAPILaneApproachMovementMC Interface

Namespace: SIDRASolutions.SI.API
Assembly: SIDRASolutions.SI.API.dll COM CLSID: F8915468-80E7-4CB9-8E45-F1E854E45FA0

Declaration

[Guid("F8915468-80E7-4CB9-8E45-F1E854E45FA0")]
public interface ISIAPILaneApproachMovementMC

Get an instance

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

Exists

Flag indicating whether this Movement Class Approach Movement is running on this Approach Lane.

The state of this property corresponds to the setting of the "Lane Discipline" checkbox in the SIDRA INTERSECTION "Lane Geometry" dialog - "Lane Disciplines" tab for the given Movement Class Approach Movement.

bool Exists { get; set; }

Type bool

Remarks

SIAPISite.ResetLaneMovements() needs to be called manually or the related SIAPILaneMovementMC.Flow_proportion need to be revised manually after Lane Discipline changes.

Code samples
bool exists = laneApproachMovementMC.Exists;
laneApproachMovementMC.Exists = true;
Dim exists As Boolean = laneApproachMovementMC.Exists
laneApproachMovementMC.Exists = true
exists = laneApproachMovementMC.Exists
laneApproachMovementMC.Exists = True
$exists = $laneApproachMovementMC.Exists
$laneApproachMovementMC.Exists = $true

LaneApproachMovement

ISIAPILaneApproachMovement LaneApproachMovement { get; }

Type ISIAPILaneApproachMovement

Code samples
var laneApproachMovement = laneApproachMovementMC.LaneApproachMovement;
Dim laneApproachMovement As ISIAPILaneApproachMovement = laneApproachMovementMC.LaneApproachMovement
lane_approach_movement = laneApproachMovementMC.LaneApproachMovement
$laneApproachMovement = $laneApproachMovementMC.LaneApproachMovement