|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<Schema Namespace="BBMPTModel.Store" Provider="System.Data.SqlClient" ProviderManifestToken="2008" Alias="Self" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns:customannotation="http://schemas.microsoft.com/ado/2013/11/edm/customannotation" xmlns="http://schemas.microsoft.com/ado/2009/11/edm/ssdl">
|
|
|
|
<EntityType Name="LogErr">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="ErrContent" Type="text" />
|
|
|
|
<Property Name="ErrSource" Type="varchar" MaxLength="200" />
|
|
|
|
<Property Name="ErrTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="LogSys">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="SysContent" Type="text" />
|
|
|
|
<Property Name="SysSource" Type="varchar" MaxLength="500" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="T_PaintInfo">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
|
<Property Name="PaintCode" Type="nvarchar(max)" />
|
|
|
|
<Property Name="PaintName" Type="nvarchar(max)" />
|
|
|
|
<Property Name="PaintModel" Type="nvarchar(max)" />
|
|
|
|
<Property Name="UnitCode" Type="nvarchar(max)" />
|
|
|
|
<Property Name="CarModelCode" Type="nvarchar(max)" />
|
|
|
|
<Property Name="IsUsing" Type="int" Nullable="false" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" Nullable="false" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="T_Sys_Buttons">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="BtnID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="BtnID" Type="uniqueidentifier" Nullable="false" />
|
|
|
|
<Property Name="BtnName" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="ItemPic" Type="varchar" MaxLength="300" />
|
|
|
|
<Property Name="PowerID" Type="uniqueidentifier" />
|
|
|
|
<Property Name="MenuID" Type="uniqueidentifier" />
|
|
|
|
<Property Name="MenuName" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="IsEnabled" Type="char" MaxLength="1" />
|
|
|
|
<Property Name="BtnCode" Type="varchar" MaxLength="50" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="T_Sys_Log">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
|
<Property Name="UserID" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="Op" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="TableName" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="Des" Type="nvarchar(max)" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="T_Sys_NavMenu">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="MenuID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="MenuID" Type="uniqueidentifier" Nullable="false" />
|
|
|
|
<Property Name="MenuName" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="URLStr" Type="varchar" MaxLength="500" />
|
|
|
|
<Property Name="ItemPic" Type="varchar" MaxLength="300" />
|
|
|
|
<Property Name="PowerID" Type="uniqueidentifier" />
|
|
|
|
<Property Name="ParentMenuID" Type="uniqueidentifier" />
|
|
|
|
<Property Name="IsEnabled" Type="char" MaxLength="1" />
|
|
|
|
<Property Name="OrderNum" Type="varchar" MaxLength="100" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="T_Sys_Power">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="PowerID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="PowerID" Type="uniqueidentifier" Nullable="false" />
|
|
|
|
<Property Name="PowerCode" Type="varchar" MaxLength="10" />
|
|
|
|
<Property Name="PowerName" Type="varchar" MaxLength="30" Nullable="false" />
|
|
|
|
<Property Name="OpName" Type="varchar" MaxLength="20" />
|
|
|
|
<Property Name="OpTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="T_Sys_Role">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="RoleID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="RoleID" Type="uniqueidentifier" Nullable="false" />
|
|
|
|
<Property Name="RoleName" Type="varchar" MaxLength="30" />
|
|
|
|
<Property Name="Description" Type="varchar" MaxLength="200" />
|
|
|
|
<Property Name="OpName" Type="varchar" MaxLength="20" />
|
|
|
|
<Property Name="OpTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.T_Sys_RoleLinkPower”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="T_Sys_RoleLinkPower">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="RoleID" />
|
|
|
|
<PropertyRef Name="PowerID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="RoleID" Type="uniqueidentifier" Nullable="false" />
|
|
|
|
<Property Name="PowerID" Type="uniqueidentifier" Nullable="false" />
|
|
|
|
<Property Name="OpTime" Type="datetime" />
|
|
|
|
<Property Name="OpName" Type="varchar" MaxLength="20" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="T_Sys_UserRole">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="UserID" />
|
|
|
|
<PropertyRef Name="RoleID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="UserID" Type="uniqueidentifier" Nullable="false" />
|
|
|
|
<Property Name="RoleID" Type="uniqueidentifier" Nullable="false" />
|
|
|
|
<Property Name="OpTime" Type="datetime" />
|
|
|
|
<Property Name="OpName" Type="varchar" MaxLength="20" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="T_Sys_Users">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="UserID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="UserID" Type="uniqueidentifier" Nullable="false" />
|
|
|
|
<Property Name="UserName" Type="varchar" MaxLength="20" Nullable="false" />
|
|
|
|
<Property Name="Password" Type="varchar" MaxLength="50" Nullable="false" />
|
|
|
|
<Property Name="IsEnabled" Type="char" MaxLength="1" Nullable="false" />
|
|
|
|
<Property Name="RealName" Type="nvarchar" MaxLength="20" />
|
|
|
|
<Property Name="Sex" Type="char" MaxLength="1" />
|
|
|
|
<Property Name="Tel" Type="nvarchar" MaxLength="20" />
|
|
|
|
<Property Name="LastLoginTime" Type="datetime" />
|
|
|
|
<Property Name="LastLoginIP" Type="varchar" MaxLength="20" />
|
|
|
|
<Property Name="DepartmentID" Type="uniqueidentifier" />
|
|
|
|
<Property Name="OpName" Type="nvarchar" MaxLength="20" />
|
|
|
|
<Property Name="OpTime" Type="datetime" />
|
|
|
|
<Property Name="Department" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="ErrTimes" Type="int" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="T_Sys_Users_NavMenu">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
|
<Property Name="UserID" Type="uniqueidentifier" />
|
|
|
|
<Property Name="MenuID" Type="uniqueidentifier" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="TA_DEPT">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="GUID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="GUID" Type="uniqueidentifier" Nullable="false" />
|
|
|
|
<Property Name="DeptCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="DeptName" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="CreateUser" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
<Property Name="UpdateUser" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="UpdateTime" Type="datetime" />
|
|
|
|
<Property Name="Remark" Type="nvarchar" MaxLength="500" />
|
|
|
|
<Property Name="UID" Type="int" />
|
|
|
|
<Property Name="Enable" Type="bit" />
|
|
|
|
<Property Name="Domain" Type="nvarchar" MaxLength="500" />
|
|
|
|
<Property Name="Site" Type="nvarchar" MaxLength="500" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_AddColorRecord">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="bigint" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
|
<Property Name="PaintCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="BucketCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
<Property Name="State" Type="int" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_AddColorRecord_History">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="bigint" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
|
<Property Name="PaintCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="BucketCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_AddPartInfo">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
|
<Property Name="PartName" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="BatchNo" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="Des1" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="Des2" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="Des3" Type="nvarchar" MaxLength="100" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Address_tx">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
|
<Property Name="Address" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="Des" Type="nvarchar" MaxLength="500" />
|
|
|
|
<Property Name="Location" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Flag" Type="int" />
|
|
|
|
<Property Name="RealValue" Type="nvarchar" MaxLength="50" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_Address_tx_bak”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_Address_tx_bak">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
|
<Property Name="Address" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="Des" Type="nvarchar" MaxLength="500" />
|
|
|
|
<Property Name="Location" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Flag" Type="int" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Alarm">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
|
<Property Name="Alarm" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Assembly_247">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="PartNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="PartName" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="BatchNo" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="Color" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="ColorNo" Type="nvarchar" MaxLength="20" />
|
|
|
|
<Property Name="PartType" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="TapeBatchNo" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="Validity" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="ValidityDate" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
<Property Name="PrintTime" Type="datetime" />
|
|
|
|
<Property Name="Des" Type="nvarchar" MaxLength="500" />
|
|
|
|
<Property Name="Flag" Type="int" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_Bad_Injection”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_Bad_Injection">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="OneBarCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="BarCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="BadPosition" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="BadReason" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
<Property Name="PlanID" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="StationID" Type="char" MaxLength="36" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_Bad_Injection_bak”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_Bad_Injection_bak">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="OneBarCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="BarCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="BadPosition" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="BadReason" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
<Property Name="PlanID" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="StationID" Type="char" MaxLength="36" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Bad_ZP">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="PlanID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="BadPosition" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="BadReason" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_BarCode_bak”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_BarCode_bak">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="StationID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="OneBarCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="BarCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="StockNo" Type="nvarchar" MaxLength="20" />
|
|
|
|
<Property Name="PartNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="PrintType" Type="int" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
<Property Name="PrintTime" Type="datetime" />
|
|
|
|
<Property Name="IsDel" Type="int" />
|
|
|
|
<Property Name="IsImport" Type="text" />
|
|
|
|
<Property Name="StationID2" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="PlanID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="BoxNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="IsBad" Type="int" />
|
|
|
|
<Property Name="ProductNature" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Des1" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="Des2" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="Des3" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="Des4" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="Des5" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="Weight" Type="decimal" Precision="18" Scale="2" />
|
|
|
|
<Property Name="BatchNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_BarCode_BMW">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
|
<Property Name="BarCode" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_BarCode1”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_BarCode1">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="StationID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="OneBarCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="BarCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="StockNo" Type="nvarchar" MaxLength="20" />
|
|
|
|
<Property Name="PartNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="PrintType" Type="int" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
<Property Name="PrintTime" Type="datetime" />
|
|
|
|
<Property Name="IsDel" Type="int" />
|
|
|
|
<Property Name="IsImport" Type="text" />
|
|
|
|
<Property Name="StationID2" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="PlanID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="BoxNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="IsBad" Type="int" />
|
|
|
|
<Property Name="ProductNature" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Des1" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="Des2" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="Des3" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="Des4" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="Des5" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="Weight" Type="decimal" Precision="18" Scale="2" />
|
|
|
|
<Property Name="BatchNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_BarCode2”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_BarCode2">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="StationID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="OneBarCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="BarCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="StockNo" Type="nvarchar" MaxLength="20" />
|
|
|
|
<Property Name="PartNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="PrintType" Type="int" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
<Property Name="PrintTime" Type="datetime" />
|
|
|
|
<Property Name="IsDel" Type="int" />
|
|
|
|
<Property Name="IsImport" Type="text" />
|
|
|
|
<Property Name="StationID2" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="PlanID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="BoxNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="IsBad" Type="int" />
|
|
|
|
<Property Name="ProductNature" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Des1" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="Des2" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="Des3" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="Des4" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="Des5" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="Weight" Type="decimal" Precision="18" Scale="2" />
|
|
|
|
<Property Name="BatchNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_BarCode3”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_BarCode3">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="StationID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="OneBarCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="BarCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="StockNo" Type="nvarchar" MaxLength="20" />
|
|
|
|
<Property Name="PartNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="PrintType" Type="int" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
<Property Name="PrintTime" Type="datetime" />
|
|
|
|
<Property Name="IsDel" Type="int" />
|
|
|
|
<Property Name="IsImport" Type="text" />
|
|
|
|
<Property Name="StationID2" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="PlanID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="BoxNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="IsBad" Type="int" />
|
|
|
|
<Property Name="ProductNature" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Des1" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="Des2" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="Des3" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="Des4" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="Des5" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="Weight" Type="decimal" Precision="18" Scale="2" />
|
|
|
|
<Property Name="BatchNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_BarCode4”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_BarCode4">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="StationID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="OneBarCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="BarCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="StockNo" Type="nvarchar" MaxLength="20" />
|
|
|
|
<Property Name="PartNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="PrintType" Type="int" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
<Property Name="PrintTime" Type="datetime" />
|
|
|
|
<Property Name="IsDel" Type="int" />
|
|
|
|
<Property Name="IsImport" Type="text" />
|
|
|
|
<Property Name="StationID2" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="PlanID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="BoxNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="IsBad" Type="int" />
|
|
|
|
<Property Name="ProductNature" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Des1" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="Des2" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="Des3" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="Des4" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="Des5" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="Weight" Type="decimal" Precision="18" Scale="2" />
|
|
|
|
<Property Name="BatchNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_BarCode5”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_BarCode5">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="StationID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="OneBarCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="BarCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="StockNo" Type="nvarchar" MaxLength="20" />
|
|
|
|
<Property Name="PartNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="PrintType" Type="int" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
<Property Name="PrintTime" Type="datetime" />
|
|
|
|
<Property Name="IsDel" Type="int" />
|
|
|
|
<Property Name="IsImport" Type="text" />
|
|
|
|
<Property Name="StationID2" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="PlanID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="BoxNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="IsBad" Type="int" />
|
|
|
|
<Property Name="ProductNature" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Des1" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="Des2" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="Des3" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="Des4" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="Des5" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="Weight" Type="decimal" Precision="18" Scale="2" />
|
|
|
|
<Property Name="BatchNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_BarCodeUnique”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_BarCodeUnique">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="OneBarCode" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="OneBarCode" Type="varchar" MaxLength="50" Nullable="false" />
|
|
|
|
<Property Name="AddTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_BillNo">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="numeric" Precision="18" Scale="0" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
|
<Property Name="type" Type="nvarchar" MaxLength="500" />
|
|
|
|
<Property Name="value" Type="int" />
|
|
|
|
<Property Name="ch" Type="int" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Bom">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="BomID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="BomID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="PartNo1" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="PartNo2" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="UserID" Type="char" MaxLength="36" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Box_247">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="BoxNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="PartNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="PartName" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="BatchNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="BoxCount" Type="int" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
<Property Name="PrintTime" Type="datetime" />
|
|
|
|
<Property Name="Des" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="Flag" Type="int" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Box_tx">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="Id" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="Id" Type="bigint" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
|
<Property Name="BoxNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_BucketInfo">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="BucketCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="BucketName" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="IsUsing" Type="int" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
<Property Name="UserID" Type="char" MaxLength="36" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_BucketInfo_bak”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_BucketInfo_bak">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="BucketCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="BucketName" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="IsUsing" Type="int" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
<Property Name="UserID" Type="char" MaxLength="36" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_CarType">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="varchar" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="CarTypeName" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="ManufacturerID" Type="varchar" MaxLength="36" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
<Property Name="UpdateTime" Type="datetime" />
|
|
|
|
<Property Name="IsShow" Type="int" />
|
|
|
|
<Property Name="UserID" Type="char" MaxLength="36" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_CarTypeColor">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="varchar" MaxLength="50" Nullable="false" />
|
|
|
|
<Property Name="CarTypeID" Type="varchar" MaxLength="50" Nullable="false" />
|
|
|
|
<Property Name="ColorID" Type="varchar" MaxLength="50" Nullable="false" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_ChainDown”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_ChainDown">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="bigint" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
|
<Property Name="barcode" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="carType" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="color" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="flag" Type="int" />
|
|
|
|
<Property Name="createTime" Type="datetime" />
|
|
|
|
<Property Name="boxNum" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="productName" Type="nvarchar" MaxLength="50" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_ChainDown_bak”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_ChainDown_bak">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="varchar" MaxLength="50" Nullable="false" />
|
|
|
|
<Property Name="barcode" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="carType" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="color" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="flag" Type="int" />
|
|
|
|
<Property Name="createTime" Type="datetime" />
|
|
|
|
<Property Name="boxNum" Type="varchar" MaxLength="50" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_ChainUp">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="bigint" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
|
<Property Name="barcode" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="carTypeID" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="carType" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="colorID" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="color" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="flag" Type="int" />
|
|
|
|
<Property Name="IsLast" Type="int" />
|
|
|
|
<Property Name="createTime" Type="datetime" />
|
|
|
|
<Property Name="productName" Type="nvarchar" MaxLength="200" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_ChainUp_bak”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_ChainUp_bak">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="varchar" MaxLength="50" Nullable="false" />
|
|
|
|
<Property Name="barcode" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="carTypeID" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="carType" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="colorID" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="color" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="flag" Type="int" />
|
|
|
|
<Property Name="IsLast" Type="int" />
|
|
|
|
<Property Name="createTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_ChainUpBarcode">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
|
<Property Name="Barcode" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="Barcode1" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="Barcode2" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="Seq" Type="varchar" MaxLength="4" />
|
|
|
|
<Property Name="Createtime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_CheckItem">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="DeviceID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="CheckContent" Type="nvarchar" MaxLength="500" />
|
|
|
|
<Property Name="CheckVersion" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Standard" Type="nvarchar" MaxLength="500" />
|
|
|
|
<Property Name="Way" Type="varchar" MaxLength="500" />
|
|
|
|
<Property Name="Cycle" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="UserID" Type="char" MaxLength="36" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Color">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="ColorCode" Type="nvarchar" MaxLength="20" />
|
|
|
|
<Property Name="ColorNo" Type="nvarchar" MaxLength="20" />
|
|
|
|
<Property Name="Des" Type="varchar(max)" />
|
|
|
|
<Property Name="Circle" Type="int" />
|
|
|
|
<Property Name="ColorQQCode" Type="nvarchar" MaxLength="20" />
|
|
|
|
<Property Name="ColorDQCode" Type="nvarchar" MaxLength="20" />
|
|
|
|
<Property Name="UserID" Type="char" MaxLength="36" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_Color_20200605”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_Color_20200605">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="ColorCode" Type="nvarchar" MaxLength="20" />
|
|
|
|
<Property Name="ColorNo" Type="nvarchar" MaxLength="20" />
|
|
|
|
<Property Name="Des" Type="text" />
|
|
|
|
<Property Name="Circle" Type="int" />
|
|
|
|
<Property Name="ColorQQCode" Type="nvarchar" MaxLength="20" />
|
|
|
|
<Property Name="ColorDQCode" Type="nvarchar" MaxLength="20" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_CommonlyInspection">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="VersionID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="InspectionContentID" Type="nvarchar" MaxLength="2000" Nullable="false" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" Nullable="false" />
|
|
|
|
<Property Name="CreateUserID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="UpdateTime" Type="datetime" />
|
|
|
|
<Property Name="UpdateUserID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="IsUseing" Type="int" Nullable="false" />
|
|
|
|
<Property Name="DisableTime" Type="datetime" />
|
|
|
|
<Property Name="DisableUserID" Type="char" MaxLength="36" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_CommonlyInspectionRecord">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="CommonlyInspectionID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="CheckResult" Type="varchar" MaxLength="200" />
|
|
|
|
<Property Name="CheckUser" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="CheckDate" Type="datetime" Nullable="false" />
|
|
|
|
<Property Name="ConfirmUser" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="ConfirmUserDate" Type="datetime" />
|
|
|
|
<Property Name="GroupLeaderConfirm" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="GroupLeaderConfirmDate" Type="datetime" />
|
|
|
|
<Property Name="DepartmentLeaderConfirm" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="DepartmentLeaderConfirmDate" Type="datetime" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" Nullable="false" />
|
|
|
|
<Property Name="CreateUserID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="UpdateTime" Type="datetime" />
|
|
|
|
<Property Name="UpdateUserID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="IsUseing" Type="int" Nullable="false" />
|
|
|
|
<Property Name="DisableTime" Type="datetime" />
|
|
|
|
<Property Name="DisableUserID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="CheckType" Type="char" MaxLength="1" />
|
|
|
|
<Property Name="ErrMes" Type="nvarchar" MaxLength="500" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_CommonlyInspectionVersion">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="DeviceID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="Version" Type="varchar" MaxLength="200" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" Nullable="false" />
|
|
|
|
<Property Name="CreateUserID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="UpdateTime" Type="datetime" />
|
|
|
|
<Property Name="UpdateUserID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="IsUseing" Type="int" Nullable="false" />
|
|
|
|
<Property Name="Operation" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="DisableTime" Type="datetime" />
|
|
|
|
<Property Name="DisableUserID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="Description" Type="varchar" MaxLength="200" />
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Config">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="varchar" MaxLength="50" Nullable="false" />
|
|
|
|
<Property Name="name" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="value" Type="varchar" MaxLength="100" />
|
|
|
|
<Property Name="des" Type="varchar" MaxLength="100" />
|
|
|
|
<Property Name="remark1" Type="varchar" MaxLength="100" />
|
|
|
|
<Property Name="remark2" Type="varchar" MaxLength="100" />
|
|
|
|
<Property Name="remark3" Type="varchar" MaxLength="100" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Cylinder">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="CylinderID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="CylinderID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="CylinderNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Des" Type="text" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_CylinderAndRaw">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="CylinderID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="DrumBarCode" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="BarCode" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="Time1" Type="datetime" />
|
|
|
|
<Property Name="Time2" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_CylinderAndRaw_20200930”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_CylinderAndRaw_20200930">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="CylinderID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="DrumBarCode" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="BarCode" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="Time1" Type="datetime" />
|
|
|
|
<Property Name="Time2" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Defect">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="varchar" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="LineID" Type="varchar" MaxLength="36" />
|
|
|
|
<Property Name="DefectName" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Des" Type="text" />
|
|
|
|
<Property Name="UserID" Type="varchar" MaxLength="36" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_Defect_0806”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_Defect_0806">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="varchar" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="LineID" Type="varchar" MaxLength="36" />
|
|
|
|
<Property Name="DefectName" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Des" Type="text" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_DelData_Log">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="TableName" Type="nvarchar" MaxLength="255" />
|
|
|
|
<Property Name="KeyId" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="UserID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Device">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="DeviceID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="DeviceID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="StationID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="DeviceNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="DeviceName" Type="nvarchar" MaxLength="500" />
|
|
|
|
<Property Name="FixNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Des" Type="text" />
|
|
|
|
<Property Name="DeviceModel" Type="nvarchar" MaxLength="500" />
|
|
|
|
<Property Name="UserID" Type="char" MaxLength="36" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_DeviceKeepItems">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="varchar" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="KeepItemsID" Type="varchar" MaxLength="36" />
|
|
|
|
<Property Name="DeviceID" Type="varchar" MaxLength="36" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
<Property Name="UpdateTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Factory">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="FactoryID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="FactoryID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="FactoryName" Type="nvarchar" MaxLength="500" />
|
|
|
|
<Property Name="Des" Type="text" />
|
|
|
|
<Property Name="UserID" Type="char" MaxLength="36" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_FinishProduct">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="FinishProductID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="FinishProductID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="FinishProductNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="FinishProductName" Type="nvarchar" MaxLength="500" />
|
|
|
|
<Property Name="Des" Type="nchar" MaxLength="10" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_ImgVideo">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="varchar" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="fileUrl" Type="varchar" MaxLength="2000" Nullable="false" />
|
|
|
|
<Property Name="fileName" Type="varchar" MaxLength="500" Nullable="false" />
|
|
|
|
<Property Name="fileType" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
<Property Name="UpdateTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Inhection_DownReason">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="Reason" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="Des" Type="text" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Injection_BoxRecord">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="BoxNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="BoxCount" Type="int" />
|
|
|
|
<Property Name="IsFlag" Type="int" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
<Property Name="BoxType" Type="int" />
|
|
|
|
<Property Name="StationNo" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="PartName" Type="nvarchar" MaxLength="64" />
|
|
|
|
<Property Name="StandardQty" Type="int" />
|
|
|
|
<Property Name="Mould" Type="int" />
|
|
|
|
<Property Name="IsPrint" Type="int" />
|
|
|
|
<Property Name="PrintTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Injection_DownRecord">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="StationID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="DownType" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="DownReason" Type="nvarchar" MaxLength="500" />
|
|
|
|
<Property Name="Des" Type="text" />
|
|
|
|
<Property Name="StartTime" Type="datetime" />
|
|
|
|
<Property Name="EndTime" Type="datetime" />
|
|
|
|
<Property Name="DownTime" Type="int" />
|
|
|
|
<Property Name="Remark1" Type="text" />
|
|
|
|
<Property Name="Remark2" Type="text" />
|
|
|
|
<Property Name="Remark3" Type="text" />
|
|
|
|
<Property Name="PlanID" Type="char" MaxLength="36" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Injection_DownTime">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="StationID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="StartTime" Type="datetime" />
|
|
|
|
<Property Name="EndTime" Type="datetime" />
|
|
|
|
<Property Name="InterVal" Type="int" />
|
|
|
|
<Property Name="DownTypeID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="Remark1" Type="text" />
|
|
|
|
<Property Name="Remark2" Type="text" />
|
|
|
|
<Property Name="Remark3" Type="text" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Injection_DownType">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="DownTypeName" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Remark" Type="text" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Injection_Record">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="workClass" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="StationID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="JK_Weight" Type="float" />
|
|
|
|
<Property Name="Waste_Weight" Type="float" />
|
|
|
|
<Property Name="RecordDate" Type="datetime" />
|
|
|
|
<Property Name="StockNo" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="PartNo" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="PlanID" Type="char" MaxLength="36" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_InjectionPlan">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="InjectionPlanID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="InjectionPlanID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="StationID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="BeginTime" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="StockNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="PartNo" Type="nvarchar" MaxLength="1000" />
|
|
|
|
<Property Name="PlanCount" Type="int" />
|
|
|
|
<Property Name="EndTime" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="PlanDate" Type="date" />
|
|
|
|
<Property Name="CompleteCount" Type="int" />
|
|
|
|
<Property Name="IsFinish" Type="int" />
|
|
|
|
<Property Name="FinishTime" Type="datetime" />
|
|
|
|
<Property Name="RealCycle" Type="decimal" Precision="12" Scale="0" />
|
|
|
|
<Property Name="workClass" Type="nvarchar" MaxLength="255" />
|
|
|
|
<Property Name="JK_Weight" Type="float" />
|
|
|
|
<Property Name="Waste_Weight" Type="float" />
|
|
|
|
<Property Name="ProductNature" Type="nvarchar" MaxLength="1000" />
|
|
|
|
<Property Name="UserID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="MarketCount" Type="int" />
|
|
|
|
<Property Name="BadCount" Type="int" />
|
|
|
|
<Property Name="Qty" Type="int" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_InjectionPlan_20200901">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="InjectionPlanID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="InjectionPlanID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="StationID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="BeginTime" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="StockNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="PartNo" Type="nvarchar" MaxLength="1000" />
|
|
|
|
<Property Name="PlanCount" Type="int" />
|
|
|
|
<Property Name="EndTime" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="PlanDate" Type="date" />
|
|
|
|
<Property Name="CompleteCount" Type="int" />
|
|
|
|
<Property Name="IsFinish" Type="int" />
|
|
|
|
<Property Name="FinishTime" Type="datetime" />
|
|
|
|
<Property Name="RealCycle" Type="decimal" Precision="12" Scale="0" />
|
|
|
|
<Property Name="workClass" Type="nvarchar" MaxLength="255" />
|
|
|
|
<Property Name="JK_Weight" Type="float" />
|
|
|
|
<Property Name="Waste_Weight" Type="float" />
|
|
|
|
<Property Name="ProductNature" Type="nvarchar" MaxLength="1000" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_InjectionPlan_IM11”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_InjectionPlan_IM11">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="InjectionPlanID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="InjectionPlanID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="StationID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="BeginTime" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="StockNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="PartNo" Type="nvarchar" MaxLength="1000" />
|
|
|
|
<Property Name="PlanCount" Type="int" />
|
|
|
|
<Property Name="EndTime" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="PlanDate" Type="date" />
|
|
|
|
<Property Name="CompleteCount" Type="int" />
|
|
|
|
<Property Name="IsFinish" Type="int" />
|
|
|
|
<Property Name="FinishTime" Type="datetime" />
|
|
|
|
<Property Name="RealCycle" Type="decimal" Precision="12" Scale="0" />
|
|
|
|
<Property Name="workClass" Type="nvarchar" MaxLength="255" />
|
|
|
|
<Property Name="JK_Weight" Type="float" />
|
|
|
|
<Property Name="Waste_Weight" Type="float" />
|
|
|
|
<Property Name="ProductNature" Type="nvarchar" MaxLength="1000" />
|
|
|
|
<Property Name="UserID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="MarketCount" Type="int" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_InjectPlanReport">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="varchar" MaxLength="50" Nullable="false" />
|
|
|
|
<Property Name="InjectionPlanID" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="ProductName" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="MaterialName" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="Drum" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="BatchNo" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="Time1" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Inspection_tx">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="bigint" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
|
<Property Name="BarCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="IsOK" Type="int" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
<Property Name="Station" Type="int" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_InspectResult">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="bigint" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
|
<Property Name="barcode" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="side" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="position" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="stationNo" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="workClass" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="inspectResult" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="damnPosition" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="defectID" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="reason" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="productInfo" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="productOption" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="createTime" Type="datetime" />
|
|
|
|
<Property Name="InspectTimes" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="remark1" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="remark2" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="remark3" Type="nvarchar" MaxLength="100" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_JbCylinderAndRaw">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
|
<Property Name="CylinderID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="DrumBarCode" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="BarCode" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="Time1" Type="datetime" />
|
|
|
|
<Property Name="Time2" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_JbStationAndCylinder”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_JbStationAndCylinder">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
|
<Property Name="StationID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="CylinderID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="Time1" Type="datetime" />
|
|
|
|
<Property Name="Time2" Type="datetime" />
|
|
|
|
<Property Name="StationNo" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="CylinderNo" Type="varchar" MaxLength="50" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_KeepItems">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="varchar" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="KeepLevelID" Type="varchar" MaxLength="36" />
|
|
|
|
<Property Name="Des" Type="varchar" MaxLength="500" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
<Property Name="UpdateTime" Type="datetime" />
|
|
|
|
<Property Name="KeepItems" Type="varchar" MaxLength="500" />
|
|
|
|
<Property Name="UserID" Type="varchar" MaxLength="36" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_KeepItemsVersion">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="VersionID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="KeepItemsID" Type="nvarchar" MaxLength="2000" Nullable="false" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" Nullable="false" />
|
|
|
|
<Property Name="CreateUserID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="UpdateTime" Type="datetime" />
|
|
|
|
<Property Name="UpdateUserID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="IsUseing" Type="int" Nullable="false" />
|
|
|
|
<Property Name="DisableTime" Type="datetime" />
|
|
|
|
<Property Name="DisableUserID" Type="char" MaxLength="36" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_KeepLevel">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="varchar" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="KeepLevel" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="Des" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
<Property Name="UpdateTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_KeepPlan">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="varchar" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="DeviceID" Type="varchar" MaxLength="36" />
|
|
|
|
<Property Name="KeepLevelID" Type="varchar" MaxLength="36" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
<Property Name="UpdateTime" Type="datetime" />
|
|
|
|
<Property Name="KeepDay" Type="datetime" />
|
|
|
|
<Property Name="Des" Type="varchar" MaxLength="500" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_KeepRecord">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="varchar" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="KeepPlanID" Type="varchar" MaxLength="36" />
|
|
|
|
<Property Name="KeepItemsVersionID" Type="varchar" MaxLength="36" />
|
|
|
|
<Property Name="Result" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="Des" Type="varchar" MaxLength="500" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
<Property Name="UpdateTime" Type="datetime" />
|
|
|
|
<Property Name="CheckUser" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="CheckDate" Type="datetime" Nullable="false" />
|
|
|
|
<Property Name="ConfirmUser" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="ConfirmUserDate" Type="datetime" />
|
|
|
|
<Property Name="GroupLeaderConfirm" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="GroupLeaderConfirmDate" Type="datetime" />
|
|
|
|
<Property Name="DepartmentLeaderConfirm" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="DepartmentLeaderConfirmDate" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_KeepVersion">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="DeviceID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="Version" Type="varchar" MaxLength="200" Nullable="false" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" Nullable="false" />
|
|
|
|
<Property Name="CreateUserID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="UpdateTime" Type="datetime" />
|
|
|
|
<Property Name="UpdateUserID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="IsUseing" Type="int" Nullable="false" />
|
|
|
|
<Property Name="Operation" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="DisableTime" Type="datetime" />
|
|
|
|
<Property Name="DisableUserID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="Description" Type="varchar" MaxLength="200" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_LayerAndBC">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="varchar" MaxLength="50" Nullable="false" />
|
|
|
|
<Property Name="layer" Type="int" />
|
|
|
|
<Property Name="floor" Type="nvarchar" MaxLength="10" />
|
|
|
|
<Property Name="side" Type="varchar" MaxLength="20" />
|
|
|
|
<Property Name="des" Type="varchar" MaxLength="300" />
|
|
|
|
<Property Name="ProductId" Type="char" MaxLength="36" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_LayerAndBC_bak”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_LayerAndBC_bak">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="varchar" MaxLength="50" Nullable="false" />
|
|
|
|
<Property Name="layer" Type="int" />
|
|
|
|
<Property Name="floor" Type="nvarchar" MaxLength="10" />
|
|
|
|
<Property Name="side" Type="varchar" MaxLength="20" />
|
|
|
|
<Property Name="des" Type="varchar" MaxLength="300" />
|
|
|
|
<Property Name="ProductId" Type="char" MaxLength="36" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Line">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="LineID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="LineID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="PlaceID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="LineName" Type="nvarchar" MaxLength="500" />
|
|
|
|
<Property Name="Des" Type="text" />
|
|
|
|
<Property Name="UserID" Type="char" MaxLength="36" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Machine">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="MachineID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="MachineID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="MachineNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Des" Type="text" />
|
|
|
|
<Property Name="UserID" Type="char" MaxLength="36" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Manufacturer">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="varchar" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="ManufacturerName" Type="varchar" MaxLength="500" />
|
|
|
|
<Property Name="Des" Type="varchar" MaxLength="500" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
<Property Name="UpdateTime" Type="datetime" />
|
|
|
|
<Property Name="UserID" Type="varchar" MaxLength="36" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Mistake_247">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="PartNo1" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="PartName1" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="PartNo2" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="PartName2" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="PackCount" Type="int" />
|
|
|
|
<Property Name="DeviceNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Model_Product">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="ModelID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="ProuctID" Type="char" MaxLength="36" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Model_Update">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="Purpose" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="State" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="Supplier" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="Remarks" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="AddTime" Type="datetime" />
|
|
|
|
<Property Name="ModelID" Type="char" MaxLength="36" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_ModelCount">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="ModelID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="StationID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="ModelPrintCount" Type="numeric" Precision="18" Scale="0" Nullable="false" />
|
|
|
|
<Property Name="PrintDate" Type="date" />
|
|
|
|
<Property Name="ModelSumCount" Type="numeric" Precision="18" Scale="0" Nullable="false" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_ModelInfo">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="ModelName" Type="varchar" MaxLength="255" Nullable="false" />
|
|
|
|
<Property Name="ModelNo" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="PermanentAssetsNo" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="Tonnage" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="ServiceLife" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="Supplier" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="PartWeight" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="InjectionPeriod" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="LocatingRingSize" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="OutForm" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="ModelWeight" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="RunnerForm" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="ModelCavityNo" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="ModelSize" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="UserID" Type="char" MaxLength="36" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Operator">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="OperatorID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="OperatorID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="StationID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="OperatorNo" Type="nvarchar" MaxLength="20" />
|
|
|
|
<Property Name="OperatorName" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="OperatorPsw" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Des" Type="text" />
|
|
|
|
<Property Name="UserID" Type="char" MaxLength="36" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Paint_Bucket">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="PaintID" />
|
|
|
|
<PropertyRef Name="BucketID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="PaintID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="BucketID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="UserID" Type="char" MaxLength="36" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_PaintBarCode">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="StationID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="ProductID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="OneBarCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="BarCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="StockNo" Type="nvarchar" MaxLength="20" />
|
|
|
|
<Property Name="ColorDes" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="workClass" Type="nvarchar" MaxLength="20" />
|
|
|
|
<Property Name="Side" Type="nvarchar" MaxLength="10" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
<Property Name="PrintTime" Type="datetime" />
|
|
|
|
<Property Name="ProductDate" Type="nvarchar" MaxLength="20" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_PaintBox">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="bigint" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
|
<Property Name="boxNum" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="partNo" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="PackCount" Type="int" />
|
|
|
|
<Property Name="flag" Type="int" />
|
|
|
|
<Property Name="createTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_PaintBox_bak”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_PaintBox_bak">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="varchar" MaxLength="50" Nullable="false" />
|
|
|
|
<Property Name="boxNum" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="partNo" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="PackCount" Type="int" />
|
|
|
|
<Property Name="flag" Type="int" />
|
|
|
|
<Property Name="createTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_PaintColorInfo">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="Color" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Paint_No" Type="nvarchar" MaxLength="500" />
|
|
|
|
<Property Name="StockNo" Type="varchar" MaxLength="200" />
|
|
|
|
<Property Name="UserID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="PaintID" Type="nvarchar" MaxLength="500" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_PaintColorInfo_20240226”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_PaintColorInfo_20240226">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="Color" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Paint_No" Type="nvarchar" MaxLength="500" />
|
|
|
|
<Property Name="StockNo" Type="varchar" MaxLength="200" />
|
|
|
|
<Property Name="UserID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="PaintID" Type="nvarchar" MaxLength="500" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_PaintColorInfo_bak”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_PaintColorInfo_bak">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="Color" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Paint_No" Type="nvarchar" MaxLength="500" />
|
|
|
|
<Property Name="StockNo" Type="varchar" MaxLength="200" />
|
|
|
|
<Property Name="UserID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="PaintID" Type="nvarchar" MaxLength="500" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_PaintInfo">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="PaintCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="PaintName" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="PaintModel" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="UnitCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="CarModelCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="IsUsing" Type="int" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
<Property Name="UserID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="IsPaint" Type="int" />
|
|
|
|
<Property Name="ColorName" Type="nvarchar" MaxLength="50" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_PartNoAndColor">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="varchar" MaxLength="50" Nullable="false" />
|
|
|
|
<Property Name="PartNo1" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="PartNo2" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="ColorID" Type="varchar" MaxLength="50" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_PartRecord">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="PartNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="TaskID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="CommandType" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="CreatTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Place">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="PlaceID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="PlaceID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="FactoryID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="PlaceName" Type="nvarchar" MaxLength="500" />
|
|
|
|
<Property Name="Des" Type="text" />
|
|
|
|
<Property Name="UserID" Type="char" MaxLength="36" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Plan_247">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="OrderNo" Type="nvarchar" MaxLength="20" />
|
|
|
|
<Property Name="Item" Type="int" />
|
|
|
|
<Property Name="PartNo" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="OrderCount" Type="int" />
|
|
|
|
<Property Name="LyCount" Type="int" />
|
|
|
|
<Property Name="CompleteCount" Type="int" />
|
|
|
|
<Property Name="RepairCount" Type="int" />
|
|
|
|
<Property Name="ScrapCount1" Type="int" />
|
|
|
|
<Property Name="ScrapCount2" Type="int" />
|
|
|
|
<Property Name="Des" Type="nvarchar" MaxLength="500" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
<Property Name="IsFinish" Type="int" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_PlanScreenConfig">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="varchar" MaxLength="50" Nullable="false" />
|
|
|
|
<Property Name="IP" Type="varchar" MaxLength="100" />
|
|
|
|
<Property Name="StationNo" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="Des" Type="varchar" MaxLength="100" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Plastic">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="StockNo" Type="nvarchar" MaxLength="20" Nullable="false" />
|
|
|
|
<Property Name="CycleTime" Type="int" />
|
|
|
|
<Property Name="StationID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="IsBackup" Type="int" />
|
|
|
|
<Property Name="Weight" Type="int" />
|
|
|
|
<Property Name="OpenDebugTime" Type="int" />
|
|
|
|
<Property Name="PrinterNo" Type="int" />
|
|
|
|
<Property Name="PartNo" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
|
|
<Property Name="UserID" Type="char" MaxLength="36" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_PLC_Break">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
|
<Property Name="Address" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="Des" Type="nvarchar" MaxLength="500" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_PLC_Mould">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
|
<Property Name="Address" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="Des" Type="nvarchar" MaxLength="500" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Product">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ProductID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ProductID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="ProductTypeID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="StockNo" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="PartName" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="ProductName" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="ColorName" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="PartNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Rows" Type="int" />
|
|
|
|
<Property Name="Cols" Type="int" />
|
|
|
|
<Property Name="Layers" Type="int" />
|
|
|
|
<Property Name="PicturePath" Type="nvarchar" MaxLength="500" />
|
|
|
|
<Property Name="Des" Type="nvarchar(max)" />
|
|
|
|
<Property Name="isImport" Type="int" />
|
|
|
|
<Property Name="PackCount" Type="int" />
|
|
|
|
<Property Name="OpenFailNum" Type="int" />
|
|
|
|
<Property Name="QLevel" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="IsPrintOneTag" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="IsPrintPackList" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="IsSupply" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="IsOneMore" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="BackPlatingNum" Type="int" />
|
|
|
|
<Property Name="IsPlating" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="CarTypeID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="IsSame" Type="int" />
|
|
|
|
<Property Name="UserID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="CustomerNo" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="CarModelCode" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="ColorCodeB" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="TemplateName" Type="nvarchar" MaxLength="255" />
|
|
|
|
<Property Name="IsHigh" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="ProgramNo" Type="int" />
|
|
|
|
<Property Name="Side" Type="int" />
|
|
|
|
<Property Name="IsSend" Type="int" />
|
|
|
|
<Property Name="PackCountSize" Type="varchar" MaxLength="100" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_Product_20200728”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_Product_20200728">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ProductID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ProductID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="ProductTypeID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="StockNo" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="PartName" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="ProductName" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="ColorName" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="PartNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Rows" Type="int" />
|
|
|
|
<Property Name="Cols" Type="int" />
|
|
|
|
<Property Name="Layers" Type="int" />
|
|
|
|
<Property Name="PicturePath" Type="nvarchar" MaxLength="500" />
|
|
|
|
<Property Name="Des" Type="text" />
|
|
|
|
<Property Name="isImport" Type="int" />
|
|
|
|
<Property Name="PackCount" Type="int" />
|
|
|
|
<Property Name="OpenFailNum" Type="int" />
|
|
|
|
<Property Name="QLevel" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="IsPrintOneTag" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="IsPrintPackList" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="IsSupply" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="IsOneMore" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="BackPlatingNum" Type="int" />
|
|
|
|
<Property Name="IsPlating" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="CarTypeID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="IsSame" Type="int" />
|
|
|
|
<Property Name="UserID" Type="char" MaxLength="36" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_Product_20201105”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_Product_20201105">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ProductID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ProductID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="ProductTypeID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="StockNo" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="PartName" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="ProductName" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="ColorName" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="PartNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Rows" Type="int" />
|
|
|
|
<Property Name="Cols" Type="int" />
|
|
|
|
<Property Name="Layers" Type="int" />
|
|
|
|
<Property Name="PicturePath" Type="nvarchar" MaxLength="500" />
|
|
|
|
<Property Name="Des" Type="nvarchar(max)" />
|
|
|
|
<Property Name="isImport" Type="int" />
|
|
|
|
<Property Name="PackCount" Type="int" />
|
|
|
|
<Property Name="OpenFailNum" Type="int" />
|
|
|
|
<Property Name="QLevel" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="IsPrintOneTag" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="IsPrintPackList" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="IsSupply" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="IsOneMore" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="BackPlatingNum" Type="int" />
|
|
|
|
<Property Name="IsPlating" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="CarTypeID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="IsSame" Type="int" />
|
|
|
|
<Property Name="UserID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="CustomerNo" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="CarModelCode" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="ColorCodeB" Type="varchar" MaxLength="50" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_Product_bak”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_Product_bak">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ProductID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ProductID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="ProductTypeID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="StockNo" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="PartName" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="ProductName" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="ColorName" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="PartNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Rows" Type="int" />
|
|
|
|
<Property Name="Cols" Type="int" />
|
|
|
|
<Property Name="Layers" Type="int" />
|
|
|
|
<Property Name="PicturePath" Type="nvarchar" MaxLength="500" />
|
|
|
|
<Property Name="Des" Type="nvarchar(max)" />
|
|
|
|
<Property Name="isImport" Type="int" />
|
|
|
|
<Property Name="PackCount" Type="int" />
|
|
|
|
<Property Name="OpenFailNum" Type="int" />
|
|
|
|
<Property Name="QLevel" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="IsPrintOneTag" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="IsPrintPackList" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="IsSupply" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="IsOneMore" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="BackPlatingNum" Type="int" />
|
|
|
|
<Property Name="IsPlating" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="CarTypeID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="IsSame" Type="int" />
|
|
|
|
<Property Name="UserID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="CustomerNo" Type="varchar" MaxLength="255" />
|
|
|
|
<Property Name="CarModelCode" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="ColorCodeB" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="TemplateName" Type="nvarchar" MaxLength="255" />
|
|
|
|
<Property Name="IsHigh" Type="varchar" MaxLength="255" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Product_Color">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="ProductID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="ColorID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="UserID" Type="char" MaxLength="36" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Product_Injection">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="PlanID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="StationID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="ProductDate" Type="nvarchar" MaxLength="20" />
|
|
|
|
<Property Name="ClassName" Type="nvarchar" MaxLength="20" />
|
|
|
|
<Property Name="StockNo" Type="nvarchar" MaxLength="20" />
|
|
|
|
<Property Name="PartNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="ProductCount" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="BadCount" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="MarketCount" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Product_Injection_w">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="RealCycle" Type="decimal" Precision="12" Scale="0" />
|
|
|
|
<Property Name="Waste_Weight" Type="float" />
|
|
|
|
<Property Name="JK_Weight" Type="float" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_ProductSotckIn">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="BarCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="ProductName" Type="nvarchar" MaxLength="500" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_ProductType">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ProductTypeID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ProductTypeID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="ProductTypeNo" Type="nvarchar" MaxLength="10" />
|
|
|
|
<Property Name="ProductTypeName" Type="nvarchar" MaxLength="500" />
|
|
|
|
<Property Name="Des" Type="text" />
|
|
|
|
<Property Name="UserID" Type="char" MaxLength="36" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Record_247">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="PartNo1" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="PartNo2" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="BoxNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="OrderNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="CreateTime1" Type="datetime" />
|
|
|
|
<Property Name="CreateTime2" Type="datetime" />
|
|
|
|
<Property Name="Flag" Type="int" />
|
|
|
|
<Property Name="Type" Type="int" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Report_FiveScreen">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="varchar" MaxLength="50" Nullable="false" />
|
|
|
|
<Property Name="Name" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="LastYear" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="Jan" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="Feb" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="Mar" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="Apr" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="May" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="Jun" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="Jul" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="Aug" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="Sept" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="Oct" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="Nov" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="Dec" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="day1" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="day2" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="day3" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="day4" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="day5" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="day6" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="day7" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="day8" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="day9" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="day10" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="day11" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="day12" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="day13" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="day14" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="day15" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="day16" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="day17" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="day18" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="day19" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="day20" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="day21" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="day22" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="day23" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="day24" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="day25" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="day26" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="day27" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="day28" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="day29" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="day30" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="day31" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Report_FiveScreenConfig">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="varchar" MaxLength="50" Nullable="false" />
|
|
|
|
<Property Name="Name" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Min" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="Max" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="Scale" Type="int" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Report_FiveScreenLast">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="varchar" MaxLength="50" Nullable="false" />
|
|
|
|
<Property Name="StationID" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="StationNo" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="UseRate" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="PassRate" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Remark1" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_Report_FiveScreenStandard”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_Report_FiveScreenStandard">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="varchar" MaxLength="50" Nullable="false" />
|
|
|
|
<Property Name="Name" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="LastYear" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="Jan" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="Feb" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="Mar" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="Apr" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="May" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="Jun" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="Jul" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="Aug" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="Sept" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="Oct" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="Nov" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="Dec" Type="decimal" Precision="18" Scale="1" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_ReportPaintingScreen”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_ReportPaintingScreen">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="sumNum" />
|
|
|
|
<PropertyRef Name="oncePassNum" />
|
|
|
|
<PropertyRef Name="sumPassNum" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="color" Type="nvarchar" MaxLength="4000" />
|
|
|
|
<Property Name="productInfo" Type="nvarchar" MaxLength="4000" />
|
|
|
|
<Property Name="sumNum" Type="int" Nullable="false" />
|
|
|
|
<Property Name="oncePassNum" Type="int" Nullable="false" />
|
|
|
|
<Property Name="oncePassRate" Type="varchar" MaxLength="21" />
|
|
|
|
<Property Name="sumPassNum" Type="int" Nullable="false" />
|
|
|
|
<Property Name="sumPassRate" Type="varchar" MaxLength="21" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_ReportPaintingScreen_pg”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_ReportPaintingScreen_pg">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="sumNum" />
|
|
|
|
<PropertyRef Name="hgNum" />
|
|
|
|
<PropertyRef Name="defectRate1" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="color" Type="nvarchar" MaxLength="4000" />
|
|
|
|
<Property Name="productInfo" Type="nvarchar" MaxLength="4000" />
|
|
|
|
<Property Name="sumNum" Type="int" Nullable="false" />
|
|
|
|
<Property Name="hgNum" Type="int" Nullable="false" />
|
|
|
|
<Property Name="DefectName1" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="defectRate1" Type="decimal" Precision="10" Scale="2" Nullable="false" />
|
|
|
|
<Property Name="DefectName2" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="defectRate2" Type="decimal" Precision="10" Scale="2" />
|
|
|
|
<Property Name="DefectName3" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="defectRate3" Type="decimal" Precision="10" Scale="2" />
|
|
|
|
<Property Name="DefectName4" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="defectRate4" Type="decimal" Precision="10" Scale="2" />
|
|
|
|
<Property Name="DefectName5" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="defectRate5" Type="decimal" Precision="10" Scale="2" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_ScanRecord">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
|
<Property Name="BarCode" Type="nvarchar(max)" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
<Property Name="StationID" Type="char" MaxLength="36" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_ScanRecord_OpenDoor">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
|
<Property Name="BarCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="IsOk" Type="int" />
|
|
|
|
<Property Name="ScanTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_SkidInfo">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="varchar" MaxLength="50" Nullable="false" />
|
|
|
|
<Property Name="SkidNo" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="BarcodeLeft" Type="varchar" MaxLength="500" />
|
|
|
|
<Property Name="BarcodeRight" Type="varchar" MaxLength="500" />
|
|
|
|
<Property Name="Layer" Type="varchar" MaxLength="10" />
|
|
|
|
<Property Name="ColorInfo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
<Property Name="Side_1_BC01" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Side_1_BC02" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Side_1_BC03" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Side_1_BC04" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Side_1_BC05" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Side_1_BC06" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Side_1_BC07" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Side_1_BC08" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Side_1_BC09" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Side_1_BC10" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Side_1_BC11" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Side_1_BC12" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Side_2_BC01" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Side_2_BC02" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Side_2_BC03" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Side_2_BC04" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Side_2_BC05" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Side_2_BC06" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Side_2_BC07" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Side_2_BC08" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Side_2_BC09" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Side_2_BC10" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Side_2_BC11" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Side_2_BC12" Type="nvarchar" MaxLength="50" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Station">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="StationID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="StationID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="LineID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="StationNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Des" Type="text" />
|
|
|
|
<Property Name="UserID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="ChangeMould" Type="int" />
|
|
|
|
<Property Name="PrintTime" Type="datetime" />
|
|
|
|
<Property Name="Seconds" Type="int" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_StationAndCylinder">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="StationID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="CylinderID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="Time1" Type="datetime" />
|
|
|
|
<Property Name="Time2" Type="datetime" />
|
|
|
|
<Property Name="StationNo" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="CylinderNo" Type="varchar" MaxLength="50" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_StationAndCylinder_20200930”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_StationAndCylinder_20200930">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="StationID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="CylinderID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="Time1" Type="datetime" />
|
|
|
|
<Property Name="Time2" Type="datetime" />
|
|
|
|
<Property Name="StationNo" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="CylinderNo" Type="varchar" MaxLength="50" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_StationAndCylinder2">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="StationID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="CylinderID1" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="CylinderID2" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="Time1" Type="datetime" />
|
|
|
|
<Property Name="Time2" Type="datetime" />
|
|
|
|
<Property Name="OrderNum" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_StockIn">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
|
|
<Property Name="barcode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="pass" Type="char" MaxLength="1" />
|
|
|
|
<Property Name="createTime" Type="datetime" />
|
|
|
|
<Property Name="paintCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="ZcCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_StockIn_beif">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
|
|
<Property Name="barcode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="pass" Type="char" MaxLength="1" />
|
|
|
|
<Property Name="createTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_StockInColor">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="varchar" MaxLength="50" Nullable="false" />
|
|
|
|
<Property Name="Barcode" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="ColorInfo" Type="varchar" MaxLength="50" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_test">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="Reason" Type="text" />
|
|
|
|
<Property Name="createTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_TightenInfo">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="bigint" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
|
<Property Name="BarCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="IsOK" Type="int" />
|
|
|
|
<Property Name="IsOK1" Type="int" />
|
|
|
|
<Property Name="IsOK2" Type="int" />
|
|
|
|
<Property Name="IsOK3" Type="int" />
|
|
|
|
<Property Name="IsOK4" Type="int" />
|
|
|
|
<Property Name="IsOK5" Type="int" />
|
|
|
|
<Property Name="IsOK6" Type="int" />
|
|
|
|
<Property Name="IsOK7" Type="int" />
|
|
|
|
<Property Name="Torque1" Type="float" />
|
|
|
|
<Property Name="Torque2" Type="float" />
|
|
|
|
<Property Name="Torque3" Type="float" />
|
|
|
|
<Property Name="Torque4" Type="float" />
|
|
|
|
<Property Name="Torque5" Type="float" />
|
|
|
|
<Property Name="Torque6" Type="float" />
|
|
|
|
<Property Name="Torque7" Type="float" />
|
|
|
|
<Property Name="Angle1" Type="float" />
|
|
|
|
<Property Name="Angle2" Type="float" />
|
|
|
|
<Property Name="Angle3" Type="float" />
|
|
|
|
<Property Name="Angle4" Type="float" />
|
|
|
|
<Property Name="Angle5" Type="float" />
|
|
|
|
<Property Name="Angle6" Type="float" />
|
|
|
|
<Property Name="Angle7" Type="float" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_UserLoginLog">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="UserID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_Weight">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="ProductID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="LowerWeight" Type="decimal" Precision="18" Scale="2" />
|
|
|
|
<Property Name="UpperWeight" Type="decimal" Precision="18" Scale="2" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_weightRecord">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="GID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="GID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="ID" Type="int" />
|
|
|
|
<Property Name="DeviceNo" Type="nvarchar" MaxLength="20" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_ZPBom">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="StationID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="ProductID1" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="ProductID2" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="MouldNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Step" Type="int" />
|
|
|
|
<Property Name="IsScanCode" Type="int" />
|
|
|
|
<Property Name="IsPhoto" Type="int" />
|
|
|
|
<Property Name="UserID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_ZPBom_bak”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_ZPBom_bak">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="StationID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="ProductID1" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="ProductID2" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="IsHigh" Type="int" />
|
|
|
|
<Property Name="MouldNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_ZPBox">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="int" Nullable="false" />
|
|
|
|
<Property Name="BoxNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="PartNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
<Property Name="Flag" Type="int" />
|
|
|
|
<Property Name="Qty" Type="int" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_ZPBox_bak”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_ZPBox_bak">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="BoxNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="PartNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
<Property Name="Flag" Type="int" />
|
|
|
|
<Property Name="Qty" Type="int" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_ZPPlan">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="OrderNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="OrderDate" Type="date" />
|
|
|
|
<Property Name="Item" Type="int" />
|
|
|
|
<Property Name="PartNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="OrderCount" Type="int" />
|
|
|
|
<Property Name="ProductCount" Type="int" />
|
|
|
|
<Property Name="IsFinish" Type="int" />
|
|
|
|
<Property Name="BadCount" Type="int" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_ZPPlan_bak”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_ZPPlan_bak">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="OrderNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="OrderDate" Type="date" />
|
|
|
|
<Property Name="Item" Type="int" />
|
|
|
|
<Property Name="StationID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="PartNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="OrderCount" Type="int" />
|
|
|
|
<Property Name="ProductCount" Type="int" />
|
|
|
|
<Property Name="IsFinish" Type="int" />
|
|
|
|
<Property Name="BadCount" Type="int" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
<Property Name="IsOneMore" Type="varchar" MaxLength="255" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_ZPRecord">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
|
<Property Name="OneBarCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="IsOK" Type="int" />
|
|
|
|
<Property Name="PrintType" Type="int" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
<Property Name="PrintTime" Type="datetime" />
|
|
|
|
<Property Name="PlanID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="BarCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="OneBarCode1" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="BoxNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_ZPRecord_bak”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_ZPRecord_bak">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="OneBarCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="IsOK" Type="int" />
|
|
|
|
<Property Name="PrintType" Type="int" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
<Property Name="PrintTime" Type="datetime" />
|
|
|
|
<Property Name="PlanID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="BarCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="OneBarCode1" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="BoxNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_ZPStepRecord">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
|
<Property Name="BarCode" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="StationID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="Step" Type="int" />
|
|
|
|
<Property Name="MouldNo" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="KeyBarCode" Type="nvarchar(max)" />
|
|
|
|
<Property Name="IsOK" Type="int" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
<Property Name="PlanID" Type="char" MaxLength="36" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_ZPStepRecord_bak”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_ZPStepRecord_bak">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
|
<Property Name="BarCode" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="StationID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="Step" Type="int" />
|
|
|
|
<Property Name="MouldNo" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="KeyBarCode" Type="nvarchar(max)" />
|
|
|
|
<Property Name="IsOK" Type="int" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_ZPTag">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
|
<Property Name="StationID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="TagName" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="Des" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="Flag" Type="int" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_ZPTag20200610”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_ZPTag20200610">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
|
<Property Name="TagName" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="Des" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="Flag" Type="int" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_ZPTagTest”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="tb_ZPTagTest">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
|
<Property Name="TagName" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="Des" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="Flag" Type="int" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="tb_ZPTagValue">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="TagName" Type="nvarchar" MaxLength="200" />
|
|
|
|
<Property Name="TagValue" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="TES_BOM">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="GUID" />
|
|
|
|
<PropertyRef Name="UID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ParentPart" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="ComponentPart" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="Reference" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="StartEffective" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="QuantityPer" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="StructureType" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="EndEffective" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="Remarks" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="Scrap" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="LeadTimeOffset" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="Operation" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="SequenceNumber" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="FporecastPercent" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="OptionGroup" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="Process" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="GUID" Type="nvarchar" MaxLength="100" Nullable="false" />
|
|
|
|
<Property Name="UID" Type="nvarchar" MaxLength="100" Nullable="false" />
|
|
|
|
<Property Name="CreateUser" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="CreateTime" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="Remark" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="TaskID" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="CommandType" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="DataID" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="Domain" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="Site" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="InsertTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="TES_PART_MSTR">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="GUID" />
|
|
|
|
<PropertyRef Name="UID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="GUID" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
|
|
<Property Name="PartCode" Type="nvarchar(max)" />
|
|
|
|
<Property Name="Desc1" Type="nvarchar(max)" />
|
|
|
|
<Property Name="Desc2" Type="nvarchar(max)" />
|
|
|
|
<Property Name="Um" Type="nvarchar(max)" />
|
|
|
|
<Property Name="ProdLine" Type="nvarchar(max)" />
|
|
|
|
<Property Name="AddDate" Type="nvarchar(max)" />
|
|
|
|
<Property Name="PartType" Type="nvarchar(max)" />
|
|
|
|
<Property Name="Status" Type="nvarchar(max)" />
|
|
|
|
<Property Name="Qgrade" Type="nvarchar(max)" />
|
|
|
|
<Property Name="InventoryCode" Type="nvarchar(max)" />
|
|
|
|
<Property Name="UID" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
|
|
<Property Name="Remark" Type="nvarchar(max)" />
|
|
|
|
<Property Name="TaskID" Type="nvarchar(max)" />
|
|
|
|
<Property Name="CommandType" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="Domain" Type="nvarchar(max)" />
|
|
|
|
<Property Name="Site" Type="nvarchar(max)" />
|
|
|
|
<Property Name="CreatTime" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.test1”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="test1">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="StationID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="StockNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="PrintType" Type="int" />
|
|
|
|
<Property Name="OneBarCode" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="PlanID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="CreateTime" Type="datetime" />
|
|
|
|
<Property Name="ProductName" Type="nvarchar" MaxLength="500" />
|
|
|
|
<Property Name="PartNo" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="ProductDate" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="ClassName" Type="nvarchar" MaxLength="50" />
|
|
|
|
</EntityType>
|
|
|
|
<EntityType Name="test2">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
|
<Property Name="PlanID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="StationID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="ProductDate" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="ClassName" Type="nvarchar" MaxLength="50" />
|
|
|
|
<Property Name="ProductCount" Type="int" />
|
|
|
|
</EntityType>
|
|
|
|
<!--生成过程中发现错误:
|
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.View_1”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
|
|
|
<EntityType Name="View_1">
|
|
|
|
<Key>
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
</Key>
|
|
|
|
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
|
|
|
|
<Property Name="CylinderID" Type="char" MaxLength="36" />
|
|
|
|
<Property Name="DrumBarCode" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="BarCode" Type="nvarchar" MaxLength="100" />
|
|
|
|
<Property Name="Time1" Type="datetime" />
|
|
|
|
<Property Name="Time2" Type="datetime" />
|
|
|
|
</EntityType>
|
|
|
|
<Association Name="FK_T_SYS_RO_REFERENCE_T_SYS_PO">
|
|
|
|
<End Role="T_Sys_Power" Type="Self.T_Sys_Power" Multiplicity="1" />
|
|
|
|
<End Role="T_Sys_RoleLinkPower" Type="Self.T_Sys_RoleLinkPower" Multiplicity="*" />
|
|
|
|
<ReferentialConstraint>
|
|
|
|
<Principal Role="T_Sys_Power">
|
|
|
|
<PropertyRef Name="PowerID" />
|
|
|
|
</Principal>
|
|
|
|
<Dependent Role="T_Sys_RoleLinkPower">
|
|
|
|
<PropertyRef Name="PowerID" />
|
|
|
|
</Dependent>
|
|
|
|
</ReferentialConstraint>
|
|
|
|
</Association>
|
|
|
|
<EntityContainer Name="BBMPTModelStoreContainer">
|
|
|
|
<EntitySet Name="LogErr" EntityType="Self.LogErr" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="LogSys" EntityType="Self.LogSys" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="T_PaintInfo" EntityType="Self.T_PaintInfo" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="T_Sys_Buttons" EntityType="Self.T_Sys_Buttons" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="T_Sys_Log" EntityType="Self.T_Sys_Log" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="T_Sys_NavMenu" EntityType="Self.T_Sys_NavMenu" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="T_Sys_Power" EntityType="Self.T_Sys_Power" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="T_Sys_Role" EntityType="Self.T_Sys_Role" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="T_Sys_UserRole" EntityType="Self.T_Sys_UserRole" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="T_Sys_Users" EntityType="Self.T_Sys_Users" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="T_Sys_Users_NavMenu" EntityType="Self.T_Sys_Users_NavMenu" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="TA_DEPT" EntityType="Self.TA_DEPT" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_AddColorRecord" EntityType="Self.tb_AddColorRecord" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_AddColorRecord_History" EntityType="Self.tb_AddColorRecord_History" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_AddPartInfo" EntityType="Self.tb_AddPartInfo" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Address_tx" EntityType="Self.tb_Address_tx" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Alarm" EntityType="Self.tb_Alarm" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Assembly_247" EntityType="Self.tb_Assembly_247" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Bad_ZP" EntityType="Self.tb_Bad_ZP" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_BarCode_BMW" EntityType="Self.tb_BarCode_BMW" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_BillNo" EntityType="Self.tb_BillNo" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Bom" EntityType="Self.tb_Bom" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Box_247" EntityType="Self.tb_Box_247" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Box_tx" EntityType="Self.tb_Box_tx" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_BucketInfo" EntityType="Self.tb_BucketInfo" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_CarType" EntityType="Self.tb_CarType" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_CarTypeColor" EntityType="Self.tb_CarTypeColor" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_ChainUp" EntityType="Self.tb_ChainUp" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_ChainUpBarcode" EntityType="Self.tb_ChainUpBarcode" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_CheckItem" EntityType="Self.tb_CheckItem" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Color" EntityType="Self.tb_Color" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_CommonlyInspection" EntityType="Self.tb_CommonlyInspection" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_CommonlyInspectionRecord" EntityType="Self.tb_CommonlyInspectionRecord" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_CommonlyInspectionVersion" EntityType="Self.tb_CommonlyInspectionVersion" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Config" EntityType="Self.tb_Config" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Cylinder" EntityType="Self.tb_Cylinder" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_CylinderAndRaw" EntityType="Self.tb_CylinderAndRaw" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Defect" EntityType="Self.tb_Defect" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_DelData_Log" EntityType="Self.tb_DelData_Log" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Device" EntityType="Self.tb_Device" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_DeviceKeepItems" EntityType="Self.tb_DeviceKeepItems" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Factory" EntityType="Self.tb_Factory" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_FinishProduct" EntityType="Self.tb_FinishProduct" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_ImgVideo" EntityType="Self.tb_ImgVideo" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Inhection_DownReason" EntityType="Self.tb_Inhection_DownReason" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Injection_BoxRecord" EntityType="Self.tb_Injection_BoxRecord" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Injection_DownRecord" EntityType="Self.tb_Injection_DownRecord" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Injection_DownTime" EntityType="Self.tb_Injection_DownTime" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Injection_DownType" EntityType="Self.tb_Injection_DownType" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Injection_Record" EntityType="Self.tb_Injection_Record" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_InjectionPlan" EntityType="Self.tb_InjectionPlan" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_InjectionPlan_20200901" EntityType="Self.tb_InjectionPlan_20200901" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_InjectPlanReport" EntityType="Self.tb_InjectPlanReport" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Inspection_tx" EntityType="Self.tb_Inspection_tx" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_InspectResult" EntityType="Self.tb_InspectResult" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_JbCylinderAndRaw" EntityType="Self.tb_JbCylinderAndRaw" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_KeepItems" EntityType="Self.tb_KeepItems" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_KeepItemsVersion" EntityType="Self.tb_KeepItemsVersion" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_KeepLevel" EntityType="Self.tb_KeepLevel" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_KeepPlan" EntityType="Self.tb_KeepPlan" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_KeepRecord" EntityType="Self.tb_KeepRecord" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_KeepVersion" EntityType="Self.tb_KeepVersion" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_LayerAndBC" EntityType="Self.tb_LayerAndBC" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Line" EntityType="Self.tb_Line" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Machine" EntityType="Self.tb_Machine" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Manufacturer" EntityType="Self.tb_Manufacturer" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Mistake_247" EntityType="Self.tb_Mistake_247" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Model_Product" EntityType="Self.tb_Model_Product" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Model_Update" EntityType="Self.tb_Model_Update" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_ModelCount" EntityType="Self.tb_ModelCount" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_ModelInfo" EntityType="Self.tb_ModelInfo" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Operator" EntityType="Self.tb_Operator" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Paint_Bucket" EntityType="Self.tb_Paint_Bucket" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_PaintBarCode" EntityType="Self.tb_PaintBarCode" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_PaintBox" EntityType="Self.tb_PaintBox" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_PaintColorInfo" EntityType="Self.tb_PaintColorInfo" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_PaintInfo" EntityType="Self.tb_PaintInfo" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_PartNoAndColor" EntityType="Self.tb_PartNoAndColor" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_PartRecord" EntityType="Self.tb_PartRecord" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Place" EntityType="Self.tb_Place" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Plan_247" EntityType="Self.tb_Plan_247" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_PlanScreenConfig" EntityType="Self.tb_PlanScreenConfig" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Plastic" EntityType="Self.tb_Plastic" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_PLC_Break" EntityType="Self.tb_PLC_Break" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_PLC_Mould" EntityType="Self.tb_PLC_Mould" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Product" EntityType="Self.tb_Product" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Product_Color" EntityType="Self.tb_Product_Color" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Product_Injection" EntityType="Self.tb_Product_Injection" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Product_Injection_w" EntityType="Self.tb_Product_Injection_w" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_ProductSotckIn" EntityType="Self.tb_ProductSotckIn" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_ProductType" EntityType="Self.tb_ProductType" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Record_247" EntityType="Self.tb_Record_247" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Report_FiveScreen" EntityType="Self.tb_Report_FiveScreen" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Report_FiveScreenConfig" EntityType="Self.tb_Report_FiveScreenConfig" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Report_FiveScreenLast" EntityType="Self.tb_Report_FiveScreenLast" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_ScanRecord" EntityType="Self.tb_ScanRecord" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_ScanRecord_OpenDoor" EntityType="Self.tb_ScanRecord_OpenDoor" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_SkidInfo" EntityType="Self.tb_SkidInfo" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Station" EntityType="Self.tb_Station" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_StationAndCylinder" EntityType="Self.tb_StationAndCylinder" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_StationAndCylinder2" EntityType="Self.tb_StationAndCylinder2" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_StockIn" EntityType="Self.tb_StockIn" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_StockIn_beif" EntityType="Self.tb_StockIn_beif" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_StockInColor" EntityType="Self.tb_StockInColor" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_test" EntityType="Self.tb_test" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_TightenInfo" EntityType="Self.tb_TightenInfo" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_UserLoginLog" EntityType="Self.tb_UserLoginLog" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_Weight" EntityType="Self.tb_Weight" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_weightRecord" EntityType="Self.tb_weightRecord" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_ZPBom" EntityType="Self.tb_ZPBom" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_ZPBox" EntityType="Self.tb_ZPBox" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_ZPPlan" EntityType="Self.tb_ZPPlan" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_ZPRecord" EntityType="Self.tb_ZPRecord" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_ZPStepRecord" EntityType="Self.tb_ZPStepRecord" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_ZPTag" EntityType="Self.tb_ZPTag" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="tb_ZPTagValue" EntityType="Self.tb_ZPTagValue" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="TES_BOM" EntityType="Self.TES_BOM" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="TES_PART_MSTR" EntityType="Self.TES_PART_MSTR" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="test2" EntityType="Self.test2" Schema="dbo" store:Type="Tables" />
|
|
|
|
<EntitySet Name="T_Sys_RoleLinkPower" EntityType="Self.T_Sys_RoleLinkPower" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[T_Sys_RoleLinkPower].[RoleID] AS [RoleID],
|
|
|
|
[T_Sys_RoleLinkPower].[PowerID] AS [PowerID],
|
|
|
|
[T_Sys_RoleLinkPower].[OpTime] AS [OpTime],
|
|
|
|
[T_Sys_RoleLinkPower].[OpName] AS [OpName]
|
|
|
|
FROM [dbo].[T_Sys_RoleLinkPower] AS [T_Sys_RoleLinkPower]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_Address_tx_bak" EntityType="Self.tb_Address_tx_bak" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_Address_tx_bak].[ID] AS [ID],
|
|
|
|
[tb_Address_tx_bak].[Address] AS [Address],
|
|
|
|
[tb_Address_tx_bak].[Des] AS [Des],
|
|
|
|
[tb_Address_tx_bak].[Location] AS [Location],
|
|
|
|
[tb_Address_tx_bak].[Flag] AS [Flag]
|
|
|
|
FROM [dbo].[tb_Address_tx_bak] AS [tb_Address_tx_bak]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_Bad_Injection" EntityType="Self.tb_Bad_Injection" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_Bad_Injection].[ID] AS [ID],
|
|
|
|
[tb_Bad_Injection].[OneBarCode] AS [OneBarCode],
|
|
|
|
[tb_Bad_Injection].[BarCode] AS [BarCode],
|
|
|
|
[tb_Bad_Injection].[BadPosition] AS [BadPosition],
|
|
|
|
[tb_Bad_Injection].[BadReason] AS [BadReason],
|
|
|
|
[tb_Bad_Injection].[CreateTime] AS [CreateTime],
|
|
|
|
[tb_Bad_Injection].[PlanID] AS [PlanID],
|
|
|
|
[tb_Bad_Injection].[StationID] AS [StationID]
|
|
|
|
FROM [dbo].[tb_Bad_Injection] AS [tb_Bad_Injection]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_Bad_Injection_bak" EntityType="Self.tb_Bad_Injection_bak" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_Bad_Injection_bak].[ID] AS [ID],
|
|
|
|
[tb_Bad_Injection_bak].[OneBarCode] AS [OneBarCode],
|
|
|
|
[tb_Bad_Injection_bak].[BarCode] AS [BarCode],
|
|
|
|
[tb_Bad_Injection_bak].[BadPosition] AS [BadPosition],
|
|
|
|
[tb_Bad_Injection_bak].[BadReason] AS [BadReason],
|
|
|
|
[tb_Bad_Injection_bak].[CreateTime] AS [CreateTime],
|
|
|
|
[tb_Bad_Injection_bak].[PlanID] AS [PlanID],
|
|
|
|
[tb_Bad_Injection_bak].[StationID] AS [StationID]
|
|
|
|
FROM [dbo].[tb_Bad_Injection_bak] AS [tb_Bad_Injection_bak]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_BarCode_bak" EntityType="Self.tb_BarCode_bak" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_BarCode_bak].[ID] AS [ID],
|
|
|
|
[tb_BarCode_bak].[StationID] AS [StationID],
|
|
|
|
[tb_BarCode_bak].[OneBarCode] AS [OneBarCode],
|
|
|
|
[tb_BarCode_bak].[BarCode] AS [BarCode],
|
|
|
|
[tb_BarCode_bak].[StockNo] AS [StockNo],
|
|
|
|
[tb_BarCode_bak].[PartNo] AS [PartNo],
|
|
|
|
[tb_BarCode_bak].[PrintType] AS [PrintType],
|
|
|
|
[tb_BarCode_bak].[CreateTime] AS [CreateTime],
|
|
|
|
[tb_BarCode_bak].[PrintTime] AS [PrintTime],
|
|
|
|
[tb_BarCode_bak].[IsDel] AS [IsDel],
|
|
|
|
[tb_BarCode_bak].[IsImport] AS [IsImport],
|
|
|
|
[tb_BarCode_bak].[StationID2] AS [StationID2],
|
|
|
|
[tb_BarCode_bak].[PlanID] AS [PlanID],
|
|
|
|
[tb_BarCode_bak].[BoxNo] AS [BoxNo],
|
|
|
|
[tb_BarCode_bak].[IsBad] AS [IsBad],
|
|
|
|
[tb_BarCode_bak].[ProductNature] AS [ProductNature],
|
|
|
|
[tb_BarCode_bak].[Des1] AS [Des1],
|
|
|
|
[tb_BarCode_bak].[Des2] AS [Des2],
|
|
|
|
[tb_BarCode_bak].[Des3] AS [Des3],
|
|
|
|
[tb_BarCode_bak].[Des4] AS [Des4],
|
|
|
|
[tb_BarCode_bak].[Des5] AS [Des5],
|
|
|
|
[tb_BarCode_bak].[Weight] AS [Weight],
|
|
|
|
[tb_BarCode_bak].[BatchNo] AS [BatchNo]
|
|
|
|
FROM [dbo].[tb_BarCode_bak] AS [tb_BarCode_bak]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_BarCode1" EntityType="Self.tb_BarCode1" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_BarCode1].[ID] AS [ID],
|
|
|
|
[tb_BarCode1].[StationID] AS [StationID],
|
|
|
|
[tb_BarCode1].[OneBarCode] AS [OneBarCode],
|
|
|
|
[tb_BarCode1].[BarCode] AS [BarCode],
|
|
|
|
[tb_BarCode1].[StockNo] AS [StockNo],
|
|
|
|
[tb_BarCode1].[PartNo] AS [PartNo],
|
|
|
|
[tb_BarCode1].[PrintType] AS [PrintType],
|
|
|
|
[tb_BarCode1].[CreateTime] AS [CreateTime],
|
|
|
|
[tb_BarCode1].[PrintTime] AS [PrintTime],
|
|
|
|
[tb_BarCode1].[IsDel] AS [IsDel],
|
|
|
|
[tb_BarCode1].[IsImport] AS [IsImport],
|
|
|
|
[tb_BarCode1].[StationID2] AS [StationID2],
|
|
|
|
[tb_BarCode1].[PlanID] AS [PlanID],
|
|
|
|
[tb_BarCode1].[BoxNo] AS [BoxNo],
|
|
|
|
[tb_BarCode1].[IsBad] AS [IsBad],
|
|
|
|
[tb_BarCode1].[ProductNature] AS [ProductNature],
|
|
|
|
[tb_BarCode1].[Des1] AS [Des1],
|
|
|
|
[tb_BarCode1].[Des2] AS [Des2],
|
|
|
|
[tb_BarCode1].[Des3] AS [Des3],
|
|
|
|
[tb_BarCode1].[Des4] AS [Des4],
|
|
|
|
[tb_BarCode1].[Des5] AS [Des5],
|
|
|
|
[tb_BarCode1].[Weight] AS [Weight],
|
|
|
|
[tb_BarCode1].[BatchNo] AS [BatchNo]
|
|
|
|
FROM [dbo].[tb_BarCode1] AS [tb_BarCode1]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_BarCode2" EntityType="Self.tb_BarCode2" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_BarCode2].[ID] AS [ID],
|
|
|
|
[tb_BarCode2].[StationID] AS [StationID],
|
|
|
|
[tb_BarCode2].[OneBarCode] AS [OneBarCode],
|
|
|
|
[tb_BarCode2].[BarCode] AS [BarCode],
|
|
|
|
[tb_BarCode2].[StockNo] AS [StockNo],
|
|
|
|
[tb_BarCode2].[PartNo] AS [PartNo],
|
|
|
|
[tb_BarCode2].[PrintType] AS [PrintType],
|
|
|
|
[tb_BarCode2].[CreateTime] AS [CreateTime],
|
|
|
|
[tb_BarCode2].[PrintTime] AS [PrintTime],
|
|
|
|
[tb_BarCode2].[IsDel] AS [IsDel],
|
|
|
|
[tb_BarCode2].[IsImport] AS [IsImport],
|
|
|
|
[tb_BarCode2].[StationID2] AS [StationID2],
|
|
|
|
[tb_BarCode2].[PlanID] AS [PlanID],
|
|
|
|
[tb_BarCode2].[BoxNo] AS [BoxNo],
|
|
|
|
[tb_BarCode2].[IsBad] AS [IsBad],
|
|
|
|
[tb_BarCode2].[ProductNature] AS [ProductNature],
|
|
|
|
[tb_BarCode2].[Des1] AS [Des1],
|
|
|
|
[tb_BarCode2].[Des2] AS [Des2],
|
|
|
|
[tb_BarCode2].[Des3] AS [Des3],
|
|
|
|
[tb_BarCode2].[Des4] AS [Des4],
|
|
|
|
[tb_BarCode2].[Des5] AS [Des5],
|
|
|
|
[tb_BarCode2].[Weight] AS [Weight],
|
|
|
|
[tb_BarCode2].[BatchNo] AS [BatchNo]
|
|
|
|
FROM [dbo].[tb_BarCode2] AS [tb_BarCode2]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_BarCode3" EntityType="Self.tb_BarCode3" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_BarCode3].[ID] AS [ID],
|
|
|
|
[tb_BarCode3].[StationID] AS [StationID],
|
|
|
|
[tb_BarCode3].[OneBarCode] AS [OneBarCode],
|
|
|
|
[tb_BarCode3].[BarCode] AS [BarCode],
|
|
|
|
[tb_BarCode3].[StockNo] AS [StockNo],
|
|
|
|
[tb_BarCode3].[PartNo] AS [PartNo],
|
|
|
|
[tb_BarCode3].[PrintType] AS [PrintType],
|
|
|
|
[tb_BarCode3].[CreateTime] AS [CreateTime],
|
|
|
|
[tb_BarCode3].[PrintTime] AS [PrintTime],
|
|
|
|
[tb_BarCode3].[IsDel] AS [IsDel],
|
|
|
|
[tb_BarCode3].[IsImport] AS [IsImport],
|
|
|
|
[tb_BarCode3].[StationID2] AS [StationID2],
|
|
|
|
[tb_BarCode3].[PlanID] AS [PlanID],
|
|
|
|
[tb_BarCode3].[BoxNo] AS [BoxNo],
|
|
|
|
[tb_BarCode3].[IsBad] AS [IsBad],
|
|
|
|
[tb_BarCode3].[ProductNature] AS [ProductNature],
|
|
|
|
[tb_BarCode3].[Des1] AS [Des1],
|
|
|
|
[tb_BarCode3].[Des2] AS [Des2],
|
|
|
|
[tb_BarCode3].[Des3] AS [Des3],
|
|
|
|
[tb_BarCode3].[Des4] AS [Des4],
|
|
|
|
[tb_BarCode3].[Des5] AS [Des5],
|
|
|
|
[tb_BarCode3].[Weight] AS [Weight],
|
|
|
|
[tb_BarCode3].[BatchNo] AS [BatchNo]
|
|
|
|
FROM [dbo].[tb_BarCode3] AS [tb_BarCode3]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_BarCode4" EntityType="Self.tb_BarCode4" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_BarCode4].[ID] AS [ID],
|
|
|
|
[tb_BarCode4].[StationID] AS [StationID],
|
|
|
|
[tb_BarCode4].[OneBarCode] AS [OneBarCode],
|
|
|
|
[tb_BarCode4].[BarCode] AS [BarCode],
|
|
|
|
[tb_BarCode4].[StockNo] AS [StockNo],
|
|
|
|
[tb_BarCode4].[PartNo] AS [PartNo],
|
|
|
|
[tb_BarCode4].[PrintType] AS [PrintType],
|
|
|
|
[tb_BarCode4].[CreateTime] AS [CreateTime],
|
|
|
|
[tb_BarCode4].[PrintTime] AS [PrintTime],
|
|
|
|
[tb_BarCode4].[IsDel] AS [IsDel],
|
|
|
|
[tb_BarCode4].[IsImport] AS [IsImport],
|
|
|
|
[tb_BarCode4].[StationID2] AS [StationID2],
|
|
|
|
[tb_BarCode4].[PlanID] AS [PlanID],
|
|
|
|
[tb_BarCode4].[BoxNo] AS [BoxNo],
|
|
|
|
[tb_BarCode4].[IsBad] AS [IsBad],
|
|
|
|
[tb_BarCode4].[ProductNature] AS [ProductNature],
|
|
|
|
[tb_BarCode4].[Des1] AS [Des1],
|
|
|
|
[tb_BarCode4].[Des2] AS [Des2],
|
|
|
|
[tb_BarCode4].[Des3] AS [Des3],
|
|
|
|
[tb_BarCode4].[Des4] AS [Des4],
|
|
|
|
[tb_BarCode4].[Des5] AS [Des5],
|
|
|
|
[tb_BarCode4].[Weight] AS [Weight],
|
|
|
|
[tb_BarCode4].[BatchNo] AS [BatchNo]
|
|
|
|
FROM [dbo].[tb_BarCode4] AS [tb_BarCode4]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_BarCode5" EntityType="Self.tb_BarCode5" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_BarCode5].[ID] AS [ID],
|
|
|
|
[tb_BarCode5].[StationID] AS [StationID],
|
|
|
|
[tb_BarCode5].[OneBarCode] AS [OneBarCode],
|
|
|
|
[tb_BarCode5].[BarCode] AS [BarCode],
|
|
|
|
[tb_BarCode5].[StockNo] AS [StockNo],
|
|
|
|
[tb_BarCode5].[PartNo] AS [PartNo],
|
|
|
|
[tb_BarCode5].[PrintType] AS [PrintType],
|
|
|
|
[tb_BarCode5].[CreateTime] AS [CreateTime],
|
|
|
|
[tb_BarCode5].[PrintTime] AS [PrintTime],
|
|
|
|
[tb_BarCode5].[IsDel] AS [IsDel],
|
|
|
|
[tb_BarCode5].[IsImport] AS [IsImport],
|
|
|
|
[tb_BarCode5].[StationID2] AS [StationID2],
|
|
|
|
[tb_BarCode5].[PlanID] AS [PlanID],
|
|
|
|
[tb_BarCode5].[BoxNo] AS [BoxNo],
|
|
|
|
[tb_BarCode5].[IsBad] AS [IsBad],
|
|
|
|
[tb_BarCode5].[ProductNature] AS [ProductNature],
|
|
|
|
[tb_BarCode5].[Des1] AS [Des1],
|
|
|
|
[tb_BarCode5].[Des2] AS [Des2],
|
|
|
|
[tb_BarCode5].[Des3] AS [Des3],
|
|
|
|
[tb_BarCode5].[Des4] AS [Des4],
|
|
|
|
[tb_BarCode5].[Des5] AS [Des5],
|
|
|
|
[tb_BarCode5].[Weight] AS [Weight],
|
|
|
|
[tb_BarCode5].[BatchNo] AS [BatchNo]
|
|
|
|
FROM [dbo].[tb_BarCode5] AS [tb_BarCode5]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_BarCodeUnique" EntityType="Self.tb_BarCodeUnique" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_BarCodeUnique].[OneBarCode] AS [OneBarCode],
|
|
|
|
[tb_BarCodeUnique].[AddTime] AS [AddTime]
|
|
|
|
FROM [dbo].[tb_BarCodeUnique] AS [tb_BarCodeUnique]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_BucketInfo_bak" EntityType="Self.tb_BucketInfo_bak" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_BucketInfo_bak].[ID] AS [ID],
|
|
|
|
[tb_BucketInfo_bak].[BucketCode] AS [BucketCode],
|
|
|
|
[tb_BucketInfo_bak].[BucketName] AS [BucketName],
|
|
|
|
[tb_BucketInfo_bak].[IsUsing] AS [IsUsing],
|
|
|
|
[tb_BucketInfo_bak].[CreateTime] AS [CreateTime],
|
|
|
|
[tb_BucketInfo_bak].[UserID] AS [UserID]
|
|
|
|
FROM [dbo].[tb_BucketInfo_bak] AS [tb_BucketInfo_bak]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_ChainDown" EntityType="Self.tb_ChainDown" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_ChainDown].[ID] AS [ID],
|
|
|
|
[tb_ChainDown].[barcode] AS [barcode],
|
|
|
|
[tb_ChainDown].[carType] AS [carType],
|
|
|
|
[tb_ChainDown].[color] AS [color],
|
|
|
|
[tb_ChainDown].[flag] AS [flag],
|
|
|
|
[tb_ChainDown].[createTime] AS [createTime],
|
|
|
|
[tb_ChainDown].[boxNum] AS [boxNum],
|
|
|
|
[tb_ChainDown].[productName] AS [productName]
|
|
|
|
FROM [dbo].[tb_ChainDown] AS [tb_ChainDown]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_ChainDown_bak" EntityType="Self.tb_ChainDown_bak" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_ChainDown_bak].[ID] AS [ID],
|
|
|
|
[tb_ChainDown_bak].[barcode] AS [barcode],
|
|
|
|
[tb_ChainDown_bak].[carType] AS [carType],
|
|
|
|
[tb_ChainDown_bak].[color] AS [color],
|
|
|
|
[tb_ChainDown_bak].[flag] AS [flag],
|
|
|
|
[tb_ChainDown_bak].[createTime] AS [createTime],
|
|
|
|
[tb_ChainDown_bak].[boxNum] AS [boxNum]
|
|
|
|
FROM [dbo].[tb_ChainDown_bak] AS [tb_ChainDown_bak]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_ChainUp_bak" EntityType="Self.tb_ChainUp_bak" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_ChainUp_bak].[ID] AS [ID],
|
|
|
|
[tb_ChainUp_bak].[barcode] AS [barcode],
|
|
|
|
[tb_ChainUp_bak].[carTypeID] AS [carTypeID],
|
|
|
|
[tb_ChainUp_bak].[carType] AS [carType],
|
|
|
|
[tb_ChainUp_bak].[colorID] AS [colorID],
|
|
|
|
[tb_ChainUp_bak].[color] AS [color],
|
|
|
|
[tb_ChainUp_bak].[flag] AS [flag],
|
|
|
|
[tb_ChainUp_bak].[IsLast] AS [IsLast],
|
|
|
|
[tb_ChainUp_bak].[createTime] AS [createTime]
|
|
|
|
FROM [dbo].[tb_ChainUp_bak] AS [tb_ChainUp_bak]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_Color_20200605" EntityType="Self.tb_Color_20200605" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_Color_20200605].[ID] AS [ID],
|
|
|
|
[tb_Color_20200605].[ColorCode] AS [ColorCode],
|
|
|
|
[tb_Color_20200605].[ColorNo] AS [ColorNo],
|
|
|
|
[tb_Color_20200605].[Des] AS [Des],
|
|
|
|
[tb_Color_20200605].[Circle] AS [Circle],
|
|
|
|
[tb_Color_20200605].[ColorQQCode] AS [ColorQQCode],
|
|
|
|
[tb_Color_20200605].[ColorDQCode] AS [ColorDQCode]
|
|
|
|
FROM [dbo].[tb_Color_20200605] AS [tb_Color_20200605]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_CylinderAndRaw_20200930" EntityType="Self.tb_CylinderAndRaw_20200930" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_CylinderAndRaw_20200930].[ID] AS [ID],
|
|
|
|
[tb_CylinderAndRaw_20200930].[CylinderID] AS [CylinderID],
|
|
|
|
[tb_CylinderAndRaw_20200930].[DrumBarCode] AS [DrumBarCode],
|
|
|
|
[tb_CylinderAndRaw_20200930].[BarCode] AS [BarCode],
|
|
|
|
[tb_CylinderAndRaw_20200930].[Time1] AS [Time1],
|
|
|
|
[tb_CylinderAndRaw_20200930].[Time2] AS [Time2]
|
|
|
|
FROM [dbo].[tb_CylinderAndRaw_20200930] AS [tb_CylinderAndRaw_20200930]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_Defect_0806" EntityType="Self.tb_Defect_0806" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_Defect_0806].[ID] AS [ID],
|
|
|
|
[tb_Defect_0806].[LineID] AS [LineID],
|
|
|
|
[tb_Defect_0806].[DefectName] AS [DefectName],
|
|
|
|
[tb_Defect_0806].[Des] AS [Des]
|
|
|
|
FROM [dbo].[tb_Defect_0806] AS [tb_Defect_0806]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_InjectionPlan_IM11" EntityType="Self.tb_InjectionPlan_IM11" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_InjectionPlan_IM11].[InjectionPlanID] AS [InjectionPlanID],
|
|
|
|
[tb_InjectionPlan_IM11].[StationID] AS [StationID],
|
|
|
|
[tb_InjectionPlan_IM11].[BeginTime] AS [BeginTime],
|
|
|
|
[tb_InjectionPlan_IM11].[StockNo] AS [StockNo],
|
|
|
|
[tb_InjectionPlan_IM11].[PartNo] AS [PartNo],
|
|
|
|
[tb_InjectionPlan_IM11].[PlanCount] AS [PlanCount],
|
|
|
|
[tb_InjectionPlan_IM11].[EndTime] AS [EndTime],
|
|
|
|
[tb_InjectionPlan_IM11].[PlanDate] AS [PlanDate],
|
|
|
|
[tb_InjectionPlan_IM11].[CompleteCount] AS [CompleteCount],
|
|
|
|
[tb_InjectionPlan_IM11].[IsFinish] AS [IsFinish],
|
|
|
|
[tb_InjectionPlan_IM11].[FinishTime] AS [FinishTime],
|
|
|
|
[tb_InjectionPlan_IM11].[RealCycle] AS [RealCycle],
|
|
|
|
[tb_InjectionPlan_IM11].[workClass] AS [workClass],
|
|
|
|
[tb_InjectionPlan_IM11].[JK_Weight] AS [JK_Weight],
|
|
|
|
[tb_InjectionPlan_IM11].[Waste_Weight] AS [Waste_Weight],
|
|
|
|
[tb_InjectionPlan_IM11].[ProductNature] AS [ProductNature],
|
|
|
|
[tb_InjectionPlan_IM11].[UserID] AS [UserID],
|
|
|
|
[tb_InjectionPlan_IM11].[MarketCount] AS [MarketCount]
|
|
|
|
FROM [dbo].[tb_InjectionPlan_IM11] AS [tb_InjectionPlan_IM11]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_JbStationAndCylinder" EntityType="Self.tb_JbStationAndCylinder" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_JbStationAndCylinder].[ID] AS [ID],
|
|
|
|
[tb_JbStationAndCylinder].[StationID] AS [StationID],
|
|
|
|
[tb_JbStationAndCylinder].[CylinderID] AS [CylinderID],
|
|
|
|
[tb_JbStationAndCylinder].[Time1] AS [Time1],
|
|
|
|
[tb_JbStationAndCylinder].[Time2] AS [Time2],
|
|
|
|
[tb_JbStationAndCylinder].[StationNo] AS [StationNo],
|
|
|
|
[tb_JbStationAndCylinder].[CylinderNo] AS [CylinderNo]
|
|
|
|
FROM [dbo].[tb_JbStationAndCylinder] AS [tb_JbStationAndCylinder]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_LayerAndBC_bak" EntityType="Self.tb_LayerAndBC_bak" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_LayerAndBC_bak].[ID] AS [ID],
|
|
|
|
[tb_LayerAndBC_bak].[layer] AS [layer],
|
|
|
|
[tb_LayerAndBC_bak].[floor] AS [floor],
|
|
|
|
[tb_LayerAndBC_bak].[side] AS [side],
|
|
|
|
[tb_LayerAndBC_bak].[des] AS [des],
|
|
|
|
[tb_LayerAndBC_bak].[ProductId] AS [ProductId]
|
|
|
|
FROM [dbo].[tb_LayerAndBC_bak] AS [tb_LayerAndBC_bak]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_PaintBox_bak" EntityType="Self.tb_PaintBox_bak" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_PaintBox_bak].[ID] AS [ID],
|
|
|
|
[tb_PaintBox_bak].[boxNum] AS [boxNum],
|
|
|
|
[tb_PaintBox_bak].[partNo] AS [partNo],
|
|
|
|
[tb_PaintBox_bak].[PackCount] AS [PackCount],
|
|
|
|
[tb_PaintBox_bak].[flag] AS [flag],
|
|
|
|
[tb_PaintBox_bak].[createTime] AS [createTime]
|
|
|
|
FROM [dbo].[tb_PaintBox_bak] AS [tb_PaintBox_bak]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_PaintColorInfo_20240226" EntityType="Self.tb_PaintColorInfo_20240226" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_PaintColorInfo_20240226].[ID] AS [ID],
|
|
|
|
[tb_PaintColorInfo_20240226].[Color] AS [Color],
|
|
|
|
[tb_PaintColorInfo_20240226].[Paint_No] AS [Paint_No],
|
|
|
|
[tb_PaintColorInfo_20240226].[StockNo] AS [StockNo],
|
|
|
|
[tb_PaintColorInfo_20240226].[UserID] AS [UserID],
|
|
|
|
[tb_PaintColorInfo_20240226].[PaintID] AS [PaintID]
|
|
|
|
FROM [dbo].[tb_PaintColorInfo_20240226] AS [tb_PaintColorInfo_20240226]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_PaintColorInfo_bak" EntityType="Self.tb_PaintColorInfo_bak" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_PaintColorInfo_bak].[ID] AS [ID],
|
|
|
|
[tb_PaintColorInfo_bak].[Color] AS [Color],
|
|
|
|
[tb_PaintColorInfo_bak].[Paint_No] AS [Paint_No],
|
|
|
|
[tb_PaintColorInfo_bak].[StockNo] AS [StockNo],
|
|
|
|
[tb_PaintColorInfo_bak].[UserID] AS [UserID],
|
|
|
|
[tb_PaintColorInfo_bak].[PaintID] AS [PaintID]
|
|
|
|
FROM [dbo].[tb_PaintColorInfo_bak] AS [tb_PaintColorInfo_bak]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_Product_20200728" EntityType="Self.tb_Product_20200728" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_Product_20200728].[ProductID] AS [ProductID],
|
|
|
|
[tb_Product_20200728].[ProductTypeID] AS [ProductTypeID],
|
|
|
|
[tb_Product_20200728].[StockNo] AS [StockNo],
|
|
|
|
[tb_Product_20200728].[PartName] AS [PartName],
|
|
|
|
[tb_Product_20200728].[ProductName] AS [ProductName],
|
|
|
|
[tb_Product_20200728].[ColorName] AS [ColorName],
|
|
|
|
[tb_Product_20200728].[PartNo] AS [PartNo],
|
|
|
|
[tb_Product_20200728].[Rows] AS [Rows],
|
|
|
|
[tb_Product_20200728].[Cols] AS [Cols],
|
|
|
|
[tb_Product_20200728].[Layers] AS [Layers],
|
|
|
|
[tb_Product_20200728].[PicturePath] AS [PicturePath],
|
|
|
|
[tb_Product_20200728].[Des] AS [Des],
|
|
|
|
[tb_Product_20200728].[isImport] AS [isImport],
|
|
|
|
[tb_Product_20200728].[PackCount] AS [PackCount],
|
|
|
|
[tb_Product_20200728].[OpenFailNum] AS [OpenFailNum],
|
|
|
|
[tb_Product_20200728].[QLevel] AS [QLevel],
|
|
|
|
[tb_Product_20200728].[IsPrintOneTag] AS [IsPrintOneTag],
|
|
|
|
[tb_Product_20200728].[IsPrintPackList] AS [IsPrintPackList],
|
|
|
|
[tb_Product_20200728].[IsSupply] AS [IsSupply],
|
|
|
|
[tb_Product_20200728].[IsOneMore] AS [IsOneMore],
|
|
|
|
[tb_Product_20200728].[BackPlatingNum] AS [BackPlatingNum],
|
|
|
|
[tb_Product_20200728].[IsPlating] AS [IsPlating],
|
|
|
|
[tb_Product_20200728].[CarTypeID] AS [CarTypeID],
|
|
|
|
[tb_Product_20200728].[IsSame] AS [IsSame],
|
|
|
|
[tb_Product_20200728].[UserID] AS [UserID]
|
|
|
|
FROM [dbo].[tb_Product_20200728] AS [tb_Product_20200728]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_Product_20201105" EntityType="Self.tb_Product_20201105" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_Product_20201105].[ProductID] AS [ProductID],
|
|
|
|
[tb_Product_20201105].[ProductTypeID] AS [ProductTypeID],
|
|
|
|
[tb_Product_20201105].[StockNo] AS [StockNo],
|
|
|
|
[tb_Product_20201105].[PartName] AS [PartName],
|
|
|
|
[tb_Product_20201105].[ProductName] AS [ProductName],
|
|
|
|
[tb_Product_20201105].[ColorName] AS [ColorName],
|
|
|
|
[tb_Product_20201105].[PartNo] AS [PartNo],
|
|
|
|
[tb_Product_20201105].[Rows] AS [Rows],
|
|
|
|
[tb_Product_20201105].[Cols] AS [Cols],
|
|
|
|
[tb_Product_20201105].[Layers] AS [Layers],
|
|
|
|
[tb_Product_20201105].[PicturePath] AS [PicturePath],
|
|
|
|
[tb_Product_20201105].[Des] AS [Des],
|
|
|
|
[tb_Product_20201105].[isImport] AS [isImport],
|
|
|
|
[tb_Product_20201105].[PackCount] AS [PackCount],
|
|
|
|
[tb_Product_20201105].[OpenFailNum] AS [OpenFailNum],
|
|
|
|
[tb_Product_20201105].[QLevel] AS [QLevel],
|
|
|
|
[tb_Product_20201105].[IsPrintOneTag] AS [IsPrintOneTag],
|
|
|
|
[tb_Product_20201105].[IsPrintPackList] AS [IsPrintPackList],
|
|
|
|
[tb_Product_20201105].[IsSupply] AS [IsSupply],
|
|
|
|
[tb_Product_20201105].[IsOneMore] AS [IsOneMore],
|
|
|
|
[tb_Product_20201105].[BackPlatingNum] AS [BackPlatingNum],
|
|
|
|
[tb_Product_20201105].[IsPlating] AS [IsPlating],
|
|
|
|
[tb_Product_20201105].[CarTypeID] AS [CarTypeID],
|
|
|
|
[tb_Product_20201105].[IsSame] AS [IsSame],
|
|
|
|
[tb_Product_20201105].[UserID] AS [UserID],
|
|
|
|
[tb_Product_20201105].[CustomerNo] AS [CustomerNo],
|
|
|
|
[tb_Product_20201105].[CarModelCode] AS [CarModelCode],
|
|
|
|
[tb_Product_20201105].[ColorCodeB] AS [ColorCodeB]
|
|
|
|
FROM [dbo].[tb_Product_20201105] AS [tb_Product_20201105]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_Product_bak" EntityType="Self.tb_Product_bak" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_Product_bak].[ProductID] AS [ProductID],
|
|
|
|
[tb_Product_bak].[ProductTypeID] AS [ProductTypeID],
|
|
|
|
[tb_Product_bak].[StockNo] AS [StockNo],
|
|
|
|
[tb_Product_bak].[PartName] AS [PartName],
|
|
|
|
[tb_Product_bak].[ProductName] AS [ProductName],
|
|
|
|
[tb_Product_bak].[ColorName] AS [ColorName],
|
|
|
|
[tb_Product_bak].[PartNo] AS [PartNo],
|
|
|
|
[tb_Product_bak].[Rows] AS [Rows],
|
|
|
|
[tb_Product_bak].[Cols] AS [Cols],
|
|
|
|
[tb_Product_bak].[Layers] AS [Layers],
|
|
|
|
[tb_Product_bak].[PicturePath] AS [PicturePath],
|
|
|
|
[tb_Product_bak].[Des] AS [Des],
|
|
|
|
[tb_Product_bak].[isImport] AS [isImport],
|
|
|
|
[tb_Product_bak].[PackCount] AS [PackCount],
|
|
|
|
[tb_Product_bak].[OpenFailNum] AS [OpenFailNum],
|
|
|
|
[tb_Product_bak].[QLevel] AS [QLevel],
|
|
|
|
[tb_Product_bak].[IsPrintOneTag] AS [IsPrintOneTag],
|
|
|
|
[tb_Product_bak].[IsPrintPackList] AS [IsPrintPackList],
|
|
|
|
[tb_Product_bak].[IsSupply] AS [IsSupply],
|
|
|
|
[tb_Product_bak].[IsOneMore] AS [IsOneMore],
|
|
|
|
[tb_Product_bak].[BackPlatingNum] AS [BackPlatingNum],
|
|
|
|
[tb_Product_bak].[IsPlating] AS [IsPlating],
|
|
|
|
[tb_Product_bak].[CarTypeID] AS [CarTypeID],
|
|
|
|
[tb_Product_bak].[IsSame] AS [IsSame],
|
|
|
|
[tb_Product_bak].[UserID] AS [UserID],
|
|
|
|
[tb_Product_bak].[CustomerNo] AS [CustomerNo],
|
|
|
|
[tb_Product_bak].[CarModelCode] AS [CarModelCode],
|
|
|
|
[tb_Product_bak].[ColorCodeB] AS [ColorCodeB],
|
|
|
|
[tb_Product_bak].[TemplateName] AS [TemplateName],
|
|
|
|
[tb_Product_bak].[IsHigh] AS [IsHigh]
|
|
|
|
FROM [dbo].[tb_Product_bak] AS [tb_Product_bak]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_Report_FiveScreenStandard" EntityType="Self.tb_Report_FiveScreenStandard" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_Report_FiveScreenStandard].[ID] AS [ID],
|
|
|
|
[tb_Report_FiveScreenStandard].[Name] AS [Name],
|
|
|
|
[tb_Report_FiveScreenStandard].[LastYear] AS [LastYear],
|
|
|
|
[tb_Report_FiveScreenStandard].[Jan] AS [Jan],
|
|
|
|
[tb_Report_FiveScreenStandard].[Feb] AS [Feb],
|
|
|
|
[tb_Report_FiveScreenStandard].[Mar] AS [Mar],
|
|
|
|
[tb_Report_FiveScreenStandard].[Apr] AS [Apr],
|
|
|
|
[tb_Report_FiveScreenStandard].[May] AS [May],
|
|
|
|
[tb_Report_FiveScreenStandard].[Jun] AS [Jun],
|
|
|
|
[tb_Report_FiveScreenStandard].[Jul] AS [Jul],
|
|
|
|
[tb_Report_FiveScreenStandard].[Aug] AS [Aug],
|
|
|
|
[tb_Report_FiveScreenStandard].[Sept] AS [Sept],
|
|
|
|
[tb_Report_FiveScreenStandard].[Oct] AS [Oct],
|
|
|
|
[tb_Report_FiveScreenStandard].[Nov] AS [Nov],
|
|
|
|
[tb_Report_FiveScreenStandard].[Dec] AS [Dec],
|
|
|
|
[tb_Report_FiveScreenStandard].[CreateTime] AS [CreateTime]
|
|
|
|
FROM [dbo].[tb_Report_FiveScreenStandard] AS [tb_Report_FiveScreenStandard]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_ReportPaintingScreen" EntityType="Self.tb_ReportPaintingScreen" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_ReportPaintingScreen].[color] AS [color],
|
|
|
|
[tb_ReportPaintingScreen].[productInfo] AS [productInfo],
|
|
|
|
[tb_ReportPaintingScreen].[sumNum] AS [sumNum],
|
|
|
|
[tb_ReportPaintingScreen].[oncePassNum] AS [oncePassNum],
|
|
|
|
[tb_ReportPaintingScreen].[oncePassRate] AS [oncePassRate],
|
|
|
|
[tb_ReportPaintingScreen].[sumPassNum] AS [sumPassNum],
|
|
|
|
[tb_ReportPaintingScreen].[sumPassRate] AS [sumPassRate]
|
|
|
|
FROM [dbo].[tb_ReportPaintingScreen] AS [tb_ReportPaintingScreen]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_ReportPaintingScreen_pg" EntityType="Self.tb_ReportPaintingScreen_pg" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_ReportPaintingScreen_pg].[color] AS [color],
|
|
|
|
[tb_ReportPaintingScreen_pg].[productInfo] AS [productInfo],
|
|
|
|
[tb_ReportPaintingScreen_pg].[sumNum] AS [sumNum],
|
|
|
|
[tb_ReportPaintingScreen_pg].[hgNum] AS [hgNum],
|
|
|
|
[tb_ReportPaintingScreen_pg].[DefectName1] AS [DefectName1],
|
|
|
|
[tb_ReportPaintingScreen_pg].[defectRate1] AS [defectRate1],
|
|
|
|
[tb_ReportPaintingScreen_pg].[DefectName2] AS [DefectName2],
|
|
|
|
[tb_ReportPaintingScreen_pg].[defectRate2] AS [defectRate2],
|
|
|
|
[tb_ReportPaintingScreen_pg].[DefectName3] AS [DefectName3],
|
|
|
|
[tb_ReportPaintingScreen_pg].[defectRate3] AS [defectRate3],
|
|
|
|
[tb_ReportPaintingScreen_pg].[DefectName4] AS [DefectName4],
|
|
|
|
[tb_ReportPaintingScreen_pg].[defectRate4] AS [defectRate4],
|
|
|
|
[tb_ReportPaintingScreen_pg].[DefectName5] AS [DefectName5],
|
|
|
|
[tb_ReportPaintingScreen_pg].[defectRate5] AS [defectRate5]
|
|
|
|
FROM [dbo].[tb_ReportPaintingScreen_pg] AS [tb_ReportPaintingScreen_pg]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_StationAndCylinder_20200930" EntityType="Self.tb_StationAndCylinder_20200930" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_StationAndCylinder_20200930].[ID] AS [ID],
|
|
|
|
[tb_StationAndCylinder_20200930].[StationID] AS [StationID],
|
|
|
|
[tb_StationAndCylinder_20200930].[CylinderID] AS [CylinderID],
|
|
|
|
[tb_StationAndCylinder_20200930].[Time1] AS [Time1],
|
|
|
|
[tb_StationAndCylinder_20200930].[Time2] AS [Time2],
|
|
|
|
[tb_StationAndCylinder_20200930].[StationNo] AS [StationNo],
|
|
|
|
[tb_StationAndCylinder_20200930].[CylinderNo] AS [CylinderNo]
|
|
|
|
FROM [dbo].[tb_StationAndCylinder_20200930] AS [tb_StationAndCylinder_20200930]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_ZPBom_bak" EntityType="Self.tb_ZPBom_bak" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_ZPBom_bak].[ID] AS [ID],
|
|
|
|
[tb_ZPBom_bak].[StationID] AS [StationID],
|
|
|
|
[tb_ZPBom_bak].[ProductID1] AS [ProductID1],
|
|
|
|
[tb_ZPBom_bak].[ProductID2] AS [ProductID2],
|
|
|
|
[tb_ZPBom_bak].[IsHigh] AS [IsHigh],
|
|
|
|
[tb_ZPBom_bak].[MouldNo] AS [MouldNo]
|
|
|
|
FROM [dbo].[tb_ZPBom_bak] AS [tb_ZPBom_bak]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_ZPBox_bak" EntityType="Self.tb_ZPBox_bak" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_ZPBox_bak].[ID] AS [ID],
|
|
|
|
[tb_ZPBox_bak].[BoxNo] AS [BoxNo],
|
|
|
|
[tb_ZPBox_bak].[PartNo] AS [PartNo],
|
|
|
|
[tb_ZPBox_bak].[CreateTime] AS [CreateTime],
|
|
|
|
[tb_ZPBox_bak].[Flag] AS [Flag],
|
|
|
|
[tb_ZPBox_bak].[Qty] AS [Qty]
|
|
|
|
FROM [dbo].[tb_ZPBox_bak] AS [tb_ZPBox_bak]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_ZPPlan_bak" EntityType="Self.tb_ZPPlan_bak" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_ZPPlan_bak].[ID] AS [ID],
|
|
|
|
[tb_ZPPlan_bak].[OrderNo] AS [OrderNo],
|
|
|
|
[tb_ZPPlan_bak].[OrderDate] AS [OrderDate],
|
|
|
|
[tb_ZPPlan_bak].[Item] AS [Item],
|
|
|
|
[tb_ZPPlan_bak].[StationID] AS [StationID],
|
|
|
|
[tb_ZPPlan_bak].[PartNo] AS [PartNo],
|
|
|
|
[tb_ZPPlan_bak].[OrderCount] AS [OrderCount],
|
|
|
|
[tb_ZPPlan_bak].[ProductCount] AS [ProductCount],
|
|
|
|
[tb_ZPPlan_bak].[IsFinish] AS [IsFinish],
|
|
|
|
[tb_ZPPlan_bak].[BadCount] AS [BadCount],
|
|
|
|
[tb_ZPPlan_bak].[CreateTime] AS [CreateTime],
|
|
|
|
[tb_ZPPlan_bak].[IsOneMore] AS [IsOneMore]
|
|
|
|
FROM [dbo].[tb_ZPPlan_bak] AS [tb_ZPPlan_bak]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_ZPRecord_bak" EntityType="Self.tb_ZPRecord_bak" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_ZPRecord_bak].[ID] AS [ID],
|
|
|
|
[tb_ZPRecord_bak].[OneBarCode] AS [OneBarCode],
|
|
|
|
[tb_ZPRecord_bak].[IsOK] AS [IsOK],
|
|
|
|
[tb_ZPRecord_bak].[PrintType] AS [PrintType],
|
|
|
|
[tb_ZPRecord_bak].[CreateTime] AS [CreateTime],
|
|
|
|
[tb_ZPRecord_bak].[PrintTime] AS [PrintTime],
|
|
|
|
[tb_ZPRecord_bak].[PlanID] AS [PlanID],
|
|
|
|
[tb_ZPRecord_bak].[BarCode] AS [BarCode],
|
|
|
|
[tb_ZPRecord_bak].[OneBarCode1] AS [OneBarCode1],
|
|
|
|
[tb_ZPRecord_bak].[BoxNo] AS [BoxNo]
|
|
|
|
FROM [dbo].[tb_ZPRecord_bak] AS [tb_ZPRecord_bak]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_ZPStepRecord_bak" EntityType="Self.tb_ZPStepRecord_bak" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_ZPStepRecord_bak].[ID] AS [ID],
|
|
|
|
[tb_ZPStepRecord_bak].[BarCode] AS [BarCode],
|
|
|
|
[tb_ZPStepRecord_bak].[StationID] AS [StationID],
|
|
|
|
[tb_ZPStepRecord_bak].[Step] AS [Step],
|
|
|
|
[tb_ZPStepRecord_bak].[MouldNo] AS [MouldNo],
|
|
|
|
[tb_ZPStepRecord_bak].[KeyBarCode] AS [KeyBarCode],
|
|
|
|
[tb_ZPStepRecord_bak].[IsOK] AS [IsOK],
|
|
|
|
[tb_ZPStepRecord_bak].[CreateTime] AS [CreateTime]
|
|
|
|
FROM [dbo].[tb_ZPStepRecord_bak] AS [tb_ZPStepRecord_bak]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_ZPTag20200610" EntityType="Self.tb_ZPTag20200610" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_ZPTag20200610].[ID] AS [ID],
|
|
|
|
[tb_ZPTag20200610].[TagName] AS [TagName],
|
|
|
|
[tb_ZPTag20200610].[Des] AS [Des],
|
|
|
|
[tb_ZPTag20200610].[Flag] AS [Flag]
|
|
|
|
FROM [dbo].[tb_ZPTag20200610] AS [tb_ZPTag20200610]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="tb_ZPTagTest" EntityType="Self.tb_ZPTagTest" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[tb_ZPTagTest].[ID] AS [ID],
|
|
|
|
[tb_ZPTagTest].[TagName] AS [TagName],
|
|
|
|
[tb_ZPTagTest].[Des] AS [Des],
|
|
|
|
[tb_ZPTagTest].[Flag] AS [Flag]
|
|
|
|
FROM [dbo].[tb_ZPTagTest] AS [tb_ZPTagTest]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="test1" EntityType="Self.test1" store:Type="Tables" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[test1].[ID] AS [ID],
|
|
|
|
[test1].[StationID] AS [StationID],
|
|
|
|
[test1].[StockNo] AS [StockNo],
|
|
|
|
[test1].[PrintType] AS [PrintType],
|
|
|
|
[test1].[OneBarCode] AS [OneBarCode],
|
|
|
|
[test1].[PlanID] AS [PlanID],
|
|
|
|
[test1].[CreateTime] AS [CreateTime],
|
|
|
|
[test1].[ProductName] AS [ProductName],
|
|
|
|
[test1].[PartNo] AS [PartNo],
|
|
|
|
[test1].[ProductDate] AS [ProductDate],
|
|
|
|
[test1].[ClassName] AS [ClassName]
|
|
|
|
FROM [dbo].[test1] AS [test1]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<EntitySet Name="View_1" EntityType="Self.View_1" store:Type="Views" store:Schema="dbo">
|
|
|
|
<DefiningQuery>SELECT
|
|
|
|
[View_1].[ID] AS [ID],
|
|
|
|
[View_1].[CylinderID] AS [CylinderID],
|
|
|
|
[View_1].[DrumBarCode] AS [DrumBarCode],
|
|
|
|
[View_1].[BarCode] AS [BarCode],
|
|
|
|
[View_1].[Time1] AS [Time1],
|
|
|
|
[View_1].[Time2] AS [Time2]
|
|
|
|
FROM [dbo].[View_1] AS [View_1]</DefiningQuery>
|
|
|
|
</EntitySet>
|
|
|
|
<AssociationSet Name="FK_T_SYS_RO_REFERENCE_T_SYS_PO" Association="Self.FK_T_SYS_RO_REFERENCE_T_SYS_PO">
|
|
|
|
<End Role="T_Sys_Power" EntitySet="T_Sys_Power" />
|
|
|
|
<End Role="T_Sys_RoleLinkPower" EntitySet="T_Sys_RoleLinkPower" />
|
|
|
|
</AssociationSet>
|
|
|
|
</EntityContainer>
|
|
|
|
</Schema>
|