Browse Source

匿名对象获取

样式分支
pry 2 years ago
parent
commit
1f42a50ce9
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      BPASmartClient.Device/BaseDevice.cs

+ 7
- 1
BPASmartClient.Device/BaseDevice.cs View File

@@ -181,7 +181,11 @@ namespace BPASmartClient.Device
});
alarmHelper.RemoveAction = new Action<string>((s) =>
{
//Error;
var res = Error.FirstOrDefault(p => p.GetType().GetProperty("Text").GetValue(p).ToString() == s);
if (res != null && Error.Contains(res))
{
Error.Remove(res);
}
});
ThreadManage.GetInstance().StartLong(new Action(() =>
{
@@ -194,6 +198,8 @@ namespace BPASmartClient.Device
});
}



/// <summary>
/// 报警监控
/// </summary>


Loading…
Cancel
Save