feat: PP钻带基础信息显示X/Y间距
检测PP钻带(文件名-pp结尾、4孔、直径4.000),计算上下孔X间距和左右孔Y间距 (欧氏距离),在MainWindow和StartupSelectionWindow的基础信息中显示。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -24,10 +24,20 @@
|
||||
<StackPanel Grid.Row="0" Orientation="Horizontal">
|
||||
<TextBlock VerticalAlignment="Center" Text="文件名:" />
|
||||
<TextBlock
|
||||
Margin="0,0,0,5"
|
||||
Margin="0,0,10,5"
|
||||
VerticalAlignment="Center"
|
||||
FontWeight="Bold"
|
||||
Text="{Binding FileName}" />
|
||||
<TextBlock
|
||||
Margin="10,0,0,5"
|
||||
VerticalAlignment="Center"
|
||||
Visibility="{Binding IsPpDrillTape, Converter={StaticResource BooleanToVisibilityConverter}}"
|
||||
Text="{Binding PpXSpacing, StringFormat=X间距: {0:F3}}" />
|
||||
<TextBlock
|
||||
Margin="10,0,0,5"
|
||||
VerticalAlignment="Center"
|
||||
Visibility="{Binding IsPpDrillTape, Converter={StaticResource BooleanToVisibilityConverter}}"
|
||||
Text="{Binding PpYSpacing, StringFormat=Y间距: {0:F3}}" />
|
||||
</StackPanel>
|
||||
|
||||
<Grid Grid.Row="1">
|
||||
|
||||
Reference in New Issue
Block a user