From d1859415972bb991cba6639482c1cd2a9e19e8d8 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Sun, 8 Dec 2019 15:28:31 +0200 Subject: Implemented possible improvement for WebClient download speed. Implemented PPC notifications priority. --- .../PPC/Modules/Tango.PPC.Events/ViewModels/MainViewVM.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Software/Visual_Studio/PPC/Modules/Tango.PPC.Events/ViewModels') 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 d2a730cd7..3f549598a 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 @@ -144,15 +144,19 @@ namespace Tango.PPC.Events.ViewModels { case EventTypeCategories.Info: notificationItem.MessageType = MessageNotificationItem.MessageNotificationItemTypes.Info; + notificationItem.Priority = NotificationItem.NotificationPriority.Normal; break; case EventTypeCategories.Warning: notificationItem.MessageType = MessageNotificationItem.MessageNotificationItemTypes.Warning; + notificationItem.Priority = NotificationItem.NotificationPriority.High; break; case EventTypeCategories.Error: notificationItem.MessageType = MessageNotificationItem.MessageNotificationItemTypes.Error; + notificationItem.Priority = NotificationItem.NotificationPriority.VeryHigh; break; case EventTypeCategories.Critical: notificationItem.MessageType = MessageNotificationItem.MessageNotificationItemTypes.Critical; + notificationItem.Priority = NotificationItem.NotificationPriority.Critical; break; } -- cgit v1.3.1