更新2026
This commit is contained in:
@@ -261,7 +261,7 @@ public sealed class MainWindowViewModel : ObservableObject
|
||||
private string _axialForceSetpointModeButtonText = "轴向跳动力设置";
|
||||
private string _displacementTestButtonText = "测试";
|
||||
private string _speedTorqueTestButtonText = "测试";
|
||||
private string _noLoadSpeedTestButtonText = "测试";
|
||||
private string _noLoadSpeedTestButtonText = "记录空载转速";
|
||||
private string _displacementResetButtonText = "复位";
|
||||
private string _speedTorqueResetButtonText = "复位";
|
||||
private string _ventValveButtonText = "通气阀";
|
||||
@@ -2457,7 +2457,7 @@ public sealed class MainWindowViewModel : ObservableObject
|
||||
PrepareSessionForNewRun();
|
||||
_activeNoLoadSpeedRun = CreateTestRun("空载转速测试");
|
||||
_noLoadCaptureDeadline = DateTime.Now.Add(NoLoadCaptureDuration);
|
||||
NoLoadSpeedTestButtonText = "测试中";
|
||||
NoLoadSpeedTestButtonText = "记录中";
|
||||
UpdateDataCaptureStatus();
|
||||
}
|
||||
|
||||
@@ -3312,8 +3312,8 @@ public sealed class MainWindowViewModel : ObservableObject
|
||||
// 空载转速实时显示当前转速
|
||||
NoLoadSpeedRecordText = $"{FormatSpeed(_realtimeSpeed)} r/min";
|
||||
|
||||
// 转速误差率直接读取 PLC D102 寄存器值,不显示负值
|
||||
NoLoadSpeedErrorRateText = $"{FormatErrorRate(Math.Abs(_noLoadSpeedErrorRate))} %";
|
||||
// 转速误差率直接显示每轮实时读取到的 PLC D102 原值
|
||||
NoLoadSpeedErrorRateText = $"{FormatErrorRate(_noLoadSpeedErrorRate)} %";
|
||||
}
|
||||
|
||||
private void AppendTorqueSample(double torque, double speed, DateTime sampledAt)
|
||||
@@ -3615,7 +3615,7 @@ public sealed class MainWindowViewModel : ObservableObject
|
||||
_completedRuns.Add(_activeNoLoadSpeedRun);
|
||||
_activeNoLoadSpeedRun = null;
|
||||
_noLoadCaptureDeadline = null;
|
||||
NoLoadSpeedTestButtonText = "测试";
|
||||
NoLoadSpeedTestButtonText = "记录空载转速";
|
||||
PersistCurrentPayloadSnapshot("空载转速记录完成");
|
||||
UpdateDataCaptureStatus();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user