From 74a84c4c625efe3c0c728266ff6d3df32f108cf6 Mon Sep 17 00:00:00 2001 From: wu <731351411@qq.com> Date: 星期五, 15 九月 2023 16:30:53 +0800 Subject: [PATCH] 增加进片请求字段的拼接,出片任务判定逻辑更改。 --- springboot-vue3/src/main/java/com/example/springboot/service/SpianService.java | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/springboot-vue3/src/main/java/com/example/springboot/service/SpianService.java b/springboot-vue3/src/main/java/com/example/springboot/service/SpianService.java index 8b4729a..942e6dd 100644 --- a/springboot-vue3/src/main/java/com/example/springboot/service/SpianService.java +++ b/springboot-vue3/src/main/java/com/example/springboot/service/SpianService.java @@ -158,7 +158,7 @@ int tiers; int prctier; - + spianMapper.Updatetask(1, 0);//瀹屾垚浠诲姟 Glass glasslist = spianMapper.selectGlass(glassid); if(glasslist==null){ return (300); @@ -208,9 +208,10 @@ // 鏁版嵁搴撲慨鏀圭瀛愯〃鏂板涓�鏉$幓鐠� spianMapper.UpdataAddCage(orderids, glassid, widths, cage1, cells, ids, 1); spianMapper.UpdataAddCage1(widths, cage1, cells);//鍑忓皯鏍煎瓙瀹藉害 - spianMapper.Updatetask(1, 0);//瀹屾垚浠诲姟 + S7control.getinstance().WriteWord(adddresslist, datas); - + S7control.getinstance().WriteWord("DB106.10", (short)0); //杩涚墖浠诲姟瀹屾垚鏀规垚0 + S7control.getinstance().WriteWord("DB106.8", (short)1); //杩涚墖杞︾姸鎬佹敼鎴愬繖纰� return (200); } } -- Gitblit v1.8.0