LIN 调度表功能同步 25002

This commit is contained in:
2026-01-05 22:07:54 +08:00
parent cae76745e5
commit 427cdc5305
17 changed files with 2225 additions and 73 deletions

View File

@@ -31,5 +31,12 @@ namespace CapMachine.Model.CANLIN
/// </summary>
[Column(Name = "LdfPath", IsNullable = false, StringLength = 500)]
public string? LdfPath { get; set; }
/// <summary>
/// 调度表是否启用
/// </summary>
[Column(Name = "SchEnable")]
public bool SchEnable { get; set; }
}
}

View File

@@ -4,7 +4,7 @@ namespace CapMachine.Model.CANLIN
{
/// <summary>
/// 调度表的配置
/// 其实这些调度表是在DBC中有的,但是图莫斯的驱动没有读取到这些信息
/// 其实这些调度表是在LDF中有的,但是图莫斯的驱动没有读取到这些信息
/// 那么我们在系统层面进行操作和保存这些信息
/// </summary>
[Table(Name = "LINScheduleConfig")]
@@ -17,11 +17,29 @@ namespace CapMachine.Model.CANLIN
public long Id { get; set; }
/// <summary>
/// 消息名称
/// 是否启用
/// </summary>
[Column(Name = "IsActive")]
public bool IsActive { get; set; }
/// <summary>
/// 帧/报文是否被选中(属于当前调度表内生效的帧)
/// </summary>
[Column(Name = "IsMsgActived")]
public bool IsMsgActived { get; set; }
/// <summary>
/// 消息名称/帧名称
/// </summary>
[Column(Name = "MsgName")]
public string? MsgName { get; set; }
/// <summary>
/// 消息名称/帧名称的Index
/// </summary>
[Column(Name = "MsgNameIndex")]
public int MsgNameIndex { get; set; }
/// <summary>
/// 消息的周期
/// </summary>
@@ -40,7 +58,7 @@ namespace CapMachine.Model.CANLIN
/// LDF中可能有多个调度器名称
/// </summary>
[Column(Name = "SchTabName")]
public int SchTabName { get; set; }
public string? SchTabName { get; set; }
/// <summary>