private void OpenAlarmDialog()
 {
     if (_isCreateAlarmDialog)
     {
         var alarmDialogViewModel = new AlarmDialogViewModel(_eventAggregator, _shellService, _customerService, AlarmList, CurrentAlarmInfo);
         _dialogService.Show(this, alarmDialogViewModel);
         _isCreateAlarmDialog = false;
     }
 }
 private void NotifiyAlarm()
 {
     if (_isCreateAlarmDialog)
     {
         var alarmDialogViewModel = new AlarmDialogViewModel(_eventAggregator, _shellService, _customerService, AlarmList, CurrentAlarmInfo);
         _dialogService.Show(this, alarmDialogViewModel);
         _isCreateAlarmDialog = false;
     }
     else
     {
         _eventAggregator.GetEvent <AlarmUpdatedEvent>().Publish(new AlarmUpdatedEventArg(CurrentAlarmInfo));
     }
 }