feat: add Ford VP44 unlock progress dialog, K-Line fast unlock, localization, safety dialogs, and settings
Unlock progress UI:
- UnlockProgressDialog with dark-themed progress ring, phase indicator, elapsed
time, and cancel/close buttons (non-modal, draggable borderless window)
- UnlockProgressViewModel with event-driven progress tracking via IUnlockService
- Triggers on pump selection (manual or K-Line auto-detect), not test start
UnlockService rewrite:
- Persistent CAN senders that outlive the unlock sequence (StopSenders on pump change)
- Concurrent K-Line fast unlock: awaits session Connected, sends RAM timer shortcut
({02 88 02 03 A8 01 00}), verifies via CAN TestUnlock before skipping wait
- Fix Type 1 verification (Value == 0 means unlocked, was inverted)
K-Line fast unlock support:
- IKwpService.TryFastUnlockAsync / KwpService implementation
Additional features:
- ILocalizationService with ES/EN resource dictionaries and runtime switching
- Safety dialogs: VoltageWarning, OilPumpConfirm, RpmSafetyWarning
- SettingsDialog for app configuration
- BenchService enhancements, ConfigurationService improvements, PDF report updates
- All UI strings localized via DynamicResource
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<!-- Header -->
|
||||
<TextBlock Grid.ColumnSpan="3" Text="ADVANCE MONITORING"
|
||||
<TextBlock Grid.ColumnSpan="3" Text="{DynamicResource Angle.Header}"
|
||||
HorizontalAlignment="Center" FontSize="20"
|
||||
FontWeight="Bold" FontStyle="Italic"
|
||||
Foreground="DimGray" Margin="0,0,0,4"/>
|
||||
@@ -32,10 +32,10 @@
|
||||
<Button Content="0" Width="28" Height="28" FontWeight="Bold"
|
||||
VerticalAlignment="Center" Margin="0,0,4,0"
|
||||
Command="{Binding SetPsgZeroCommand}"
|
||||
ToolTip="Set PSG zero reference"/>
|
||||
ToolTip="{DynamicResource Angle.SetPsgZero}"/>
|
||||
<Border Style="{DynamicResource LcdBlue}" Padding="4,0" Width="170">
|
||||
<DockPanel>
|
||||
<TextBlock Text="PSG:" DockPanel.Dock="Left"
|
||||
<TextBlock Text="{DynamicResource Angle.Psg}" DockPanel.Dock="Left"
|
||||
VerticalAlignment="Bottom" Margin="2,0,0,8"
|
||||
FontSize="10" FontWeight="Bold"
|
||||
Foreground="{Binding PsgAngleForeground}"/>
|
||||
@@ -56,10 +56,10 @@
|
||||
<Button Content="0" Width="28" Height="28" FontWeight="Bold"
|
||||
VerticalAlignment="Center" Margin="0,0,4,0"
|
||||
Command="{Binding SetInjZeroCommand}"
|
||||
ToolTip="Set INJ zero reference"/>
|
||||
ToolTip="{DynamicResource Angle.SetInjZero}"/>
|
||||
<Border Style="{DynamicResource LcdBlue}" Padding="4,0" Width="170">
|
||||
<DockPanel>
|
||||
<TextBlock Text="INJ:" DockPanel.Dock="Left"
|
||||
<TextBlock Text="{DynamicResource Angle.Inj}" DockPanel.Dock="Left"
|
||||
VerticalAlignment="Bottom" Margin="2,0,0,8"
|
||||
FontSize="10" FontWeight="Bold"
|
||||
Foreground="{Binding InjAngleForeground}"/>
|
||||
@@ -105,7 +105,7 @@
|
||||
<!-- ABS (manual encoder) -->
|
||||
<Border Style="{DynamicResource LcdBlue}" Height="56" Margin="0,2" Padding="4,0">
|
||||
<DockPanel>
|
||||
<TextBlock Text="ABS º:" DockPanel.Dock="Left"
|
||||
<TextBlock Text="{DynamicResource Angle.AbsDeg}" DockPanel.Dock="Left"
|
||||
VerticalAlignment="Bottom" Margin="4,0,0,8"
|
||||
FontSize="10" FontWeight="Bold" Foreground="#FFEBEBFF"/>
|
||||
<TextBlock Text="{Binding ManualAngleText}"
|
||||
@@ -118,7 +118,7 @@
|
||||
<!-- LOCK angle result -->
|
||||
<Border Style="{DynamicResource LcdBlue}" Height="56" Margin="0,2" Padding="4,0">
|
||||
<DockPanel>
|
||||
<TextBlock Text="LOCK º:" DockPanel.Dock="Left"
|
||||
<TextBlock Text="{DynamicResource Angle.LockDeg}" DockPanel.Dock="Left"
|
||||
VerticalAlignment="Bottom" Margin="4,0,0,8"
|
||||
FontSize="10" FontWeight="Bold" Foreground="#FFEBEBFF"/>
|
||||
<TextBlock Text="{Binding LockAngleDisplay}"
|
||||
|
||||
Reference in New Issue
Block a user