|
|
@@ -14,7 +14,7 @@
|
|
|
xmlns:media ="clr-namespace:System.Windows.Media;assembly=PresentationCore"
|
|
|
Width="900"
|
|
|
Height="700"
|
|
|
- Background="#455a64">
|
|
|
+ Background="#263238">
|
|
|
|
|
|
<prism:Dialog.WindowStyle>
|
|
|
<Style TargetType="Window">
|
|
|
@@ -57,88 +57,89 @@
|
|
|
</Style>
|
|
|
</UserControl.Resources>
|
|
|
|
|
|
- <Grid>
|
|
|
- <Grid.ColumnDefinitions>
|
|
|
- <ColumnDefinition/>
|
|
|
- <ColumnDefinition Width="130"/>
|
|
|
- <ColumnDefinition Width="130"/>
|
|
|
- </Grid.ColumnDefinitions>
|
|
|
- <Grid.RowDefinitions>
|
|
|
- <RowDefinition Height="30"/>
|
|
|
- <RowDefinition Height="*"/>
|
|
|
- </Grid.RowDefinitions>
|
|
|
-
|
|
|
- <Grid Grid.Row="0">
|
|
|
- <TextBlock Margin="15,0,0,0" Text="Lock View" FontSize="25" Foreground="White"/>
|
|
|
- </Grid>
|
|
|
-
|
|
|
- <Grid Grid.Column="0" Grid.Row="1">
|
|
|
- <Grid Margin="15,15" Background="#37474f">
|
|
|
- <Grid.RowDefinitions>
|
|
|
- <RowDefinition/>
|
|
|
- <RowDefinition/>
|
|
|
- </Grid.RowDefinitions>
|
|
|
+ <Border BorderBrush="Gray" BorderThickness="2">
|
|
|
+ <Grid>
|
|
|
+ <Grid.ColumnDefinitions>
|
|
|
+ <ColumnDefinition/>
|
|
|
+ <ColumnDefinition Width="130"/>
|
|
|
+ <ColumnDefinition Width="130"/>
|
|
|
+ </Grid.ColumnDefinitions>
|
|
|
+ <Grid.RowDefinitions>
|
|
|
+ <RowDefinition Height="30"/>
|
|
|
+ <RowDefinition Height="*"/>
|
|
|
+ </Grid.RowDefinitions>
|
|
|
+
|
|
|
+ <Grid Grid.Row="0">
|
|
|
+ <TextBlock Margin="15,0,0,0" Text="Clam View" FontSize="25" Foreground="White"/>
|
|
|
+ </Grid>
|
|
|
|
|
|
- <Grid Grid.Row="0">
|
|
|
+ <Grid Grid.Column="0" Grid.Row="1">
|
|
|
+ <Grid Margin="15,15" Background="#37474f">
|
|
|
<Grid.RowDefinitions>
|
|
|
- <RowDefinition Height="*"/>
|
|
|
- <RowDefinition Height="*"/>
|
|
|
- <RowDefinition Height="*"/>
|
|
|
- <RowDefinition Height="*"/>
|
|
|
+ <RowDefinition/>
|
|
|
+ <RowDefinition/>
|
|
|
</Grid.RowDefinitions>
|
|
|
- <Grid.ColumnDefinitions>
|
|
|
- <ColumnDefinition Width="*"/>
|
|
|
- <ColumnDefinition Width="*"/>
|
|
|
- <ColumnDefinition Width="*"/>
|
|
|
- <ColumnDefinition Width="*"/>
|
|
|
- <ColumnDefinition Width="*"/>
|
|
|
- </Grid.ColumnDefinitions>
|
|
|
-
|
|
|
- <Button Background="{x:Null}" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
+
|
|
|
+ <Grid Grid.Row="0">
|
|
|
+ <Grid.RowDefinitions>
|
|
|
+ <RowDefinition Height="*"/>
|
|
|
+ <RowDefinition Height="*"/>
|
|
|
+ <RowDefinition Height="*"/>
|
|
|
+ <RowDefinition Height="*"/>
|
|
|
+ </Grid.RowDefinitions>
|
|
|
+ <Grid.ColumnDefinitions>
|
|
|
+ <ColumnDefinition Width="*"/>
|
|
|
+ <ColumnDefinition Width="*"/>
|
|
|
+ <ColumnDefinition Width="*"/>
|
|
|
+ <ColumnDefinition Width="*"/>
|
|
|
+ <ColumnDefinition Width="*"/>
|
|
|
+ </Grid.ColumnDefinitions>
|
|
|
+
|
|
|
+ <Button Background="{x:Null}" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
ToolTip="MaterialDesignRaisedButton with Round Corners">
|
|
|
- <StackPanel>
|
|
|
- <TextBlock HorizontalAlignment="Center"><Run Text="Axis" FontSize="20"/></TextBlock>
|
|
|
- <TextBlock HorizontalAlignment="Center"><Run Text="Select" FontSize="20"/></TextBlock>
|
|
|
- </StackPanel>
|
|
|
+ <StackPanel>
|
|
|
+ <TextBlock HorizontalAlignment="Center"><Run Text="Axis" FontSize="20"/></TextBlock>
|
|
|
+ <TextBlock HorizontalAlignment="Center"><Run Text="Select" FontSize="20"/></TextBlock>
|
|
|
+ </StackPanel>
|
|
|
|
|
|
- </Button>
|
|
|
+ </Button>
|
|
|
|
|
|
- <Button Grid.Column="0" Grid.Row="1" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
+ <Button Grid.Column="0" Grid.Row="1" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
ToolTip="MaterialDesignRaisedButton with Round Corners">
|
|
|
- <StackPanel>
|
|
|
- <TextBlock HorizontalAlignment="Center"><Run Text="Target" FontSize="20"/></TextBlock>
|
|
|
- <TextBlock HorizontalAlignment="Center"><Run Text="Pos" FontSize="20"/></TextBlock>
|
|
|
- </StackPanel>
|
|
|
+ <StackPanel>
|
|
|
+ <TextBlock HorizontalAlignment="Center"><Run Text="Target" FontSize="20"/></TextBlock>
|
|
|
+ <TextBlock HorizontalAlignment="Center"><Run Text="Pos" FontSize="20"/></TextBlock>
|
|
|
+ </StackPanel>
|
|
|
|
|
|
- </Button>
|
|
|
+ </Button>
|
|
|
|
|
|
- <Button Grid.Column="0" Grid.Row="2" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
+ <Button Grid.Column="0" Grid.Row="2" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
ToolTip="MaterialDesignRaisedButton with Round Corners">
|
|
|
- <StackPanel>
|
|
|
- <TextBlock HorizontalAlignment="Center"><Run Text="Current" FontSize="18"/></TextBlock>
|
|
|
- <TextBlock HorizontalAlignment="Center"><Run Text="Pos" FontSize="20"/></TextBlock>
|
|
|
- </StackPanel>
|
|
|
- </Button>
|
|
|
+ <StackPanel>
|
|
|
+ <TextBlock HorizontalAlignment="Center"><Run Text="Current" FontSize="18"/></TextBlock>
|
|
|
+ <TextBlock HorizontalAlignment="Center"><Run Text="Pos" FontSize="20"/></TextBlock>
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
|
|
|
- <Button Grid.Column="0" Grid.Row="3" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
+ <Button Grid.Column="0" Grid.Row="3" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
ToolTip="MaterialDesignRaisedButton with Round Corners">
|
|
|
- <StackPanel>
|
|
|
- <TextBlock HorizontalAlignment="Center"><Run Text="Difference" FontSize="14"/></TextBlock>
|
|
|
- <TextBlock HorizontalAlignment="Center"><Run Text="Pos" FontSize="20"/></TextBlock>
|
|
|
- </StackPanel>
|
|
|
+ <StackPanel>
|
|
|
+ <TextBlock HorizontalAlignment="Center"><Run Text="Difference" FontSize="14"/></TextBlock>
|
|
|
+ <TextBlock HorizontalAlignment="Center"><Run Text="Pos" FontSize="20"/></TextBlock>
|
|
|
+ </StackPanel>
|
|
|
|
|
|
- </Button>
|
|
|
+ </Button>
|
|
|
|
|
|
- <!--Column2-->
|
|
|
- <Button Grid.Column="1" Grid.Row="0" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
+ <!--Column2-->
|
|
|
+ <Button Grid.Column="1" Grid.Row="0" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
ToolTip="MaterialDesignRaisedButton with Round Corners"
|
|
|
@@ -146,41 +147,41 @@
|
|
|
CommandParameter="Axis_CarrierLock_Left"
|
|
|
BorderBrush="{Binding LeftAxisBrush}"
|
|
|
BorderThickness="2">
|
|
|
- <StackPanel>
|
|
|
- <TextBlock VerticalAlignment="Center"
|
|
|
+ <StackPanel>
|
|
|
+ <TextBlock VerticalAlignment="Center"
|
|
|
HorizontalAlignment="Center">
|
|
|
<Run Text="Clamp" FontSize="20"/>
|
|
|
- </TextBlock>
|
|
|
- <TextBlock><Run Text="Axis Left" FontSize="20"/></TextBlock>
|
|
|
- </StackPanel>
|
|
|
- </Button>
|
|
|
+ </TextBlock>
|
|
|
+ <TextBlock><Run Text="Axis Left" FontSize="20"/></TextBlock>
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
|
|
|
- <Button Background="{x:Null}" Grid.Column="1" Grid.Row="1" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
+ <Button Background="{x:Null}" Grid.Column="1" Grid.Row="1" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
ToolTip="MaterialDesignRaisedButton with Round Corners">
|
|
|
- <Button.InputBindings>
|
|
|
- <MouseBinding Gesture="LeftClick" Command="{Binding KeyInTargetPosCommand}" CommandParameter="Left"/>
|
|
|
- </Button.InputBindings>
|
|
|
- <TextBlock><Run Text="{Binding TargetPosLockLeft, StringFormat=0.000, FallbackValue=0.000}" FontSize="20"/></TextBlock>
|
|
|
- </Button>
|
|
|
+ <Button.InputBindings>
|
|
|
+ <MouseBinding Gesture="LeftClick" Command="{Binding KeyInTargetPosCommand}" CommandParameter="Left"/>
|
|
|
+ </Button.InputBindings>
|
|
|
+ <TextBlock><Run Text="{Binding TargetPosLockLeft, StringFormat=0.000, FallbackValue=0.000}" FontSize="20"/></TextBlock>
|
|
|
+ </Button>
|
|
|
|
|
|
- <Button Background="{x:Null}" Grid.Column="1" Grid.Row="2" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
+ <Button Background="{x:Null}" Grid.Column="1" Grid.Row="2" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
ToolTip="MaterialDesignRaisedButton with Round Corners">
|
|
|
- <TextBlock><Run Text="{Binding CurrentLockLeft, StringFormat=0.000, FallbackValue=0.000}" FontSize="20"/></TextBlock>
|
|
|
- </Button>
|
|
|
+ <TextBlock><Run Text="{Binding CurrentLockLeft, StringFormat=0.000, FallbackValue=0.000}" FontSize="20"/></TextBlock>
|
|
|
+ </Button>
|
|
|
|
|
|
- <Button Background="{x:Null}" Grid.Column="1" Grid.Row="3" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
+ <Button Background="{x:Null}" Grid.Column="1" Grid.Row="3" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
ToolTip="MaterialDesignRaisedButton with Round Corners">
|
|
|
- <TextBlock><Run Text="{Binding DifferenceLockLeft, StringFormat=0.000, FallbackValue=0.000}" FontSize="20"/></TextBlock>
|
|
|
- </Button>
|
|
|
+ <TextBlock><Run Text="{Binding DifferenceLockLeft, StringFormat=0.000, FallbackValue=0.000}" FontSize="20"/></TextBlock>
|
|
|
+ </Button>
|
|
|
|
|
|
- <!--Column3-->
|
|
|
- <Button Grid.Column="2" Grid.Row="0" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
+ <!--Column3-->
|
|
|
+ <Button Grid.Column="2" Grid.Row="0" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
ToolTip="MaterialDesignRaisedButton with Round Corners"
|
|
|
@@ -188,128 +189,128 @@
|
|
|
CommandParameter="Axis_CarrierLock_Right"
|
|
|
BorderBrush="{Binding RightAxisBrush}"
|
|
|
BorderThickness="2">
|
|
|
- <StackPanel>
|
|
|
- <TextBlock VerticalAlignment="Center"
|
|
|
+ <StackPanel>
|
|
|
+ <TextBlock VerticalAlignment="Center"
|
|
|
HorizontalAlignment="Center">
|
|
|
<Run Text="Clamp" FontSize="20"/>
|
|
|
- </TextBlock>
|
|
|
- <TextBlock><Run Text="Axis Rigt" FontSize="20"/></TextBlock>
|
|
|
- </StackPanel>
|
|
|
- </Button>
|
|
|
+ </TextBlock>
|
|
|
+ <TextBlock><Run Text="Axis Rigt" FontSize="20"/></TextBlock>
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
|
|
|
- <Button Background="{x:Null}" Grid.Column="2" Grid.Row="1" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
+ <Button Background="{x:Null}" Grid.Column="2" Grid.Row="1" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
ToolTip="MaterialDesignRaisedButton with Round Corners">
|
|
|
- <Button.InputBindings>
|
|
|
- <MouseBinding Gesture="LeftClick" Command="{Binding KeyInTargetPosCommand}" CommandParameter="Right"/>
|
|
|
- </Button.InputBindings>
|
|
|
- <TextBlock><Run Text="{Binding TargetPosLockRight, StringFormat=0.000, FallbackValue=0.000}" FontSize="20"/></TextBlock>
|
|
|
- </Button>
|
|
|
+ <Button.InputBindings>
|
|
|
+ <MouseBinding Gesture="LeftClick" Command="{Binding KeyInTargetPosCommand}" CommandParameter="Right"/>
|
|
|
+ </Button.InputBindings>
|
|
|
+ <TextBlock><Run Text="{Binding TargetPosLockRight, StringFormat=0.000, FallbackValue=0.000}" FontSize="20"/></TextBlock>
|
|
|
+ </Button>
|
|
|
|
|
|
- <Button Background="{x:Null}" Grid.Column="2" Grid.Row="2" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
+ <Button Background="{x:Null}" Grid.Column="2" Grid.Row="2" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
ToolTip="MaterialDesignRaisedButton with Round Corners">
|
|
|
- <TextBlock><Run Text="{Binding CurrentLockRight, StringFormat=0.000, FallbackValue=0.000}" FontSize="20"/></TextBlock>
|
|
|
- </Button>
|
|
|
+ <TextBlock><Run Text="{Binding CurrentLockRight, StringFormat=0.000, FallbackValue=0.000}" FontSize="20"/></TextBlock>
|
|
|
+ </Button>
|
|
|
|
|
|
- <Button Background="{x:Null}" Grid.Column="2" Grid.Row="3" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
+ <Button Background="{x:Null}" Grid.Column="2" Grid.Row="3" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
ToolTip="MaterialDesignRaisedButton with Round Corners">
|
|
|
- <TextBlock><Run Text="{Binding DifferenceLockRight, StringFormat=0.000, FallbackValue=0.000}" FontSize="20"/></TextBlock>
|
|
|
- </Button>
|
|
|
+ <TextBlock><Run Text="{Binding DifferenceLockRight, StringFormat=0.000, FallbackValue=0.000}" FontSize="20"/></TextBlock>
|
|
|
+ </Button>
|
|
|
|
|
|
- <!--Axis State-->
|
|
|
- <Border BorderThickness="3" BorderBrush="Aqua" Grid.Column="3" Grid.ColumnSpan="4" Grid.RowSpan="4" />
|
|
|
+ <!--Axis State-->
|
|
|
+ <Border BorderThickness="3" BorderBrush="Aqua" Grid.Column="3" Grid.ColumnSpan="4" Grid.RowSpan="4" />
|
|
|
|
|
|
- <Button Background="{x:Null}" Grid.Column="3" Grid.Row="0" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
+ <Button Background="{x:Null}" Grid.Column="3" Grid.Row="0" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
ToolTip="MaterialDesignRaisedButton with Round Corners">
|
|
|
- <TextBlock><Run Text="Left Axis" FontSize="20"/></TextBlock>
|
|
|
- </Button>
|
|
|
- <Button Background="{x:Null}" Grid.Column="4" Grid.Row="0" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
+ <TextBlock><Run Text="Left Axis" FontSize="20"/></TextBlock>
|
|
|
+ </Button>
|
|
|
+ <Button Background="{x:Null}" Grid.Column="4" Grid.Row="0" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
ToolTip="MaterialDesignRaisedButton with Round Corners">
|
|
|
- <TextBlock><Run Text="Right Axis" FontSize="18"/></TextBlock>
|
|
|
- </Button>
|
|
|
+ <TextBlock><Run Text="Right Axis" FontSize="18"/></TextBlock>
|
|
|
+ </Button>
|
|
|
|
|
|
- <Button Grid.Column="3" Grid.Row="1" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
+ <Button Grid.Column="3" Grid.Row="1" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
Background="{c:Binding 'IsLeftServoOn ? media:Brushes.DodgerBlue : media:Brushes.Transparent'}">
|
|
|
- <StackPanel>
|
|
|
- <TextBlock HorizontalAlignment="Center"><Run Text="Servo On"/></TextBlock>
|
|
|
- </StackPanel>
|
|
|
- </Button>
|
|
|
- <Button Grid.Column="3" Grid.Row="2" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
+ <StackPanel>
|
|
|
+ <TextBlock HorizontalAlignment="Center"><Run Text="Servo On"/></TextBlock>
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
+ <Button Grid.Column="3" Grid.Row="2" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10" Background="{c:Binding 'IsLeftServoOriginReturn ? media:Brushes.DodgerBlue : media:Brushes.Transparent'}"
|
|
|
ToolTip="MaterialDesignRaisedButton with Round Corners">
|
|
|
- <StackPanel>
|
|
|
- <TextBlock HorizontalAlignment="Center" TextWrapping="Wrap"><Run Text="Origin Return"/></TextBlock>
|
|
|
- </StackPanel>
|
|
|
- </Button>
|
|
|
- <Button Grid.Column="3" Grid.Row="3" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
+ <StackPanel>
|
|
|
+ <TextBlock HorizontalAlignment="Center" TextWrapping="Wrap"><Run Text="Origin Return"/></TextBlock>
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
+ <Button Grid.Column="3" Grid.Row="3" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10" Background="{c:Binding 'IsLeftServoFault ? media:Brushes.DodgerBlue : media:Brushes.Transparent'}"
|
|
|
ToolTip="MaterialDesignRaisedButton with Round Corners">
|
|
|
- <StackPanel>
|
|
|
- <TextBlock HorizontalAlignment="Center" TextWrapping="Wrap"><Run Text="Servo Fault"/></TextBlock>
|
|
|
- </StackPanel>
|
|
|
- </Button>
|
|
|
-
|
|
|
- <!--Right-->
|
|
|
- <Border BorderBrush="#FF00FFD3" BorderThickness="2" Margin="7,79,20,-5" Grid.ColumnSpan="5" RenderTransformOrigin="0.5,0.5" Grid.Row="3">
|
|
|
- <Border.RenderTransform>
|
|
|
- <TransformGroup>
|
|
|
- <ScaleTransform ScaleX="-1"/>
|
|
|
- <SkewTransform/>
|
|
|
- <RotateTransform/>
|
|
|
- <TranslateTransform/>
|
|
|
- </TransformGroup>
|
|
|
- </Border.RenderTransform>
|
|
|
- </Border>
|
|
|
- <Button Grid.Column="4" Grid.Row="1" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
+ <StackPanel>
|
|
|
+ <TextBlock HorizontalAlignment="Center" TextWrapping="Wrap"><Run Text="Servo Fault"/></TextBlock>
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
+
|
|
|
+ <!--Right-->
|
|
|
+ <Border BorderBrush="#FF00FFD3" BorderThickness="2" Margin="7,79,20,-5" Grid.ColumnSpan="5" RenderTransformOrigin="0.5,0.5" Grid.Row="3">
|
|
|
+ <Border.RenderTransform>
|
|
|
+ <TransformGroup>
|
|
|
+ <ScaleTransform ScaleX="-1"/>
|
|
|
+ <SkewTransform/>
|
|
|
+ <RotateTransform/>
|
|
|
+ <TranslateTransform/>
|
|
|
+ </TransformGroup>
|
|
|
+ </Border.RenderTransform>
|
|
|
+ </Border>
|
|
|
+ <Button Grid.Column="4" Grid.Row="1" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10" Background="{c:Binding 'IsRightServoOn ? media:Brushes.DodgerBlue : media:Brushes.Transparent'}"
|
|
|
ToolTip="MaterialDesignRaisedButton with Round Corners">
|
|
|
- <StackPanel>
|
|
|
- <TextBlock HorizontalAlignment="Center"><Run Text="Servo On"/></TextBlock>
|
|
|
- </StackPanel>
|
|
|
- </Button>
|
|
|
- <Button Grid.Column="4" Grid.Row="2" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
+ <StackPanel>
|
|
|
+ <TextBlock HorizontalAlignment="Center"><Run Text="Servo On"/></TextBlock>
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
+ <Button Grid.Column="4" Grid.Row="2" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10" Background="{c:Binding 'IsRightServoOriginReturn ? media:Brushes.DodgerBlue : media:Brushes.Transparent'}"
|
|
|
ToolTip="MaterialDesignRaisedButton with Round Corners">
|
|
|
- <StackPanel>
|
|
|
- <TextBlock HorizontalAlignment="Center" TextWrapping="Wrap"><Run Text="Origin Return"/></TextBlock>
|
|
|
- </StackPanel>
|
|
|
- </Button>
|
|
|
- <Button Grid.Column="4" Grid.Row="3" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
+ <StackPanel>
|
|
|
+ <TextBlock HorizontalAlignment="Center" TextWrapping="Wrap"><Run Text="Origin Return"/></TextBlock>
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
+ <Button Grid.Column="4" Grid.Row="3" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10" Background="{c:Binding 'IsRightServoFault ? media:Brushes.DodgerBlue : media:Brushes.Transparent'}"
|
|
|
ToolTip="MaterialDesignRaisedButton with Round Corners">
|
|
|
- <StackPanel>
|
|
|
- <TextBlock HorizontalAlignment="Center" TextWrapping="Wrap"><Run Text="Servo Fault"/></TextBlock>
|
|
|
- </StackPanel>
|
|
|
- </Button>
|
|
|
+ <StackPanel>
|
|
|
+ <TextBlock HorizontalAlignment="Center" TextWrapping="Wrap"><Run Text="Servo Fault"/></TextBlock>
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
|
|
|
- <Border BorderBrush="#FF00FFD3" BorderThickness="2" Grid.Column="1" Margin="78,102,39,-269" Grid.Row="3"/>
|
|
|
+ <Border BorderBrush="#FF00FFD3" BorderThickness="2" Grid.Column="1" Margin="78,102,39,-269" Grid.Row="3"/>
|
|
|
|
|
|
- </Grid>
|
|
|
+ </Grid>
|
|
|
|
|
|
- <Grid Grid.Row="1">
|
|
|
- <Grid.ColumnDefinitions>
|
|
|
- <ColumnDefinition Width="*"/>
|
|
|
- <ColumnDefinition Width="2*"/>
|
|
|
- </Grid.ColumnDefinitions>
|
|
|
- <StackPanel Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
|
- <StackPanel Orientation="Horizontal" VerticalAlignment="Top" HorizontalAlignment="Center" >
|
|
|
- <!--<Button
|
|
|
+ <Grid Grid.Row="1">
|
|
|
+ <Grid.ColumnDefinitions>
|
|
|
+ <ColumnDefinition Width="*"/>
|
|
|
+ <ColumnDefinition Width="2*"/>
|
|
|
+ </Grid.ColumnDefinitions>
|
|
|
+ <StackPanel Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
|
+ <StackPanel Orientation="Horizontal" VerticalAlignment="Top" HorizontalAlignment="Center" >
|
|
|
+ <!--<Button
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
ToolTip="MaterialDesignRaisedButton with Round Corners"
|
|
|
@@ -323,7 +324,7 @@
|
|
|
</StackPanel>
|
|
|
</Button>-->
|
|
|
|
|
|
- <!--<Button
|
|
|
+ <!--<Button
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
ToolTip="MaterialDesignRaisedButton with Round Corners"
|
|
|
@@ -337,7 +338,7 @@
|
|
|
</StackPanel>
|
|
|
</Button>-->
|
|
|
|
|
|
- <!--<Button
|
|
|
+ <!--<Button
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
ToolTip="MaterialDesignRaisedButton with Round Corners"
|
|
|
@@ -349,33 +350,33 @@
|
|
|
<TextBlock><Run Text="Limit(+)"/></TextBlock>
|
|
|
</StackPanel>
|
|
|
</Button>-->
|
|
|
- </StackPanel>
|
|
|
+ </StackPanel>
|
|
|
|
|
|
- <StackPanel Orientation="Horizontal" VerticalAlignment="Bottom" HorizontalAlignment="Center"
|
|
|
+ <StackPanel Orientation="Horizontal" VerticalAlignment="Bottom" HorizontalAlignment="Center"
|
|
|
Width="Auto" Height="120">
|
|
|
- <Button Style="{StaticResource TouchButton}"
|
|
|
- x:Name="M"
|
|
|
- Margin="5"
|
|
|
- Grid.Row="2"
|
|
|
- Grid.Column="1"
|
|
|
- HorizontalAlignment="Stretch"
|
|
|
- Height="auto"
|
|
|
- Width="90" PreviewMouseDown="Button_PreviewMouseDown" PreviewMouseUp="Button_PreviewMouseUp">
|
|
|
- <i:Interaction.Triggers>
|
|
|
- <i:EventTrigger EventName="TouchDown">
|
|
|
- <i:InvokeCommandAction Command="{Binding JogCommand}" CommandParameter="-"/>
|
|
|
- </i:EventTrigger>
|
|
|
- <i:EventTrigger EventName="TouchUp">
|
|
|
- <i:InvokeCommandAction Command="{Binding JogStopCommand}"/>
|
|
|
- </i:EventTrigger>
|
|
|
- </i:Interaction.Triggers>
|
|
|
- <StackPanel>
|
|
|
- <materialDesign:PackIcon Kind="MinusBoxOutline" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="30" Width="auto"/>
|
|
|
- <TextBlock><Run Text="Jog(-)" FontSize="20"/></TextBlock>
|
|
|
- </StackPanel>
|
|
|
- </Button>
|
|
|
+ <Button
|
|
|
+ x:Name="M"
|
|
|
+ Margin="5"
|
|
|
+ Grid.Row="2"
|
|
|
+ Grid.Column="1"
|
|
|
+ HorizontalAlignment="Stretch"
|
|
|
+ Height="auto"
|
|
|
+ Width="90" PreviewMouseDown="Button_PreviewMouseDown" PreviewMouseUp="Button_PreviewMouseUp">
|
|
|
+ <i:Interaction.Triggers>
|
|
|
+ <i:EventTrigger EventName="TouchDown">
|
|
|
+ <i:InvokeCommandAction Command="{Binding JogCommand}" CommandParameter="-"/>
|
|
|
+ </i:EventTrigger>
|
|
|
+ <i:EventTrigger EventName="TouchUp">
|
|
|
+ <i:InvokeCommandAction Command="{Binding JogStopCommand}"/>
|
|
|
+ </i:EventTrigger>
|
|
|
+ </i:Interaction.Triggers>
|
|
|
+ <StackPanel>
|
|
|
+ <materialDesign:PackIcon Kind="MinusBoxOutline" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="30" Width="auto"/>
|
|
|
+ <TextBlock><Run Text="Jog(-)" FontSize="20"/></TextBlock>
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
|
|
|
- <materialDesign:Badged
|
|
|
+ <materialDesign:Badged
|
|
|
Grid.Row="2"
|
|
|
Grid.Column="2"
|
|
|
Badge="Jog Velocity"
|
|
|
@@ -384,167 +385,169 @@
|
|
|
BadgeForeground="Aqua"
|
|
|
VerticalAlignment="Center"
|
|
|
HorizontalAlignment="Center">
|
|
|
- <Button Margin="15" VerticalAlignment="Center" HorizontalAlignment="Center" Height="80" Width="70"
|
|
|
+ <Button Margin="15" VerticalAlignment="Center" HorizontalAlignment="Center" Height="80" Width="70"
|
|
|
Command="{Binding JogVelPopupCommand}">
|
|
|
- <StackPanel>
|
|
|
- <TextBlock Text="{Binding JogVelocity, StringFormat={}{0:0.000}, FallbackValue=0.00}" Foreground="Orange" FontSize="20"/>
|
|
|
- </StackPanel>
|
|
|
- </Button>
|
|
|
- </materialDesign:Badged>
|
|
|
+ <StackPanel>
|
|
|
+ <TextBlock Text="{Binding JogVelocity, StringFormat={}{0:0.000}, FallbackValue=0.00}" Foreground="Orange" FontSize="20"/>
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
+ </materialDesign:Badged>
|
|
|
|
|
|
- <Button
|
|
|
+ <Button
|
|
|
Margin="5"
|
|
|
Grid.Row="2"
|
|
|
Grid.Column="3"
|
|
|
HorizontalAlignment="Stretch"
|
|
|
Height="auto"
|
|
|
Width="90" PreviewMouseDown="Button_PreviewMouseDown" PreviewMouseUp="Button_PreviewMouseUp">
|
|
|
- <i:Interaction.Triggers>
|
|
|
- <i:EventTrigger EventName="TouchDown">
|
|
|
- <i:InvokeCommandAction Command="{Binding JogCommand}" CommandParameter="+"/>
|
|
|
- </i:EventTrigger>
|
|
|
- <i:EventTrigger EventName="TouchUp">
|
|
|
- <i:InvokeCommandAction Command="{Binding JogStopCommand}"/>
|
|
|
- </i:EventTrigger>
|
|
|
- </i:Interaction.Triggers>
|
|
|
- <StackPanel>
|
|
|
- <materialDesign:PackIcon Kind="PlusBoxOutline" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="30" Width="auto"/>
|
|
|
- <TextBlock><Run Text="Jog(+)" FontSize="20"/></TextBlock>
|
|
|
- </StackPanel>
|
|
|
- </Button>
|
|
|
+ <i:Interaction.Triggers>
|
|
|
+ <i:EventTrigger EventName="TouchDown">
|
|
|
+ <i:InvokeCommandAction Command="{Binding JogCommand}" CommandParameter="+"/>
|
|
|
+ </i:EventTrigger>
|
|
|
+ <i:EventTrigger EventName="TouchUp">
|
|
|
+ <i:InvokeCommandAction Command="{Binding JogStopCommand}"/>
|
|
|
+ </i:EventTrigger>
|
|
|
+ </i:Interaction.Triggers>
|
|
|
+ <StackPanel>
|
|
|
+ <materialDesign:PackIcon Kind="PlusBoxOutline" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="30" Width="auto"/>
|
|
|
+ <TextBlock><Run Text="Jog(+)" FontSize="20"/></TextBlock>
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
+ </StackPanel>
|
|
|
+
|
|
|
</StackPanel>
|
|
|
|
|
|
- </StackPanel>
|
|
|
-
|
|
|
- <Grid Grid.Column="0" Margin="5,20,0,0">
|
|
|
- <Grid>
|
|
|
- <Grid.RowDefinitions>
|
|
|
- <RowDefinition Height="*"/>
|
|
|
- <RowDefinition Height="*"/>
|
|
|
- <RowDefinition Height="*"/>
|
|
|
- <RowDefinition Height="*"/>
|
|
|
- </Grid.RowDefinitions>
|
|
|
- <Button Margin="3" HorizontalAlignment="Stretch" Grid.Column="4" Grid.Row="0" Width="Auto" Height="Auto" BorderBrush="{Binding PosLockBrush}" BorderThickness="2"
|
|
|
+ <Grid Grid.Column="0" Margin="5,20,0,0">
|
|
|
+ <Grid>
|
|
|
+ <Grid.RowDefinitions>
|
|
|
+ <RowDefinition Height="*"/>
|
|
|
+ <RowDefinition Height="*"/>
|
|
|
+ <RowDefinition Height="*"/>
|
|
|
+ <RowDefinition Height="*"/>
|
|
|
+ </Grid.RowDefinitions>
|
|
|
+ <Button Margin="3" HorizontalAlignment="Stretch" Grid.Column="4" Grid.Row="0" Width="Auto" Height="Auto" BorderBrush="{Binding PosLockBrush}" BorderThickness="2"
|
|
|
Command="{Binding SelectPosCommand}"
|
|
|
CommandParameter="Teach_Postion_Lock">
|
|
|
- <StackPanel>
|
|
|
- <TextBlock Text="Clamp" FontSize="20" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
- <TextBlock Text="Lock" FontSize="20" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
- </StackPanel>
|
|
|
- </Button>
|
|
|
- <Button Margin="3" HorizontalAlignment="Stretch" Grid.Column="4" Grid.Row="1" Width="Auto" Height="Auto" BorderBrush="{Binding PosUnlockBrush}" BorderThickness="2"
|
|
|
+ <StackPanel>
|
|
|
+ <TextBlock Text="Clamp" FontSize="20" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
+ <TextBlock Text="Lock" FontSize="20" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
+ <Button Margin="3" HorizontalAlignment="Stretch" Grid.Column="4" Grid.Row="1" Width="Auto" Height="Auto" BorderBrush="{Binding PosUnlockBrush}" BorderThickness="2"
|
|
|
Command="{Binding SelectPosCommand}"
|
|
|
CommandParameter="Teach_Postion_Unlock">
|
|
|
- <StackPanel>
|
|
|
- <TextBlock Text="Clamp" FontSize="20" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
- <TextBlock Text="UnLock" FontSize="20" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
- </StackPanel>
|
|
|
- </Button>
|
|
|
+ <StackPanel>
|
|
|
+ <TextBlock Text="Clamp" FontSize="20" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
+ <TextBlock Text="UnLock" FontSize="20" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
+ </Grid>
|
|
|
</Grid>
|
|
|
</Grid>
|
|
|
</Grid>
|
|
|
</Grid>
|
|
|
- </Grid>
|
|
|
|
|
|
- <Grid Grid.Column="1" Background="#37474f" Grid.RowSpan="2">
|
|
|
- <StackPanel>
|
|
|
- <Button Margin="10,10,10,5" HorizontalAlignment="Stretch" Height="90" BorderBrush="Gray" BorderThickness="2" Command="{Binding MoveToCommand}"
|
|
|
+ <Grid Grid.Column="1" Background="#37474f" Grid.RowSpan="2">
|
|
|
+ <StackPanel>
|
|
|
+ <Button Margin="10,10,10,5" HorizontalAlignment="Stretch" Height="90" BorderBrush="Gray" BorderThickness="2" Command="{Binding MoveToCommand}"
|
|
|
Style="{DynamicResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ShadowAssist.ShadowDepth="Depth5">
|
|
|
- <StackPanel>
|
|
|
- <!--<materialDesign:PackIcon Kind="GearBox" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>-->
|
|
|
- <TextBlock Text="Move To" FontSize="20" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
- </StackPanel>
|
|
|
- </Button>
|
|
|
+ <StackPanel>
|
|
|
+ <!--<materialDesign:PackIcon Kind="GearBox" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>-->
|
|
|
+ <TextBlock Text="Move To" FontSize="20" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
|
|
|
- <Button Margin="10,10,10,5" HorizontalAlignment="Stretch" Height="90" BorderBrush="Gray" BorderThickness="2" Command="{Binding CurrentToTargetCommand}"
|
|
|
+ <Button Margin="10,10,10,5" HorizontalAlignment="Stretch" Height="90" BorderBrush="Gray" BorderThickness="2" Command="{Binding CurrentToTargetCommand}"
|
|
|
Style="{DynamicResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ShadowAssist.ShadowDepth="Depth5">
|
|
|
- <StackPanel>
|
|
|
- <!--<materialDesign:PackIcon Kind="GearBox" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>-->
|
|
|
- <TextBlock Text="Current" FontSize="20" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
- <TextBlock Text="To Target" FontSize="18" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
- </StackPanel>
|
|
|
- </Button>
|
|
|
- </StackPanel>
|
|
|
-
|
|
|
- <StackPanel VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,40,0,0">
|
|
|
- <Button Margin="10,10,10,10" HorizontalAlignment="Stretch" Height="90" Width="110" BorderBrush="Gray" BorderThickness="2" Command="{Binding AllOriginCommand}"
|
|
|
+ <StackPanel>
|
|
|
+ <!--<materialDesign:PackIcon Kind="GearBox" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>-->
|
|
|
+ <TextBlock Text="Current" FontSize="20" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
+ <TextBlock Text="To Target" FontSize="18" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
+ </StackPanel>
|
|
|
+
|
|
|
+ <StackPanel VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,40,0,0">
|
|
|
+ <Button Margin="10,10,10,10" HorizontalAlignment="Stretch" Height="90" Width="110" BorderBrush="Gray" BorderThickness="2" Command="{Binding AllOriginCommand}"
|
|
|
Style="{DynamicResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ShadowAssist.ShadowDepth="Depth5">
|
|
|
- <StackPanel>
|
|
|
- <!--<materialDesign:PackIcon Kind="GearBox" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>-->
|
|
|
- <TextBlock Text="ALL" FontSize="20" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
- <TextBlock Text="Origin" FontSize="18" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
- </StackPanel>
|
|
|
- </Button>
|
|
|
- </StackPanel>
|
|
|
- </Grid>
|
|
|
+ <StackPanel>
|
|
|
+ <!--<materialDesign:PackIcon Kind="GearBox" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>-->
|
|
|
+ <TextBlock Text="ALL" FontSize="20" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
+ <TextBlock Text="Origin" FontSize="18" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
+ </StackPanel>
|
|
|
+ </Grid>
|
|
|
+
|
|
|
+ <Grid Grid.Column="2" HorizontalAlignment="Stretch" Background="#263238" Grid.RowSpan="2">
|
|
|
+ <Border Margin="1" BorderBrush="#FF00FFD3" BorderThickness="2" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"/>
|
|
|
+ <StackPanel>
|
|
|
+ <Button Margin="10,10,10,5" HorizontalAlignment="Stretch" Height="90" BorderBrush="Gray" BorderThickness="2" Command="{Binding ServoOnCommand}">
|
|
|
+ <StackPanel>
|
|
|
+ <materialDesign:PackIcon Kind="PowerSettings" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>
|
|
|
+ <TextBlock Text="Servo On" FontSize="18" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
+
|
|
|
+ <Button Margin="10,10,10,5" HorizontalAlignment="Stretch" Height="90" BorderBrush="Gray" BorderThickness="2" Command="{Binding ServoOffCommand}">
|
|
|
+ <StackPanel>
|
|
|
+ <materialDesign:PackIcon Kind="PowerPlugOff" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>
|
|
|
+ <TextBlock Text="Servo Off" FontSize="18" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
+
|
|
|
+ <Button Margin="10,10,10,5" HorizontalAlignment="Stretch" Height="90" BorderBrush="Gray" BorderThickness="2" Command="{Binding FaultResetCommand}">
|
|
|
+ <StackPanel>
|
|
|
+ <materialDesign:PackIcon Kind="CircleArrows" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>
|
|
|
+ <TextBlock Text="Fault Reset" FontSize="16" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
|
|
|
- <Grid Grid.Column="2" HorizontalAlignment="Stretch" Background="#263238" Grid.RowSpan="2">
|
|
|
- <Border Margin="1" BorderBrush="#FF00FFD3" BorderThickness="2" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"/>
|
|
|
- <StackPanel>
|
|
|
- <Button Margin="10,10,10,5" HorizontalAlignment="Stretch" Height="90" BorderBrush="Gray" BorderThickness="2" Command="{Binding ServoOnCommand}">
|
|
|
- <StackPanel>
|
|
|
- <materialDesign:PackIcon Kind="PowerSettings" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>
|
|
|
- <TextBlock Text="Servo On" FontSize="18" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
- </StackPanel>
|
|
|
- </Button>
|
|
|
-
|
|
|
- <Button Margin="10,10,10,5" HorizontalAlignment="Stretch" Height="90" BorderBrush="Gray" BorderThickness="2" Command="{Binding ServoOffCommand}">
|
|
|
- <StackPanel>
|
|
|
- <materialDesign:PackIcon Kind="PowerPlugOff" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>
|
|
|
- <TextBlock Text="Servo Off" FontSize="18" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
- </StackPanel>
|
|
|
- </Button>
|
|
|
-
|
|
|
- <Button Margin="10,10,10,5" HorizontalAlignment="Stretch" Height="90" BorderBrush="Gray" BorderThickness="2" Command="{Binding FaultResetCommand}">
|
|
|
- <StackPanel>
|
|
|
- <materialDesign:PackIcon Kind="CircleArrows" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>
|
|
|
- <TextBlock Text="Fault Reset" FontSize="16" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
- </StackPanel>
|
|
|
- </Button>
|
|
|
-
|
|
|
- <Button Margin="10,10,10,5" HorizontalAlignment="Stretch" Height="90" BorderBrush="Gray" BorderThickness="2" Command="{Binding OriginCommand}">
|
|
|
- <StackPanel>
|
|
|
- <materialDesign:PackIcon Kind="Origin" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>
|
|
|
- <TextBlock Text="Origin" FontSize="20" VerticalAlignment="Stretch" HorizontalAlignment="Center" />
|
|
|
- </StackPanel>
|
|
|
- </Button>
|
|
|
-
|
|
|
- </StackPanel>
|
|
|
-
|
|
|
- <StackPanel Orientation="Vertical" VerticalAlignment="Bottom">
|
|
|
- <Button Margin="10,0,10,10" HorizontalAlignment="Stretch" Height="90" BorderBrush="Gray" BorderThickness="2"
|
|
|
+ <Button Margin="10,10,10,5" HorizontalAlignment="Stretch" Height="90" BorderBrush="Gray" BorderThickness="2" Command="{Binding OriginCommand}">
|
|
|
+ <StackPanel>
|
|
|
+ <materialDesign:PackIcon Kind="Origin" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>
|
|
|
+ <TextBlock Text="Origin" FontSize="20" VerticalAlignment="Stretch" HorizontalAlignment="Center" />
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
+
|
|
|
+ </StackPanel>
|
|
|
+
|
|
|
+ <StackPanel Orientation="Vertical" VerticalAlignment="Bottom">
|
|
|
+ <Button Margin="10,0,10,10" HorizontalAlignment="Stretch" Height="90" BorderBrush="Gray" BorderThickness="2"
|
|
|
Style="{DynamicResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ShadowAssist.ShadowDepth="Depth5"
|
|
|
Command="{Binding SelectedPosDataSave}">
|
|
|
- <StackPanel>
|
|
|
- <materialDesign:PackIcon Kind="ContentSave" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>
|
|
|
- <TextBlock Text="SAVE" FontSize="20" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
- </StackPanel>
|
|
|
- </Button>
|
|
|
-
|
|
|
- <Button Margin="10,0,10,10" HorizontalAlignment="Stretch" Height="90" BorderBrush="Gray" BorderThickness="2" Command="{Binding CloseDialogCommand}" CommandParameter="true">
|
|
|
- <StackPanel>
|
|
|
- <materialDesign:PackIcon Kind="ExitToApp" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>
|
|
|
- <TextBlock Text="Close" FontSize="20" VerticalAlignment="Stretch" HorizontalAlignment="Center" />
|
|
|
- </StackPanel>
|
|
|
- </Button>
|
|
|
- </StackPanel>
|
|
|
+ <StackPanel>
|
|
|
+ <materialDesign:PackIcon Kind="ContentSave" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>
|
|
|
+ <TextBlock Text="SAVE" FontSize="20" VerticalAlignment="Stretch" HorizontalAlignment="Center"/>
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
|
|
|
- </Grid>
|
|
|
+ <Button Margin="10,0,10,10" HorizontalAlignment="Stretch" Height="90" BorderBrush="Gray" BorderThickness="2" Command="{Binding CloseDialogCommand}" CommandParameter="true">
|
|
|
+ <StackPanel>
|
|
|
+ <materialDesign:PackIcon Kind="ExitToApp" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>
|
|
|
+ <TextBlock Text="Close" FontSize="20" VerticalAlignment="Stretch" HorizontalAlignment="Center" />
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
+ </StackPanel>
|
|
|
|
|
|
- <!--<StackPanel Orientation="Horizontal" Grid.Row="2" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,5,0,0">
|
|
|
+ </Grid>
|
|
|
+
|
|
|
+ <!--<StackPanel Orientation="Horizontal" Grid.Row="2" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,5,0,0">
|
|
|
<Button x:Name="btnSend" HorizontalAlignment="Left" VerticalAlignment="Top" Width="100" Margin="0,0,20,0" Height="25" Command="{Binding CloseDialogCommand}" CommandParameter="true" Content="확인" Background="#FF1368BD" Style="{StaticResource MaterialDesignRaisedButton}"/>
|
|
|
-->
|
|
|
- <!--Style="{DynamicResource btn_Send}"-->
|
|
|
- <!--
|
|
|
+ <!--Style="{DynamicResource btn_Send}"-->
|
|
|
+ <!--
|
|
|
|
|
|
<Button x:Name="btnCancel" HorizontalAlignment="Left" VerticalAlignment="Top" Width="100" Height="25" Content="취소" Command="{Binding CloseDialogCommand}" CommandParameter="false" Background="#FF1368BD" Style="{StaticResource MaterialDesignRaisedButton}"/>
|
|
|
-->
|
|
|
- <!--Style="{DynamicResource btn_Close}"-->
|
|
|
- <!--
|
|
|
+ <!--Style="{DynamicResource btn_Close}"-->
|
|
|
+ <!--
|
|
|
</StackPanel>-->
|
|
|
- </Grid>
|
|
|
+ </Grid>
|
|
|
+ </Border>
|
|
|
+
|
|
|
</UserControl>
|