wanghan 7 miesięcy temu
rodzic
commit
439e933389
1 zmienionych plików z 63 dodań i 0 usunięć
  1. 63 0
      TeamAAS-VM/Views/Product/PlcPointParams.xaml

+ 63 - 0
TeamAAS-VM/Views/Product/PlcPointParams.xaml

@@ -526,6 +526,7 @@
                                                 <Grid.RowDefinitions>
                                                     <RowDefinition Height="Auto" />
                                                     <RowDefinition Height="Auto" />
+                                                    <RowDefinition Height="Auto" />
                                                 </Grid.RowDefinitions>
                                                 <!--拍照1-->
                                                 <TextBlock Grid.Row="0"
@@ -662,6 +663,68 @@
                                                         materialDesign:ButtonAssist.CornerRadius="5"
                                                         Command="{Binding AutoCorrectLockPointCommand}" />
 
+                                                <StackPanel Orientation="Horizontal"
+                                                            HorizontalAlignment="Left"
+                                                            Grid.Row="2"
+                                                            Grid.ColumnSpan="9">
+                                                    <TextBlock Text="{lex:Loc 批量设置所有锁付点的各轴速度}"
+                                                               VerticalAlignment="Center" />
+                                                    <TextBlock Text="{lex:Loc X轴速度}"
+                                                               Margin="5,0,0,0"
+                                                               VerticalAlignment="Center" />
+                                                    <mah:NumericUpDown Value="{Binding LockXSpeed, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
+                                                                       Minimum="0"
+                                                                       Maximum="20000"
+                                                                       Interval="1"
+                                                                       StringFormat="F1"
+                                                                       MinWidth="60"
+                                                                       HorizontalAlignment="Stretch"
+                                                                       VerticalAlignment="Center"
+                                                                       Margin="0"
+                                                                       Padding="2" />
+                                                    <TextBlock Margin="0"
+                                                               VerticalAlignment="Center"
+                                                               Text="mm/s" />
+                                                    <TextBlock Text="{lex:Loc Y轴速度}"
+                                                               Margin="5,0,0,0"
+                                                               VerticalAlignment="Center" />
+                                                    <mah:NumericUpDown Value="{Binding LockYSpeed, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
+                                                                       Minimum="0"
+                                                                       Maximum="20000"
+                                                                       Interval="1"
+                                                                       StringFormat="F1"
+                                                                       MinWidth="60"
+                                                                       HorizontalAlignment="Stretch"
+                                                                       VerticalAlignment="Center"
+                                                                       Margin="0"
+                                                                       Padding="2" />
+                                                    <TextBlock Margin="0"
+                                                               VerticalAlignment="Center"
+                                                               Text="mm/s" />
+                                                    <TextBlock Text="{lex:Loc Z轴速度}"
+                                                               Margin="5,0,0,0"
+                                                               VerticalAlignment="Center" />
+                                                    <mah:NumericUpDown Value="{Binding LockZSpeed, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
+                                                                       Minimum="0"
+                                                                       Maximum="20000"
+                                                                       Interval="1"
+                                                                       StringFormat="F1"
+                                                                       MinWidth="60"
+                                                                       HorizontalAlignment="Stretch"
+                                                                       VerticalAlignment="Center"
+                                                                       Margin="0"
+                                                                       Padding="2" />
+                                                    <TextBlock Margin="0"
+                                                               VerticalAlignment="Center"
+                                                               Text="mm/s" />
+                                                    <!--应用按钮-->
+                                                    <Button Content="{lex:Loc 应用}"
+                                                            Margin="10,0,0,0"
+                                                            MinWidth="60"
+                                                            HorizontalAlignment="Left"
+                                                            materialDesign:ButtonAssist.CornerRadius="5"
+                                                            Command="{Binding ApplyLockPointSpeedCommand}" />
+                                                </StackPanel>
                                             </Grid>
                                         </StackPanel>
                                     </ScrollViewer>