|
|
@@ -228,242 +228,237 @@
|
|
|
</StackPanel>
|
|
|
</TabItem.Header>
|
|
|
|
|
|
- <Grid Margin="16">
|
|
|
+ <Grid>
|
|
|
<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="Auto" />
|
|
|
- <RowDefinition Height="Auto" />
|
|
|
- <RowDefinition Height="Auto" />
|
|
|
- <RowDefinition Height="Auto" />
|
|
|
- <RowDefinition Height="Auto" />
|
|
|
- <RowDefinition Height="Auto" />
|
|
|
- <RowDefinition Height="Auto" />
|
|
|
- <RowDefinition Height="Auto" />
|
|
|
- <RowDefinition Height="Auto" />
|
|
|
- <RowDefinition Height="Auto" />
|
|
|
- <RowDefinition Height="Auto" />
|
|
|
- <RowDefinition Height="Auto" />
|
|
|
- <RowDefinition Height="Auto" />
|
|
|
- <RowDefinition Height="Auto" />
|
|
|
+ <RowDefinition Height="auto"/>
|
|
|
+ <RowDefinition Height="auto"/>
|
|
|
</Grid.RowDefinitions>
|
|
|
- <Grid.ColumnDefinitions>
|
|
|
- <ColumnDefinition Width="auto" />
|
|
|
- <ColumnDefinition Width="*" />
|
|
|
- </Grid.ColumnDefinitions>
|
|
|
+ <Grid Margin="16">
|
|
|
+ <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="Auto" />
|
|
|
+ </Grid.RowDefinitions>
|
|
|
+ <Grid.ColumnDefinitions>
|
|
|
+ <ColumnDefinition Width="auto" />
|
|
|
+ <ColumnDefinition Width="*" />
|
|
|
+ </Grid.ColumnDefinitions>
|
|
|
|
|
|
- <TextBlock Grid.Row="0"
|
|
|
- Grid.Column="0"
|
|
|
- Text="线别:"
|
|
|
- HorizontalAlignment="Right"
|
|
|
- VerticalAlignment="Center" />
|
|
|
- <TextBox Grid.Row="0"
|
|
|
- Grid.Column="1"
|
|
|
- Text="{Binding DeviceInfo.Line, Mode=TwoWay}"
|
|
|
- Margin="6" />
|
|
|
-
|
|
|
- <TextBlock Grid.Row="1"
|
|
|
- Grid.Column="0"
|
|
|
- Text="站别:"
|
|
|
- HorizontalAlignment="Right"
|
|
|
- VerticalAlignment="Center" />
|
|
|
- <TextBox Grid.Row="1"
|
|
|
- Grid.Column="1"
|
|
|
- Text="{Binding DeviceInfo.Station, Mode=TwoWay}"
|
|
|
- Margin="6" />
|
|
|
-
|
|
|
- <TextBlock Grid.Row="2"
|
|
|
- Grid.Column="0"
|
|
|
- Text="机台号:"
|
|
|
- HorizontalAlignment="Right"
|
|
|
- VerticalAlignment="Center" />
|
|
|
- <TextBox Grid.Row="2"
|
|
|
- Grid.Column="1"
|
|
|
- Text="{Binding DeviceInfo.FixtureId, Mode=TwoWay}"
|
|
|
- Margin="6" />
|
|
|
-
|
|
|
- <TextBlock Grid.Row="3"
|
|
|
- Grid.Column="0"
|
|
|
- Text="启用 MES:"
|
|
|
- HorizontalAlignment="Right"
|
|
|
- VerticalAlignment="Center" />
|
|
|
- <CheckBox Grid.Row="3"
|
|
|
- Grid.Column="1"
|
|
|
- IsChecked="{Binding DeviceInfo.EnableMES, Mode=TwoWay}"
|
|
|
- Margin="6" />
|
|
|
-
|
|
|
- <TextBlock Grid.Row="4"
|
|
|
- Grid.Column="0"
|
|
|
- Text="MES 过站 URL:"
|
|
|
- HorizontalAlignment="Right"
|
|
|
- VerticalAlignment="Center" />
|
|
|
- <TextBox Grid.Row="4"
|
|
|
- Grid.Column="1"
|
|
|
- Text="{Binding DeviceInfo.MesStationUrl, Mode=TwoWay}"
|
|
|
- Margin="6" />
|
|
|
-
|
|
|
- <TextBlock Grid.Row="5"
|
|
|
- Grid.Column="0"
|
|
|
- Text="MES 提交 URL:"
|
|
|
- HorizontalAlignment="Right"
|
|
|
- VerticalAlignment="Center" />
|
|
|
- <TextBox Grid.Row="5"
|
|
|
- Grid.Column="1"
|
|
|
- Text="{Binding DeviceInfo.MesSubmitUrl, Mode=TwoWay}"
|
|
|
- Margin="6" />
|
|
|
-
|
|
|
- <StackPanel Orientation="Horizontal"
|
|
|
- HorizontalAlignment="Right"
|
|
|
- Grid.Row="6"
|
|
|
- Grid.ColumnSpan="2"
|
|
|
- Margin="6">
|
|
|
- <Button Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
- Command="{Binding SaveDeviceInfoCommand}">保存</Button>
|
|
|
- </StackPanel>
|
|
|
|
|
|
- <TextBlock Grid.Row="7"
|
|
|
- Grid.Column="0"
|
|
|
- Text="PROCESS_NAME:"
|
|
|
- HorizontalAlignment="Right"
|
|
|
- VerticalAlignment="Center" />
|
|
|
- <TextBox Grid.Row="7"
|
|
|
- Grid.Column="1"
|
|
|
- Text="{Binding DeviceInfo.MesSubmitUrl, Mode=TwoWay}"
|
|
|
- Margin="6" />
|
|
|
-
|
|
|
- <TextBlock Grid.Row="8"
|
|
|
- Grid.Column="0"
|
|
|
- Text="CTQ_LSL(扭力下限):"
|
|
|
- HorizontalAlignment="Right"
|
|
|
- VerticalAlignment="Center" />
|
|
|
- <TextBox Grid.Row="8"
|
|
|
- Grid.Column="1"
|
|
|
- Text="{Binding DeviceInfo.MesSubmitUrl, Mode=TwoWay}"
|
|
|
- Margin="6" />
|
|
|
-
|
|
|
- <TextBlock Grid.Row="9"
|
|
|
- Grid.Column="0"
|
|
|
- Text="CTQ_USL(扭力上限)"
|
|
|
- HorizontalAlignment="Right"
|
|
|
- VerticalAlignment="Center" />
|
|
|
- <TextBox Grid.Row="9"
|
|
|
- Grid.Column="1"
|
|
|
- Text="{Binding DeviceInfo.MesSubmitUrl, Mode=TwoWay}"
|
|
|
- Margin="6" />
|
|
|
-
|
|
|
- <TextBlock Grid.Row="10"
|
|
|
- Grid.Column="0"
|
|
|
- Text="CTQ_LSL(压力下限):"
|
|
|
- HorizontalAlignment="Right"
|
|
|
- VerticalAlignment="Center" />
|
|
|
- <TextBox Grid.Row="10"
|
|
|
- Grid.Column="1"
|
|
|
- Text="{Binding DeviceInfo.MesSubmitUrl, Mode=TwoWay}"
|
|
|
- Margin="6" />
|
|
|
-
|
|
|
- <TextBlock Grid.Row="11"
|
|
|
- Grid.Column="0"
|
|
|
- Text="CTQ_USL(压力上限):"
|
|
|
- HorizontalAlignment="Right"
|
|
|
- VerticalAlignment="Center" />
|
|
|
- <TextBox Grid.Row="11"
|
|
|
- Grid.Column="1"
|
|
|
- Text="{Binding DeviceInfo.MesSubmitUrl, Mode=TwoWay}"
|
|
|
- Margin="6" />
|
|
|
-
|
|
|
- <TextBlock Grid.Row="12"
|
|
|
- Grid.Column="0"
|
|
|
- Text="SUPPLIER_NAME:"
|
|
|
- HorizontalAlignment="Right"
|
|
|
- VerticalAlignment="Center" />
|
|
|
- <TextBox Grid.Row="12"
|
|
|
- Grid.Column="1"
|
|
|
- Text="{Binding DeviceInfo.MesSubmitUrl, Mode=TwoWay}"
|
|
|
- Margin="6" />
|
|
|
-
|
|
|
- <TextBlock Grid.Row="13"
|
|
|
- Grid.Column="0"
|
|
|
- Text="COMMODITY_TYPE:"
|
|
|
- HorizontalAlignment="Right"
|
|
|
- VerticalAlignment="Center" />
|
|
|
- <TextBox Grid.Row="13"
|
|
|
- Grid.Column="1"
|
|
|
- Text="{Binding DeviceInfo.MesSubmitUrl, Mode=TwoWay}"
|
|
|
- Margin="6" />
|
|
|
-
|
|
|
- <TextBlock Grid.Row="14"
|
|
|
- Grid.Column="0"
|
|
|
- Text="REVISION:"
|
|
|
- HorizontalAlignment="Right"
|
|
|
- VerticalAlignment="Center" />
|
|
|
- <TextBox Grid.Row="14"
|
|
|
- Grid.Column="1"
|
|
|
- Text="{Binding DeviceInfo.MesSubmitUrl, Mode=TwoWay}"
|
|
|
- Margin="6" />
|
|
|
-
|
|
|
- <TextBlock Grid.Row="15"
|
|
|
- Grid.Column="0"
|
|
|
- Text="WO#:"
|
|
|
- HorizontalAlignment="Right"
|
|
|
- VerticalAlignment="Center" />
|
|
|
- <TextBox Grid.Row="15"
|
|
|
- Grid.Column="1"
|
|
|
- Text="{Binding DeviceInfo.MesSubmitUrl, Mode=TwoWay}"
|
|
|
- Margin="6" />
|
|
|
-
|
|
|
- <TextBlock Grid.Row="16"
|
|
|
- Grid.Column="0"
|
|
|
- Text="MFG_LOT#:"
|
|
|
- HorizontalAlignment="Right"
|
|
|
- VerticalAlignment="Center" />
|
|
|
- <TextBox Grid.Row="16"
|
|
|
- Grid.Column="1"
|
|
|
- Text="{Binding DeviceInfo.MesSubmitUrl, Mode=TwoWay}"
|
|
|
- Margin="6" />
|
|
|
-
|
|
|
- <TextBlock Grid.Row="17"
|
|
|
- Grid.Column="0"
|
|
|
- Text="MFG_ASSY_LINE:"
|
|
|
- HorizontalAlignment="Right"
|
|
|
- VerticalAlignment="Center" />
|
|
|
- <TextBox Grid.Row="17"
|
|
|
- Grid.Column="1"
|
|
|
- Text="{Binding DeviceInfo.MesSubmitUrl, Mode=TwoWay}"
|
|
|
- Margin="6" />
|
|
|
-
|
|
|
- <TextBlock Grid.Row="18"
|
|
|
- Grid.Column="0"
|
|
|
- Text="PROCESS_MACHINE_ID:"
|
|
|
- HorizontalAlignment="Right"
|
|
|
- VerticalAlignment="Center" />
|
|
|
- <TextBox Grid.Row="18"
|
|
|
- Grid.Column="1"
|
|
|
- Text="{Binding DeviceInfo.MesSubmitUrl, Mode=TwoWay}"
|
|
|
- Margin="6" />
|
|
|
-
|
|
|
- <TextBlock Grid.Row="19"
|
|
|
- Grid.Column="0"
|
|
|
- Text="CTQ_UNIT_OF_MEASURE:"
|
|
|
- HorizontalAlignment="Right"
|
|
|
- VerticalAlignment="Center" />
|
|
|
- <TextBox Grid.Row="19"
|
|
|
- Grid.Column="1"
|
|
|
- Text="{Binding DeviceInfo.MesSubmitUrl, Mode=TwoWay}"
|
|
|
- Margin="6" />
|
|
|
-
|
|
|
- <StackPanel Orientation="Horizontal"
|
|
|
- HorizontalAlignment="Right"
|
|
|
- Grid.Row="20"
|
|
|
- Grid.ColumnSpan="2"
|
|
|
- Margin="6">
|
|
|
- <Button Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
- Command="{Binding SaveDeviceInfoCommand}">保存</Button>
|
|
|
- </StackPanel>
|
|
|
+ <TextBlock Grid.Row="0"
|
|
|
+ Grid.Column="0"
|
|
|
+ Text="Url:"
|
|
|
+ HorizontalAlignment="Right"
|
|
|
+ VerticalAlignment="Center" />
|
|
|
+ <TextBox Grid.Row="0"
|
|
|
+ Grid.Column="1"
|
|
|
+ Text="{Binding DeviceInfo.MesUrl, Mode=TwoWay}"
|
|
|
+ Margin="6" />
|
|
|
+
|
|
|
+ <TextBlock Grid.Row="1"
|
|
|
+ Grid.Column="0"
|
|
|
+ Text="Line:"
|
|
|
+ HorizontalAlignment="Right"
|
|
|
+ VerticalAlignment="Center" />
|
|
|
+ <TextBox Grid.Row="1"
|
|
|
+ Grid.Column="1"
|
|
|
+ Text="{Binding DeviceInfo.Line, Mode=TwoWay}"
|
|
|
+ Margin="6" />
|
|
|
+
|
|
|
+ <TextBlock Grid.Row="2"
|
|
|
+ Grid.Column="0"
|
|
|
+ Text="Station:"
|
|
|
+ HorizontalAlignment="Right"
|
|
|
+ VerticalAlignment="Center" />
|
|
|
+ <TextBox Grid.Row="2"
|
|
|
+ Grid.Column="1"
|
|
|
+ Text="{Binding DeviceInfo.Station, Mode=TwoWay}"
|
|
|
+ Margin="6" />
|
|
|
+
|
|
|
+ <TextBlock Grid.Row="3"
|
|
|
+ Grid.Column="0"
|
|
|
+ Text="FixtureId:"
|
|
|
+ HorizontalAlignment="Right"
|
|
|
+ VerticalAlignment="Center" />
|
|
|
+ <TextBox Grid.Row="3"
|
|
|
+ Grid.Column="1"
|
|
|
+ Text="{Binding DeviceInfo.FixtureId, Mode=TwoWay}"
|
|
|
+ Margin="6" />
|
|
|
+
|
|
|
+ <TextBlock Grid.Row="4"
|
|
|
+ Grid.Column="0"
|
|
|
+ Text="f:"
|
|
|
+ HorizontalAlignment="Right"
|
|
|
+ VerticalAlignment="Center" />
|
|
|
+ <TextBox Grid.Row="4"
|
|
|
+ Grid.Column="1"
|
|
|
+ Text="{Binding DeviceInfo.F, Mode=TwoWay}"
|
|
|
+ Margin="6" />
|
|
|
+
|
|
|
+ <TextBlock Grid.Row="5"
|
|
|
+ Grid.Column="0"
|
|
|
+ Text="comp:"
|
|
|
+ HorizontalAlignment="Right"
|
|
|
+ VerticalAlignment="Center" />
|
|
|
+ <TextBox Grid.Row="5"
|
|
|
+ Grid.Column="1"
|
|
|
+ Text="{Binding DeviceInfo.comp, Mode=TwoWay}"
|
|
|
+ Margin="6" />
|
|
|
+
|
|
|
+ <TextBlock Grid.Row="6"
|
|
|
+ Grid.Column="0"
|
|
|
+ Text="启用 MES:"
|
|
|
+ HorizontalAlignment="Right"
|
|
|
+ VerticalAlignment="Center" />
|
|
|
+ <CheckBox Grid.Row="6"
|
|
|
+ Grid.Column="1"
|
|
|
+ IsChecked="{Binding DeviceInfo.EnableMES, Mode=TwoWay}"
|
|
|
+ Margin="6" />
|
|
|
+
|
|
|
+ <StackPanel Orientation="Horizontal"
|
|
|
+ HorizontalAlignment="Right"
|
|
|
+ Grid.Row="7"
|
|
|
+ Grid.ColumnSpan="2"
|
|
|
+ Margin="6">
|
|
|
+ <Button Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
+ Command="{Binding SaveDeviceInfoCommand}">保存</Button>
|
|
|
+ </StackPanel>
|
|
|
+ </Grid>
|
|
|
+
|
|
|
+ <!--<Grid Margin="16"
|
|
|
+Grid.Row="1">
|
|
|
+ <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="Auto" />
|
|
|
+ <RowDefinition Height="Auto" />
|
|
|
+ <RowDefinition Height="Auto" />
|
|
|
+ <RowDefinition Height="Auto" />
|
|
|
+ </Grid.RowDefinitions>
|
|
|
+ <Grid.ColumnDefinitions>
|
|
|
+ <ColumnDefinition Width="auto" />
|
|
|
+ <ColumnDefinition Width="*" />
|
|
|
+ </Grid.ColumnDefinitions>
|
|
|
+
|
|
|
+ <TextBlock Grid.Row="0"
|
|
|
+ Grid.Column="0"
|
|
|
+ Text="PROCESS_NAME:"
|
|
|
+ HorizontalAlignment="Right"
|
|
|
+ VerticalAlignment="Center" />
|
|
|
+ <TextBox Grid.Row="0"
|
|
|
+ Grid.Column="1"
|
|
|
+ Text="{Binding DataInfo.PROCESS_NAME, Mode=TwoWay}"
|
|
|
+ Margin="6" />
|
|
|
+
|
|
|
+ <TextBlock Grid.Row="1"
|
|
|
+ Grid.Column="0"
|
|
|
+ Text="CTQ_LSL(压力下限):"
|
|
|
+ HorizontalAlignment="Right"
|
|
|
+ VerticalAlignment="Center" />
|
|
|
+ <TextBox Grid.Row="1"
|
|
|
+ Grid.Column="1"
|
|
|
+ Text="{Binding DataInfo.CTQ_LSL_Pressure, Mode=TwoWay}"
|
|
|
+ Margin="6" />
|
|
|
+
|
|
|
+ <TextBlock Grid.Row="2"
|
|
|
+ Grid.Column="0"
|
|
|
+ Text="CTQ_USL(压力上限):"
|
|
|
+ HorizontalAlignment="Right"
|
|
|
+ VerticalAlignment="Center" />
|
|
|
+ <TextBox Grid.Row="2"
|
|
|
+ Grid.Column="1"
|
|
|
+ Text="{Binding DataInfo.CTQ_USL_Pressure, Mode=TwoWay}"
|
|
|
+ Margin="6" />
|
|
|
+
|
|
|
+ <TextBlock Grid.Row="3"
|
|
|
+ Grid.Column="0"
|
|
|
+ Text="SUPPLIER_NAME:"
|
|
|
+ HorizontalAlignment="Right"
|
|
|
+ VerticalAlignment="Center" />
|
|
|
+ <TextBox Grid.Row="3"
|
|
|
+ Grid.Column="1"
|
|
|
+ Text="{Binding DataInfo.SUPPLIER_NAME, Mode=TwoWay}"
|
|
|
+ Margin="6" />
|
|
|
+
|
|
|
+ <TextBlock Grid.Row="4"
|
|
|
+ Grid.Column="0"
|
|
|
+ Text="COMMODITY_TYPE:"
|
|
|
+ HorizontalAlignment="Right"
|
|
|
+ VerticalAlignment="Center" />
|
|
|
+ <TextBox Grid.Row="4"
|
|
|
+ Grid.Column="1"
|
|
|
+ Text="{Binding DataInfo.COMMODITY_TYPE, Mode=TwoWay}"
|
|
|
+ Margin="6" />
|
|
|
+
|
|
|
+ <TextBlock Grid.Row="5"
|
|
|
+ Grid.Column="0"
|
|
|
+ Text="REVISION:"
|
|
|
+ HorizontalAlignment="Right"
|
|
|
+ VerticalAlignment="Center" />
|
|
|
+ <TextBox Grid.Row="5"
|
|
|
+ Grid.Column="1"
|
|
|
+ Text="{Binding DataInfo.REVISION, Mode=TwoWay}"
|
|
|
+ Margin="6" />
|
|
|
+
|
|
|
+ <TextBlock Grid.Row="6"
|
|
|
+ Grid.Column="0"
|
|
|
+ Text="WO#:"
|
|
|
+ HorizontalAlignment="Right"
|
|
|
+ VerticalAlignment="Center" />
|
|
|
+ <TextBox Grid.Row="6"
|
|
|
+ Grid.Column="1"
|
|
|
+ Text="{Binding DataInfo.WO, Mode=TwoWay}"
|
|
|
+ Margin="6" />
|
|
|
+
|
|
|
+ <TextBlock Grid.Row="7"
|
|
|
+ Grid.Column="0"
|
|
|
+ Text="MFG_LOT#:"
|
|
|
+ HorizontalAlignment="Right"
|
|
|
+ VerticalAlignment="Center" />
|
|
|
+ <TextBox Grid.Row="7"
|
|
|
+ Grid.Column="1"
|
|
|
+ Text="{Binding DataInfo.MFG_LOT, Mode=TwoWay}"
|
|
|
+ Margin="6" />
|
|
|
+
|
|
|
+ <TextBlock Grid.Row="8"
|
|
|
+ Grid.Column="0"
|
|
|
+ Text="MFG_ASSY_LINE:"
|
|
|
+ HorizontalAlignment="Right"
|
|
|
+ VerticalAlignment="Center" />
|
|
|
+ <TextBox Grid.Row="8"
|
|
|
+ Grid.Column="1"
|
|
|
+ Text="{Binding DataInfo.MFG_ASSY_LINE, Mode=TwoWay}"
|
|
|
+ Margin="6" />
|
|
|
+
|
|
|
+ <TextBlock Grid.Row="9"
|
|
|
+ Grid.Column="0"
|
|
|
+ Text="PROCESS_MACHINE_ID:"
|
|
|
+ HorizontalAlignment="Right"
|
|
|
+ VerticalAlignment="Center" />
|
|
|
+ <TextBox Grid.Row="9"
|
|
|
+ Grid.Column="1"
|
|
|
+ Text="{Binding DataInfo.PROCESS_MACHINE_ID, Mode=TwoWay}"
|
|
|
+ Margin="6" />
|
|
|
+
|
|
|
+ <StackPanel Orientation="Horizontal"
|
|
|
+ HorizontalAlignment="Right"
|
|
|
+ Grid.Row="10"
|
|
|
+ Grid.ColumnSpan="2"
|
|
|
+ Margin="6">
|
|
|
+ <Button Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
+ Command="{Binding SaveDataInfoCommand}">保存</Button>
|
|
|
+ </StackPanel>
|
|
|
+ </Grid>-->
|
|
|
</Grid>
|
|
|
</TabItem>
|
|
|
|