增加了初始弹窗,但是没有成功

更改了CAN和LIN协调
更改了配置程序的名称顺序
This commit is contained in:
2025-01-11 12:04:34 +08:00
parent 620c5e8178
commit e49a48fb25
53 changed files with 5118 additions and 131 deletions

View File

@@ -46,11 +46,18 @@ namespace CapMachine.Model.CANLIN
/// <summary>
/// ///////////////////////////////////////////导航属性 一对一///////////////////////////////////////////////////////
/// ///////////////////////////////////////////导航属性 CAN 一对一///////////////////////////////////////////////////////
/// </summary>
public long CANConfigExdId { get; set; } // 外键字段,必要
public CANConfigExd CANConfigExd { get; set; }
/// <summary>
/// ///////////////////////////////////////////导航属性 LIN 一对一///////////////////////////////////////////////////////
/// </summary>
public long LINConfigExdId { get; set; } // 外键字段,必要
public LINConfigExd LINConfigExd { get; set; }
}
}

View File

@@ -6,11 +6,6 @@ using System.Threading.Tasks;
namespace CapMachine.Model.CANLIN
{
public class CanLinEnum
{
}
/// <summary>
/// CANLIN的枚举
/// </summary>

View File

@@ -0,0 +1,35 @@
using FreeSql.DataAnnotations;
namespace CapMachine.Model.CANLIN
{
/// <summary>
/// LIN配置拓展数据
/// </summary>
[Table(Name = "LINConfigExd")]
public class LINConfigExd
{
/// <summary>
/// 主键
/// </summary>
[Column(IsPrimary = true, IsIdentity = true)]
public long Id { get; set; }
/// <summary>
/// 波特率
/// </summary>
[Column(Name = "BaudRate")]
public int BaudRate { get; set; }
/// <summary>
/// 周期
/// </summary>
[Column(Name = "Cycle")]
public int Cycle { get; set; }
/// <summary>
/// Ldf 文件路径
/// </summary>
[Column(Name = "LdfPath", IsNullable = false, StringLength = 500)]
public string? LdfPath { get; set; }
}
}