Browse Source

临时提交

master
taoye 2 years ago
parent
commit
0ac35700e0
2 changed files with 2 additions and 3 deletions
  1. +1
    -0
      BPASmartClient.CustomResource/Pages/Model/AlarmHelper.cs
  2. +1
    -3
      BPASmartClient.CustomResource/Pages/ViewModel/AlarmViewModel.cs

+ 1
- 0
BPASmartClient.CustomResource/Pages/Model/AlarmHelper.cs View File

@@ -27,6 +27,7 @@ namespace BPASmartClient.CustomResource.Pages.Model


public static void Init() public static void Init()
{ {

ThreadManage.GetInstance().StartLong(new Action(() => ThreadManage.GetInstance().StartLong(new Action(() =>
{ {
foreach (var item in Alarm.GetType().GetProperties()) foreach (var item in Alarm.GetType().GetProperties())


+ 1
- 3
BPASmartClient.CustomResource/Pages/ViewModel/AlarmViewModel.cs View File

@@ -63,9 +63,7 @@ namespace BPASmartClient.CustomResource.Pages.ViewModel
return; return;
} }
}); });

//AlarmInfos = MessageLog.GetInstance.alarmLogs;
AlarmInfos = AlarmHelper<AlarmInfo>.Alarms;
//AlarmInfos = AlarmHelper<AlarmInfo>.Alarms;
} }


private void GetHistoryAlarm() private void GetHistoryAlarm()


Loading…
Cancel
Save