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"); map5.put("value", "4");
list.add(map5); list.add(map5);
this.writing(list); this.writing(list);
this.writing(list); // this.writing(list);
message = "申请捆扎成功"; message = "申请捆扎成功";
requireSucess = true; requireSucess = true;
} else { } else {

View File

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

View File

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