| | |
| | | </StackPanel> |
| | | </DockPanel> |
| | | |
| | | <Grid Grid.Row="1" dp:GridHelper.Space="10"> |
| | | <Grid Grid.Row="1" dp:GridHelper.Space="10" x:Name="panel"> |
| | | <Grid.RowDefinitions> |
| | | <RowDefinition Height="Auto"/> |
| | | <RowDefinition/> |
| | |
| | | </Button.Style> |
| | | </Button> |
| | | <Button Style="{StaticResource PrimaryButton}" |
| | | Margin="5,0,0,0" Content="{DynamicResource svo.reset}" Tag="Reset" Click="Servo_Click"/> |
| | | Margin="5,0,0,0" Content="{DynamicResource svo.reset}" Tag="Reset" |
| | | PreviewMouseLeftButtonDown="Button_PreviewMouseLeftButtonDown" |
| | | PreviewMouseLeftButtonUp="Button_PreviewMouseLeftButtonUp" /> |
| | | </UniformGrid> |
| | | <Button Grid.Row="3" Style="{StaticResource PrimaryButton}" |
| | | Content="{DynamicResource svo.init}" |
| | | Tag="Initialization" Click="Servo_Click"/> |
| | | Tag="Initialization" |
| | | PreviewMouseLeftButtonDown="Button_PreviewMouseLeftButtonDown" |
| | | PreviewMouseLeftButtonUp="Button_PreviewMouseLeftButtonUp"/> |
| | | <Button Grid.Row="4" Style="{StaticResource PrimaryButton}" |
| | | Content="{DynamicResource svo.stop}" |
| | | Tag="Stop" Click="Servo_Click"/> |
| | | Tag="Stop" |
| | | PreviewMouseLeftButtonDown="Button_PreviewMouseLeftButtonDown" |
| | | PreviewMouseLeftButtonUp="Button_PreviewMouseLeftButtonUp"/> |
| | | <UniformGrid Grid.Row="5" Columns="3"> |
| | | <Button Style="{StaticResource PrimaryButton}" |
| | | Content="{DynamicResource svo.JOG+}" |
| | | Tag="JoGadd" Click="Servo_Click"/> |
| | | Tag="JoGadd" |
| | | PreviewMouseLeftButtonDown="Button_PreviewMouseLeftButtonDown" |
| | | PreviewMouseLeftButtonUp="Button_PreviewMouseLeftButtonUp"/> |
| | | <Label Style="{StaticResource LabelText}" MinWidth="90" |
| | | Margin="10,0,10,0" |
| | | BorderThickness="1" MouseLeftButtonUp="Label_MouseLeftButtonUp" Tag="JogVelocity" Content="{Binding JogVelocity}"/> |
| | | <Button Style="{StaticResource PrimaryButton}" |
| | | Content="{DynamicResource svo.JOG-}" |
| | | Tag="JOGsub" Click="Servo_Click"/> |
| | | Tag="JOGsub" |
| | | PreviewMouseLeftButtonDown="Button_PreviewMouseLeftButtonDown" |
| | | PreviewMouseLeftButtonUp="Button_PreviewMouseLeftButtonUp"/> |
| | | </UniformGrid> |
| | | </Grid> |
| | | </GroupBox> |
| | |
| | | Grid.ColumnSpan="2" |
| | | Style="{StaticResource PrimaryButton}" |
| | | Tag="AbsExecute" |
| | | Click="Servo_Click" |
| | | PreviewMouseLeftButtonDown="Button_PreviewMouseLeftButtonDown" |
| | | PreviewMouseLeftButtonUp="Button_PreviewMouseLeftButtonUp" |
| | | Content="{DynamicResource svo.absExecute}"/> |
| | | </Grid> |
| | | </GroupBox> |
| | |
| | | <Button DockPanel.Dock="Left" |
| | | Margin="0,0,10,0" |
| | | Style="{StaticResource PrimaryButton}" |
| | | Tag="Inch" Click="Servo_Click" |
| | | Tag="Inch" |
| | | PreviewMouseLeftButtonDown="Button_PreviewMouseLeftButtonDown" |
| | | PreviewMouseLeftButtonUp="Button_PreviewMouseLeftButtonUp" |
| | | Content="{DynamicResource svo.inching}"/> |
| | | <Button DockPanel.Dock="Right" |
| | | Tag="Dir" Click="Servo_Click"> |