From 147e949e6ed8bb2c6cd68bd2fcc518405fd38d34 Mon Sep 17 00:00:00 2001
From: 严智鑫 <test>
Date: 星期六, 11 五月 2024 08:42:39 +0800
Subject: [PATCH] 拉取最新代码

---
 springboot-vue3/src/main/java/com/example/springboot/component/Plchome.java |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 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 113e5ad..f663b3c 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
@@ -130,8 +130,8 @@
                  boolean istest = true;
                 // String PlcRequest = "1";
                 // String MesSend = "0";
-                // double width = 402;
-                // double height = 402;
+                // double width = 516;
+                // double height = 507;
                 
                 //鍖归厤
                 //System.err.println(PlcRequest+","+MesSend+","+width+","+height);
@@ -157,8 +157,14 @@
                     nullQueue.setglassId("");
                     nullQueue.setglassheight(0);
                     nullQueue.setglasswidth(0);
+                    nullQueue.setglassheightmm(0);
+                    nullQueue.setglasswidthmm(0);
                     jsonObject.append("LastQueue", nullQueue);
                 }else{
+                    if (LastQueue.getstate()<1) {
+                        LastQueue.setglasswidth(0);
+                        LastQueue.setglassheight(0);
+                    }
                     jsonObject.append("LastQueue", LastQueue);
                 }
                 // String E01id = new String( S7controlLK.getinstance().ReadByte("DB17.0",16));

--
Gitblit v1.8.0