代码更新

This commit is contained in:
ludj
2023-02-02 20:41:19 +08:00
parent 12b71b1264
commit 449ab94c94

View File

@@ -29,7 +29,7 @@ public class OpcUtl {
}
public static void writeValue(Group group, WriteRequest... requests) {
public static void writeValue(Group group, WriteRequest... requests) throws WDKException {
try {
Map e = group.write(requests);
boolean is_success = true;
@@ -55,6 +55,7 @@ public class OpcUtl {
// throw new BusinessException(message.toString());
System.out.println("下发信号失败:"+message.toString());
log.info("下发信号失败:"+message.toString());
throw new WDKException(message.toString());
// group.write(requests);
}
} catch (JIException arg7) {