一些优化:CAN和PLC地址的优化

This commit is contained in:
2025-01-01 13:11:13 +08:00
parent 8b21846424
commit 26569135d3
182 changed files with 87934 additions and 261 deletions

View File

@@ -32,10 +32,20 @@ namespace CapMachine.Model.CANLIN
public string? Name { get; set; }
/// <summary>
/// 配置项值 DBC里面的信号名称
/// 配置项值
/// DBC里面的 消息名称 MsgId对应 帧名称
/// SDF里面的 Frame名称 帧名称
/// </summary>
[Column(Name = "Content", IsNullable = false, StringLength = 100)]
public string? Content { get; set; }
[Column(Name = "MsgFrameName", IsNullable = false, StringLength = 100)]
public string? MsgFrameName { get; set; }
/// <summary>
/// 配置项值
/// DBC里面的信号名称
/// SDF里面的信号名称
/// </summary>
[Column(Name = "SignalName", IsNullable = false, StringLength = 100)]
public string? SignalName { get; set; }
/// <summary>
/// 配置项默认值和数据

View File

@@ -32,6 +32,11 @@ namespace CapMachine.Model
/// </summary>
public int Cycle { get; set; }
/// <summary>
/// 常值和斜率
/// </summary>
public int SlopConst { get; set; }
/// <summary>
/// 值
/// </summary>
@@ -63,5 +68,9 @@ namespace CapMachine.Model
/// </summary>
public string? CycleAddress { get; set; }
/// <summary>
/// 常值和斜率地址
/// </summary>
public string? SlopConstAddress { get; set; }
}
}

View File

@@ -59,6 +59,11 @@ namespace CapMachine.Model
/// </summary>
public int? SecStartAddress { get; set; }
/// <summary>
/// 定值和斜率地址
/// </summary>
public int SlopConstAddress { get; set; }
/// <summary>
/// 循环首地址
/// </summary>
@@ -67,7 +72,9 @@ namespace CapMachine.Model
/// <summary>
/// 步长
/// </summary>
public int Step { get; set; } = 100;
public int Step { get; set; } = 150;
/// <summary>
/// 设置类型