107 lines
4.9 KiB
XML
107 lines
4.9 KiB
XML
<Window x:Class="CordoPlot.MainWindow"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:ScottPlot="clr-namespace:ScottPlot.WPF;assembly=ScottPlot.WPF"
|
|
xmlns:local="clr-namespace:CordoPlot"
|
|
mc:Ignorable="d"
|
|
Title="MainWindow" Height="450" Width="800">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="10*" />
|
|
<ColumnDefinition Width="80*"/>
|
|
<ColumnDefinition Width="40*"/>
|
|
<ColumnDefinition Width="10*" />
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="21*"/>
|
|
<RowDefinition Height="200*"/>
|
|
<RowDefinition Height="100*"/>
|
|
<RowDefinition Height="21*"/>
|
|
</Grid.RowDefinitions>
|
|
<Label x:Name="FileName" >
|
|
|
|
</Label>
|
|
<Button Click="Button_Click" Grid.Row="0" Grid.Column="2" >File</Button>
|
|
<ScottPlot:WpfPlot x:Name="WpfPlot1" Grid.Row="1" Grid.Column="1" />
|
|
|
|
<ScottPlot:WpfPlot x:Name="WpfPlot2" Grid.Row="2" Grid.Column="1" />
|
|
|
|
<ScottPlot:WpfPlot x:Name="WpfPlot3" Grid.Row="2" Grid.Column="2" />
|
|
|
|
|
|
<Grid Grid.Column="2" Grid.Row="1">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="10*" />
|
|
<ColumnDefinition Width="40*"/>
|
|
<ColumnDefinition Width="40*"/>
|
|
<ColumnDefinition Width="10*" />
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="10*"/>
|
|
<RowDefinition Height="40*"/>
|
|
<RowDefinition Height="40*"/>
|
|
<RowDefinition Height="40*"/>
|
|
<RowDefinition Height="40*"/>
|
|
<RowDefinition Height="40*"/>
|
|
<RowDefinition Height="40*"/>
|
|
<RowDefinition Height="40*"/>
|
|
<RowDefinition Height="40*"/>
|
|
<RowDefinition Height="40*"/>
|
|
<RowDefinition Height="40*"/>
|
|
<RowDefinition Height="40*"/>
|
|
<RowDefinition Height="100*"/>
|
|
<RowDefinition Height="10*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<TextBlock Grid.Row="1" Grid.Column="1">Serialnr</TextBlock>
|
|
<TextBlock Grid.Row="2" Grid.Column="1">TestRunNr</TextBlock>
|
|
<TextBlock Grid.Row="3" Grid.Column="1">TestBenchNr</TextBlock>
|
|
<TextBlock Grid.Row="4" Grid.Column="1">Date</TextBlock>
|
|
<TextBlock Grid.Row="5" Grid.Column="1">MeterSize</TextBlock>
|
|
<TextBlock Grid.Row="6" Grid.Column="1">AirTempC</TextBlock>
|
|
<TextBlock Grid.Row="7" Grid.Column="1">AirPressure</TextBlock>
|
|
<TextBlock Grid.Row="8" Grid.Column="1">AirHumanity</TextBlock>
|
|
<TextBlock Grid.Row="9" Grid.Column="1">WaterTempC</TextBlock>
|
|
<TextBlock Grid.Row="10" Grid.Column="1">TotalMeters</TextBlock>
|
|
<TextBlock Grid.Row="11" Grid.Column="1">Remark</TextBlock>
|
|
|
|
<TextBlock Grid.Row="1" Grid.Column="2" Text="{Binding Path=testBenchresults.Serialnr }"/>
|
|
<TextBlock Grid.Row="2" Grid.Column="2" Text="{Binding Path=testBenchresults.TestRunNr}"/>
|
|
<TextBlock Grid.Row="3" Grid.Column="2" Text="{Binding Path=testBenchresults.TestBenchNr}"/>
|
|
<TextBlock Grid.Row="4" Grid.Column="2" Text="{Binding Path=testBenchresults.Date}"/>
|
|
<TextBlock Grid.Row="5" Grid.Column="2" Text="{Binding Path=testBenchresults.MeterSize}"/>
|
|
<TextBlock Grid.Row="6" Grid.Column="2" Text="{Binding Path=testBenchresults.AirTempC}"/>
|
|
<TextBlock Grid.Row="7" Grid.Column="2" Text="{Binding Path=testBenchresults.AirPressure}"/>
|
|
<TextBlock Grid.Row="8" Grid.Column="2" Text="{Binding Path=testBenchresults.AirHumanity}"/>
|
|
<TextBlock Grid.Row="9" Grid.Column="2" Text="{Binding Path=testBenchresults.WaterTempC}"/>
|
|
<TextBlock Grid.Row="10" Grid.Column="2" Text="{Binding Path=testBenchresults.TotalMeters}"/>
|
|
<TextBlock Grid.Row="11" Grid.Column="2" Text="{Binding Path=testBenchresults.Remark}"/>
|
|
|
|
<TextBlock Grid.Row="12" Grid.Column="2" ></TextBlock>
|
|
<DataGrid
|
|
x:Name="dataGrid"
|
|
Grid.Row="12"
|
|
Grid.Column="1" Grid.ColumnSpan="2" SelectedCellsChanged="DataGrid_SelectedCellsChanged" />
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
<!--DataContext="{Binding testBenchresults}">
|
|
|
|
|
|
|
|
<TextBlock Text="testpoint"
|
|
Grid.Row="0"
|
|
Margin="9,-7,0,0" ></TextBlock>
|
|
|
|
<TextBlock Text="{Binding TestRunNr}"
|
|
Grid.Row="1"
|
|
Margin="9,-7,0,0" />-->
|
|
</Grid>
|
|
</Window>
|