| | |
| | | //{ |
| | | |
| | | //} |
| | | if (conveyorLineInfoRead.R_BoxCode=="1") |
| | | { |
| | | int taskNum = Convert.ToInt32(DateTime.Now.ToString("ddHHmmss")); |
| | | WebResponseContent content = _taskService.RequestWMSTaskSimple(taskNum.ToString(), item.StationCode,taskType:TaskTypeEnum.ProductMD.ObjToInt(),taskNum: taskNum, targetAddress:"2554"); |
| | | //璇锋眰浠诲姟 |
| | | if (content.Status) |
| | | { |
| | | //鍐欏叆鍑哄簱绾夸綋鍦板潃 |
| | | device.SetValue(W_CLineCPHDB.W_TaskNo, 5, item.StationCode); |
| | | device.SetValue(W_CLineCPHDB.W_TaskNo, taskNum, item.StationCode); |
| | | device.SetValue(W_ConveyorLineCPDB.W_Command, 1, item.StationCode); |
| | | } |
| | | } |
| | | |
| | | } |
| | | } |
| | | else if(item.StationType == StationTypeEnum.StationType_OnlyOutbound.ObjToInt() && deviceProRead != null) |