From 13a7ee010e75bab8030c7c0be736d0ca02d966d7 Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期五, 08 十二月 2023 10:04:11 +0800
Subject: [PATCH] #避让起始列

---
 src/main/java/com/zy/core/thread/LedThread.java |   18 +++++++++++++-----
 1 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/src/main/java/com/zy/core/thread/LedThread.java b/src/main/java/com/zy/core/thread/LedThread.java
index f7e1687..2701abb 100644
--- a/src/main/java/com/zy/core/thread/LedThread.java
+++ b/src/main/java/com/zy/core/thread/LedThread.java
@@ -9,7 +9,14 @@
 import com.zy.core.model.command.LedCommand;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
+import onbon.bx05.Bx5GEnv;
+import onbon.bx05.Bx5GScreenClient;
+import onbon.bx05.area.TextCaptionBxArea;
+import onbon.bx05.area.page.TextBxPage;
+import onbon.bx05.file.ProgramBxFile;
+import onbon.bx05.utils.DisplayStyleFactory;
 
+import java.awt.*;
 import java.util.HashSet;
 import java.util.List;
 import java.util.Set;
@@ -23,6 +30,8 @@
 
     private Slave slave;
     private Set<Integer> workNos = new HashSet<>();
+    private boolean ledMk = false;
+    private boolean resetStatus = false;    // 澶嶄綅鐘舵��
 
     // 鏄剧ず鍣�
     private StringBuffer stringBuffer = new StringBuffer();
@@ -78,10 +87,10 @@
             sb.append("鐩爣绔欙細").append(command.getStaNo()).append("\n");
             if (!command.isEmptyMk()) {
                 for (MatDto matDto : command.getMatDtos()) {
-                    sb.append(matDto.getOrderNo()).append("\n");
-                    sb.append(matDto.getMatnr()).append("\n");
-                    sb.append(matDto.getModel()).append("\n");
-                    sb.append(matDto.getTotal()).append("/").append(matDto.getCount()).append("\n");
+                    sb.append("鐗╂枡缂栫爜锛�").append(matDto.getMatNo()).append("\n");
+                    sb.append("鍚嶇О锛�").append(matDto.getMaknx()).append("\n");
+                    sb.append("鏁伴噺锛�").append(matDto.getCount()).append("\n");
+                    sb.append("瑙勬牸锛�").append(matDto.getSpecs()).append("\n");
                 }
             }
             sb.append("\n");
@@ -95,7 +104,6 @@
 
     private void reset() {
         commandList = null;
-
         stringBuffer.delete(0, stringBuffer.length());
     }
 

--
Gitblit v1.9.1