Moved MicrophonePrivacyController to Devices Common. Fixed references

This commit is contained in:
Neil Dorin
2017-11-01 14:20:13 -06:00
parent bc47c65e48
commit a0817307b1
10 changed files with 50 additions and 23 deletions

View File

@@ -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();