CAN 配置和报文记录的功能

This commit is contained in:
2024-12-23 21:33:19 +08:00
parent 713b9b02e6
commit 8b21846424
20 changed files with 1021 additions and 114 deletions

View File

@@ -32,7 +32,7 @@ namespace CapMachine.Model.CANLIN
public string? Name { get; set; }
/// <summary>
/// 配置项值
/// 配置项值 DBC里面的信号名称
/// </summary>
[Column(Name = "Content", IsNullable = false, StringLength = 100)]
public string? Content { get; set; }

View File

@@ -0,0 +1,40 @@
using FreeSql.DataAnnotations;
namespace CapMachine.Model
{
/// <summary>
/// 高速的消息文件信息
/// </summary>
[Table(Name = "HighMsgFileInfo")]
public class HighMsgFileInfo
{
/// <summary>
/// 主键
/// </summary>
[Column(IsPrimary = true, IsIdentity = true)]
public long Id { get; set; }
/// <summary>
/// 试验名称
/// </summary>
[Column(Name = "Name", IsNullable = false, StringLength = 200)]
public string? ExpName { get; set; }
/// <summary>
/// Path
/// CSV文件路径
/// </summary>
[Column(Name = "FilePath", IsNullable = false, StringLength = 400)]
public string? FilePath { get; set; }
/// <summary>
/// FileInfo
/// 2024-12-23 17
/// </summary>
[Column(Name = "FileInfo", IsNullable = false, StringLength = 30)]
public string? FileInfo { get; set; }
[Column(ServerTime = DateTimeKind.Local, CanUpdate = false)]
public DateTime CreateTime { get; set; }
}
}