Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CheckInOut" /> class.
 /// </summary>
 /// <param name="TimeLog">TimeLog.</param>
 /// <param name="Created">Created.</param>
 /// <param name="Actor">Actor.</param>
 /// <param name="Coords">Coords.</param>
 /// <param name="Distance">Distance.</param>
 /// <param name="DistanceFromCheckIn">DistanceFromCheckIn.</param>
 /// <param name="Verified">Verified.</param>
 public CheckInOut(ShipmentTask TimeLog = default(ShipmentTask), DateTime?Created = default(DateTime?), User Actor = default(User), Coords Coords = default(Coords), decimal?Distance = default(decimal?), decimal?DistanceFromCheckIn = default(decimal?), bool?Verified = default(bool?))
 {
     this.TimeLog             = TimeLog;
     this.Created             = Created;
     this.Actor               = Actor;
     this.Coords              = Coords;
     this.Distance            = Distance;
     this.DistanceFromCheckIn = DistanceFromCheckIn;
     this.Verified            = Verified;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Shipment" /> class.
 /// </summary>
 /// <param name="Id">Id.</param>
 /// <param name="User">User.</param>
 /// <param name="Name">Name.</param>
 /// <param name="Direction">Direction.</param>
 /// <param name="Carrier">Carrier.</param>
 /// <param name="Created">Created.</param>
 /// <param name="Task">Task.</param>
 /// <param name="Status">Status.</param>
 /// <param name="Actions">Actions.</param>
 public Shipment(int?Id = default(int?), User User = default(User), string Name = default(string), DirectionEnum?Direction = default(DirectionEnum?), ShipmentCarrier Carrier = default(ShipmentCarrier), DateTime?Created = default(DateTime?), ShipmentTask Task = default(ShipmentTask), StatusEnum?Status = default(StatusEnum?), List <ActionsEnum> Actions = default(List <ActionsEnum>))
 {
     this.Id        = Id;
     this.User      = User;
     this.Name      = Name;
     this.Direction = Direction;
     this.Carrier   = Carrier;
     this.Created   = Created;
     this.Task      = Task;
     this.Status    = Status;
     this.Actions   = Actions;
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Problem" /> class.
 /// </summary>
 /// <param name="Id">Id.</param>
 /// <param name="Type">Type.</param>
 /// <param name="Comments">Comments.</param>
 /// <param name="Contact">Contact.</param>
 /// <param name="Watchers">Watchers.</param>
 /// <param name="Escalate">Escalate.</param>
 /// <param name="Resolution">Resolution.</param>
 /// <param name="Author">Author.</param>
 /// <param name="Created">Created.</param>
 /// <param name="Message">Message.</param>
 public Problem(int?Id = default(int?), ProblemType Type = default(ProblemType), string Comments = default(string), ContactEnum?Contact = default(ContactEnum?), List <int?> Watchers = default(List <int?>), bool?Escalate = default(bool?), ProblemResolution Resolution = default(ProblemResolution), User Author = default(User), DateTime?Created = default(DateTime?), ShipmentTask Message = default(ShipmentTask))
 {
     this.Id         = Id;
     this.Type       = Type;
     this.Comments   = Comments;
     this.Contact    = Contact;
     this.Watchers   = Watchers;
     this.Escalate   = Escalate;
     this.Resolution = Resolution;
     this.Author     = Author;
     this.Created    = Created;
     this.Message    = Message;
 }
Пример #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WorkOrderRatingsBuyer" /> class.
 /// </summary>
 /// <param name="Actions">Actions.</param>
 /// <param name="Manager">Manager.</param>
 /// <param name="Company">Company.</param>
 /// <param name="Overall">Overall.</param>
 /// <param name="WorkOrder">WorkOrder.</param>
 /// <param name="Blocks">Blocks.</param>
 public WorkOrderRatingsBuyer(List <ActionsEnum> Actions = default(List <ActionsEnum>), User Manager = default(User), ShipmentTask Company = default(ShipmentTask), WorkOrderRatingsBuyerOverall Overall = default(WorkOrderRatingsBuyerOverall), WorkOrderRatingsBuyerWorkOrder WorkOrder = default(WorkOrderRatingsBuyerWorkOrder), Block Blocks = default(Block))
 {
     this.Actions   = Actions;
     this.Manager   = Manager;
     this.Company   = Company;
     this.Overall   = Overall;
     this.WorkOrder = WorkOrder;
     this.Blocks    = Blocks;
 }