using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LB_VisionProcesses.MotionControl { public interface IMotionControl : IDisposable { /// /// 连接通讯 /// /// bool Connect(); /// /// 断开连接 /// /// bool Disconnect(); /// /// 接收消息 /// /// string ReceiveMsg(); /// /// 发送消息 /// /// /// bool SendMessage(string message); /// /// 发送心跳信号 /// void SendHeartbeat(); } }