feat: redesign bench calibration (factor/offset), add Ttank/P2 displays, fix sensor calibration

- Replace P1-P6 rational transfer function with factor/offset model for bench params
- Add explicit rx/tx direction flags in bench XML configuration
- Add T.Tank (BenchTemp) and P2 (AnalogSensor2) to temperature/pressure display
- Apply SensorConfiguration calibration to pressure channels, fix empty sensors.xml fallback
- Add live value labels to flowmeter charts
- Hide pump live values and PSG encoder standalone label
- Add K-Line connection state model, improve KWP service and status displays
- Restructure .claude/skills into subdirectory format

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-14 21:25:30 +02:00
parent 4964806de1
commit 4891eb6812
20 changed files with 881 additions and 185 deletions

View File

@@ -9,8 +9,13 @@
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<TextBlock Text="{Binding Title}" FontSize="11" FontWeight="SemiBold"
Foreground="DimGray" Margin="4,0"/>
<StackPanel Orientation="Horizontal" Margin="4,0">
<TextBlock Text="{Binding Title}" FontSize="11" FontWeight="SemiBold"
Foreground="DimGray"/>
<TextBlock Text="{Binding CurrentValue, StringFormat=F3}" FontSize="14" FontWeight="Bold"
Foreground="#4080FF" FontFamily="Consolas" Margin="8,0,0,0"
VerticalAlignment="Center"/>
</StackPanel>
<lvc:CartesianChart Grid.Row="1" Height="120"
Series="{Binding Series}"

View File

@@ -94,6 +94,8 @@
<StackPanel Grid.Column="1" VerticalAlignment="Center" Margin="6,0,0,0">
<Button Content="Read K-Line" Width="90" Margin="0,2"
Command="{Binding ReadKlineCommand}"/>
<Button Content="Disconnect" Width="90" Margin="0,2"
Command="{Binding DisconnectKLineCommand}"/>
<!-- Progress bar shown during K-Line read -->
<ProgressBar Value="{Binding ProgressPercent, Mode=OneWay}"
Minimum="0" Maximum="100" Height="6"

View File

@@ -44,8 +44,11 @@
Width="12" Height="12"
HorizontalAlignment="Center" VerticalAlignment="Center"
ToolTip="{Binding Description}"
ToolTipService.InitialShowDelay="150"
ToolTipService.ShowDuration="30000"
SnapsToDevicePixels="True"/>
<TextBlock Grid.Row="1" FontSize="8"
Text="{Binding Index}"
HorizontalAlignment="Center" VerticalAlignment="Center"
Foreground="DimGray"/>
</Grid>