This commit is contained in:
caixiang
2023-03-01 17:06:24 +08:00
parent 41207394e5
commit 550a2f796b
3 changed files with 266 additions and 191 deletions

View File

@@ -178,7 +178,7 @@ public enum S7Client {
);
return type.toObject(read);
}
}catch (Exception e) {
}catch (Throwable e) {
throw new S7CheckResultException("read errMsg : "+e.getMessage());
}
@@ -293,7 +293,7 @@ public enum S7Client {
);
}
return null;
}catch (Exception e) {
}catch (Throwable e) {
throw new S7CheckResultException("write errMsg : "+e.getMessage());
}
},