mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 20:17:03 +00:00
Moved MicrophonePrivacyController to Devices Common. Fixed references
This commit is contained in:
parent
bc47c65e48
commit
a0817307b1
10 changed files with 50 additions and 23 deletions
|
|
@ -9,9 +9,9 @@ namespace PepperDash.Essentials.Core.Crestron_IO
|
|||
{
|
||||
public class GenericDigitalInputDevice : IDigitalInput
|
||||
{
|
||||
DigitalInput InputPort { get; private set; }
|
||||
public DigitalInput InputPort { get; private set; }
|
||||
|
||||
BoolFeedback InputStateFeedback { get; private set; }
|
||||
public BoolFeedback InputStateFeedback { get; private set; }
|
||||
|
||||
Func<bool> InputStateFeedbackFunc
|
||||
{
|
||||
|
|
@ -35,5 +35,6 @@ namespace PepperDash.Essentials.Core.Crestron_IO
|
|||
{
|
||||
InputStateFeedback.FireUpdate();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -12,9 +12,9 @@ namespace PepperDash.Essentials.Core.Crestron_IO
|
|||
/// </summary>
|
||||
public class GenericVersiportInputDevice : IDigitalInput
|
||||
{
|
||||
Versiport InputPort { get; private set; }
|
||||
public Versiport InputPort { get; private set; }
|
||||
|
||||
BoolFeedback InputStateFeedback { get; private set; }
|
||||
public BoolFeedback InputStateFeedback { get; private set; }
|
||||
|
||||
Func<bool> InputStateFeedbackFunc
|
||||
{
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ namespace PepperDash.Essentials.Core.Crestron_IO
|
|||
/// </summary>
|
||||
public class GenericRelayDevice
|
||||
{
|
||||
Relay RelayOutput { get; private set; }
|
||||
public Relay RelayOutput { get; private set; }
|
||||
|
||||
public BoolFeedback RelayStateFeedback { get; private set; }
|
||||
|
||||
|
|
@ -39,17 +39,17 @@ namespace PepperDash.Essentials.Core.Crestron_IO
|
|||
RelayStateFeedback.FireUpdate();
|
||||
}
|
||||
|
||||
void OpenRelay()
|
||||
public void OpenRelay()
|
||||
{
|
||||
RelayOutput.State = false;
|
||||
}
|
||||
|
||||
void CloseRelay()
|
||||
public void CloseRelay()
|
||||
{
|
||||
RelayOutput.State = true;
|
||||
}
|
||||
|
||||
void ToggleRelayState()
|
||||
public void ToggleRelayState()
|
||||
{
|
||||
if (RelayOutput.State == true)
|
||||
OpenRelay();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue