更新
This commit is contained in:
@@ -470,6 +470,11 @@ public class StandardInspectSiteDeviceDriver extends AbstractOpcDeviceDriver imp
|
|||||||
if (standardInspectSiteDeviceDriver.getMove() != 0 || standardInspectSiteDeviceDriver.getMode() != 2) {
|
if (standardInspectSiteDeviceDriver.getMove() != 0 || standardInspectSiteDeviceDriver.getMode() != 2) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
//判断是否已经有该起点设备的任务,如果有就结束循环
|
||||||
|
int num1 = taskserver.querySameOriginTask(start_device_code);
|
||||||
|
if (num1 != 0) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
//判断是否有相同终点的任务,有就结束本次循环
|
//判断是否有相同终点的任务,有就结束本次循环
|
||||||
int num = taskserver.querySameDestinationTask(next_device_code);
|
int num = taskserver.querySameDestinationTask(next_device_code);
|
||||||
if (num != 0) {
|
if (num != 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user