diff options
Diffstat (limited to 'Software/Visual_Studio/PPC/Modules/Tango.PPC.Events/ViewModels/MainViewVM.cs')
| -rw-r--r-- | Software/Visual_Studio/PPC/Modules/Tango.PPC.Events/ViewModels/MainViewVM.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Events/ViewModels/MainViewVM.cs b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Events/ViewModels/MainViewVM.cs index 81b6e5942..dd8b8041d 100644 --- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Events/ViewModels/MainViewVM.cs +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Events/ViewModels/MainViewVM.cs @@ -60,11 +60,11 @@ namespace Tango.PPC.Events.ViewModels { InvokeUI(() => { - if (ev.Group != EventTypesGroups.Transport) + if (ev.Group != EventTypeGroups.Transport) { CurrentEvents.Insert(0, ev); - if (ev.Group != EventTypesGroups.Application && ev.Group != EventTypesGroups.Transport) + if (ev.Group != EventTypeGroups.Application && ev.Group != EventTypeGroups.Transport) { var notificationItem = new MessageNotificationItem(); notificationItem.CanClose = false; @@ -78,16 +78,16 @@ namespace Tango.PPC.Events.ViewModels switch (ev.Category) { - case EventTypesCategories.Info: + case EventTypeCategories.Info: notificationItem.MessageType = MessageNotificationItem.MessageNotificationItemTypes.Info; break; - case EventTypesCategories.Warning: + case EventTypeCategories.Warning: notificationItem.MessageType = MessageNotificationItem.MessageNotificationItemTypes.Warning; break; - case EventTypesCategories.Error: + case EventTypeCategories.Error: notificationItem.MessageType = MessageNotificationItem.MessageNotificationItemTypes.Error; break; - case EventTypesCategories.Critical: + case EventTypeCategories.Critical: notificationItem.MessageType = MessageNotificationItem.MessageNotificationItemTypes.Critical; break; } @@ -103,11 +103,11 @@ namespace Tango.PPC.Events.ViewModels { InvokeUI(() => { - if (ev.Group != EventTypesGroups.Transport) + if (ev.Group != EventTypeGroups.Transport) { CurrentEvents.Remove(ev); - if (ev.Group != EventTypesGroups.Application && ev.Group != EventTypesGroups.Transport) + if (ev.Group != EventTypeGroups.Application && ev.Group != EventTypeGroups.Transport) { if (_notifications.ContainsKey(ev.EventType.Type)) { |
