forked from amkovkov/GranuSightSoftware2
feat: massive rework
1) GSS2.Core: - strip prefixes in GSS2.Core.Analysis.AmineContent namespace class names - add IEnumerable<double>.Variance extension - remake analysis + update database so not needed to store all every file, calibration data also stored in database, also currently capturing images stored in system temporary directory and rewriting every time 2) GSS.UI.Core: AsyncImageRecordViewModel make zoom and pans public 3) GSS: - remove image-storage-clear command - remove ResultsView and ResultsViewModel, results presented in analysis - rework calibration views - add analysis views - add text and number fields editors view - add confirmation view on danger buttons
This commit is contained in:
@@ -56,48 +56,36 @@
|
||||
<Grid ColumnSpacing="5">
|
||||
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" MinWidth="200"/> <!-- Начальная страница -->
|
||||
<ColumnDefinition Width="*" MinWidth="200"/> <!-- Анализ -->
|
||||
<ColumnDefinition Width="*" MinWidth="200"/> <!-- Результаты -->
|
||||
<ColumnDefinition Width="*" MinWidth="200"/> <!-- Калибровка проб -->
|
||||
<ColumnDefinition Width="*" MinWidth="200"/> <!-- Калибровка сепаратора -->
|
||||
<ColumnDefinition Width="*" MinWidth="200"/> <!-- Камера -->
|
||||
<ColumnDefinition Width="*" MinWidth="200"/> <!-- Системная страница -->
|
||||
<ColumnDefinition Width="*" MinWidth="200"/> <!-- Система -->
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<!-- Начальная страница -->
|
||||
<Button Grid.Column="0" Classes="menu" Command="{Binding ChangeSectionCommand}" CommandParameter="0">
|
||||
<TextBlock Classes="menu-text" Text="Начальная страница"/>
|
||||
</Button>
|
||||
|
||||
<!-- Анализ -->
|
||||
<Button Grid.Column="1" Classes="menu" Command="{Binding ChangeSectionCommand}" CommandParameter="1">
|
||||
<Button Grid.Column="0" Classes="menu" Command="{Binding ChangeSectionCommand}" CommandParameter="0">
|
||||
<TextBlock Classes="menu-text" Text="Анализ"/>
|
||||
</Button>
|
||||
|
||||
<!-- Результаты -->
|
||||
<Button Grid.Column="2" Classes="menu" Command="{Binding ChangeSectionCommand}" CommandParameter="2">
|
||||
<TextBlock Classes="menu-text" Text="Результаты"/>
|
||||
</Button>
|
||||
|
||||
<!-- Калибровка проб -->
|
||||
<Button Grid.Column="3" Classes="menu" Command="{Binding ChangeSectionCommand}" CommandParameter="3">
|
||||
<Button Grid.Column="1" Classes="menu" Command="{Binding ChangeSectionCommand}" CommandParameter="1">
|
||||
<TextBlock Classes="menu-text" Text="Калибровка проб"/>
|
||||
</Button>
|
||||
|
||||
<!-- Калибровка сепаратора -->
|
||||
<Button Grid.Column="4" Classes="menu" Command="{Binding ChangeSectionCommand}" CommandParameter="4">
|
||||
<TextBlock Classes="menu-text" Text="Калибровка сепаратора"/>
|
||||
<!-- Калибровка сепараторов -->
|
||||
<Button Grid.Column="2" Classes="menu" Command="{Binding ChangeSectionCommand}" CommandParameter="2">
|
||||
<TextBlock Classes="menu-text" Text="Калибровка сепараторов"/>
|
||||
</Button>
|
||||
|
||||
<!-- Камера -->
|
||||
<Button Grid.Column="5" Classes="menu" Command="{Binding ChangeSectionCommand}" CommandParameter="5">
|
||||
<Button Grid.Column="3" Classes="menu" Command="{Binding ChangeSectionCommand}" CommandParameter="3">
|
||||
<TextBlock Classes="menu-text" Text="Камера"/>
|
||||
</Button>
|
||||
|
||||
<!-- Системная страница -->
|
||||
<Button Grid.Column="6" Classes="menu" Command="{Binding ChangeSectionCommand}" CommandParameter="6">
|
||||
<TextBlock Classes="menu-text" Text="Системная страница"/>
|
||||
<!-- Система -->
|
||||
<Button Grid.Column="4" Classes="menu" Command="{Binding ChangeSectionCommand}" CommandParameter="4">
|
||||
<TextBlock Classes="menu-text" Text="Система"/>
|
||||
</Button>
|
||||
|
||||
</Grid>
|
||||
@@ -105,13 +93,11 @@
|
||||
|
||||
<!-- Основной контент -->
|
||||
<core:SectionPanel Grid.Row="1" ClipToBounds="True" CurrentIndex="{Binding CurrentIndex}" Orientation="Horizontal" IsScrolling="{Binding IsScrolling}">
|
||||
<ContentControl Content="{Binding Start}"/> <!-- Начальная страница -->
|
||||
<ContentControl Content="{Binding Analysis}"/> <!-- Анализ -->
|
||||
<ContentControl Content="{Binding Results}"/> <!-- Результаты -->
|
||||
<ContentControl Content="{Binding SampleCalibration}"/> <!-- Калибровка проб -->
|
||||
<ContentControl Content="{Binding SeparatorCalibration}"/> <!-- Калибровка сепаратора -->
|
||||
<ContentControl Content="{Binding Camera}"/> <!-- Камера -->
|
||||
<ContentControl Content="{Binding System}"/> <!-- Системная страница -->
|
||||
<ContentControl Content="{Binding System}"/> <!-- Система -->
|
||||
</core:SectionPanel>
|
||||
|
||||
</Grid>
|
||||
|
||||
Reference in New Issue
Block a user