public Invoice(int id, Vehicle.Vehicle servicedVehicle, Service service, Company company, Employee servicedBy, double vat, double total, double finalTotal) { Id = id; ServicedVehicle = servicedVehicle; Service = service; Company = company;; ServicedBy = servicedBy; Vat = vat; Total = total; FinalTotal = finalTotal; }
public Invoice(int id, Vehicle.Vehicle servicedVehicle, Service service, Client client, Employee servicedBy, double vat, double total, double finalTotal) { Id = id; ServicedVehicle = servicedVehicle; Service = service; Client = client; ServicedBy = servicedBy; Vat = vat; Total = total; FinalTotal = finalTotal; }
public Appointment(string subject, DateTime appointmentDate, string serviceType, int startTime, int endTime, int slotNumber, Vehicle.Vehicle vehicle, bool isNewClient) { RezervimID = ++_appointmentId; Subject = subject; Data = appointmentDate; ServiceType = serviceType; StartTime = startTime; EndtTime = endTime; SlotNumber = slotNumber; Vehicle = vehicle; IsTreated = false; IsCanceled = false; IsNewClient = isNewClient; }
private static double getDebrisMovement(Vehicle.Vehicle debris) { double changeX; if (debris.Direction == Direction.Right) { changeX = debris.Speed; } else { changeX = -debris.Speed; } return(changeX); }