mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-13 04:26:49 +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
|
|
@ -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