namespace EC.AutoWeightServer.IfManager.Light { public interface ILightRelay { /// /// 连接设备 /// /// bool StartServer(); /// /// 断开设备 /// /// bool StopServer(); /// /// 是否连接设备 /// /// bool IsOpen(); /// /// 发送 Ascii 编码 /// /// bool SendAscii(string text); /// /// 发送 16进制 编码 /// /// bool SendHex(string text); } }