using FreeSql.DataAnnotations; namespace CapMachine.Model.CANLIN { /// /// 调度表的配置 /// 其实这些调度表是在LDF中有的,但是图莫斯的驱动没有读取到这些信息 /// 那么我们在系统层面进行操作和保存这些信息 /// [Table(Name = "LINScheduleConfig")] public class LINScheduleConfig { /// /// 主键 /// [Column(IsPrimary = true, IsIdentity = true)] public long Id { get; set; } /// /// 是否启用 /// [Column(Name = "IsActive")] public bool IsActive { get; set; } /// /// 消息名称/帧名称 /// [Column(Name = "MsgName")] public string? MsgName { get; set; } /// /// 消息名称/帧名称的Index /// [Column(Name = "MsgNameIndex")] public int MsgNameIndex { get; set; } /// /// 消息的周期 /// [Column(Name = "Cycle")] public int Cycle { get; set; } /// /// 调度表的Index /// LDF中可能有多个调度器 /// [Column(Name = "SchTabIndex")] public int SchTabIndex { get; set; } /// /// 调度表的名称 /// LDF中可能有多个调度器名称 /// [Column(Name = "SchTabName")] public string? SchTabName { get; set; } /// /// ///////////////////////////////////////////导航属性/////////////////////////////////////////////////////// /// public long CanLinConfigProId { get; set; } public CanLinConfigPro? CanLinConfigPro { get; set; } } }