|
@@ -1798,6 +1798,176 @@
|
|
|
</Grid>
|
|
</Grid>
|
|
|
</TabItem>
|
|
</TabItem>
|
|
|
|
|
|
|
|
|
|
+ <!--系统参数-->
|
|
|
|
|
+ <TabItem>
|
|
|
|
|
+ <TabItem.Header>
|
|
|
|
|
+ <StackPanel HorizontalAlignment="Stretch">
|
|
|
|
|
+ <materialDesign:PackIcon Width="24"
|
|
|
|
|
+ Height="24"
|
|
|
|
|
+ HorizontalAlignment="Center"
|
|
|
|
|
+ Kind="CellphoneSystemUpdate" />
|
|
|
|
|
+ <TextBlock Style="{StaticResource TabHeaderTextBlockStyle}"
|
|
|
|
|
+ FontSize="{DynamicResource Font.Size.Body2}"
|
|
|
|
|
+ Text="{lex:Loc 系统参数}"
|
|
|
|
|
+ HorizontalAlignment="Stretch" />
|
|
|
|
|
+ </StackPanel>
|
|
|
|
|
+ </TabItem.Header>
|
|
|
|
|
+ <StackPanel Orientation="Vertical"
|
|
|
|
|
+ Margin="20">
|
|
|
|
|
+ <Grid>
|
|
|
|
|
+ <Grid.ColumnDefinitions>
|
|
|
|
|
+ <ColumnDefinition Width="auto" />
|
|
|
|
|
+ <ColumnDefinition Width="200" />
|
|
|
|
|
+ <ColumnDefinition Width="*" />
|
|
|
|
|
+ </Grid.ColumnDefinitions>
|
|
|
|
|
+ <Grid.RowDefinitions>
|
|
|
|
|
+ <RowDefinition Height="Auto" />
|
|
|
|
|
+ <RowDefinition Height="Auto" />
|
|
|
|
|
+ <RowDefinition Height="Auto" />
|
|
|
|
|
+ <RowDefinition Height="Auto" />
|
|
|
|
|
+ <RowDefinition Height="Auto" />
|
|
|
|
|
+ <RowDefinition Height="Auto" />
|
|
|
|
|
+ <RowDefinition Height="Auto" />
|
|
|
|
|
+ <RowDefinition Height="40" />
|
|
|
|
|
+ </Grid.RowDefinitions>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 相机拍照次数 -->
|
|
|
|
|
+ <TextBlock Grid.Row="0"
|
|
|
|
|
+ Grid.Column="0"
|
|
|
|
|
+ Style="{StaticResource MaterialDesignSubtitle1TextBlock}"
|
|
|
|
|
+ VerticalAlignment="Center"
|
|
|
|
|
+ HorizontalAlignment="Right"
|
|
|
|
|
+ Margin="0,6,10,6"
|
|
|
|
|
+ Text="相机拍照次数:" />
|
|
|
|
|
+ <mah:NumericUpDown Grid.Row="0"
|
|
|
|
|
+ Grid.Column="1"
|
|
|
|
|
+ Margin="0,6"
|
|
|
|
|
+ Value="{Binding CameraShotCount,Mode=TwoWay}"
|
|
|
|
|
+ Minimum="0"
|
|
|
|
|
+ Maximum="100"
|
|
|
|
|
+ FontSize="{DynamicResource Font.Size.Body3}" />
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 上相机取料拍照次数 -->
|
|
|
|
|
+ <TextBlock Grid.Row="1"
|
|
|
|
|
+ Grid.Column="0"
|
|
|
|
|
+ Style="{StaticResource MaterialDesignSubtitle1TextBlock}"
|
|
|
|
|
+ VerticalAlignment="Center"
|
|
|
|
|
+ HorizontalAlignment="Right"
|
|
|
|
|
+ Margin="0,6,10,6"
|
|
|
|
|
+ Text="上相机取料拍照次数:" />
|
|
|
|
|
+ <mah:NumericUpDown Grid.Row="1"
|
|
|
|
|
+ Grid.Column="1"
|
|
|
|
|
+ Margin="0,6"
|
|
|
|
|
+ Value="{Binding UpperCameraPickShotCount,Mode=TwoWay}"
|
|
|
|
|
+ Minimum="0"
|
|
|
|
|
+ Maximum="100"
|
|
|
|
|
+ FontSize="{DynamicResource Font.Size.Body3}" />
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 上相机放料拍照次数 -->
|
|
|
|
|
+ <TextBlock Grid.Row="2"
|
|
|
|
|
+ Grid.Column="0"
|
|
|
|
|
+ Style="{StaticResource MaterialDesignSubtitle1TextBlock}"
|
|
|
|
|
+ VerticalAlignment="Center"
|
|
|
|
|
+ HorizontalAlignment="Right"
|
|
|
|
|
+ Margin="0,6,10,6"
|
|
|
|
|
+ Text="上相机放料拍照次数:" />
|
|
|
|
|
+ <mah:NumericUpDown Grid.Row="2"
|
|
|
|
|
+ Grid.Column="1"
|
|
|
|
|
+ Margin="0,6"
|
|
|
|
|
+ Value="{Binding UpperCameraPlaceShotCount,Mode=TwoWay}"
|
|
|
|
|
+ Minimum="0"
|
|
|
|
|
+ Maximum="100"
|
|
|
|
|
+ FontSize="{DynamicResource Font.Size.Body3}" />
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 上相机锁附/组装次数 -->
|
|
|
|
|
+ <TextBlock Grid.Row="3"
|
|
|
|
|
+ Grid.Column="0"
|
|
|
|
|
+ Style="{StaticResource MaterialDesignSubtitle1TextBlock}"
|
|
|
|
|
+ VerticalAlignment="Center"
|
|
|
|
|
+ HorizontalAlignment="Right"
|
|
|
|
|
+ Margin="0,6,10,6"
|
|
|
|
|
+ Text="上相机锁附/组装次数:" />
|
|
|
|
|
+ <mah:NumericUpDown Grid.Row="3"
|
|
|
|
|
+ Grid.Column="1"
|
|
|
|
|
+ Margin="0,6"
|
|
|
|
|
+ Value="{Binding UpperCameraLockAssembleCount,Mode=TwoWay}"
|
|
|
|
|
+ Minimum="0"
|
|
|
|
|
+ Maximum="100"
|
|
|
|
|
+ FontSize="{DynamicResource Font.Size.Body3}" />
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 取料固定位置拍产品相机数量 -->
|
|
|
|
|
+ <TextBlock Grid.Row="4"
|
|
|
|
|
+ Grid.Column="0"
|
|
|
|
|
+ Style="{StaticResource MaterialDesignSubtitle1TextBlock}"
|
|
|
|
|
+ VerticalAlignment="Center"
|
|
|
|
|
+ HorizontalAlignment="Right"
|
|
|
|
|
+ Margin="0,6,10,6"
|
|
|
|
|
+ Text="取料固定位置拍产品相机数量:" />
|
|
|
|
|
+ <mah:NumericUpDown Grid.Row="4"
|
|
|
|
|
+ Grid.Column="1"
|
|
|
|
|
+ Margin="0,6"
|
|
|
|
|
+ Value="{Binding FixedPickCameraCount,Mode=TwoWay}"
|
|
|
|
|
+ Minimum="0"
|
|
|
|
|
+ Maximum="10"
|
|
|
|
|
+ FontSize="{DynamicResource Font.Size.Body3}" />
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 锁附/组装固定位置拍产品相机数量 -->
|
|
|
|
|
+ <TextBlock Grid.Row="5"
|
|
|
|
|
+ Grid.Column="0"
|
|
|
|
|
+ Style="{StaticResource MaterialDesignSubtitle1TextBlock}"
|
|
|
|
|
+ VerticalAlignment="Center"
|
|
|
|
|
+ HorizontalAlignment="Right"
|
|
|
|
|
+ Margin="0,6,10,6"
|
|
|
|
|
+ Text="锁附/组装固定位置拍产品相机数量:" />
|
|
|
|
|
+ <mah:NumericUpDown Grid.Row="5"
|
|
|
|
|
+ Grid.Column="1"
|
|
|
|
|
+ Margin="0,6"
|
|
|
|
|
+ Value="{Binding FixedLockAssembleCameraCount,Mode=TwoWay}"
|
|
|
|
|
+ Minimum="0"
|
|
|
|
|
+ Maximum="10"
|
|
|
|
|
+ FontSize="{DynamicResource Font.Size.Body3}" />
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 固定相机检测锁附/组装次数 -->
|
|
|
|
|
+ <TextBlock Grid.Row="6"
|
|
|
|
|
+ Grid.Column="0"
|
|
|
|
|
+ Style="{StaticResource MaterialDesignSubtitle1TextBlock}"
|
|
|
|
|
+ VerticalAlignment="Center"
|
|
|
|
|
+ HorizontalAlignment="Right"
|
|
|
|
|
+ Margin="0,6,10,6"
|
|
|
|
|
+ Text="固定相机检测锁附/组装次数:" />
|
|
|
|
|
+ <mah:NumericUpDown Grid.Row="6"
|
|
|
|
|
+ Grid.Column="1"
|
|
|
|
|
+ Margin="0,6"
|
|
|
|
|
+ Value="{Binding FixedCameraDetectLockAssembleCount,Mode=TwoWay}"
|
|
|
|
|
+ Minimum="0"
|
|
|
|
|
+ Maximum="100"
|
|
|
|
|
+ FontSize="{DynamicResource Font.Size.Body3}" />
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 保存按钮 -->
|
|
|
|
|
+ <StackPanel Grid.Row="7"
|
|
|
|
|
+ Grid.ColumnSpan="3"
|
|
|
|
|
+ Orientation="Horizontal"
|
|
|
|
|
+ HorizontalAlignment="Right"
|
|
|
|
|
+ VerticalAlignment="Center"
|
|
|
|
|
+ Margin="0,10,0,0">
|
|
|
|
|
+ <Button Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
|
|
+ materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
|
|
+ MinWidth="120"
|
|
|
|
|
+ Command="{Binding SaveSystemParametersCommand}"
|
|
|
|
|
+ IsEnabled="{Binding IsAllowEdit}">
|
|
|
|
|
+ <StackPanel Orientation="Horizontal"
|
|
|
|
|
+ HorizontalAlignment="Center">
|
|
|
|
|
+ <materialDesign:PackIcon Kind="ContentSaveCheck"
|
|
|
|
|
+ Margin="0,0,6,0" />
|
|
|
|
|
+ <TextBlock VerticalAlignment="Center"
|
|
|
|
|
+ Text="保存系统参数" />
|
|
|
|
|
+ </StackPanel>
|
|
|
|
|
+ </Button>
|
|
|
|
|
+ </StackPanel>
|
|
|
|
|
+ </Grid>
|
|
|
|
|
+ </StackPanel>
|
|
|
|
|
+ </TabItem>
|
|
|
|
|
+
|
|
|
<!--生产排班-->
|
|
<!--生产排班-->
|
|
|
<TabItem>
|
|
<TabItem>
|
|
|
<TabItem.Header>
|
|
<TabItem.Header>
|