Esempio n. 1
0
 public VsVar(string name, VsVarDirection direction) : base(name, direction)
 {
 }
Esempio n. 2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="name"></param>
 /// <param name="direction"></param>
 /// <param name="solver"></param>
 public VSVehicleVarDouble(string name, VsVarDirection direction, VsVehicleSolver solver) : base(name, direction, solver)
 {
     OnResetVehicle();
 }
Esempio n. 3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="name"></param>
 /// <param name="direction"></param>
 public VSVarBase(string name, VsVarDirection direction)
 {
     Check(!string.IsNullOrEmpty(name));
     _name      = name;
     _direction = direction;
 }
Esempio n. 4
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="name"></param>
 /// <param name="direction"></param>
 /// <param name="solver"></param>
 public VsVehicleVar(string name, VsVarDirection direction, VsVehicleSolver solver) : base(name, direction)
 {
     VsVehicleSolver = solver;
     VsVehicleSolver.AddVSVar(this);
     VsVehicleSolver.ResetVehicleEvent += (o, e) => OnResetVehicle();
 }