mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-12 03:05:01 +00:00
Moved MicrophonePrivacyController to Devices Common. Fixed references
This commit is contained in:
@@ -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