示例#1
0
 public Overview(ParkedVehicle parked)
 {
     Id                 = parked.Id;
     vehicletype        = parked.type;
     RegistrationNumber = parked.RegistrationNumber;
     Color              = parked.Color;
     ParkingTime        = parked.CheckInTime;
 }
示例#2
0
 public Receipt(ParkedVehicle p)
 {
     Id = p.Id;
     RegistrationNumber = p.RegistrationNumber;
     type         = p.type;
     CheckIn      = p.CheckInTime;
     CheckOut     = p.CheckOutTime;
     TotalTime    = p.TotalTime;
     ParkingPrice = p.ParkingPrice;
 }