|
@@ -35,7 +35,6 @@
|
|
|
<Grid.ColumnDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="*"/>
|
|
|
<ColumnDefinition Width="130"/>
|
|
<ColumnDefinition Width="130"/>
|
|
|
- <ColumnDefinition Width="130"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
<Grid Grid.Column="0" Margin="15" Background="#37474f">
|
|
<Grid Grid.Column="0" Margin="15" Background="#37474f">
|
|
@@ -176,7 +175,7 @@
|
|
|
</StackPanel>-->
|
|
</StackPanel>-->
|
|
|
|
|
|
|
|
<!--OutPut-->
|
|
<!--OutPut-->
|
|
|
- <Border Grid.Column="0" Margin="30,10" BorderBrush="#FF00FFD3" BorderThickness="1" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"/>
|
|
|
|
|
|
|
+ <Border Grid.Column="0" Margin="39,10" BorderBrush="#FF00FFD3" BorderThickness="1" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"/>
|
|
|
<StackPanel VerticalAlignment="Center"
|
|
<StackPanel VerticalAlignment="Center"
|
|
|
HorizontalAlignment="Center"
|
|
HorizontalAlignment="Center"
|
|
|
Grid.Column="0">
|
|
Grid.Column="0">
|
|
@@ -221,27 +220,38 @@
|
|
|
|
|
|
|
|
<StackPanel Grid.Column="1"
|
|
<StackPanel Grid.Column="1"
|
|
|
VerticalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
|
- HorizontalAlignment="Center">
|
|
|
|
|
- <StackPanel Orientation="Vertical">
|
|
|
|
|
- <TextBlock Margin="5"><Run Text="Pattern Result" Foreground="Silver" FontSize="20"/></TextBlock>
|
|
|
|
|
- <TextBlock Margin="5"><Run Text="Moving Detect = 21" Foreground="Silver" FontSize="18"/></TextBlock>
|
|
|
|
|
- <TextBlock Margin="5"><Run Text="Curve Detect = 31" Foreground="Silver" FontSize="18"/></TextBlock>
|
|
|
|
|
- <TextBlock Margin="5"><Run Text="Default = 10" Foreground="Silver" FontSize="18"/></TextBlock>
|
|
|
|
|
- </StackPanel>
|
|
|
|
|
|
|
+ HorizontalAlignment="Right"
|
|
|
|
|
+ Margin="15">
|
|
|
|
|
+ <Button Height="60">
|
|
|
|
|
+ <StackPanel>
|
|
|
|
|
+ <TextBlock><Run Text="Drive Pattern" FontSize="20"/></TextBlock>
|
|
|
|
|
+ </StackPanel>
|
|
|
|
|
+ </Button>
|
|
|
|
|
+
|
|
|
|
|
+ <Button Background="{x:Null}" Height="60"
|
|
|
|
|
+ Command="{Binding PatternResultKyein}"
|
|
|
|
|
+ CommandParameter="D">
|
|
|
|
|
+ <StackPanel>
|
|
|
|
|
+ <TextBlock><Run Text="{Binding DrivePatternResult, FallbackValue=0}" FontSize="25" Foreground="Orange"/></TextBlock>
|
|
|
|
|
+ </StackPanel>
|
|
|
|
|
+ </Button>
|
|
|
</StackPanel>
|
|
</StackPanel>
|
|
|
|
|
|
|
|
<StackPanel Grid.Column="2"
|
|
<StackPanel Grid.Column="2"
|
|
|
VerticalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
|
- HorizontalAlignment="Center">
|
|
|
|
|
- <Button >
|
|
|
|
|
|
|
+ HorizontalAlignment="Left"
|
|
|
|
|
+ Margin="15">
|
|
|
|
|
+ <Button Height="60">
|
|
|
<StackPanel>
|
|
<StackPanel>
|
|
|
- <TextBlock><Run Text="Pattern Result"/></TextBlock>
|
|
|
|
|
|
|
+ <TextBlock><Run Text="Curve Pattern" FontSize="20"/></TextBlock>
|
|
|
</StackPanel>
|
|
</StackPanel>
|
|
|
</Button>
|
|
</Button>
|
|
|
|
|
|
|
|
- <Button Background="{x:Null}">
|
|
|
|
|
|
|
+ <Button Background="{x:Null}" Height="60"
|
|
|
|
|
+ Command="{Binding PatternResultKyein}"
|
|
|
|
|
+ CommandParameter="C">
|
|
|
<StackPanel>
|
|
<StackPanel>
|
|
|
- <TextBlock><Run Text="{Binding PatternResult, FallbackValue=0}"/></TextBlock>
|
|
|
|
|
|
|
+ <TextBlock><Run Text="{Binding CurvePatternResult, FallbackValue=0}" FontSize="25" Foreground="Orange"/></TextBlock>
|
|
|
</StackPanel>
|
|
</StackPanel>
|
|
|
</Button>
|
|
</Button>
|
|
|
</StackPanel>
|
|
</StackPanel>
|
|
@@ -250,14 +260,7 @@
|
|
|
<!--Right Sub Menu Grid-->
|
|
<!--Right Sub Menu Grid-->
|
|
|
<Grid Grid.Column="1" Background="#37474f">
|
|
<Grid Grid.Column="1" Background="#37474f">
|
|
|
<StackPanel>
|
|
<StackPanel>
|
|
|
- <Button Margin="5,50,5,0" HorizontalAlignment="Stretch" Height="69"
|
|
|
|
|
- BorderBrush="Gray" BorderThickness="2"
|
|
|
|
|
- Command="{Binding DetectPatternSave}" CommandParameter="true">
|
|
|
|
|
- <StackPanel>
|
|
|
|
|
- <materialDesign:PackIcon Kind="CalendarExport" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>
|
|
|
|
|
- <TextBlock Text="Save" VerticalAlignment="Stretch" HorizontalAlignment="Center" />
|
|
|
|
|
- </StackPanel>
|
|
|
|
|
- </Button>
|
|
|
|
|
|
|
+
|
|
|
</StackPanel>
|
|
</StackPanel>
|
|
|
</Grid>
|
|
</Grid>
|
|
|
|
|
|
|
@@ -265,25 +268,16 @@
|
|
|
<Grid Grid.Column="2" Background="#263238">
|
|
<Grid Grid.Column="2" Background="#263238">
|
|
|
<Border Margin="1" BorderBrush="#FF00FFD3" BorderThickness="2" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"/>
|
|
<Border Margin="1" BorderBrush="#FF00FFD3" BorderThickness="2" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"/>
|
|
|
<StackPanel>
|
|
<StackPanel>
|
|
|
- <Button Margin="5" HorizontalAlignment="Stretch" Height="69"
|
|
|
|
|
- BorderBrush="Gray" BorderThickness="2"
|
|
|
|
|
- Command="{Binding SteeringConnectCommand}" CommandParameter="true">
|
|
|
|
|
- <StackPanel>
|
|
|
|
|
- <!--<materialDesign:PackIcon Kind="ExitToApp" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>-->
|
|
|
|
|
- <TextBlock Text="Connect" VerticalAlignment="Stretch" HorizontalAlignment="Center" />
|
|
|
|
|
- </StackPanel>
|
|
|
|
|
- </Button>
|
|
|
|
|
-
|
|
|
|
|
- <Button Margin="5" HorizontalAlignment="Stretch" Height="69"
|
|
|
|
|
|
|
+ <Button Margin="5,10,5,0" HorizontalAlignment="Stretch" Height="69"
|
|
|
BorderBrush="Gray" BorderThickness="2"
|
|
BorderBrush="Gray" BorderThickness="2"
|
|
|
- Command="{Binding SteeringDisConnectCommand}" CommandParameter="true">
|
|
|
|
|
|
|
+ Command="{Binding DetectPatternSave}" CommandParameter="true">
|
|
|
<StackPanel>
|
|
<StackPanel>
|
|
|
- <!--<materialDesign:PackIcon Kind="ExitToApp" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>-->
|
|
|
|
|
- <TextBlock Text="Disonnect" VerticalAlignment="Stretch" HorizontalAlignment="Center" />
|
|
|
|
|
|
|
+ <materialDesign:PackIcon Kind="CalendarExport" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>
|
|
|
|
|
+ <TextBlock Text="Save" VerticalAlignment="Stretch" HorizontalAlignment="Center" />
|
|
|
</StackPanel>
|
|
</StackPanel>
|
|
|
</Button>
|
|
</Button>
|
|
|
|
|
|
|
|
- <Button Margin="5,50" HorizontalAlignment="Stretch" Height="Auto" BorderBrush="Gray" BorderThickness="2"
|
|
|
|
|
|
|
+ <Button Margin="5" HorizontalAlignment="Stretch" Height="Auto" BorderBrush="Gray" BorderThickness="2"
|
|
|
Command="{Binding CloseDialogCommand}" CommandParameter="true">
|
|
Command="{Binding CloseDialogCommand}" CommandParameter="true">
|
|
|
<StackPanel>
|
|
<StackPanel>
|
|
|
<materialDesign:PackIcon Kind="ExitToApp" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>
|
|
<materialDesign:PackIcon Kind="ExitToApp" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>
|