|
|
@@ -220,22 +220,33 @@
|
|
|
</DataTemplate>
|
|
|
</ComboBox.ItemTemplate>
|
|
|
</ComboBox>
|
|
|
-
|
|
|
- <!-- 光源通道配置(已改为弹窗选择) -->
|
|
|
- <TextBlock Text="{lex:Loc 光源通道,Converter={StaticResource StringFormatConverter},ConverterParameter='{}{0}: '}"
|
|
|
+
|
|
|
+ <TextBlock Text="{lex:Loc 是否控制光源通道亮灭,Converter={StaticResource StringFormatConverter},ConverterParameter='{}{0}: '}"
|
|
|
Grid.Row="7"
|
|
|
- Grid.RowSpan="2" />
|
|
|
+ Grid.Column="0" />
|
|
|
+ <ToggleButton Grid.Row="7"
|
|
|
+ Grid.Column="1"
|
|
|
+ Width="60"
|
|
|
+ Height="30"
|
|
|
+ HorizontalAlignment="Left"
|
|
|
+ IsChecked="{Binding SelectProcedure.IsControlLightChannels,Mode=TwoWay}"/>
|
|
|
+
|
|
|
<Button Grid.Row="7"
|
|
|
Grid.Column="1"
|
|
|
HorizontalAlignment="Right"
|
|
|
materialDesign:HintAssist.Hint="{lex:Loc 选择光源通道}"
|
|
|
- Style="{StaticResource MaterialDesignFloatingActionButton}"
|
|
|
+ Style="{StaticResource MaterialDesignFloatingActionMiniDarkButton}"
|
|
|
Command="{Binding SelectLightChannelCommand}">
|
|
|
<materialDesign:PackIcon Width="20"
|
|
|
Height="20"
|
|
|
Kind="ListBoxOutline" />
|
|
|
</Button>
|
|
|
|
|
|
+ <!-- 光源通道配置(已改为弹窗选择) -->
|
|
|
+ <TextBlock Text="{lex:Loc 光源通道,Converter={StaticResource StringFormatConverter},ConverterParameter='{}{0}: '}"
|
|
|
+ Grid.Row="8"
|
|
|
+ Grid.RowSpan="1" />
|
|
|
+
|
|
|
<ListBox Grid.Row="8"
|
|
|
Grid.Column="1"
|
|
|
ItemsSource="{Binding SelectProcedure.LightChannels}"
|