From a446066c5f3cedc33e035b2bbc9ad36b5aa18512 Mon Sep 17 00:00:00 2001
From: ZengTao <2773468879@qq.com>
Date: 星期四, 14 十二月 2023 08:25:11 +0800
Subject: [PATCH] 调整提示框字体大小

---
 springboot-vue3/src/main/java/com/example/springboot/component/Plchome.java |   37 +++++++++++++++++++++----------------
 1 files changed, 21 insertions(+), 16 deletions(-)

diff --git a/springboot-vue3/src/main/java/com/example/springboot/component/Plchome.java b/springboot-vue3/src/main/java/com/example/springboot/component/Plchome.java
index 74e11f8..2cf3a03 100644
--- a/springboot-vue3/src/main/java/com/example/springboot/component/Plchome.java
+++ b/springboot-vue3/src/main/java/com/example/springboot/component/Plchome.java
@@ -42,6 +42,7 @@
         while (this != null) {
             try {
                 Thread.sleep(1000);
+                
             } catch (InterruptedException e) {
                 e.printStackTrace();
             }
@@ -108,33 +109,37 @@
             }
             // 鑾峰彇鍑虹墖闃熷垪淇℃伅
             List<Out_slice> listoutslice = outSliceServive.SelectProductionqueue();
-            // List<Out_slice> listoutslice = homeMapper.SelectProductionqueue();
-            // for (Out_slice out_slice : listoutslice) {
-            // out_slice.setstorageCage(homeMapper.SelectStorageGlassById(out_slice.getGlassId()));
-            // }
             jsonObject.append("listoutslice", listoutslice);
             // 鑾峰彇褰撳墠鍑虹墖闃熷垪鐘舵��
             jsonObject.append("isAllowQueue", Plchome.isAllowQueue);
 
             // 鑾峰彇閾濇idDB106.DBW64
-            String frameno=spianService.queGlassid("DB103.270",14).toString();
-            if(frameno!=Plchome.FrameNo&&frameno!=""){
-            Plchome.FrameNo=frameno;
-            }
-            try {
-            north_Glass_Buffer1Service.AddOutSliceS(Plchome.FrameNo);
-            } catch (SQLException e) {
-            // TODO Auto-generated catch block
-            e.printStackTrace();
-            }
+            // String frameno=spianService.queGlassid("DB103.270",14).toString();
+            // if(frameno!=Plchome.FrameNo&&frameno!=""){
+            // Plchome.FrameNo=frameno;
+            // }
+            // try {
+            // north_Glass_Buffer1Service.AddOutSliceS(Plchome.FrameNo);
+            // } catch (SQLException e) {
+            // // TODO Auto-generated catch block
+            // e.printStackTrace();
+            // }
             // 鏄惁闇�瑕佷汉宸ョ‘璁や笂鐗囩幓鐠�
             jsonObject.append("isConfirm", isConfirm);
 
+            //鑾峰彇杩涚墖璇锋眰鐘舵��
+            List<Short> D01Request = S7control.getinstance().ReadWord("DB106.24", 1);
+            boolean D01RequestState = D01Request.contains((short) 1);
+            // boolean D01RequestState =true;
+            jsonObject.append("D01RequestState", D01RequestState);
 
             //澶嶄綅鍊掕鏃�
             // 鍦板潃104.9.6
-            List<Boolean> countdown = S7control.getinstance().ReadBits("104.9.6", 71);
-            jsonObject.append("countdown", countdown);
+            List<Boolean> countdown = S7control.getinstance().ReadBits("DB104.9.6", 1);
+            for (Boolean countdowns : countdown) {
+                jsonObject.append("countdown", countdowns);
+            }
+            // jsonObject.append("countdown", true);
             // 閾濇绾夸氦浜�
 
             // //閾濇id璇锋眰瀛�

--
Gitblit v1.8.0