| | |
| | | var station = stationinfoRepository.Find(x => x.stationCode == stationCode && x.enable).FirstOrDefault(); |
| | | if (station == null) continue; |
| | | remark = "æ¥è¯¢èµ·ç¹æ¯å¦åå¨ä»»å¡"; |
| | | if (agvtaskService.Find(x => x.agv_fromaddress == stationCode /*|| x.agv_toaddress == stationCode*/).Any()) |
| | | continue; |
| | | if (stationCode.Contains("W") && agvtaskService.Find(x => x.agv_fromaddress == stationCode || x.agv_toaddress == stationCode).Any()) continue; |
| | | else |
| | | { |
| | | if (agvtaskService.Find(x => x.agv_fromaddress == stationCode).Any()) continue; |
| | | } |
| | | remark = "读åå
çµä¿¡å·"; |
| | | var details = plcRepository.Find(x => x.plcdetail_iotype == plc.plcinfo_iotyep && x.plcdetail_number == stationCode).ToList(); |
| | | var PalletSignal = (Int16)DBExtension.Read(details.Where(x => x.plcdetail_name == "R_PalletSignal").First(), client);//读åæçä¿¡å·:1:æ,2æ |