From 2ef8eda1ea4ef302d86dff34d722da0cce950eff Mon Sep 17 00:00:00 2001 From: schangxiang@126.com <schangxiang@126.com> Date: 周一, 09 12月 2024 16:34:02 +0800 Subject: [PATCH] 1 --- SDA/iWareSda/Devices/3-Rgv/RgvModel/RgvEntity.cs | 35 +---------------------------------- 1 files changed, 1 insertions(+), 34 deletions(-) diff --git a/SDA/iWareSda/Devices/3-Rgv/RgvModel/RgvEntity.cs b/SDA/iWareSda/Devices/3-Rgv/RgvModel/RgvEntity.cs index 36820a3..553656d 100644 --- a/SDA/iWareSda/Devices/3-Rgv/RgvModel/RgvEntity.cs +++ b/SDA/iWareSda/Devices/3-Rgv/RgvModel/RgvEntity.cs @@ -701,40 +701,7 @@ #region 鑾峰彇褰撳墠鎶ヨ淇℃伅 - /// <summary> - /// 鑾峰彇RGV褰撳墠鎶ヨ淇℃伅 - /// </summary> - /// <returns></returns> - public List<DeviceWarningInfo> GetRgvAlertDatas() - { - List<DeviceWarningInfo> db_warningList = new List<DeviceWarningInfo>(); - try - { - string _dbValue; - var isHasAlert = false; - IDictionary<string, string> rgvAlertDict = new Dictionary<string, string>(); - rgvAlertDict = WareSdaStruct.RgvAlertDict; - foreach (var item in rgvAlertDict) - { - _dbValue = item.Key; - isHasAlert = Convert.ToBoolean(this.plcService.ReadValuePoint(Rgv_CacheEntity.R_DBHeader_RGV_Alert, item.Key, typeof(bool))); - if (isHasAlert) - { - db_warningList.Add(new DeviceWarningInfo() - { - Address = item.Key, - Code = item.Key, - Context = item.Value.Trim() - }); - } - } - } - catch (Exception ex) - { - throw ex; - } - return db_warningList; - } + /// <summary> /// 鑾峰彇杈撻�佺嚎褰撳墠鎶ヨ淇℃伅 -- Gitblit v1.9.3