From 5b5429a616f4d6637c3ddd4b2476f4d563f19585 Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周四, 27 3月 2025 17:23:28 +0800
Subject: [PATCH] 增加 下发任务
---
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