CAN 配置和报文记录的功能
This commit is contained in:
27
CapMachine.Wpf/Models/HighSpeed/HighRecordMsgMap.cs
Normal file
27
CapMachine.Wpf/Models/HighSpeed/HighRecordMsgMap.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using CsvHelper.Configuration;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CapMachine.Wpf.Models.HighSpeed
|
||||
{
|
||||
/// <summary>
|
||||
/// 高速记录的模型Map
|
||||
/// </summary>
|
||||
public class HighRecordMsgMap : ClassMap<CommMsg>
|
||||
{
|
||||
/// <summary>
|
||||
/// 实例化函数
|
||||
/// </summary>
|
||||
public HighRecordMsgMap()
|
||||
{
|
||||
Map(m => m.Time).Name("时间");
|
||||
Map(m => m.Category).Name("分类");
|
||||
Map(m => m.MsgInfo).Name("消息信息");
|
||||
Map(m => m.MsgData).Name("消息");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user