コード例 #1
0
 /// <summary>
 /// 得到四大车的工作车;(需要在一个计时器中)
 /// </summary>
 public void GetAllJobAndNonJobCar()
 {
     TJob.GetCopy((Tjc)T1.GetJobCar(CarsLst[0], CarsLst[1], Addrs.TRoomNumDic));
     LJob.GetCopy((Ljc)L1.GetJobCar(CarsLst[2], CarsLst[3], Addrs.LRoomNumDic));
     XJob.GetCopy((Xjc)X1.GetJobCar((Xjc)CarsLst[4], (Xjc)CarsLst[5]));
     //20171124 得到平煤的工作推焦车
     TNonJob.GetCopy(TJob.CarNum == 1 ? T2 : T1);
     LNonJob.GetCopy(LJob.CarNum == 1 ? L2 : L1);
     XNonJob.GetCopy(XJob.CarNum == 1 ? X2 : X1);
 }