using Crestron.SimplSharpPro; using Crestron.SimplSharpPro.ThreeSeriesCards; namespace PepperDash.Essentials.Core.CrestronIO.Cards { public class C3Ry16Controller:C3CardControllerBase, IRelayPorts { private readonly C3ry16 _card; public C3Ry16Controller(string key, string name, C3ry16 hardware) : base(key, name, hardware) { _card = hardware; } #region Implementation of IRelayPorts public CrestronCollection RelayPorts { get { return _card.RelayPorts; } } public int NumberOfRelayPorts { get { return _card.NumberOfRelayPorts; } } #endregion } }