This commit is contained in:
2022-09-02 14:08:43 +08:00
parent 86117a04ee
commit ce6ce0717b
22 changed files with 406 additions and 110 deletions

View File

@@ -46,19 +46,14 @@ public class Test3 extends BaseTest {
String now = DateUtil.now();
WQLObject tab= WQLObject.getWQLObject("acs_opc");
for (int i = 5; i < 29; i++) {
for (int i = 3; i <= 6; i++) {
JSONObject map = new JSONObject();
map.put("opc_id",IdUtil.simpleUUID());
if (i < 10){
map.put("opc_code","TW0"+i);
map.put("opc_name","TW0"+i);
} else {
map.put("opc_code","TW"+i);
map.put("opc_name","TW"+i);
}
map.put("opc_host","127.0.0.1");
map.put("opc_code","TW5"+i);
map.put("opc_name","TW5"+i);
map.put("opc_host","192.168.46.225");
map.put("user","administrator");
map.put("password","damien");
map.put("password","nl123");
map.put("prog_id","Kepware.KEPServerEX.V6");
map.put("remark","Kepware.KEPServerEX.V6");
map.put("cls_id","7bc0cc8e-482c-47ca-abdc-0fe7f9c6e729");