Updated UI drivers to make sure modal shutdown warning is shown when vacancy shutdown is triggered

This commit is contained in:
Neil Dorin
2018-08-29 11:56:41 -06:00
parent d563a6224b
commit 6afe1729bf
4 changed files with 6 additions and 6 deletions

View File

@@ -50,7 +50,7 @@ namespace PepperDash.Essentials.Room.Behaviours
FeatureEventGroup.RetrieveAllEvents();
// Add to the global class for tracking
//Global.Scheduler.AddEventGroup(FeatureEventGroup);
Scheduler.AddEventGroup(FeatureEventGroup);
AddPostActivationAction(() =>
{

View File

@@ -590,9 +590,9 @@ namespace PepperDash.Essentials
// Do we need to check where the UI is? No?
var timer = CurrentRoom.ShutdownPromptTimer;
EndMeetingButtonSig.BoolValue = true;
ShareButtonSig.BoolValue = false;
if (CurrentRoom.ShutdownType == eShutdownType.Manual)
ShareButtonSig.BoolValue = false;
if (CurrentRoom.ShutdownType == eShutdownType.Manual || CurrentRoom.ShutdownType == eShutdownType.Vacancy)
{
PowerDownModal = new ModalDialog(TriList);
var message = string.Format("Meeting will end in {0} seconds", CurrentRoom.ShutdownPromptSeconds);

View File

@@ -763,7 +763,7 @@ namespace PepperDash.Essentials
var timer = CurrentRoom.ShutdownPromptTimer;
SetActivityFooterFeedbacks();
if (CurrentRoom.ShutdownType == eShutdownType.Manual)
if (CurrentRoom.ShutdownType == eShutdownType.Manual || CurrentRoom.ShutdownType == eShutdownType.Vacancy)
{
PowerDownModal = new ModalDialog(TriList);
var message = string.Format("Meeting will end in {0} seconds", CurrentRoom.ShutdownPromptSeconds);