Tied in Room Occupancy Timer to Shutdown timer in EssentialsRoomBase

This commit is contained in:
Neil Dorin
2017-10-06 12:53:34 -06:00
parent 3c3fca7766
commit cae86d1943
8 changed files with 98 additions and 40 deletions

View File

@@ -474,7 +474,7 @@ namespace PepperDash.Essentials
|| CurrentRoom.ShutdownPromptTimer.IsRunningFeedback.BoolValue)
return;
CurrentRoom.StartShutdown(ShutdownType.Manual);
CurrentRoom.StartShutdown(eShutdownType.Manual);
}
/// <summary>
@@ -489,7 +489,7 @@ namespace PepperDash.Essentials
EndMeetingButtonSig.BoolValue = true;
ShareButtonSig.BoolValue = false;
if (CurrentRoom.ShutdownType == ShutdownType.Manual)
if (CurrentRoom.ShutdownType == eShutdownType.Manual)
{
PowerDownModal = new ModalDialog(TriList);
var message = string.Format("Meeting will end in {0} seconds", CurrentRoom.ShutdownPromptSeconds);

View File

@@ -473,10 +473,10 @@ namespace PepperDash.Essentials
void SetActivityFooterFeedbacks()
{
CallButtonSig.BoolValue = CurrentMode == UiDisplayMode.Call
&& CurrentRoom.ShutdownType == ShutdownType.None;
&& CurrentRoom.ShutdownType == eShutdownType.None;
ShareButtonSig.BoolValue = CurrentMode == UiDisplayMode.Presentation
&& CurrentRoom.ShutdownType == ShutdownType.None;
EndMeetingButtonSig.BoolValue = CurrentRoom.ShutdownType != ShutdownType.None;
&& CurrentRoom.ShutdownType == eShutdownType.None;
EndMeetingButtonSig.BoolValue = CurrentRoom.ShutdownType != eShutdownType.None;
}
/// <summary>
@@ -600,7 +600,7 @@ namespace PepperDash.Essentials
|| CurrentRoom.ShutdownPromptTimer.IsRunningFeedback.BoolValue)
return;
CurrentRoom.StartShutdown(ShutdownType.Manual);
CurrentRoom.StartShutdown(eShutdownType.Manual);
}
/// <summary>
@@ -614,7 +614,7 @@ namespace PepperDash.Essentials
var timer = CurrentRoom.ShutdownPromptTimer;
SetActivityFooterFeedbacks();
if (CurrentRoom.ShutdownType == ShutdownType.Manual)
if (CurrentRoom.ShutdownType == eShutdownType.Manual)
{
PowerDownModal = new ModalDialog(TriList);
var message = string.Format("Meeting will end in {0} seconds", CurrentRoom.ShutdownPromptSeconds);