更新
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user