From 2bbc7c7398f59e844e942203615732dcc79de0a5 Mon Sep 17 00:00:00 2001
From: admin <15939171744@163.com>
Date: 星期五, 13 九月 2024 16:19:42 +0800
Subject: [PATCH] 主线人工工位进站给plc写使能1

---
 jcdm-main/src/main/java/com/jcdm/main/plcserver/sub/OPCUaSubscription.java |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/jcdm-main/src/main/java/com/jcdm/main/plcserver/sub/OPCUaSubscription.java b/jcdm-main/src/main/java/com/jcdm/main/plcserver/sub/OPCUaSubscription.java
index e4e6c25..1bfcdd1 100644
--- a/jcdm-main/src/main/java/com/jcdm/main/plcserver/sub/OPCUaSubscription.java
+++ b/jcdm-main/src/main/java/com/jcdm/main/plcserver/sub/OPCUaSubscription.java
@@ -121,6 +121,8 @@
                                 productNum = "productNum,"+ productNum;
                                 WebSocketUsers.sendMessageToUserByText(map.get(device), productNum);
                                 miloService.writeToOpcShort(ReadWriteEntity.builder().identifier(thoroughfare + "." + device + ".RecordDataDone").value(11).build());
+                                String str = thoroughfare + "." + device + ".MESScrew";
+                                miloService.writeToOpcShort(ReadWriteEntity.builder().identifier(str).value(1).build());//鎷х揣姝ラ
                             }
 
                         }

--
Gitblit v1.9.3