| | |
| | | #region 浠诲姟閫昏緫澶勭悊 |
| | | var onlinestate = commonStackerCrane.GetValue<StackerCraneDBName, short>(StackerCraneDBName.Onlinestate); |
| | | var writeStatus = commonStackerCrane.GetValue<StackerCraneDBName, short>(StackerCraneDBName.WriteStatus); |
| | | if (onlinestate == (short)Onlinestate.online && writeStatus == (short)WriteStatus.Permit) |
| | | if (onlinestate == (short)Onlinestate.online /*&& writeStatus == (short)WriteStatus.Permit*/) |
| | | { |
| | | #region 鏌ヨ浠诲姟,閫昏緫澶勭悊 |
| | | if (Enum.Parse<RunStatus>(commonStackerCrane.GetValue<StackerCraneDBName, short>(StackerCraneDBName.RunStatus).ToString()) == RunStatus.Standby) |
| | |
| | | //} |
| | | #endregion |
| | | } |
| | | else if (task.TaskType == (int)TaskInboundTypeEnum.Inbound) |
| | | else if (/*task.TaskType == (int)TaskInboundTypeEnum.Inbound*/_taskService.TaskInboundTypes.Contains(task.TaskType)) |
| | | { |
| | | var ShuttleCar = GetShuttleCarInfo(task.TargetAddress);//鍏ュ簱浠诲姟鍒ゆ柇缁堢偣鏄惁鏈夌┛姊溅 |
| | | if (task.TargetIsPickPlace && ShuttleCar != null)//绉昏蛋 |