|
|
@@ -9,8 +9,8 @@
|
|
|
prism:ViewModelLocator.AutoWireViewModel="True"
|
|
|
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
|
|
Background="#455a64"
|
|
|
- Height="650"
|
|
|
- Width="800">
|
|
|
+ Height="750"
|
|
|
+ Width="900">
|
|
|
|
|
|
<prism:Dialog.WindowStyle>
|
|
|
<Style TargetType="Window">
|
|
|
@@ -44,21 +44,29 @@
|
|
|
<Grid Grid.Row="0">
|
|
|
<TextBlock Margin="15,0,0,0" Text="Conveyor View" FontSize="25" Foreground="White"/>
|
|
|
</Grid>
|
|
|
-
|
|
|
- <Grid Grid.Column="0" Grid.Row="1">
|
|
|
+
|
|
|
+ <Grid Grid.Row="1">
|
|
|
<Grid Margin="15" Background="#37474f">
|
|
|
<Grid.RowDefinitions>
|
|
|
<RowDefinition Height="*"/>
|
|
|
<RowDefinition Height="*"/>
|
|
|
</Grid.RowDefinitions>
|
|
|
-
|
|
|
- <Border BorderBrush="Gray" BorderThickness="1" Grid.Row="0"/>
|
|
|
- <Border BorderBrush="Gray" BorderThickness="1" Grid.Row="1"/>
|
|
|
-
|
|
|
+
|
|
|
+ <Rectangle Grid.Row="1" Stroke="Gray" Margin="0,84,0,0" RadiusY="23.833" RadiusX="23.833"/>
|
|
|
+
|
|
|
+ <StackPanel VerticalAlignment="Top" HorizontalAlignment="Center" Margin="250,0,0,0">
|
|
|
+ <Button Content="Batch Command" Foreground="Orange" Background="{x:Null}" FontSize="20"
|
|
|
+ VerticalAlignment="Top" HorizontalAlignment="Left" Margin="5"
|
|
|
+ Width="250" Height="50"
|
|
|
+ Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
+ materialDesign:ButtonAssist.CornerRadius="10"/>
|
|
|
+ </StackPanel>
|
|
|
+
|
|
|
<Grid Grid.Row="0">
|
|
|
<Grid.ColumnDefinitions>
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
+ <ColumnDefinition Width="*"/>
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
<StackPanel Grid.Column="0"
|
|
|
@@ -66,7 +74,7 @@
|
|
|
HorizontalAlignment="Center"
|
|
|
VerticalAlignment="Center">
|
|
|
|
|
|
- <Button Background="{x:Null}" HorizontalContentAlignment="Left">
|
|
|
+ <!--<Button Background="{x:Null}" HorizontalContentAlignment="Left">
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
<Ellipse Margin="0,0,16,0" Width="20" Height="20" Fill="{Binding CvRun, FallbackValue=Gray}"/>
|
|
|
<TextBlock Text="CV Running" />
|
|
|
@@ -106,39 +114,31 @@
|
|
|
<Ellipse Margin="0,0,30,0" Width="20" Height="20" Fill="{Binding CvStop, FallbackValue=Gray}"/>
|
|
|
<TextBlock Text="CV Stop"/>
|
|
|
</StackPanel>
|
|
|
- </Button>
|
|
|
-
|
|
|
+ </Button>-->
|
|
|
</StackPanel>
|
|
|
|
|
|
- <Grid Grid.Column="1">
|
|
|
- <Grid.RowDefinitions>
|
|
|
- <RowDefinition Height="*"/>
|
|
|
- <RowDefinition Height="*"/>
|
|
|
- <RowDefinition Height="*"/>
|
|
|
- </Grid.RowDefinitions>
|
|
|
-
|
|
|
- <StackPanel Orientation="Horizontal"
|
|
|
- HorizontalAlignment="Center"
|
|
|
- VerticalAlignment="Top"
|
|
|
- Grid.Row="0" Margin="20">
|
|
|
- <Button Content="Conveyor Control" Foreground="Orange" Background="{x:Null}" FontSize="20"
|
|
|
- VerticalAlignment="Top" HorizontalAlignment="Left"
|
|
|
- Width="Auto" Height="50"/>
|
|
|
+ <Grid Grid.Column="0">
|
|
|
+ <Rectangle Stroke="Gray" Margin="0,60,0,0" RadiusY="23.833" RadiusX="23.833"/>
|
|
|
+
|
|
|
+ <StackPanel VerticalAlignment="Top" HorizontalAlignment="Center">
|
|
|
+ <Button Content="Unit Command" Foreground="Orange" Background="{x:Null}" FontSize="20"
|
|
|
+ VerticalAlignment="Top" HorizontalAlignment="Left" Margin="5"
|
|
|
+ Width="Auto" Height="50"
|
|
|
+ Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
+ materialDesign:ButtonAssist.CornerRadius="10"/>
|
|
|
</StackPanel>
|
|
|
|
|
|
- <StackPanel Orientation="Horizontal"
|
|
|
- HorizontalAlignment="Center"
|
|
|
- Grid.Row="1">
|
|
|
-
|
|
|
+ <StackPanel Orientation="Vertical" VerticalAlignment="Center" HorizontalAlignment="Center"
|
|
|
+ Margin="0,60,0,0">
|
|
|
<Button HorizontalAlignment="Stretch"
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
Command="{Binding ConveyorRunCommand}"
|
|
|
CommandParameter="CW"
|
|
|
- Height="80" Width="80"
|
|
|
+ Height="Auto" Width="154"
|
|
|
Margin="10">
|
|
|
<StackPanel>
|
|
|
- <materialDesign:PackIcon Kind="TransferUp" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>
|
|
|
+ <materialDesign:PackIcon Kind="RotateRight" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>
|
|
|
<TextBlock Text="CW" VerticalAlignment="Stretch" HorizontalAlignment="Center" />
|
|
|
</StackPanel>
|
|
|
</Button>
|
|
|
@@ -146,12 +146,12 @@
|
|
|
<Button
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
- Height="80" Width="80"
|
|
|
+ Height="Auto" Width="154"
|
|
|
Margin="10"
|
|
|
Command="{Binding ConveyorRunCommand}"
|
|
|
CommandParameter="CCW">
|
|
|
<StackPanel>
|
|
|
- <materialDesign:PackIcon Kind="TransferDown" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>
|
|
|
+ <materialDesign:PackIcon Kind="RotateLeft" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>
|
|
|
<TextBlock Text="CCW" VerticalAlignment="Stretch" HorizontalAlignment="Center" />
|
|
|
</StackPanel>
|
|
|
</Button>
|
|
|
@@ -161,45 +161,120 @@
|
|
|
materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
Command="{Binding ConveyorRunCommand}"
|
|
|
CommandParameter="STOP"
|
|
|
- Height="80" Width="80"
|
|
|
- Margin="10">
|
|
|
+ Height="Auto" Width="154"
|
|
|
+ Margin="5">
|
|
|
<StackPanel>
|
|
|
<materialDesign:PackIcon Kind="StopCircleOutline" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>
|
|
|
<TextBlock Text="Stop" VerticalAlignment="Stretch" HorizontalAlignment="Center" />
|
|
|
</StackPanel>
|
|
|
</Button>
|
|
|
</StackPanel>
|
|
|
- <StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Center">
|
|
|
+ </Grid>
|
|
|
+
|
|
|
+ <Grid Grid.Column="1">
|
|
|
+ <Rectangle Stroke="Gray" Margin="0,60,0,0" RadiusY="23.833" RadiusX="23.833"/>
|
|
|
+
|
|
|
+ <StackPanel Grid.Row="2" Orientation="Vertical" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,60,0,0">
|
|
|
|
|
|
<Button HorizontalAlignment="Stretch"
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
Command="{Binding LoadUnloadCommand}"
|
|
|
CommandParameter="Load"
|
|
|
- Height="80" Width="80"
|
|
|
+ Height="Auto" Width="154"
|
|
|
Margin="10">
|
|
|
<StackPanel>
|
|
|
<materialDesign:PackIcon Kind="ArrowCollapseDown" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>
|
|
|
- <TextBlock Text="Load" VerticalAlignment="Stretch" HorizontalAlignment="Center" />
|
|
|
+ <TextBlock Text="Tray Load" VerticalAlignment="Stretch" HorizontalAlignment="Center" />
|
|
|
</StackPanel>
|
|
|
</Button>
|
|
|
|
|
|
<Button
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
- Height="80" Width="80"
|
|
|
+ Height="Auto" Width="154"
|
|
|
Margin="10"
|
|
|
Command="{Binding LoadUnloadCommand}"
|
|
|
CommandParameter="Unload">
|
|
|
- <StackPanel>
|
|
|
+ <StackPanel RenderTransformOrigin="0.5,0.5" >
|
|
|
<materialDesign:PackIcon Kind="ArrowExpandUp" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>
|
|
|
- <TextBlock Text="Unlaod" VerticalAlignment="Stretch" HorizontalAlignment="Center" />
|
|
|
+ <TextBlock Text="Tray UnLoad" VerticalAlignment="Stretch" HorizontalAlignment="Center" />
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
+ </StackPanel>
|
|
|
+ </Grid>
|
|
|
+
|
|
|
+ <Grid Grid.Column="2">
|
|
|
+ <Rectangle Stroke="Gray" Margin="0,60,0,0" RadiusY="23.833" RadiusX="23.833"/>
|
|
|
+
|
|
|
+ <StackPanel Grid.Row="2" Orientation="Vertical" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,60,0,0">
|
|
|
+
|
|
|
+ <Button HorizontalAlignment="Stretch"
|
|
|
+ Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
+ materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
+ Command="{Binding LoadUnloadCommand}"
|
|
|
+ CommandParameter="PL"
|
|
|
+ Height="Auto" Width="Auto"
|
|
|
+ Margin="10">
|
|
|
+ <StackPanel>
|
|
|
+ <materialDesign:PackIcon Kind="ContactlessPayment" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto" RenderTransformOrigin="0.5,0.5">
|
|
|
+ <materialDesign:PackIcon.RenderTransform>
|
|
|
+ <TransformGroup>
|
|
|
+ <ScaleTransform/>
|
|
|
+ <SkewTransform/>
|
|
|
+ <RotateTransform Angle="90"/>
|
|
|
+ <TranslateTransform/>
|
|
|
+ </TransformGroup>
|
|
|
+ </materialDesign:PackIcon.RenderTransform>
|
|
|
+ </materialDesign:PackIcon>
|
|
|
+ <TextBlock Text="PIO Tray Load" VerticalAlignment="Stretch" HorizontalAlignment="Center" />
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
+
|
|
|
+ <Button
|
|
|
+ Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
+ materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
+ Height="Auto" Width="Auto"
|
|
|
+ Margin="10"
|
|
|
+ Command="{Binding LoadUnloadCommand}"
|
|
|
+ CommandParameter="PU">
|
|
|
+ <StackPanel RenderTransformOrigin="0.5,0.5" >
|
|
|
+ <materialDesign:PackIcon Kind="ContactlessPayment" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto" RenderTransformOrigin="0.5,0.5">
|
|
|
+ <materialDesign:PackIcon.RenderTransform>
|
|
|
+ <TransformGroup>
|
|
|
+ <ScaleTransform ScaleY="1" ScaleX="-1"/>
|
|
|
+ <SkewTransform AngleY="0" AngleX="0"/>
|
|
|
+ <RotateTransform Angle="90"/>
|
|
|
+ <TranslateTransform/>
|
|
|
+ </TransformGroup>
|
|
|
+ </materialDesign:PackIcon.RenderTransform>
|
|
|
+ </materialDesign:PackIcon>
|
|
|
+ <TextBlock Text="PIO Tray UnLoad" VerticalAlignment="Stretch" HorizontalAlignment="Center" />
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
+
|
|
|
+ <Button
|
|
|
+ Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
+ materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
+ Height="Auto" Width="Auto"
|
|
|
+ Margin="10"
|
|
|
+ Command="{Binding PIOCharge}"
|
|
|
+ CommandParameter="PB">
|
|
|
+ <StackPanel RenderTransformOrigin="0.5,0.5" >
|
|
|
+ <materialDesign:PackIcon Kind="BatteryChargingWirelessEmpty" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>
|
|
|
+ <TextBlock Text="PIO Battery Charge" VerticalAlignment="Stretch" HorizontalAlignment="Center" />
|
|
|
</StackPanel>
|
|
|
</Button>
|
|
|
</StackPanel>
|
|
|
</Grid>
|
|
|
</Grid>
|
|
|
|
|
|
+ <StackPanel Grid.Row="1" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="20">
|
|
|
+ <Button Content="Clamp Control" Foreground="Orange" Background="{x:Null}" FontSize="20" Width="Auto" Height="50"
|
|
|
+ Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
+ materialDesign:ButtonAssist.CornerRadius="10"/>
|
|
|
+ </StackPanel>
|
|
|
+
|
|
|
<Grid Grid.Row="1">
|
|
|
<Grid.ColumnDefinitions>
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
@@ -207,9 +282,11 @@
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
|
+
|
|
|
<Grid Grid.Column="0">
|
|
|
- <StackPanel VerticalAlignment="Center"
|
|
|
- HorizontalAlignment="Center">
|
|
|
+ <StackPanel VerticalAlignment="Bottom"
|
|
|
+ HorizontalAlignment="Center"
|
|
|
+ Margin="20">
|
|
|
|
|
|
<Button Background="{x:Null}">
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
@@ -256,30 +333,26 @@
|
|
|
</Grid>
|
|
|
|
|
|
<Grid Grid.Column="1">
|
|
|
- <StackPanel VerticalAlignment="Top" HorizontalAlignment="Center" Margin="20">
|
|
|
- <Button Content="Clamp Control" Foreground="Orange" Background="{x:Null}" FontSize="20"
|
|
|
- VerticalAlignment="Top" Width="Auto" Height="50"
|
|
|
- HorizontalAlignment="Left"/>
|
|
|
- </StackPanel>
|
|
|
|
|
|
<StackPanel Orientation="Horizontal"
|
|
|
- HorizontalAlignment="Center">
|
|
|
+ HorizontalAlignment="Center" VerticalAlignment="Bottom"
|
|
|
+ Margin="0,0,0,70">
|
|
|
|
|
|
<Button Margin="15"
|
|
|
- Width="100" Height="100"
|
|
|
+ Width="154" Height="Auto"
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
Command="{Binding PosMoveCommand}"
|
|
|
CommandParameter="Lock">
|
|
|
<StackPanel>
|
|
|
<materialDesign:PackIcon Kind="ElectricSwitchClosed" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>
|
|
|
- <TextBlock Text="Clamp" VerticalAlignment="Stretch" HorizontalAlignment="Center" />
|
|
|
- <TextBlock Text="Lock" VerticalAlignment="Stretch" HorizontalAlignment="Center" />
|
|
|
+ <TextBlock Text="Clamp" FontSize="20" VerticalAlignment="Stretch" HorizontalAlignment="Center" />
|
|
|
+ <TextBlock Text="Lock" FontSize="20" VerticalAlignment="Stretch" HorizontalAlignment="Center" />
|
|
|
</StackPanel>
|
|
|
</Button>
|
|
|
|
|
|
<Button Margin="15"
|
|
|
- Width="100" Height="100"
|
|
|
+ Width="154" Height="Auto"
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
Command="{Binding PosMoveCommand}"
|
|
|
@@ -288,13 +361,14 @@
|
|
|
<MouseBinding Gesture="LeftClick" Command="{Binding KeyInTargetPosCommand}" CommandParameter="Left"/>
|
|
|
</Button.InputBindings>-->
|
|
|
<StackPanel>
|
|
|
- <materialDesign:PackIcon Kind="ElectricSwitch" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/> <TextBlock Text="Clamp" VerticalAlignment="Stretch" HorizontalAlignment="Center" />
|
|
|
- <TextBlock Text="UnLock" VerticalAlignment="Stretch" HorizontalAlignment="Center" />
|
|
|
+ <materialDesign:PackIcon Kind="ElectricSwitch" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>
|
|
|
+ <TextBlock Text="Clamp" FontSize="20" VerticalAlignment="Stretch" HorizontalAlignment="Center" />
|
|
|
+ <TextBlock Text="UnLock" FontSize="20" VerticalAlignment="Stretch" HorizontalAlignment="Center" />
|
|
|
</StackPanel>
|
|
|
</Button>
|
|
|
</StackPanel>
|
|
|
</Grid>
|
|
|
-
|
|
|
+
|
|
|
</Grid>
|
|
|
</Grid>
|
|
|
</Grid>
|