Esempio n. 1
0
        public RegistryTrafficTicket(int id, TrafficTicket TfTicket, vehicle car, Driver driver, DateTime fecha)
        {
            Id         = id;
            Infraccion = TfTicket;
            Vehiculo   = car;
            Conductor  = driver;
            Fecha      = fecha;

            discountDriverPoints(TfTicket, driver);
        }
Esempio n. 2
0
 public void discountDriverPoints(TrafficTicket tfTicket, Driver driver)
 {
     driver.ChangePoint(KindOfOperation.DECREASE, tfTicket.DecreasePoint);
 }