public void DoSomeOfJob(Parts parts, float labourHours) { if(parts != null) { for(int i=0; i<parts.Count; ++i) { this.parts.Add(parts[i]); } } if(labourHours > 0) { this.labourHours += labourHours; } }
public VehicleMaintJob() { parts = new Parts(); }