diff --git a/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IMobileControl.cs b/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IMobileControl.cs index db070289..b856a7c0 100644 --- a/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IMobileControl.cs +++ b/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IMobileControl.cs @@ -106,10 +106,11 @@ namespace PepperDash.Essentials.Core.DeviceTypeInterfaces Action Action { get; } } - public interface IMobileControlTouchpanelController + public interface IMobileControlTouchpanelController : IKeyed { - StringFeedback AppUrlFeedback { get; } string DefaultRoomKey { get; } - string DeviceKey { get; } + void SetAppUrl(string url); + bool UseDirectServer { get; } + bool ZoomRoomController { get; } } } \ No newline at end of file diff --git a/src/PepperDash.Essentials.Core/Room/Interfaces.cs b/src/PepperDash.Essentials.Core/Room/Interfaces.cs index ca7df3ae..640dc91f 100644 --- a/src/PepperDash.Essentials.Core/Room/Interfaces.cs +++ b/src/PepperDash.Essentials.Core/Room/Interfaces.cs @@ -77,9 +77,11 @@ namespace PepperDash.Essentials.Core SecondsCountdownTimer ShutdownPromptTimer { get; } void SetShutdownPromptSeconds(int seconds); + + void StartShutdown(eShutdownType type); } - /// + /// /// Describes a room with a tech password /// public interface ITechPassword diff --git a/src/PepperDash.Essentials.Core/Timers/CountdownTimer.cs b/src/PepperDash.Essentials.Core/Timers/CountdownTimer.cs index 28bd6811..1cac0a50 100644 --- a/src/PepperDash.Essentials.Core/Timers/CountdownTimer.cs +++ b/src/PepperDash.Essentials.Core/Timers/CountdownTimer.cs @@ -23,6 +23,8 @@ namespace PepperDash.Essentials.Core public IntFeedback PercentFeedback { get; private set; } public StringFeedback TimeRemainingFeedback { get; private set; } + public IntFeedback SecondsRemainingFeedback { get; private set; } + public bool CountsDown { get; set; } /// @@ -64,6 +66,8 @@ namespace PepperDash.Essentials.Core : String.Format("{0:00}:{1:00}", timeSpan.Minutes, timeSpan.Seconds); }); + SecondsRemainingFeedback = new IntFeedback(() => (int)(FinishTime - DateTime.Now).TotalSeconds); + PercentFeedback = new IntFeedback( () => @@ -144,6 +148,7 @@ namespace PepperDash.Essentials.Core PercentFeedback.FireUpdate(); TimeRemainingFeedback.FireUpdate(); + SecondsRemainingFeedback.FireUpdate(); } } } \ No newline at end of file