using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SQLite; namespace WindowsFormsApp1.mod { [Table("oeeaddress")] public class t_oeeaddress { [PrimaryKey, AutoIncrement] public int id { get; set; } public int plcid { get; set; } public string code { get; set; } public string type { get; set; } public string dbaddress { get; set; } public string addresstype { get; set; } public int addresstypelegth { get; set; } public int addressoffset { get; set; } // 添加位地址支持,用于存储布尔类型的位偏移 public int addressdecimal { get; set; } public string remark { get; set; } public string value { get; set; } } }