|
|
@@ -7,6 +7,7 @@
|
|
|
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
|
|
|
xmlns:local="clr-namespace:OHV.Module.Interactivity.PopUp"
|
|
|
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
|
|
+ xmlns:OHVCommonShareds="clr-namespace:OHV.Common.Shareds;assembly=OHV.Common"
|
|
|
prism:ViewModelLocator.AutoWireViewModel="True"
|
|
|
mc:Ignorable="d"
|
|
|
Width="800"
|
|
|
@@ -67,7 +68,7 @@
|
|
|
<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">
|
|
|
+ ToolTip="MaterialDesignRaisedButton with Round Corners" >
|
|
|
<StackPanel>
|
|
|
<TextBlock HorizontalAlignment="Center"><Run Text="Axis"/></TextBlock>
|
|
|
<TextBlock HorizontalAlignment="Center"><Run Text="Select"/></TextBlock>
|
|
|
@@ -112,7 +113,7 @@
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
ToolTip="MaterialDesignRaisedButton with Round Corners"
|
|
|
- Command="{Binding SelectAxisCommand}">
|
|
|
+ Command="{Binding SelectAxisCommand}" CommandParameter="{x:Static OHVCommonShareds:ConstString.AXIS_CARRIER_LOCK_LEFT}">
|
|
|
<TextBlock><Run Text="#Motor1"/></TextBlock>
|
|
|
</Button>
|
|
|
|
|
|
@@ -145,7 +146,7 @@
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
ToolTip="MaterialDesignRaisedButton with Round Corners"
|
|
|
- Command="{Binding SelectAxisCommand}">
|
|
|
+ Command="{Binding SelectAxisCommand}" CommandParameter="{x:Static OHVCommonShareds:ConstString.AXIS_CARRIER_LOCK_RIGHT}">
|
|
|
<TextBlock><Run Text="#Motor2"/></TextBlock>
|
|
|
</Button>
|
|
|
|
|
|
@@ -248,22 +249,22 @@
|
|
|
</StackPanel>
|
|
|
|
|
|
<StackPanel Margin="30,0,0,50" Orientation="Horizontal" VerticalAlignment="Bottom" HorizontalAlignment="Left">
|
|
|
- <Button
|
|
|
+ <RepeatButton
|
|
|
Margin="5"
|
|
|
Grid.Row="2"
|
|
|
Grid.Column="1"
|
|
|
HorizontalAlignment="Stretch"
|
|
|
- Height="auto">
|
|
|
+ Height="auto" Command="{Binding JogCommand}" CommandParameter="-">
|
|
|
<StackPanel>
|
|
|
<materialDesign:PackIcon Kind="ArrowLeftBoldCircleOutline" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="30" Width="auto"/>
|
|
|
<TextBlock><Run Text="Jog(-)"/></TextBlock>
|
|
|
</StackPanel>
|
|
|
- <i:Interaction.Triggers>
|
|
|
+ <!--<i:Interaction.Triggers>
|
|
|
<i:EventTrigger EventName="PreviewMouseDown">
|
|
|
<i:InvokeCommandAction Command="{Binding JogCommand}" CommandParameter="-"/>
|
|
|
</i:EventTrigger>
|
|
|
- </i:Interaction.Triggers>
|
|
|
- </Button>
|
|
|
+ </i:Interaction.Triggers>-->
|
|
|
+ </RepeatButton>
|
|
|
|
|
|
<materialDesign:Badged
|
|
|
Grid.Row="2"
|
|
|
@@ -281,23 +282,22 @@
|
|
|
</Button>
|
|
|
</materialDesign:Badged>
|
|
|
|
|
|
- <Button
|
|
|
+ <RepeatButton
|
|
|
Margin="5"
|
|
|
Grid.Row="2"
|
|
|
Grid.Column="3"
|
|
|
HorizontalAlignment="Stretch"
|
|
|
- Height="auto">
|
|
|
+ Height="auto" Command="{Binding JogCommand}" CommandParameter="+">
|
|
|
<StackPanel>
|
|
|
<materialDesign:PackIcon Kind="ArrowRightBoldCircleOutline" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="30" Width="auto"/>
|
|
|
<TextBlock><Run Text="Jog(+)"/></TextBlock>
|
|
|
</StackPanel>
|
|
|
- <i:Interaction.Triggers>
|
|
|
+ <!--<i:Interaction.Triggers>
|
|
|
<i:EventTrigger EventName="PreviewMouseDown">
|
|
|
<i:InvokeCommandAction Command="{Binding JogCommand}" CommandParameter="+"/>
|
|
|
</i:EventTrigger>
|
|
|
- </i:Interaction.Triggers>
|
|
|
-
|
|
|
- </Button>
|
|
|
+ </i:Interaction.Triggers>-->
|
|
|
+ </RepeatButton>
|
|
|
</StackPanel>
|
|
|
</Grid>
|
|
|
</Grid>
|