feat: add Camera View and ViewModel

This commit is contained in:
2026-04-14 07:35:46 +03:00
parent b7a095f84d
commit fd25dcba0d
5 changed files with 95 additions and 2 deletions
+9 -1
View File
@@ -34,6 +34,7 @@
</UserControl.Styles>
<Border Background="{StaticResource MainBackground}" BorderThickness="0">
<Grid Margin="5" RowSpacing="5">
<Grid.RowDefinitions>
@@ -51,6 +52,7 @@
<ColumnDefinition Width="*" MinWidth="200"/> <!-- Результаты -->
<ColumnDefinition Width="*" MinWidth="200"/> <!-- Калибровка проб -->
<ColumnDefinition Width="*" MinWidth="200"/> <!-- Калибровка сепаратора -->
<ColumnDefinition Width="*" MinWidth="200"/> <!-- Камера -->
<ColumnDefinition Width="*" MinWidth="200"/> <!-- Системная страница -->
</Grid.ColumnDefinitions>
@@ -79,8 +81,13 @@
<TextBlock Classes="menu-text" Text="Калибровка сепаратора"/>
</Button>
<!-- Системная страница -->
<!-- Камера -->
<Button Grid.Column="5" Classes="menu" Command="{Binding ChangeSectionCommand}" CommandParameter="5">
<TextBlock Classes="menu-text" Text="Камера"/>
</Button>
<!-- Системная страница -->
<Button Grid.Column="6" Classes="menu" Command="{Binding ChangeSectionCommand}" CommandParameter="6">
<TextBlock Classes="menu-text" Text="Системная страница"/>
</Button>
@@ -94,6 +101,7 @@
<ContentControl Content="{Binding Results}"/> <!-- Результаты -->
<ContentControl Content="{Binding SampleCalibration}"/> <!-- Калибровка проб -->
<ContentControl Content="{Binding SeparatorCalibration}"/> <!-- Калибровка сепаратора -->
<ContentControl Content="{Binding Camera}"/> <!-- Камера -->
<ContentControl Content="{Binding System}"/> <!-- Системная страница -->
</core:SectionPanel>