RCC 옵션 선택 기능 Disable
This commit is contained in:
parent
44d79db962
commit
702a80fba2
@ -156,7 +156,7 @@
|
|||||||
<Border Grid.Row="0" Grid.Column="0" MinHeight="30">
|
<Border Grid.Row="0" Grid.Column="0" MinHeight="30">
|
||||||
<TextBlock Margin="10 0" FontSize="12" Foreground="#FFBBBBBB" FontWeight="Bold" Text="Option Type" VerticalAlignment="Center" HorizontalAlignment="Right"/>
|
<TextBlock Margin="10 0" FontSize="12" Foreground="#FFBBBBBB" FontWeight="Bold" Text="Option Type" VerticalAlignment="Center" HorizontalAlignment="Right"/>
|
||||||
</Border>
|
</Border>
|
||||||
<ComboBox Grid.Row="0" Grid.Column="1" ItemsSource="{Binding OptionList}" SelectedItem="{Binding SelectedOption}" Height="30" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="12" Padding="2"/>
|
<ComboBox Grid.Row="0" Grid.Column="1" ItemsSource="{Binding OptionList}" SelectedItem="{Binding SelectedOption}" Height="30" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="12" Padding="2" IsEnabled="False"/>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
<!-- SelectedOption is SMW-->
|
<!-- SelectedOption is SMW-->
|
||||||
|
|||||||
@ -402,7 +402,7 @@ namespace WeldingCommon.Views
|
|||||||
_Stopwatch = new Stopwatch();
|
_Stopwatch = new Stopwatch();
|
||||||
|
|
||||||
OptionList = new ObservableCollection<string> { "SMW", "Inzi", "LFW", "KS", "Flangeless" };
|
OptionList = new ObservableCollection<string> { "SMW", "Inzi", "LFW", "KS", "Flangeless" };
|
||||||
SelectedOption = OptionList[0];
|
SelectedOption = OptionList[3];
|
||||||
|
|
||||||
var pixelResolution = ((_SystemParameter.CameraPixelSize) / _SystemParameter.LensMagnification) / 1000.0;
|
var pixelResolution = ((_SystemParameter.CameraPixelSize) / _SystemParameter.LensMagnification) / 1000.0;
|
||||||
_ObjectGenerator = new ObjectGenerator(pixelResolution);
|
_ObjectGenerator = new ObjectGenerator(pixelResolution);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user