|
|
@@ -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> |
|
|
|