浏览代码

柜锁临时处理办法

liubo 3 年之前
父节点
当前提交
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();