automapper框架优化
This commit is contained in:
24
Model/Models/CanMessageShow.cs
Normal file
24
Model/Models/CanMessageShow.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
namespace Model.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// CAN 报文展示纯数据类(对应 UIShare.UIViewModel.CanMessageShowModel)
|
||||
/// </summary>
|
||||
public class CanMessageShow
|
||||
{
|
||||
public byte 通道 { get; set; }
|
||||
|
||||
public int 报文ID { get; set; }
|
||||
|
||||
public ulong 时间戳 { get; set; }
|
||||
|
||||
public byte 长度 { get; set; }
|
||||
|
||||
public bool FD { get; set; }
|
||||
|
||||
public bool IsTx { get; set; }
|
||||
|
||||
public byte[] Bytes { get; set; } = new byte[64];
|
||||
|
||||
public string? 报文 { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user