From 03ddbc02f5f0f35354489af3badacccd993457f0 Mon Sep 17 00:00:00 2001 From: ZengTao <2773468879@qq.com> Date: 星期四, 21 十二月 2023 11:52:09 +0800 Subject: [PATCH] 修改进出片终止功能 --- 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