mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-13 04:26:49 +00:00
MIcrophone Privacy feature tested and working as far as relay switching. Needs someone to short the digital inputs on the office RMC and load to PRO3 or other versiport compatible processor to test mic button contact closure input.
This commit is contained in:
parent
43f0ae0533
commit
d9013157ad
17 changed files with 276 additions and 66 deletions
|
|
@ -5,12 +5,14 @@ using System.Text;
|
|||
using Crestron.SimplSharp;
|
||||
using Crestron.SimplSharpPro;
|
||||
|
||||
namespace PepperDash.Essentials.Core.Crestron_IO
|
||||
using PepperDash.Core;
|
||||
|
||||
namespace PepperDash.Essentials.Core.CrestronIO
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents a generic device controlled by relays
|
||||
/// </summary>
|
||||
public class GenericRelayDevice
|
||||
public class GenericRelayDevice : Device
|
||||
{
|
||||
public Relay RelayOutput { get; private set; }
|
||||
|
||||
|
|
@ -24,7 +26,8 @@ namespace PepperDash.Essentials.Core.Crestron_IO
|
|||
}
|
||||
}
|
||||
|
||||
public GenericRelayDevice(Relay relay)
|
||||
public GenericRelayDevice(string key, Relay relay):
|
||||
base(key)
|
||||
{
|
||||
RelayStateFeedback = new BoolFeedback(RelayStateFeedbackFunc);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue