예제 #1
0
 public TrainInfo(TrainControlMode controlMode, Direction direction, float speed) :
     this()
 {
     ControlMode = controlMode;
     Direction   = direction;
     Speed       = speed;
 }
예제 #2
0
 public TrainInfo(TrainControlMode controlMode, Direction direction, float speed, float projectedSpeed,
                  float allowedSpeedMpS, float gradient, Direction cabOrientation, bool onPath) :
     this()
 {
     ControlMode    = controlMode;
     Direction      = direction;
     Speed          = speed;
     ProjectedSpeed = projectedSpeed;
     AllowedSpeed   = allowedSpeedMpS;
     Gradient       = gradient;
     CabOrientation = cabOrientation;
     PathDefined    = onPath;
 }