From bb929bd0809eefc1108dd779846ff07d997f7ef0 Mon Sep 17 00:00:00 2001
From: huanghongfeng <huanghongfeng@hnkhzn.com>
Date: 星期五, 19 七月 2024 09:25:14 +0800
Subject: [PATCH] 反馈MES工单完成
---
代码管理/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