增加了CAN调度表发送,但是没有测试成功

This commit is contained in:
2025-08-10 23:49:17 +08:00
parent 7a5793c43a
commit 159187a475
21 changed files with 1618 additions and 29 deletions

View File

@@ -577,6 +577,8 @@ namespace CapMachine.Wpf.LinDrive
// 严重延迟,重新校准
NextExecutionTime = Stopwatcher.ElapsedTicks;
Console.WriteLine("定时发送延迟过大,重新校准时间");
LoggerService.Info("定时发送延迟过大,重新校准时间");
}
// 使用Stopwatch记录实际的执行间隔而不是DateTime
@@ -585,7 +587,6 @@ namespace CapMachine.Wpf.LinDrive
//Console.WriteLine($"--当前时间(毫秒): {DateTime.Now:yyyy-MM-dd HH:mm:ss.fff}");
// 执行发送CAN逻辑
{