using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SimpleCommunication { public class ComConfig { /// /// 通讯块数量 /// public int Index; /// /// 是否自动链接 /// public bool Auto_Connect; /// /// 链接类型,0为服务端,1为客户端 /// public int Connect_Typt; /// /// PLC IP地址 /// public string TCP_IP; /// /// PLC端口号 /// public int TCP_Port; /// /// 串口名 /// public string COM_Port; /// /// 串口波特率 /// public int COM_BaudRate; /// /// 串口校验 /// public string COM_Parity; /// /// 串口数据位 /// public int COM_DataBit; /// /// 串口停止位 /// public int COM_StopBit; /// /// 是否启用心跳消息 /// public bool HeartBeat; /// /// 心跳设置地址 /// public string HeartText; /// /// 扫描间隔时间 /// public int HeartTime; /// /// 触发模块数量 /// public int JobCount; /// /// 结束符号 /// public int Endsymbol; //public List lstTgrParams; } }