Przeglądaj źródła

柜锁临时处理办法

liubo 3 lat temu
rodzic
commit
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();