public VsVar(string name, VsVarDirection direction) : base(name, direction) { }
/// <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(); }
/// <summary> /// /// </summary> /// <param name="name"></param> /// <param name="direction"></param> public VSVarBase(string name, VsVarDirection direction) { Check(!string.IsNullOrEmpty(name)); _name = name; _direction = direction; }
/// <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(); }