mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-04 23:35:02 +00:00
45 lines
1.4 KiB
C#
45 lines
1.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Crestron.SimplSharp;
|
|
using Crestron.SimplSharpPro;
|
|
using PepperDash.Core;
|
|
using PepperDash.Essentials.Core;
|
|
|
|
|
|
namespace PepperDash.Essentials.Devices.Displays
|
|
{
|
|
[Obsolete("Please use TwoWayDisplayBase instead")]
|
|
public abstract class ComTcpDisplayBase : TwoWayDisplayBase
|
|
{
|
|
|
|
///// <summary>
|
|
///// Sets the communication method for this - swaps out event handlers and output handlers
|
|
///// </summary>
|
|
//public IBasicCommunication CommunicationMethod
|
|
//{
|
|
// get { return _CommunicationMethod; }
|
|
// set
|
|
// {
|
|
// if (_CommunicationMethod != null)
|
|
// _CommunicationMethod.BytesReceived -= this.CommunicationMethod_BytesReceived;
|
|
// // Outputs???
|
|
// _CommunicationMethod = value;
|
|
// if (_CommunicationMethod != null)
|
|
// _CommunicationMethod.BytesReceived += this.CommunicationMethod_BytesReceived;
|
|
// // Outputs?
|
|
// }
|
|
//}
|
|
//IBasicCommunication _CommunicationMethod;
|
|
|
|
public ComTcpDisplayBase(string key, string name)
|
|
: base(key, name)
|
|
{
|
|
|
|
}
|
|
|
|
|
|
//protected abstract void CommunicationMethod_BytesReceived(object sender, GenericCommMethodReceiveBytesArgs args);
|
|
}
|
|
} |