mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-08-31 19:08:29 +00:00
parent
e8a8d481aa
commit
8f35d13d4b
25 changed files with 1154 additions and 642 deletions
|
|
@ -7,9 +7,9 @@ namespace PepperDash.Essentials.Core.CrestronIO.Cards
|
|||
{
|
||||
private readonly C3Card _card;
|
||||
|
||||
public C3CardControllerBase(string key, string name, C3Card hardware) : base(key, name, hardware)
|
||||
public C3CardControllerBase(string key, string name, C3Card sensor) : base(key, name, sensor)
|
||||
{
|
||||
_card = hardware;
|
||||
_card = sensor;
|
||||
}
|
||||
|
||||
#region Overrides of Object
|
||||
|
|
|
|||
|
|
@ -7,9 +7,9 @@ namespace PepperDash.Essentials.Core.CrestronIO.Cards
|
|||
{
|
||||
private readonly C3com3 _card;
|
||||
|
||||
public C3Com3Controller(string key, string name, C3com3 hardware) : base(key, name, hardware)
|
||||
public C3Com3Controller(string key, string name, C3com3 sensor) : base(key, name, sensor)
|
||||
{
|
||||
_card = hardware;
|
||||
_card = sensor;
|
||||
}
|
||||
|
||||
#region Implementation of IComPorts
|
||||
|
|
|
|||
|
|
@ -7,9 +7,9 @@ namespace PepperDash.Essentials.Core.CrestronIO.Cards
|
|||
{
|
||||
private readonly C3io16 _card;
|
||||
|
||||
public C3Io16Controller(string key, string name, C3io16 hardware) : base(key, name, hardware)
|
||||
public C3Io16Controller(string key, string name, C3io16 sensor) : base(key, name, sensor)
|
||||
{
|
||||
_card = hardware;
|
||||
_card = sensor;
|
||||
}
|
||||
|
||||
#region Implementation of IIOPorts
|
||||
|
|
|
|||
|
|
@ -7,9 +7,9 @@ namespace PepperDash.Essentials.Core.CrestronIO.Cards
|
|||
{
|
||||
private readonly C3ir8 _card;
|
||||
|
||||
public C3Ir8Controller(string key, string name, C3ir8 hardware) : base(key, name, hardware)
|
||||
public C3Ir8Controller(string key, string name, C3ir8 sensor) : base(key, name, sensor)
|
||||
{
|
||||
_card = hardware;
|
||||
_card = sensor;
|
||||
}
|
||||
|
||||
#region Implementation of IIROutputPorts
|
||||
|
|
|
|||
|
|
@ -7,9 +7,9 @@ namespace PepperDash.Essentials.Core.CrestronIO.Cards
|
|||
{
|
||||
private readonly C3ry16 _card;
|
||||
|
||||
public C3Ry16Controller(string key, string name, C3ry16 hardware) : base(key, name, hardware)
|
||||
public C3Ry16Controller(string key, string name, C3ry16 sensor) : base(key, name, sensor)
|
||||
{
|
||||
_card = hardware;
|
||||
_card = sensor;
|
||||
}
|
||||
|
||||
#region Implementation of IRelayPorts
|
||||
|
|
|
|||
|
|
@ -7,9 +7,9 @@ namespace PepperDash.Essentials.Core.CrestronIO.Cards
|
|||
{
|
||||
private readonly C3ry8 _card;
|
||||
|
||||
public C3Ry8Controller(string key, string name, C3ry8 hardware) : base(key, name, hardware)
|
||||
public C3Ry8Controller(string key, string name, C3ry8 sensor) : base(key, name, sensor)
|
||||
{
|
||||
_card = hardware;
|
||||
_card = sensor;
|
||||
}
|
||||
|
||||
#region Implementation of IRelayPorts
|
||||
|
|
|
|||
|
|
@ -18,9 +18,9 @@ namespace PepperDash.Essentials.Core.CrestronIO.Cards
|
|||
|
||||
private readonly Dictionary<string, Func<CenCi31, uint, C3CardControllerBase>> _cardDict;
|
||||
|
||||
public CenCi31Controller(string key, string name, CenCi31Configuration config, CenCi31 hardware) : base(key, name, hardware)
|
||||
public CenCi31Controller(string key, string name, CenCi31Configuration config, CenCi31 sensor) : base(key, name, sensor)
|
||||
{
|
||||
_cardCage = hardware;
|
||||
_cardCage = sensor;
|
||||
|
||||
_config = config;
|
||||
|
||||
|
|
|
|||
|
|
@ -18,9 +18,9 @@ namespace PepperDash.Essentials.Core.CrestronIO.Cards
|
|||
|
||||
private readonly Dictionary<string, Func<CenCi33, uint, C3CardControllerBase>> _cardDict;
|
||||
|
||||
public CenCi33Controller(string key, string name, CenCi33Configuration config, CenCi33 hardware) : base(key, name, hardware)
|
||||
public CenCi33Controller(string key, string name, CenCi33Configuration config, CenCi33 sensor) : base(key, name, sensor)
|
||||
{
|
||||
_cardCage = hardware;
|
||||
_cardCage = sensor;
|
||||
|
||||
_config = config;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue