예제 #1
0
 public void CloneProperties(VehicleEngine vehicleEngine)
 {
     this.volume       = vehicleEngine.volume;
     this.modification = vehicleEngine.modification;
     this.power        = vehicleEngine.power;
     this.modelCode    = vehicleEngine.modelCode;
     this.releaseStart = vehicleEngine.releaseStart;
     this.releaseEnd   = vehicleEngine.releaseEnd;
 }
예제 #2
0
 public VehicleEngine(VehicleModification vehicleModification, VehicleEngine vehicleEngine)
 {
     this.VehicleModification = vehicleModification;
     this.volume       = vehicleEngine.volume;
     this.modification = vehicleEngine.modification;
     this.power        = vehicleEngine.power;
     this.modelCode    = vehicleEngine.modelCode;
     this.releaseStart = vehicleEngine.releaseStart;
     this.releaseEnd   = vehicleEngine.releaseEnd;
 }