using System;
using System.ComponentModel;
namespace FlyADBase.Inc
{
public interface IFlyAd2021Comm : INotifyPropertyChanged
{
///
/// IP 地址 and 端口号
///
string Addr { get; set; }
///
/// 是否异常
///
bool IsError { get; }
///
/// 异常信息
///
string ErrMsg { get; }
///
/// 连接成功
///
bool IsConnected { get; }
///
/// 运行中
///
bool IsRunning { get; }
///
/// 开始
///
void Start();
///
/// 接收
///
void Stop();
///
/// 发送数据
///
///
void SendMsg(byte[] msg);
///
/// 接收数据
///
event Action RecMsg;
}
}