mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-16 13:15:03 +00:00
Merge remote-tracking branch 'origin/feature-2.0.0/tech-password-interface' into feature-2.0.0/video-codec-interface-uiextensions
This commit is contained in:
@@ -106,10 +106,11 @@ namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
|
|||||||
Action<string,string, JToken> Action { get; }
|
Action<string,string, JToken> Action { get; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface IMobileControlTouchpanelController
|
public interface IMobileControlTouchpanelController : IKeyed
|
||||||
{
|
{
|
||||||
StringFeedback AppUrlFeedback { get; }
|
|
||||||
string DefaultRoomKey { get; }
|
string DefaultRoomKey { get; }
|
||||||
string DeviceKey { get; }
|
void SetAppUrl(string url);
|
||||||
|
bool UseDirectServer { get; }
|
||||||
|
bool ZoomRoomController { get; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -77,9 +77,11 @@ namespace PepperDash.Essentials.Core
|
|||||||
SecondsCountdownTimer ShutdownPromptTimer { get; }
|
SecondsCountdownTimer ShutdownPromptTimer { get; }
|
||||||
|
|
||||||
void SetShutdownPromptSeconds(int seconds);
|
void SetShutdownPromptSeconds(int seconds);
|
||||||
|
|
||||||
|
void StartShutdown(eShutdownType type);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary""'""">
|
||||||
/// Describes a room with a tech password
|
/// Describes a room with a tech password
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public interface ITechPassword
|
public interface ITechPassword
|
||||||
|
|||||||
@@ -23,6 +23,8 @@ namespace PepperDash.Essentials.Core
|
|||||||
public IntFeedback PercentFeedback { get; private set; }
|
public IntFeedback PercentFeedback { get; private set; }
|
||||||
public StringFeedback TimeRemainingFeedback { get; private set; }
|
public StringFeedback TimeRemainingFeedback { get; private set; }
|
||||||
|
|
||||||
|
public IntFeedback SecondsRemainingFeedback { get; private set; }
|
||||||
|
|
||||||
public bool CountsDown { get; set; }
|
public bool CountsDown { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -64,6 +66,8 @@ namespace PepperDash.Essentials.Core
|
|||||||
: String.Format("{0:00}:{1:00}", timeSpan.Minutes, timeSpan.Seconds);
|
: String.Format("{0:00}:{1:00}", timeSpan.Minutes, timeSpan.Seconds);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
SecondsRemainingFeedback = new IntFeedback(() => (int)(FinishTime - DateTime.Now).TotalSeconds);
|
||||||
|
|
||||||
PercentFeedback =
|
PercentFeedback =
|
||||||
new IntFeedback(
|
new IntFeedback(
|
||||||
() =>
|
() =>
|
||||||
@@ -144,6 +148,7 @@ namespace PepperDash.Essentials.Core
|
|||||||
|
|
||||||
PercentFeedback.FireUpdate();
|
PercentFeedback.FireUpdate();
|
||||||
TimeRemainingFeedback.FireUpdate();
|
TimeRemainingFeedback.FireUpdate();
|
||||||
|
SecondsRemainingFeedback.FireUpdate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user