探测器XP.Hardware.Detector类库为了更好集成新的探测器,统一接口方法,DetectorService重构为通过统一接口;
新增暗场校正和亮场校正帧数配置属性(默认 64,范围 1-128),config 加载校正帧数; 修正探测器IsConnected连接状态的判断逻辑。
This commit is contained in:
@@ -97,6 +97,7 @@
|
||||
<telerik:RadButton Grid.Column="1"
|
||||
Content="{loc:Localization Detector_ApplyParametersButton}"
|
||||
Command="{Binding ApplyParametersCommand}"
|
||||
IsEnabled="{Binding IsParametersEditable}"
|
||||
Height="32" HorizontalAlignment="Stretch"
|
||||
telerik:StyleManager.Theme="Crystal" Margin="4 0 0 0"/>
|
||||
</Grid>
|
||||
@@ -115,6 +116,7 @@
|
||||
<telerik:RadButton Grid.Column="0"
|
||||
Content="{loc:Localization Detector_DarkCorrectionButton}"
|
||||
Command="{Binding DarkCorrectionCommand}"
|
||||
IsEnabled="{Binding IsParametersEditable}"
|
||||
Height="32" Margin="0 0 4 0" HorizontalAlignment="Stretch"
|
||||
telerik:StyleManager.Theme="Crystal">
|
||||
<telerik:RadButton.Background>
|
||||
@@ -129,6 +131,7 @@
|
||||
<telerik:RadButton Grid.Column="1"
|
||||
Content="{loc:Localization Detector_LightCorrectionButton}"
|
||||
Command="{Binding LightCorrectionCommand}"
|
||||
IsEnabled="{Binding IsParametersEditable}"
|
||||
Height="32" Margin="4 0 0 0" HorizontalAlignment="Stretch"
|
||||
telerik:StyleManager.Theme="Crystal">
|
||||
<telerik:RadButton.Background>
|
||||
|
||||
Reference in New Issue
Block a user