From ad71edbf0f9d2cf2bc46cd2ba1e0239f80949e68 Mon Sep 17 00:00:00 2001 From: wuyouming666 <2265557248@qq.com> Date: 星期四, 21 十二月 2023 15:12:56 +0800 Subject: [PATCH] 增加清除id调用终止出片任务 --- springboot-vue3/src/main/java/com/example/springboot/component/Plchome.java | 23 +++++++++++------------ 1 files changed, 11 insertions(+), 12 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 f66d279..66b3252 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 @@ -31,7 +31,7 @@ // 鍑虹墖闃熷垪鏄惁鍏佽鍑虹墖 public static Boolean isAllowQueue = true; // 閾濇id - public static String FrameNo; + public static String FrameNo=""; // 鏄惁闇�瑕佹墜鍔ㄧ‘璁ょ幓鐠� public static Boolean isConfirm = false; @@ -116,20 +116,19 @@ // if (inglassInfo.size() > 0) // jsonObject.append("loadglassheight", inglassInfo.get(0) * 70); // } - // // 鑾峰彇閾濇idDB106.DBW64 - // String frameno=spianService.queGlassid("DB103.270",14).toString(); - // if(frameno!=Plchome.FrameNo&&frameno!=""){ - // Plchome.FrameNo=frameno; + // String frameno = spianService.queGlassid("DB103.270", 14).toString(); + // // String frameno="X12345611002GV"; + // if (!frameno.equals(Plchome.FrameNo)) { + // Plchome.FrameNo = frameno; + // try { + // north_Glass_Buffer1Service.AddOutSliceS(Plchome.FrameNo); + // } catch (SQLException e) { + // // TODO Auto-generated catch block + // e.printStackTrace(); + // } // } - // try { - // north_Glass_Buffer1Service.AddOutSliceS(Plchome.FrameNo); - // } catch (SQLException e) { - // // TODO Auto-generated catch block - // e.printStackTrace(); - // } - // // 鑾峰彇杩涚墖璇锋眰鐘舵�� // List<Short> D01Request = S7control.getinstance().ReadWord("DB106.24", 1); -- Gitblit v1.8.0