From 0675b1d0b21d2e883a0d984c0e8d2acf8b67999a Mon Sep 17 00:00:00 2001
From: ZengTao <2773468879@qq.com>
Date: 星期五, 15 十二月 2023 13:45:53 +0800
Subject: [PATCH] 补上被覆盖的方法
---
springboot-vue3/src/main/java/com/example/springboot/component/PlcHold.java | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/springboot-vue3/src/main/java/com/example/springboot/component/PlcHold.java b/springboot-vue3/src/main/java/com/example/springboot/component/PlcHold.java
index 811fd04..c093df8 100644
--- a/springboot-vue3/src/main/java/com/example/springboot/component/PlcHold.java
+++ b/springboot-vue3/src/main/java/com/example/springboot/component/PlcHold.java
@@ -48,12 +48,14 @@
boolean B02backs = spianService.listbool("DB106.62");// b02姹囨姤
StringBuilder B01glassid = spianService.queGlassid("DB103.184", 14);// BO1鐨勭幓鐠僫d
StringBuilder B02glassid = spianService.queGlassid("DB103.212", 14);// B02鐨勭幓鐠僫d
+ int aaa=1;
// 褰撹繘鐗囧皬杞﹀畬鎴愪换鍔℃椂
if (B01backs == true) {
// 褰揃01灏忚溅姹囨姤瀹屾垚鏃舵洿鏀圭幓鐠冪姸鎬� 涓�1
spianService.overtask(B01glassid.toString());// 瀹屾垚浠诲姟
S7control.getinstance().WriteWord("DB106.60", (short) 0);// 鎭㈠B01灏忚溅搴旂瓟鏀逛负0
- System.out.println("姹囨姤鏃禕01|" + B01glassid);
+ System.out.println("姹囨姤鏃禕01|绗�"+aaa+"娆�"+ B01glassid);
+ aaa+=1;
}
// 褰撳嚭鐗囧皬杞﹀畬鎴愪换鍔℃椂
--
Gitblit v1.8.0