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:
@@ -20,27 +20,27 @@
|
||||
|
||||
<!-- CAN frame fields -->
|
||||
<WrapPanel Margin="0,0,0,4">
|
||||
<Label Content="CAN-Bus ID (0x)" VerticalAlignment="Bottom" Foreground="Black"/>
|
||||
<Label Content="{DynamicResource BenchParam.CanBusId}" VerticalAlignment="Bottom" Foreground="Black"/>
|
||||
<TextBox Text="{Binding MessageIdHex, UpdateSourceTrigger=LostFocus}"
|
||||
Width="40" VerticalAlignment="Center"
|
||||
Background="#66FFFFFF" BorderBrush="{x:Null}" Height="19"/>
|
||||
|
||||
<Label Content="Byte L" VerticalAlignment="Bottom" Foreground="Black" Margin="8,0,0,0"/>
|
||||
<Label Content="{DynamicResource BenchParam.ByteL}" VerticalAlignment="Bottom" Foreground="Black" Margin="8,0,0,0"/>
|
||||
<TextBox Text="{Binding ByteL, UpdateSourceTrigger=LostFocus}"
|
||||
Width="35" VerticalAlignment="Center"
|
||||
Background="#66FFFFFF" BorderBrush="{x:Null}" Height="19"/>
|
||||
|
||||
<Label Content="Byte H" VerticalAlignment="Bottom" Foreground="Black" Margin="8,0,0,0"/>
|
||||
<Label Content="{DynamicResource BenchParam.ByteH}" VerticalAlignment="Bottom" Foreground="Black" Margin="8,0,0,0"/>
|
||||
<TextBox Text="{Binding ByteH, UpdateSourceTrigger=LostFocus}"
|
||||
Width="35" VerticalAlignment="Center"
|
||||
Background="#66FFFFFF" BorderBrush="{x:Null}" Height="19"/>
|
||||
|
||||
<Label Content="Filter α" VerticalAlignment="Bottom" Foreground="Black" Margin="8,0,0,0"/>
|
||||
<Label Content="{DynamicResource BenchParam.FilterAlpha}" VerticalAlignment="Bottom" Foreground="Black" Margin="8,0,0,0"/>
|
||||
<TextBox Text="{Binding Alpha, UpdateSourceTrigger=LostFocus}"
|
||||
Width="40" VerticalAlignment="Center"
|
||||
Background="#66FFFFFF" BorderBrush="{x:Null}" Height="19"/>
|
||||
|
||||
<CheckBox Content="Enable formula" IsChecked="{Binding FormulaEnabled}"
|
||||
<CheckBox Content="{DynamicResource BenchParam.EnableFormula}" IsChecked="{Binding FormulaEnabled}"
|
||||
VerticalAlignment="Center" Foreground="Black" Margin="12,0,0,0"/>
|
||||
</WrapPanel>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user