using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CnasSynchrousModel { public class SerialPortConfigInfo { /// /// COM名称 /// public string PortName { get; set; } /// /// 波特率 /// public int BaudRate { get; set; } /// /// 每个字节长度 /// public int DataBits { get; set; } /// /// 奇偶校验 /// public string Parity { get; set; } /// /// 停止位 /// public string StopBits { get; set; } /// /// 握手协议 /// public string Handshake { get; set; } /// /// 是否采用马弗炉对接程序 /// public bool IfMuffleFurnace { get; set; } /// /// 是否采用去皮称量 /// public bool IfPeelingWeighing { get; set; } /// /// 是否自动换行 /// public bool IfAutoWrap { get; set; } } }