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