This commit is contained in:
USER-20220102CG\noblelift
2023-02-02 01:00:18 +08:00
parent ccfaa17962
commit ac645d660a
3 changed files with 6 additions and 5 deletions

View File

@@ -795,7 +795,7 @@ public class SiemensConveyorDeviceDriver extends AbstractOpcDeviceDriver impleme
map5.put("value", "4");
list.add(map5);
this.writing(list);
this.writing(list);
// this.writing(list);
message = "申请捆扎成功";
requireSucess = true;
} else {

View File

@@ -72,10 +72,11 @@ public class AbstractOpcDeviceDriver extends AbstractDeviceDriver implements Opc
sb.append(":");
sb.append(JsonUtl.parseWithoutException(udw_value));
sb.append(";");
if (!need_write && !UnifiedDataAppService.isEquals(udw_value, write_value)) {
need_write = true;
}
// if (!need_write && !UnifiedDataAppService.isEquals(udw_value, write_value)) {
// need_write = true;
// }
}
need_write = true;
if (need_write) {
Date date = new Date();

View File

@@ -55,7 +55,7 @@ public class OpcUtl {
// throw new BusinessException(message.toString());
System.out.println("下发信号失败:"+message.toString());
log.info("下发信号失败:"+message.toString());
group.write(requests);
// group.write(requests);
}
} catch (JIException arg7) {
// throw new BusinessException(arg7);