Explorar o código

柜锁临时处理办法

liubo %!s(int64=3) %!d(string=hai) anos
pai
achega
fdb34b6e27

+ 11 - 3
zd-modules/zd-modules-laboratory/src/main/java/com/zd/laboratory/controller/device/DeviceRemoteController.java

@@ -61,11 +61,19 @@ public class DeviceRemoteController {
             ops.write(ReUtil.hexStringToByteArray(instruct));
             ops.flush();
 
-            Thread.sleep(800);
+            Thread.sleep(300);
             ops.write(ReUtil.hexStringToByteArray(instruct));
             ops.flush();
-
-            Thread.sleep(700);
+            Thread.sleep(500);
+            ops.write(ReUtil.hexStringToByteArray(instruct));
+            ops.flush();
+            Thread.sleep(300);
+            ops.write(ReUtil.hexStringToByteArray(instruct));
+            ops.flush();
+            Thread.sleep(500);
+            ops.write(ReUtil.hexStringToByteArray(instruct));
+            ops.flush();
+            Thread.sleep(300);
             ops.write(ReUtil.hexStringToByteArray(instruct));
             ops.flush();