|
@@ -58,43 +58,43 @@
|
|
|
Orientation="Vertical"
|
|
Orientation="Vertical"
|
|
|
HorizontalAlignment="Center"
|
|
HorizontalAlignment="Center"
|
|
|
VerticalAlignment="Center">
|
|
VerticalAlignment="Center">
|
|
|
-
|
|
|
|
|
- <Button Background="{x:Null}">
|
|
|
|
|
|
|
+
|
|
|
|
|
+ <Button Background="{x:Null}" HorizontalContentAlignment="Left">
|
|
|
<StackPanel Orientation="Horizontal">
|
|
<StackPanel Orientation="Horizontal">
|
|
|
<Ellipse Margin="0,0,16,0" Width="20" Height="20" Fill="{Binding CvError, FallbackValue=Gray}"/>
|
|
<Ellipse Margin="0,0,16,0" Width="20" Height="20" Fill="{Binding CvError, FallbackValue=Gray}"/>
|
|
|
- <TextBlock Text="CV ERROR"/>
|
|
|
|
|
|
|
+ <TextBlock Text="CV ERROR" />
|
|
|
</StackPanel>
|
|
</StackPanel>
|
|
|
</Button>
|
|
</Button>
|
|
|
|
|
|
|
|
- <Button Background="{x:Null}">
|
|
|
|
|
|
|
+ <Button Background="{x:Null}" HorizontalContentAlignment="Left">
|
|
|
<StackPanel Orientation="Horizontal">
|
|
<StackPanel Orientation="Horizontal">
|
|
|
<Ellipse Margin="0,0,38,0" Width="20" Height="20" Fill="{Binding CvCW, FallbackValue=Gray}"/>
|
|
<Ellipse Margin="0,0,38,0" Width="20" Height="20" Fill="{Binding CvCW, FallbackValue=Gray}"/>
|
|
|
- <TextBlock Text="CV CW"/>
|
|
|
|
|
|
|
+ <TextBlock Text="CV CW" />
|
|
|
</StackPanel>
|
|
</StackPanel>
|
|
|
</Button>
|
|
</Button>
|
|
|
|
|
|
|
|
- <Button Background="{x:Null}">
|
|
|
|
|
|
|
+ <Button Background="{x:Null}" HorizontalContentAlignment="Left">
|
|
|
<StackPanel Orientation="Horizontal">
|
|
<StackPanel Orientation="Horizontal">
|
|
|
<Ellipse Margin="0,0,30,0" Width="20" Height="20" Fill="{Binding CvCCW, FallbackValue=Gray}"/>
|
|
<Ellipse Margin="0,0,30,0" Width="20" Height="20" Fill="{Binding CvCCW, FallbackValue=Gray}"/>
|
|
|
<TextBlock Text="CV CCW"/>
|
|
<TextBlock Text="CV CCW"/>
|
|
|
</StackPanel>
|
|
</StackPanel>
|
|
|
</Button>
|
|
</Button>
|
|
|
|
|
|
|
|
- <Button Background="{x:Null}">
|
|
|
|
|
- <StackPanel Orientation="Horizontal">
|
|
|
|
|
- <Ellipse Margin="0,0,16,0" Width="20" Height="20" Fill="{Binding CvEntryIn, FallbackValue=Gray}"/>
|
|
|
|
|
|
|
+ <Button Background="{x:Null}" HorizontalContentAlignment="Left">
|
|
|
|
|
+ <StackPanel Orientation="Horizontal" >
|
|
|
|
|
+ <Ellipse Margin="0,0,16,0" Width="20" Height="20" Fill="{Binding CvEntryIn, FallbackValue=Gray}" />
|
|
|
<TextBlock Text="CV EntryIn"/>
|
|
<TextBlock Text="CV EntryIn"/>
|
|
|
</StackPanel>
|
|
</StackPanel>
|
|
|
</Button>
|
|
</Button>
|
|
|
|
|
|
|
|
- <Button Background="{x:Null}">
|
|
|
|
|
- <StackPanel Orientation="Horizontal">
|
|
|
|
|
|
|
+ <Button Background="{x:Null}" HorizontalContentAlignment="Left">
|
|
|
|
|
+ <StackPanel Orientation="Horizontal" >
|
|
|
<Ellipse Margin="0,0,16,0" Width="20" Height="20" Fill="{Binding CvSlowStop, FallbackValue=Gray}"/>
|
|
<Ellipse Margin="0,0,16,0" Width="20" Height="20" Fill="{Binding CvSlowStop, FallbackValue=Gray}"/>
|
|
|
<TextBlock Text="CV Slow-S"/>
|
|
<TextBlock Text="CV Slow-S"/>
|
|
|
</StackPanel>
|
|
</StackPanel>
|
|
|
</Button>
|
|
</Button>
|
|
|
|
|
|
|
|
- <Button Background="{x:Null}">
|
|
|
|
|
|
|
+ <Button Background="{x:Null}" HorizontalContentAlignment="Left">
|
|
|
<StackPanel Orientation="Horizontal">
|
|
<StackPanel Orientation="Horizontal">
|
|
|
<Ellipse Margin="0,0,30,0" Width="20" Height="20" Fill="{Binding CvStop, FallbackValue=Gray}"/>
|
|
<Ellipse Margin="0,0,30,0" Width="20" Height="20" Fill="{Binding CvStop, FallbackValue=Gray}"/>
|
|
|
<TextBlock Text="CV Stop"/>
|
|
<TextBlock Text="CV Stop"/>
|
|
@@ -102,59 +102,95 @@
|
|
|
</Button>
|
|
</Button>
|
|
|
|
|
|
|
|
</StackPanel>
|
|
</StackPanel>
|
|
|
-
|
|
|
|
|
- <StackPanel Orientation="Horizontal"
|
|
|
|
|
|
|
+
|
|
|
|
|
+ <Grid Grid.Column="1">
|
|
|
|
|
+ <Grid.RowDefinitions>
|
|
|
|
|
+ <RowDefinition Height="*"/>
|
|
|
|
|
+ <RowDefinition Height="*"/>
|
|
|
|
|
+ <RowDefinition Height="*"/>
|
|
|
|
|
+ </Grid.RowDefinitions>
|
|
|
|
|
+
|
|
|
|
|
+ <StackPanel Orientation="Horizontal"
|
|
|
HorizontalAlignment="Center"
|
|
HorizontalAlignment="Center"
|
|
|
VerticalAlignment="Top"
|
|
VerticalAlignment="Top"
|
|
|
- Grid.Column="1" Margin="20">
|
|
|
|
|
- <Button Content="Conveyor Control" Foreground="Orange" Background="{x:Null}" FontSize="20"
|
|
|
|
|
|
|
+ Grid.Row="0" Margin="20">
|
|
|
|
|
+ <Button Content="Conveyor Control" Foreground="Orange" Background="{x:Null}" FontSize="20"
|
|
|
VerticalAlignment="Top" HorizontalAlignment="Left"
|
|
VerticalAlignment="Top" HorizontalAlignment="Left"
|
|
|
Width="Auto" Height="50"/>
|
|
Width="Auto" Height="50"/>
|
|
|
- </StackPanel>
|
|
|
|
|
-
|
|
|
|
|
- <StackPanel Orientation="Horizontal"
|
|
|
|
|
|
|
+ </StackPanel>
|
|
|
|
|
+
|
|
|
|
|
+ <StackPanel Orientation="Horizontal"
|
|
|
HorizontalAlignment="Center"
|
|
HorizontalAlignment="Center"
|
|
|
- Grid.Column="1">
|
|
|
|
|
|
|
+ Grid.Row="1">
|
|
|
|
|
|
|
|
- <Button HorizontalAlignment="Stretch"
|
|
|
|
|
|
|
+ <Button HorizontalAlignment="Stretch"
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10"
|
|
materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
Command="{Binding ConveyorRunCommand}"
|
|
Command="{Binding ConveyorRunCommand}"
|
|
|
CommandParameter="CW"
|
|
CommandParameter="CW"
|
|
|
Height="80" Width="80"
|
|
Height="80" Width="80"
|
|
|
Margin="10">
|
|
Margin="10">
|
|
|
- <StackPanel>
|
|
|
|
|
- <materialDesign:PackIcon Kind="TransferUp" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>
|
|
|
|
|
- <TextBlock Text="CW" VerticalAlignment="Stretch" HorizontalAlignment="Center" />
|
|
|
|
|
- </StackPanel>
|
|
|
|
|
- </Button>
|
|
|
|
|
|
|
+ <StackPanel>
|
|
|
|
|
+ <materialDesign:PackIcon Kind="TransferUp" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>
|
|
|
|
|
+ <TextBlock Text="CW" VerticalAlignment="Stretch" HorizontalAlignment="Center" />
|
|
|
|
|
+ </StackPanel>
|
|
|
|
|
+ </Button>
|
|
|
|
|
|
|
|
- <Button
|
|
|
|
|
|
|
+ <Button
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10"
|
|
materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
Height="80" Width="80"
|
|
Height="80" Width="80"
|
|
|
Margin="10"
|
|
Margin="10"
|
|
|
Command="{Binding ConveyorRunCommand}"
|
|
Command="{Binding ConveyorRunCommand}"
|
|
|
CommandParameter="CCW">
|
|
CommandParameter="CCW">
|
|
|
- <StackPanel>
|
|
|
|
|
- <materialDesign:PackIcon Kind="TransferDown" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>
|
|
|
|
|
- <TextBlock Text="CCW" VerticalAlignment="Stretch" HorizontalAlignment="Center" />
|
|
|
|
|
- </StackPanel>
|
|
|
|
|
- </Button>
|
|
|
|
|
|
|
+ <StackPanel>
|
|
|
|
|
+ <materialDesign:PackIcon Kind="TransferDown" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>
|
|
|
|
|
+ <TextBlock Text="CCW" VerticalAlignment="Stretch" HorizontalAlignment="Center" />
|
|
|
|
|
+ </StackPanel>
|
|
|
|
|
+ </Button>
|
|
|
|
|
|
|
|
- <Button HorizontalAlignment="Stretch"
|
|
|
|
|
|
|
+ <Button HorizontalAlignment="Stretch"
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10"
|
|
materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
Command="{Binding ConveyorRunCommand}"
|
|
Command="{Binding ConveyorRunCommand}"
|
|
|
CommandParameter="STOP"
|
|
CommandParameter="STOP"
|
|
|
Height="80" Width="80"
|
|
Height="80" Width="80"
|
|
|
Margin="10">
|
|
Margin="10">
|
|
|
- <StackPanel>
|
|
|
|
|
- <materialDesign:PackIcon Kind="StopCircleOutline" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>
|
|
|
|
|
- <TextBlock Text="Stop" VerticalAlignment="Stretch" HorizontalAlignment="Center" />
|
|
|
|
|
- </StackPanel>
|
|
|
|
|
- </Button>
|
|
|
|
|
- </StackPanel>
|
|
|
|
|
|
|
+ <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">
|
|
|
|
|
+
|
|
|
|
|
+ <Button HorizontalAlignment="Stretch"
|
|
|
|
|
+ Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
|
|
+ materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
|
|
+ Command="{Binding LoadUnloadCommand}"
|
|
|
|
|
+ CommandParameter="Load"
|
|
|
|
|
+ Height="80" Width="80"
|
|
|
|
|
+ Margin="10">
|
|
|
|
|
+ <StackPanel>
|
|
|
|
|
+ <materialDesign:PackIcon Kind="ArrowCollapseDown" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>
|
|
|
|
|
+ <TextBlock Text="Load" VerticalAlignment="Stretch" HorizontalAlignment="Center" />
|
|
|
|
|
+ </StackPanel>
|
|
|
|
|
+ </Button>
|
|
|
|
|
+
|
|
|
|
|
+ <Button
|
|
|
|
|
+ Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
|
|
+ materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
|
|
+ Height="80" Width="80"
|
|
|
|
|
+ Margin="10"
|
|
|
|
|
+ Command="{Binding LoadUnloadCommand}"
|
|
|
|
|
+ CommandParameter="Unload">
|
|
|
|
|
+ <StackPanel>
|
|
|
|
|
+ <materialDesign:PackIcon Kind="ArrowExpandUp" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>
|
|
|
|
|
+ <TextBlock Text="Unlaod" VerticalAlignment="Stretch" HorizontalAlignment="Center" />
|
|
|
|
|
+ </StackPanel>
|
|
|
|
|
+ </Button>
|
|
|
|
|
+ </StackPanel>
|
|
|
|
|
+ </Grid>
|
|
|
</Grid>
|
|
</Grid>
|
|
|
|
|
|
|
|
<Grid Grid.Row="1">
|
|
<Grid Grid.Row="1">
|
|
@@ -167,6 +203,14 @@
|
|
|
<Grid Grid.Column="0">
|
|
<Grid Grid.Column="0">
|
|
|
<StackPanel VerticalAlignment="Center"
|
|
<StackPanel VerticalAlignment="Center"
|
|
|
HorizontalAlignment="Center">
|
|
HorizontalAlignment="Center">
|
|
|
|
|
+
|
|
|
|
|
+ <Button Background="{x:Null}">
|
|
|
|
|
+ <StackPanel Orientation="Horizontal">
|
|
|
|
|
+ <Ellipse Margin="0,0,8,0" Width="20" Height="20" Fill="{Binding AxisLeftIsServoOn, FallbackValue=Gray}"/>
|
|
|
|
|
+ <TextBlock Text="Axis-L ServoON"/>
|
|
|
|
|
+ </StackPanel>
|
|
|
|
|
+ </Button>
|
|
|
|
|
+
|
|
|
<Button Background="{x:Null}">
|
|
<Button Background="{x:Null}">
|
|
|
<StackPanel Orientation="Horizontal">
|
|
<StackPanel Orientation="Horizontal">
|
|
|
<Ellipse Margin="0,0,18,0" Width="20" Height="20" Fill="{Binding AxisLeftIsOrg, FallbackValue=Gray}"/>
|
|
<Ellipse Margin="0,0,18,0" Width="20" Height="20" Fill="{Binding AxisLeftIsOrg, FallbackValue=Gray}"/>
|
|
@@ -181,6 +225,13 @@
|
|
|
</StackPanel>
|
|
</StackPanel>
|
|
|
</Button>
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
+ <Button Background="{x:Null}" Margin="0,10,0,0">
|
|
|
|
|
+ <StackPanel Orientation="Horizontal">
|
|
|
|
|
+ <Ellipse Margin="0,0,8,0" Width="20" Height="20" Fill="{Binding AxisRightIsServoOn, FallbackValue=Gray}"/>
|
|
|
|
|
+ <TextBlock Text="Axis-R ServoON"/>
|
|
|
|
|
+ </StackPanel>
|
|
|
|
|
+ </Button>
|
|
|
|
|
+
|
|
|
<Button Background="{x:Null}">
|
|
<Button Background="{x:Null}">
|
|
|
<StackPanel Orientation="Horizontal">
|
|
<StackPanel Orientation="Horizontal">
|
|
|
<Ellipse Margin="0,0,16,0" Width="20" Height="20" Fill="{Binding AxisRightIsOrg, FallbackValue=Gray}"/>
|
|
<Ellipse Margin="0,0,16,0" Width="20" Height="20" Fill="{Binding AxisRightIsOrg, FallbackValue=Gray}"/>
|