using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SQLite; namespace WindowsFormsApp1.mod.database { [Table("serialport")] public class t_serialport { [PrimaryKey, AutoIncrement] public int id { get; set; } public string name { get; set; } /// /// COM口 /// public string portName { get; set; } /// /// 波特率 /// public int baudRate { get; set; } /// /// 奇偶校验 /// public string parity { get; set; } /// /// 数据位 /// public int dataBits { get; set; } public string reamrk { get; set; } public bool enable { get; set; } } }