コード例 #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;
 }
コード例 #2
0
ファイル: Delivery.cs プロジェクト: cantte/Russell
 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;
 }
コード例 #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();
 }
コード例 #4
0
 public TransportForm(string number, Route route, Vehicle vehicle, AdministrativeEmployee dispatcher) : this(number, route, vehicle, dispatcher, DateTime.Now, DateTime.Now)
 {
 }
コード例 #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)
 {
 }
コード例 #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)
 {
 }
コード例 #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;
 }
コード例 #8
0
ファイル: Delivery.cs プロジェクト: cantte/Russell
 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)
 {
 }