120 lines
8.4 KiB
XML
120 lines
8.4 KiB
XML
<base:BaseView x:Class="PedestrianAndHeadReports.HeadReportInputView"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:root="clr-namespace:PedestrianAndHeadReports.Resources"
|
|
xmlns:base="clr-namespace:DTS.Common.Base;assembly=DTS.Common"
|
|
xmlns:xceed="clr-namespace:Xceed.Wpf.Toolkit;assembly=Xceed.Wpf.Toolkit"
|
|
xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity">
|
|
<base:BaseView.Resources>
|
|
<ResourceDictionary>
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<ResourceDictionary Source="pack://application:,,,/DTS.Common;component/Themes/CommonStyles.xaml"/>
|
|
</ResourceDictionary.MergedDictionaries>
|
|
<Style TargetType="TextBlock" BasedOn="{StaticResource PageContentTextStyle}" >
|
|
<Setter Property="VerticalAlignment" Value="Top"/>
|
|
<Setter Property="HorizontalAlignment" Value="Left"/>
|
|
<Setter Property="Margin" Value="5" />
|
|
</Style>
|
|
<Style TargetType="TextBox">
|
|
<Setter Property="Margin" Value="5" />
|
|
</Style>
|
|
<Style TargetType="Button">
|
|
<Setter Property="Margin" Value="5" />
|
|
</Style>
|
|
</ResourceDictionary>
|
|
</base:BaseView.Resources>
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="*" />
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto" MinWidth="200" />
|
|
<ColumnDefinition Width="Auto" MinWidth="350" />
|
|
</Grid.ColumnDefinitions>
|
|
<TextBlock Grid.Row="0" Grid.ColumnSpan="2" Text="{root:TranslateExtension Test_Info}" FontSize="20"/>
|
|
<TextBlock Grid.Row="1" Text="{root:TranslateExtension TestNumber}" />
|
|
<TextBox Grid.Row="1" Grid.Column="1" Text="{Binding TestNumber, FallbackValue='Test number'}" />
|
|
<TextBlock Grid.Row="2" Text="{root:TranslateExtension TestDate}" />
|
|
<xceed:DateTimePicker Grid.Row="2" Grid.Column="1" />
|
|
<TextBlock Grid.Row="3" Text="{root:TranslateExtension CarName}" />
|
|
<TextBox Grid.Row="3" Grid.Column="1" Text="{Binding CarName, FallbackValue='Car name'}" />
|
|
<TextBlock Grid.Row="4" Grid.Column="0" Text="{root:Translate Model}" />
|
|
<TextBox Grid.Row="4" Grid.Column="1" Text="{Binding Model, FallbackValue='Model'}" />
|
|
<TextBlock Grid.Row="5" Grid.Column="0" Text="{root:Translate TestTemperature}" />
|
|
<TextBox Grid.Row="5" Grid.Column="1" Text="{Binding TestTemperature, FallbackValue='Temperature'}" />
|
|
<TextBlock Grid.Row="6" Grid.Column="0" Text="{root:Translate TestClassificationAngle}" />
|
|
<TextBox Grid.Row="6" Grid.Column="1" Text="{Binding TestClassificationAngle, FallbackValue='Classification angle'}" />
|
|
<TextBlock Grid.Row="7" Grid.Column="0" Text="{root:TranslateExtension MeasurementPoint}" />
|
|
<TextBox Grid.Row="7" Grid.Column="1" Text="{Binding MeasurementPoint}" />
|
|
<TextBlock Grid.Row="8" Grid.Column="0" Text="{root:TranslateExtension CrashVelocity}" />
|
|
<TextBox Grid.Row="8" Grid.Column="1" Text="{Binding CrashVelocity, FallbackValue='Crash velocity'}" />
|
|
<TextBlock Grid.Row="9" Grid.Column="0" Text="{root:TranslateExtension ImpactorID}" />
|
|
<TextBox Grid.Row="9" Grid.Column="1" Text="{Binding ImpactorID, FallbackValue='Impactor Id'}" />
|
|
<TextBlock Grid.Row="10" Grid.Column="0" Text="{root:TranslateExtension ImpactorType}" />
|
|
<ComboBox Grid.Row="10" Grid.Column="1" ItemsSource="{Binding AvailableImpactorTypes,FallbackValue='TEST'}" SelectedItem="{Binding SelectedImpactor}" />
|
|
<TextBlock Grid.Row="11" Grid.Column="0" Text="{root:TranslateExtension ImpactorWeight}" />
|
|
<TextBox Grid.Row="11" Grid.Column="1" Text="{Binding ImpactorWeight, FallbackValue='Impactor weight'}" />
|
|
<TextBlock Grid.Row="12" Grid.Column="0" Text="{root:TranslateExtension Examiner}" />
|
|
<TextBox Grid.Row="12" Grid.Column="1" Text="{Binding Examiner, FallbackValue='Examiner'}" />
|
|
<TextBlock Grid.Row="13" Grid.Column="0" Text="{root:TranslateExtension Reserved1}" />
|
|
<TextBox Grid.Row="13" Grid.Column="1" Text="{Binding Reserved1, FallbackValue='Reserved 1'}" />
|
|
<TextBlock Grid.Row="14" Grid.Column="0" Text="{root:TranslateExtension Reserved2}" />
|
|
<TextBox Grid.Row="14" Grid.Column="1" Text="{Binding Reserved2, FallbackValue='Reserved 2'}" />
|
|
<TextBlock Grid.Row="15" Grid.Column="0" Text="{root:TranslateExtension SelectionAutomaticDisplayItemCFC}" />
|
|
<ComboBox Grid.Row="15" Grid.Column="1" ItemsSource="{Binding AvailableCFCs,FallbackValue='Test'}" SelectedItem="{Binding SelectedCFC}" />
|
|
<TextBlock Grid.Row="16" Grid.ColumnSpan="2" Text="{root:TranslateExtension Units}" FontSize="20" />
|
|
<TextBlock Grid.Row="17" Grid.Column="0" Text="{root:TranslateExtension Acceleration}" />
|
|
<ComboBox Grid.Row="17" Grid.Column="1" ItemsSource="{Binding AvailableAccelerationUnits}" SelectedItem="{Binding SelectedAccelerationUnit}" />
|
|
<TextBlock Grid.Row="18" Grid.Column="0" Text="{root:TranslateExtension Displacement}" />
|
|
<ComboBox Grid.Row="18" Grid.Column="1" ItemsSource="{Binding AvailableDisplacementUnits}" SelectedItem="{Binding SelectedDisplacementUnit}" />
|
|
<TextBlock Grid.Row="19" Grid.Column="0" Text="{root:TranslateExtension Time}" />
|
|
<ComboBox Grid.Row="19" Grid.Column="1" ItemsSource="{Binding AvailableTimeUnits}" SelectedItem="{Binding SelectedTimeUnits}" />
|
|
<TextBlock Grid.Row="20" Grid.ColumnSpan="2" Text="{root:TranslateExtension Channels}" FontSize="20" />
|
|
<TextBlock Grid.Row="21" Grid.Column="0" Text="{root:TranslateExtension X}" />
|
|
<ComboBox Grid.Row="21" Grid.Column="1" ItemsSource="{Binding AvailableXChannels}" SelectedItem="{Binding SelectedXChannel}" />
|
|
<TextBlock Grid.Row="22" Grid.Column="0" Text="{root:TranslateExtension Y}" />
|
|
<ComboBox Grid.Row="22" Grid.Column="1" ItemsSource="{Binding AvailableYChannels}" SelectedItem="{Binding SelectedYChannel}" />
|
|
<TextBlock Grid.Row="23" Grid.Column="0" Text="{root:TranslateExtension Z}" />
|
|
<ComboBox Grid.Row="23" Grid.Column="1" ItemsSource="{Binding AvailableZChannels}" SelectedItem="{Binding SelectedZChannel}" />
|
|
<TextBlock Grid.Row="24" Grid.Column="0" Text="{root:TranslateExtension Displacement}" />
|
|
<ComboBox Grid.Row="24" Grid.Column="1" ItemsSource="{Binding AvailableDispacementChannels}" SelectedItem="{Binding SelectedDisplacementChannel}" />
|
|
<!--<TextBlock Text="{root:Translate ImportView_File}" />
|
|
<TextBox Width="200" Text="{Binding ImportFileName}" />
|
|
<Button Content="{root:Translate ImportView_Browse}">
|
|
<i:Interaction.Triggers>
|
|
<i:EventTrigger EventName="Click">
|
|
<i:InvokeCommandAction Command="{Binding ImportBrowseCommand}" />
|
|
</i:EventTrigger>
|
|
</i:Interaction.Triggers>
|
|
</Button>
|
|
-->
|
|
|
|
</Grid>
|
|
</base:BaseView>
|