固化室出库逻辑优化&agv信号反馈优化
This commit is contained in:
@@ -234,10 +234,10 @@ public class OneNDCSocketConnectionAutoRun extends AbstractAutoRunnable {
|
||||
} else {
|
||||
//上报异常信息
|
||||
//(不需要WCS反馈)
|
||||
if (phase == 0x67) {
|
||||
device = deviceAppService.findDeviceByCode(Integer.toString(arr[27]));
|
||||
if (phase == 0x67 || phase == 0x70 || phase == 0x71 || phase == 0x72 || phase == 0x73 || phase == 0x74) {
|
||||
device = deviceAppService.findDeviceByCode("AGV0" +agvaddr);
|
||||
} else {
|
||||
device = deviceAppService.findDeviceByCode("AGV0" + Integer.toString(arr[20]));
|
||||
device = deviceAppService.findDeviceByCode("AGV0" + arr[20]);
|
||||
}
|
||||
if (ObjectUtil.isNotEmpty(device)) {
|
||||
if (device.getDeviceDriver() instanceof AgvNdcOneDeviceDriver) {
|
||||
|
||||
Reference in New Issue
Block a user