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;
			}
		}
示例#2
0
		public VehicleMaintJob()
		{
			parts = new Parts();
		}