Beispiel #1
0
 public Commend(string number, DateTime date, Person sender, Person receiver, AdministrativeEmployee dispatcher, string destination, string description,
                decimal freightValue, decimal agreement, Vehicle vehicle, State state) : base(number, date, sender,
                                                                                              receiver, dispatcher, destination, state)
 {
     Description  = description;
     FreightValue = freightValue;
     Agreement    = agreement;
     Vehicle      = vehicle;
     Total        = FreightValue + Agreement;
 }
Beispiel #2
0
 public Delivery(string number, DateTime date, Person sender, Person receiver, AdministrativeEmployee dispatcher, string destination, State state)
 {
     Number      = number;
     Date        = date;
     Sender      = sender;
     Receiver    = receiver;
     Dispatcher  = dispatcher;
     Destination = destination;
     State       = state;
 }
Beispiel #3
0
 public TransportForm(string number, Route route, Vehicle vehicle, AdministrativeEmployee dispatcher, DateTime startDate,
                      DateTime depatureTime, bool state = true)
 {
     Number               = number;
     State                = state;
     Route                = route;
     Vehicle              = vehicle;
     Dispatcher           = dispatcher;
     Date                 = startDate;
     DepartureTime        = depatureTime;
     Tickets              = new List <Ticket>();
     FinalcialInformation = new FinalcialInformation();
     SetFinalcialInformation();
 }
Beispiel #4
0
 public TransportForm(string number, Route route, Vehicle vehicle, AdministrativeEmployee dispatcher) : this(number, route, vehicle, dispatcher, DateTime.Now, DateTime.Now)
 {
 }
Beispiel #5
0
 public Commend(string number, Person sender, Person receiver, AdministrativeEmployee dispatcher, string destination, string desciption,
                decimal freightValue, decimal agreement, Vehicle vehicle, State state = State.Active) : this(number, DateTime.Now, sender, receiver, dispatcher, destination, desciption, freightValue, agreement, vehicle, state)
 {
 }
Beispiel #6
0
 public BankDraft(string number, Person sender, Person receiver, AdministrativeEmployee dispatcher, string destination,
                  decimal valueToSend, decimal cost, State state = State.Active) : this(number, DateTime.Now, sender, receiver, dispatcher, destination, valueToSend, cost, state)
 {
 }
Beispiel #7
0
 public BankDraft(string number, DateTime date, Person sender, Person receiver, AdministrativeEmployee dispatcher, string destination,
                  decimal valueToSend, decimal cost, State state) : base(number, date, sender,
                                                                         receiver, dispatcher, destination, state)
 {
     ValueToSend = valueToSend;
     Cost        = cost;
     Total       = ValueToSend + Cost;
 }
Beispiel #8
0
 public Delivery(string number, Person sender, Person receiver, AdministrativeEmployee dispatcher, string destination, State state = State.Active) :
     this(number, DateTime.Now, sender, receiver, dispatcher, destination, state)
 {
 }