Пример #1
0
		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();
		}