|
|
@@ -10,6 +10,7 @@
|
|
|
mc:Ignorable="d"
|
|
|
Height="942"
|
|
|
Width="Auto"
|
|
|
+ MinWidth="1386"
|
|
|
Background="#37474f">
|
|
|
|
|
|
<Grid>
|
|
|
@@ -20,95 +21,200 @@
|
|
|
|
|
|
<Grid Grid.Column="0">
|
|
|
<Grid Margin="15,15" Background="#263238">
|
|
|
- </Grid>
|
|
|
- </Grid>
|
|
|
+ <!--<Grid.ColumnDefinitions>
|
|
|
+ <ColumnDefinition Width="*"/>
|
|
|
+ <ColumnDefinition Width="*"/>
|
|
|
+ <ColumnDefinition Width="*"/>
|
|
|
+ </Grid.ColumnDefinitions>-->
|
|
|
+
|
|
|
+ <Grid.RowDefinitions>
|
|
|
+ <RowDefinition Height="*"/>
|
|
|
+ <RowDefinition Height="*"/>
|
|
|
+ </Grid.RowDefinitions>
|
|
|
+
|
|
|
+ <Grid Grid.Row="0">
|
|
|
+ <StackPanel Orientation="Horizontal"
|
|
|
+ VerticalAlignment="Bottom"
|
|
|
+ HorizontalAlignment="Center" Margin="20">
|
|
|
+
|
|
|
+ <Button HorizontalAlignment="Stretch"
|
|
|
+ Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
+ Margin="20"
|
|
|
+ materialDesign:ButtonAssist.CornerRadius="20"
|
|
|
+ Command="{Binding InoutPupup}"
|
|
|
+ Height="150" Width="220">
|
|
|
+ <StackPanel>
|
|
|
+ <materialDesign:PackIcon Kind="LedOn" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="100"/>
|
|
|
+ <TextBlock FontSize="30" Text="InOut" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
+
|
|
|
+ <Button HorizontalAlignment="Stretch"
|
|
|
+ Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
+ Margin="20"
|
|
|
+ materialDesign:ButtonAssist.CornerRadius="20"
|
|
|
+ Command="{Binding ServoConfigCommand}"
|
|
|
+ Height="150" Width="220">
|
|
|
+ <StackPanel>
|
|
|
+ <materialDesign:PackIcon Kind="Gear" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="100"/>
|
|
|
+ <TextBlock FontSize="30" Text="Motor" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
+
|
|
|
+ <Button HorizontalAlignment="Stretch"
|
|
|
+ Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
+ Margin="20"
|
|
|
+ materialDesign:ButtonAssist.CornerRadius="20"
|
|
|
+ Command="{Binding BatteryPopup}"
|
|
|
+ Height="150" Width="220">
|
|
|
+ <StackPanel>
|
|
|
+ <materialDesign:PackIcon Kind="BatteryCharging" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="100"/>
|
|
|
+ <TextBlock FontSize="30" Text="Battery" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
+ </StackPanel>
|
|
|
+ </Grid>
|
|
|
+
|
|
|
+ <Grid Grid.Row="1">
|
|
|
+ <StackPanel Orientation="Horizontal"
|
|
|
+ VerticalAlignment="Top"
|
|
|
+ HorizontalAlignment="Center"
|
|
|
+ Margin="20">
|
|
|
+
|
|
|
+ <Button HorizontalAlignment="Stretch"
|
|
|
+ Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
+ Margin="20"
|
|
|
+ materialDesign:ButtonAssist.CornerRadius="20"
|
|
|
+ Command="{Binding SteerPopup}"
|
|
|
+ Height="150" Width="220">
|
|
|
+ <StackPanel>
|
|
|
+ <materialDesign:PackIcon Kind="CarHandBrake" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="auto" Height="100"/>
|
|
|
+ <TextBlock FontSize="30" Text="Steering" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
|
|
|
- <Grid Grid.Column="1" HorizontalAlignment="Right" Background="#263238">
|
|
|
- <StackPanel>
|
|
|
- <Button HorizontalAlignment="Stretch"
|
|
|
- Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
- Margin="20"
|
|
|
- materialDesign:ButtonProgressAssist.Value="-1"
|
|
|
- materialDesign:ButtonProgressAssist.IsIndicatorVisible="True"
|
|
|
- materialDesign:ButtonProgressAssist.IsIndeterminate="True"
|
|
|
- Command="{Binding InoutPupup}"
|
|
|
- Height="Auto" Width="Auto">
|
|
|
- <StackPanel>
|
|
|
- <materialDesign:PackIcon Kind="LedOn" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="50"/>
|
|
|
- <TextBlock Text="#InOut" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
+ <Button HorizontalAlignment="Stretch"
|
|
|
+ Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
+ Margin="20"
|
|
|
+ materialDesign:ButtonAssist.CornerRadius="20"
|
|
|
+ Command="{Binding OpticalReaderPopup}"
|
|
|
+ Height="150" Width="220">
|
|
|
+ <StackPanel>
|
|
|
+ <materialDesign:PackIcon Kind="WifiStrength2" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="auto" Height="100"/>
|
|
|
+ <TextBlock FontSize="30" Text="Safe Detect" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
+
|
|
|
+ <Button HorizontalAlignment="Stretch"
|
|
|
+ Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
+ Margin="20"
|
|
|
+ materialDesign:ButtonAssist.CornerRadius="20"
|
|
|
+ Command="{Binding OcsPopup}"
|
|
|
+ Height="150" Width="220">
|
|
|
+ <StackPanel>
|
|
|
+ <materialDesign:PackIcon Kind="NetworkOutline" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="auto" Height="100"/>
|
|
|
+ <TextBlock FontSize="30" Text="OCS" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
</StackPanel>
|
|
|
- </Button>
|
|
|
-
|
|
|
- <Button HorizontalAlignment="Stretch"
|
|
|
- Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
- Margin="20"
|
|
|
- materialDesign:ButtonProgressAssist.Value="-1"
|
|
|
- materialDesign:ButtonProgressAssist.IsIndicatorVisible="True"
|
|
|
- materialDesign:ButtonProgressAssist.IsIndeterminate="True"
|
|
|
- Command="{Binding ServoConfigCommand}"
|
|
|
- Height="Auto" Width="Auto">
|
|
|
- <StackPanel>
|
|
|
- <materialDesign:PackIcon Kind="Gear" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="50"/>
|
|
|
- <TextBlock Text="#Motor" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
+ </Grid>
|
|
|
+
|
|
|
+ <!--<DockPanel Grid.Column="0" Grid.Row="0" >
|
|
|
+ <StackPanel VerticalAlignment="Center">
|
|
|
+ <Button HorizontalAlignment="Stretch"
|
|
|
+ Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
+ Margin="20"
|
|
|
+ materialDesign:ButtonAssist.CornerRadius="20"
|
|
|
+ Command="{Binding InoutPupup}"
|
|
|
+ Height="150" Width="250">
|
|
|
+ <StackPanel>
|
|
|
+ <materialDesign:PackIcon Kind="LedOn" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="100"/>
|
|
|
+ <TextBlock FontSize="20" Text="InOut" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
</StackPanel>
|
|
|
- </Button>
|
|
|
-
|
|
|
- <Button HorizontalAlignment="Stretch"
|
|
|
- Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
- Margin="20"
|
|
|
- materialDesign:ButtonProgressAssist.Value="-1"
|
|
|
- materialDesign:ButtonProgressAssist.IsIndicatorVisible="True"
|
|
|
- materialDesign:ButtonProgressAssist.IsIndeterminate="True"
|
|
|
- Command="{Binding BatteryPopup}"
|
|
|
- Height="Auto" Width="Auto">
|
|
|
- <StackPanel>
|
|
|
- <materialDesign:PackIcon Kind="BatteryCharging" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="50"/>
|
|
|
- <TextBlock Text="#Battery" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
+ </DockPanel>
|
|
|
+
|
|
|
+ <DockPanel Grid.Column="1" Grid.Row="0">
|
|
|
+ <StackPanel VerticalAlignment="Center">
|
|
|
+ <Button HorizontalAlignment="Stretch"
|
|
|
+ Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
+ Margin="20"
|
|
|
+ materialDesign:ButtonAssist.CornerRadius="20"
|
|
|
+ Command="{Binding ServoConfigCommand}"
|
|
|
+ Height="150" Width="250">
|
|
|
+ <StackPanel>
|
|
|
+ <materialDesign:PackIcon Kind="Gear" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="100"/>
|
|
|
+ <TextBlock FontSize="20" Text="Motor" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
</StackPanel>
|
|
|
- </Button>
|
|
|
-
|
|
|
- <Button HorizontalAlignment="Stretch"
|
|
|
- Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
- Margin="20"
|
|
|
- materialDesign:ButtonProgressAssist.Value="-1"
|
|
|
- materialDesign:ButtonProgressAssist.IsIndicatorVisible="True"
|
|
|
- materialDesign:ButtonProgressAssist.IsIndeterminate="True"
|
|
|
- Command="{Binding SteerPopup}"
|
|
|
- Height="auto" Width="auto">
|
|
|
- <StackPanel>
|
|
|
- <materialDesign:PackIcon Kind="CarHandBrake" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="auto" Height="50"/>
|
|
|
- <TextBlock Text="#Steering" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
+ </DockPanel>
|
|
|
+
|
|
|
+ <DockPanel Grid.Column="2" Grid.Row="0">
|
|
|
+ <StackPanel VerticalAlignment="Center">
|
|
|
+ <Button HorizontalAlignment="Stretch"
|
|
|
+ Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
+ Margin="20"
|
|
|
+ materialDesign:ButtonAssist.CornerRadius="20"
|
|
|
+ Command="{Binding BatteryPopup}"
|
|
|
+ Height="150" Width="250">
|
|
|
+ <StackPanel>
|
|
|
+ <materialDesign:PackIcon Kind="BatteryCharging" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="100"/>
|
|
|
+ <TextBlock FontSize="20" Text="Battery" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
</StackPanel>
|
|
|
- </Button>
|
|
|
-
|
|
|
- <Button HorizontalAlignment="Stretch"
|
|
|
- Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
- Margin="20"
|
|
|
- materialDesign:ButtonProgressAssist.Value="-1"
|
|
|
- materialDesign:ButtonProgressAssist.IsIndicatorVisible="True"
|
|
|
- materialDesign:ButtonProgressAssist.IsIndeterminate="True"
|
|
|
- Command="{Binding OpticalReaderPopup}"
|
|
|
- Height="auto" Width="auto">
|
|
|
- <StackPanel>
|
|
|
- <materialDesign:PackIcon Kind="WifiStrength2" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="auto" Height="50"/>
|
|
|
- <TextBlock Text="#Lazer" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
+ </DockPanel>
|
|
|
+
|
|
|
+ <DockPanel Grid.Column="0" Grid.Row="1">
|
|
|
+ <StackPanel VerticalAlignment="Center">
|
|
|
+ <Button HorizontalAlignment="Stretch"
|
|
|
+ Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
+ Margin="20"
|
|
|
+ materialDesign:ButtonAssist.CornerRadius="20"
|
|
|
+ Command="{Binding SteerPopup}"
|
|
|
+ Height="150" Width="250">
|
|
|
+ <StackPanel>
|
|
|
+ <materialDesign:PackIcon Kind="CarHandBrake" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="auto" Height="100"/>
|
|
|
+ <TextBlock FontSize="20" Text="Steering" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
</StackPanel>
|
|
|
- </Button>
|
|
|
-
|
|
|
- <Button HorizontalAlignment="Stretch"
|
|
|
- Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
- Margin="20"
|
|
|
- materialDesign:ButtonProgressAssist.Value="-1"
|
|
|
- materialDesign:ButtonProgressAssist.IsIndicatorVisible="True"
|
|
|
- materialDesign:ButtonProgressAssist.IsIndeterminate="True"
|
|
|
- Command="{Binding OcsPopup}"
|
|
|
- Height="auto" Width="auto">
|
|
|
- <StackPanel>
|
|
|
- <materialDesign:PackIcon Kind="NetworkOutline" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="auto" Height="50"/>
|
|
|
- <TextBlock Text="#OCS" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
+ </DockPanel>
|
|
|
+
|
|
|
+ <DockPanel Grid.Column="1" Grid.Row="1">
|
|
|
+ <StackPanel VerticalAlignment="Center">
|
|
|
+ <Button HorizontalAlignment="Stretch"
|
|
|
+ Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
+ Margin="20"
|
|
|
+ materialDesign:ButtonAssist.CornerRadius="20"
|
|
|
+ Command="{Binding OpticalReaderPopup}"
|
|
|
+ Height="150" Width="250">
|
|
|
+ <StackPanel>
|
|
|
+ <materialDesign:PackIcon Kind="WifiStrength2" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="auto" Height="100"/>
|
|
|
+ <TextBlock FontSize="20" Text="Lazer" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
+ </StackPanel>
|
|
|
+ </DockPanel>
|
|
|
+
|
|
|
+ <DockPanel Grid.Column="2" Grid.Row="1">
|
|
|
+ <StackPanel VerticalAlignment="Center">
|
|
|
+ <Button HorizontalAlignment="Stretch"
|
|
|
+ Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
+ Margin="20"
|
|
|
+ materialDesign:ButtonAssist.CornerRadius="20"
|
|
|
+ Command="{Binding OcsPopup}"
|
|
|
+ Height="150" Width="250">
|
|
|
+ <StackPanel>
|
|
|
+ <materialDesign:PackIcon Kind="NetworkOutline" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="auto" Height="100"/>
|
|
|
+ <TextBlock FontSize="20" Text="OCS" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
</StackPanel>
|
|
|
- </Button>
|
|
|
- </StackPanel>
|
|
|
+ </DockPanel>-->
|
|
|
+ </Grid>
|
|
|
</Grid>
|
|
|
</Grid>
|
|
|
-</UserControl>
|
|
|
+</UserControl>
|