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

@@ -21,6 +21,17 @@ namespace CapMachine.Wpf.Services
/// </summary>
public static readonly object CsvFileLock = new object();
/// <summary>
/// 高速 消息数据的 Csv文件锁
/// 防止同时读取数据
/// </summary>
public static readonly object HighSpeedMsgCsvFileLock = new object();
/// <summary>
/// 高速数据文件缓存小时数
/// </summary>
public short HighSpeedMsgCsvFileCacheHour { get; set; } = 5;
/// <summary>
/// 记录周期
/// </summary>
@@ -36,6 +47,11 @@ namespace CapMachine.Wpf.Services
/// </summary>
public string SaveCsvRootPath { get; set; } = "D:\\TestData";
/// <summary>
/// 高速 消息数据的 SCV保存的根路径
/// </summary>
public string HighSpeedMsgSaveCsvRootPath { get; set; } = "D:\\TestData";
/// <summary>
/// 实时曲线数据缓存的时间(秒)
/// </summary>