From 53d6a24cb335b0c9b4449e1211ce8ea644d68d67 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期五, 31 五月 2024 20:48:53 +0800
Subject: [PATCH] 可根据图号更改下料口车轮数量入库条件

---
 代码管理/PCS/WCS_Server/WIDESEA_WCS/WCSClient/PLCClient.cs |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/PCS/WCS_Server/WIDESEA_WCS/WCSClient/PLCClient.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/PCS/WCS_Server/WIDESEA_WCS/WCSClient/PLCClient.cs"
index 616a98e..496e55e 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/PCS/WCS_Server/WIDESEA_WCS/WCSClient/PLCClient.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/PCS/WCS_Server/WIDESEA_WCS/WCSClient/PLCClient.cs"
@@ -113,11 +113,15 @@
         /// <param name="orderName"></param>
         /// <returns></returns>
         /// <exception cref="NotImplementedException"></exception>
-        public virtual DataType ReadByOrder<DataType>(string orderName)
+        public virtual DataType ReadByOrder<DataType>(string orderName, string Method = null)
         {
             throw new NotImplementedException();
         }
 
+        public object ReadValues(string equipNum)
+        {
+            throw new NotImplementedException();
+        }
         /// <summary>
         /// 鍐欏叆鏁版嵁锛屾牴鎹瓺B鍦板潃
         /// </summary>
@@ -137,7 +141,7 @@
         /// <param name="value"></param>
         /// <returns></returns>
         /// <exception cref="NotImplementedException"></exception>
-        public virtual bool WriteByOrder(string orderName , object value)
+        public virtual bool WriteByOrder(string orderName, object value, string Method = null)
         {
             throw new NotImplementedException();
         }
@@ -151,6 +155,7 @@
         {
             if (!operateResult.IsSuccess)
             {
+                IsConnected = false;
                 throw new Exception($"銆怑rror銆戞暟鎹鍙栧け璐�,鎸囦护{item.name}锛孌B鍦板潃{item.dbAddress}\n閿欒淇℃伅:{operateResult.Message}");
             }
             return operateResult.Content;
@@ -167,6 +172,7 @@
         {
             if (!operateResult.IsSuccess)
             {
+                IsConnected = false;
                 throw new Exception($"銆怑rror銆戞暟鎹鍙栧け璐�,DB鍦板潃{dbAddress}\n閿欒淇℃伅:{operateResult.Message}");
             }
             return operateResult.Content;

--
Gitblit v1.9.3