mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-12 11:15:08 +00:00
Moved MicrophonePrivacyController to Devices Common. Fixed references
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user