/// <summary> /// Initializes a new instance of the <see cref="Vehicle" /> class. /// </summary> /// <param name="VehicleId">Unique identifier of vehicle.</param> /// <param name="TypeId">Unique identifier referring to the available vehicle types.</param> /// <param name="StartAddress">StartAddress.</param> /// <param name="EndAddress">EndAddress.</param> /// <param name="_Break">_Break.</param> /// <param name="ReturnToDepot">Indicates whether vehicle should return to start address or not. If not, it can end at any service activity..</param> /// <param name="EarliestStart">earliest start of vehicle at its start location.</param> /// <param name="LatestEnd">latest end of vehicle at its end location.</param> /// <param name="Skills">array of skills.</param> public Vehicle(string VehicleId = null, string TypeId = null, Address StartAddress = null, Address EndAddress = null, ModelBreak _Break = null, bool?ReturnToDepot = null, long?EarliestStart = null, long?LatestEnd = null, List <string> Skills = null) { this.VehicleId = VehicleId; this.TypeId = TypeId; this.StartAddress = StartAddress; this.EndAddress = EndAddress; this._Break = _Break; this.ReturnToDepot = ReturnToDepot; this.EarliestStart = EarliestStart; this.LatestEnd = LatestEnd; this.Skills = Skills; }
/// <summary> /// Initializes a new instance of the <see cref="Vehicle" /> class. /// </summary> /// <param name="VehicleId">Unique identifier of vehicle.</param> /// <param name="TypeId">Unique identifier referring to the available vehicle types.</param> /// <param name="StartAddress">StartAddress.</param> /// <param name="EndAddress">EndAddress.</param> /// <param name="_Break">_Break.</param> /// <param name="ReturnToDepot">Indicates whether vehicle should return to start address or not. If not, it can end at any service activity..</param> /// <param name="EarliestStart">earliest start of vehicle at its start location.</param> /// <param name="LatestEnd">latest end of vehicle at its end location.</param> /// <param name="Skills">array of skills.</param> /// <param name="MaxDistance">max distance of vehicle.</param> public Vehicle(string VehicleId = default(string), string TypeId = default(string), Address StartAddress = default(Address), Address EndAddress = default(Address), ModelBreak _Break = default(ModelBreak), bool?ReturnToDepot = default(bool?), long?EarliestStart = default(long?), long?LatestEnd = default(long?), List <string> Skills = default(List <string>), long?MaxDistance = default(long?)) { this.VehicleId = VehicleId; this.TypeId = TypeId; this.StartAddress = StartAddress; this.EndAddress = EndAddress; this._Break = _Break; this.ReturnToDepot = ReturnToDepot; this.EarliestStart = EarliestStart; this.LatestEnd = LatestEnd; this.Skills = Skills; this.MaxDistance = MaxDistance; }