|
|
@@ -48,7 +48,13 @@ namespace BPASmartClient.Academy._50L |
|
|
|
Data.TryAdd(fbd, 0); |
|
|
|
} |
|
|
|
}); |
|
|
|
AlarmHelper.GetInstance.AddNotify = (s) => { MessageNotify.GetInstance.ShowAlarmLog(s.Info); }; |
|
|
|
AlarmHelper.GetInstance.AddNotify = (s) => |
|
|
|
{ |
|
|
|
App.Current.Dispatcher.Invoke(() => |
|
|
|
{ |
|
|
|
MessageNotify.GetInstance.ShowAlarmLog(s.Info); |
|
|
|
}); |
|
|
|
}; |
|
|
|
AlarmHelper.GetInstance.Register<AlarmData>("50L反应釜"); |
|
|
|
AlarmHelper.GetInstance.Start(); |
|
|
|
} |
|
|
|