<?xml version="1.0" encoding="utf-8"?> <edmx:Edmx Version="2.0" xmlns:edmx="http://schemas.microsoft.com/ado/2008/10/edmx"> <!-- EF Runtime content --> <edmx:Runtime> <!-- SSDL content --> <edmx:StorageModels> <Schema Namespace="BBMPT1Model.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/02/edm/ssdl"> <!--生成过程中发现错误: 警告 6013: 表/视图“BBMPT1.dbo.'2F2$'”未定义主键,并且无法推断有效的主键。已排除了此表/视图。若要使用实体,将需要检查您的架构、添加正确的键并取消对实体的注释。 <EntityType Name="'2F2$'"> <Property Name="F1" Type="nvarchar" MaxLength="255" /> <Property Name="F2" Type="float" /> <Property Name="F3" Type="nvarchar" MaxLength="255" /> </EntityType>--> <!--生成过程中发现错误: 警告 6013: 表/视图“BBMPT1.dbo.'2F3$'”未定义主键,并且无法推断有效的主键。已排除了此表/视图。若要使用实体,将需要检查您的架构、添加正确的键并取消对实体的注释。 <EntityType Name="'2F3$'"> <Property Name="F1" Type="nvarchar" MaxLength="255" /> <Property Name="F2" Type="nvarchar" MaxLength="255" /> <Property Name="F3" Type="float" /> </EntityType>--> <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> <!--生成过程中发现错误: 警告 6013: 表/视图“BBMPT1.dbo.Sheet1$”未定义主键,并且无法推断有效的主键。已排除了此表/视图。若要使用实体,将需要检查您的架构、添加正确的键并取消对实体的注释。 <EntityType Name="Sheet1$"> <Property Name="F1" Type="nvarchar" MaxLength="255" /> <Property Name="F2" Type="nvarchar" MaxLength="255" /> <Property Name="F3" Type="nvarchar" MaxLength="255" /> <Property Name="F4" Type="nvarchar" MaxLength="255" /> <Property Name="F5" Type="nvarchar" MaxLength="255" /> <Property Name="F6" Type="nvarchar" MaxLength="255" /> <Property Name="F7" Type="nvarchar" MaxLength="255" /> <Property Name="F8" Type="nvarchar" MaxLength="255" /> <Property Name="F9" Type="nvarchar" MaxLength="255" /> <Property Name="F10" Type="nvarchar" MaxLength="255" /> <Property Name="F11" Type="nvarchar" MaxLength="255" /> <Property Name="F12" Type="nvarchar" MaxLength="255" /> <Property Name="F13" Type="nvarchar" MaxLength="255" /> <Property Name="F14" Type="nvarchar" MaxLength="255" /> <Property Name="F15" Type="nvarchar" MaxLength="255" /> <Property Name="F16" Type="nvarchar" MaxLength="255" /> <Property Name="F17" Type="nvarchar" MaxLength="255" /> <Property Name="F18" Type="nvarchar" MaxLength="255" /> <Property Name="F19" Type="nvarchar" MaxLength="255" /> <Property Name="F20" Type="nvarchar" MaxLength="255" /> <Property Name="F21" Type="nvarchar" MaxLength="255" /> <Property Name="F22" Type="nvarchar" MaxLength="255" /> </EntityType>--> <!--生成过程中发现错误: 警告 6013: 表/视图“BBMPT1.dbo.Sheet2$”未定义主键,并且无法推断有效的主键。已排除了此表/视图。若要使用实体,将需要检查您的架构、添加正确的键并取消对实体的注释。 <EntityType Name="Sheet2$"> <Property Name="F1" Type="nvarchar" MaxLength="255" /> <Property Name="F2" Type="nvarchar" MaxLength="255" /> <Property Name="F3" Type="nvarchar" MaxLength="255" /> </EntityType>--> <!--生成过程中发现错误: 警告 6013: 表/视图“BBMPT1.dbo.Sheet3$”未定义主键,并且无法推断有效的主键。已排除了此表/视图。若要使用实体,将需要检查您的架构、添加正确的键并取消对实体的注释。 <EntityType Name="Sheet3$"> <Property Name="F1" Type="nvarchar" MaxLength="255" /> <Property Name="F2" Type="nvarchar" MaxLength="255" /> <Property Name="F3" Type="nvarchar" MaxLength="255" /> </EntityType>--> <!--生成过程中发现错误: 警告 6013: 表/视图“BBMPT1.dbo.Sheet4$”未定义主键,并且无法推断有效的主键。已排除了此表/视图。若要使用实体,将需要检查您的架构、添加正确的键并取消对实体的注释。 <EntityType Name="Sheet4$"> <Property Name="F1" Type="nvarchar" MaxLength="255" /> <Property Name="F2" Type="nvarchar" MaxLength="255" /> <Property Name="F3" Type="float" /> </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_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" /> </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_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> <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" /> </EntityType> <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" /> </EntityType> <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" /> </EntityType> <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" /> </EntityType> <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" /> </EntityType> <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" /> </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" /> </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_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" /> </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" /> </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" /> </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="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> <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" /> </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" /> </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" /> </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> <!--生成过程中发现错误: 警告 6013: 表/视图“BBMPT1.dbo.tb_GetNewTasks”未定义主键,并且无法推断有效的主键。已排除了此表/视图。若要使用实体,将需要检查您的架构、添加正确的键并取消对实体的注释。 <EntityType Name="tb_GetNewTasks"> <Property Name="TaskState" Type="nvarchar" MaxLength="100" /> <Property Name="TaskID" Type="nvarchar" MaxLength="100" /> <Property Name="TableName" Type="nvarchar" MaxLength="100" /> <Property Name="TableName2" Type="nvarchar" MaxLength="100" /> <Property Name="TableName3" Type="nvarchar" MaxLength="100" /> <Property Name="Creator" Type="nvarchar" MaxLength="100" /> <Property Name="DataCount" Type="nvarchar" MaxLength="100" /> <Property Name="Subscriber" Type="nvarchar" MaxLength="100" /> <Property Name="FailedCount" Type="nvarchar" MaxLength="100" /> <Property Name="FailedInfo" Type="nvarchar" MaxLength="100" /> <Property Name="Domain" Type="nvarchar" MaxLength="100" /> <Property Name="Site" Type="nvarchar" MaxLength="100" /> <Property Name="GUID" Type="nvarchar" MaxLength="100" /> <Property Name="UID" Type="nvarchar" MaxLength="100" /> <Property Name="CreateUser" Type="nvarchar" MaxLength="100" /> <Property Name="CreateTime" Type="nvarchar" MaxLength="100" /> <Property Name="Remark" Type="nvarchar" MaxLength="100" /> <Property Name="UpdateUser" Type="nvarchar" MaxLength="100" /> <Property Name="UpdateTime" Type="nvarchar" MaxLength="100" /> <Property Name="IsChecked" Type="nvarchar" MaxLength="100" /> <Property Name="InsertTime" Type="datetime" /> </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" /> </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" /> </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_InspectResult"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="nvarchar" MaxLength="50" 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_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" /> </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" /> </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" /> </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" /> </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" /> </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" /> </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" /> </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" /> </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_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" /> </EntityType> <!--生成过程中发现错误: 警告 6013: 表/视图“BBMPT1.dbo.tb_PaintStockIn_Report”未定义主键,并且无法推断有效的主键。已排除了此表/视图。若要使用实体,将需要检查您的架构、添加正确的键并取消对实体的注释。 <EntityType Name="tb_PaintStockIn_Report"> <Property Name="BarCode" Type="nvarchar" MaxLength="100" /> <Property Name="ProductInfo" Type="nvarchar" MaxLength="100" /> <Property Name="CreateTime" 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" /> </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="StationID" /> <PropertyRef Name="PartNo" /> </Key> <Property Name="StockNo" Type="nvarchar" MaxLength="20" /> <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" /> </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="20" /> <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" /> </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" /> </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="int" /> <Property Name="BadCount" Type="int" /> </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" /> </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_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" /> </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" /> </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" /> </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_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_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="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" /> </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> <!--生成过程中发现错误: 警告 6013: 表/视图“BBMPT1.dbo.TES_PART_DET”未定义主键,并且无法推断有效的主键。已排除了此表/视图。若要使用实体,将需要检查您的架构、添加正确的键并取消对实体的注释。 <EntityType Name="TES_PART_DET"> <Property Name="GUID" Type="uniqueidentifier" /> <Property Name="PartCode" Type="nvarchar" MaxLength="50" /> <Property Name="Site" Type="nvarchar" MaxLength="50" /> <Property Name="AbcClass" Type="nvarchar" MaxLength="50" /> <Property Name="LotControl" Type="nvarchar" MaxLength="50" /> <Property Name="Location" Type="nvarchar" MaxLength="50" /> <Property Name="LocationType" Type="nvarchar" MaxLength="50" /> <Property Name="AutoMaticLotNumbers" Type="bit" /> <Property Name="AverageInterval" Type="int" /> <Property Name="CycleCountInterval" Type="int" /> <Property Name="ShelfLife" Type="int" /> <Property Name="KeyPart" Type="bit" /> <Property Name="PoReceiptStatus" Type="nvarchar" MaxLength="50" /> <Property Name="RctPoActive" Type="bit" /> <Property Name="WoReceiptStatus" Type="nvarchar" MaxLength="50" /> <Property Name="RctWoActive" Type="bit" /> <Property Name="MemoOrderType" Type="nvarchar" MaxLength="50" /> <Property Name="MasterSchedule" Type="bit" /> <Property Name="PlanOrders" Type="bit" /> <Property Name="TimeFence" Type="int" /> <Property Name="OrderPolicy" Type="nvarchar" MaxLength="50" /> <Property Name="OrderQuantity" Type="decimal" Precision="18" Scale="5" /> <Property Name="OrderPeriod" Type="int" /> <Property Name="SafetyStock" Type="decimal" Precision="18" Scale="5" /> <Property Name="SafetyTime" Type="decimal" Precision="18" Scale="5" /> <Property Name="ReorderPoint" Type="decimal" Precision="18" Scale="5" /> <Property Name="PlanningRev" Type="nvarchar" MaxLength="50" /> <Property Name="IssuePolicy" Type="bit" /> <Property Name="BuyerPlanner" Type="nvarchar" MaxLength="50" /> <Property Name="Supplier" Type="nvarchar" MaxLength="50" /> <Property Name="PoSite" Type="nvarchar" MaxLength="50" /> <Property Name="PurMfg" Type="nvarchar" MaxLength="50" /> <Property Name="ConfigurationType" Type="nvarchar" MaxLength="50" /> <Property Name="InspectionLocation" Type="nvarchar" MaxLength="50" /> <Property Name="InspectionRequired" Type="bit" /> <Property Name="InspectionLeadTime" Type="int" /> <Property Name="CumulativeLeadTime" Type="int" /> <Property Name="ManufacturingLedaTime" Type="int" /> <Property Name="PurchaseLeadTime" Type="int" /> <Property Name="AtpEnforcementLevel" Type="nvarchar" MaxLength="50" /> <Property Name="FamilyATP" Type="bit" /> <Property Name="AtpHorizon" Type="int" /> <Property Name="RunSeq1" Type="nvarchar" MaxLength="50" /> <Property Name="RunSeq2" Type="nvarchar" MaxLength="50" /> <Property Name="Phantom" Type="bit" /> <Property Name="MinimumOrder" Type="decimal" Precision="18" Scale="0" /> <Property Name="MaximumOrder" Type="decimal" Precision="18" Scale="0" /> <Property Name="OrderMultiple" Type="decimal" Precision="18" Scale="0" /> <Property Name="OperationBasedYield" Type="bit" /> <Property Name="YieldPercent" Type="decimal" Precision="18" Scale="0" /> <Property Name="RunTime" Type="nvarchar" MaxLength="50" /> <Property Name="SetupTime" Type="decimal" Precision="18" Scale="0" /> <Property Name="EmtType" Type="nvarchar" MaxLength="50" /> <Property Name="AutomaticEmtProcessing" Type="bit" /> <Property Name="NetWorkCode" Type="nvarchar" MaxLength="50" /> <Property Name="RoutingCode" Type="nvarchar" MaxLength="50" /> <Property Name="BomFormulaCode" Type="nvarchar" MaxLength="50" /> <Property Name="ReplenishmentMethod" Type="nvarchar" MaxLength="50" /> <Property Name="UID" Type="int" /> <Property Name="CreateUser" Type="nvarchar" MaxLength="50" /> <Property Name="CreateTime" Type="datetime" /> <Property Name="Remark" Type="nvarchar" MaxLength="500" /> <Property Name="TaskID" Type="uniqueidentifier" /> <Property Name="CommandType" Type="nvarchar" MaxLength="50" /> <Property Name="DataID" Type="uniqueidentifier" /> <Property Name="Domain" Type="nvarchar" MaxLength="50" /> <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="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> <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="BBMPT1ModelStoreContainer"> <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_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_Assembly_247" EntityType="Self.tb_Assembly_247" Schema="dbo" store:Type="Tables" /> <EntitySet Name="tb_Bad_Injection" EntityType="Self.tb_Bad_Injection" Schema="dbo" store:Type="Tables" /> <EntitySet Name="tb_BarCode1" EntityType="Self.tb_BarCode1" Schema="dbo" store:Type="Tables" /> <EntitySet Name="tb_BarCode2" EntityType="Self.tb_BarCode2" Schema="dbo" store:Type="Tables" /> <EntitySet Name="tb_BarCode3" EntityType="Self.tb_BarCode3" Schema="dbo" store:Type="Tables" /> <EntitySet Name="tb_BarCode4" EntityType="Self.tb_BarCode4" Schema="dbo" store:Type="Tables" /> <EntitySet Name="tb_BarCode5" EntityType="Self.tb_BarCode5" 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_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_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_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_InjectPlanReport" EntityType="Self.tb_InjectPlanReport" Schema="dbo" store:Type="Tables" /> <EntitySet Name="tb_InspectResult" EntityType="Self.tb_InspectResult" 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_PaintInfo" EntityType="Self.tb_PaintInfo" 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_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_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_weightRecord" EntityType="Self.tb_weightRecord" Schema="dbo" store:Type="Tables" /> <EntitySet Name="tb_ZPPlan" EntityType="Self.tb_ZPPlan" 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_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="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> <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></edmx:StorageModels> <!-- CSDL content --> <edmx:ConceptualModels> <Schema Namespace="BBMPT1Model" Alias="Self" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation" xmlns:customannotation="http://schemas.microsoft.com/ado/2013/11/edm/customannotation" xmlns="http://schemas.microsoft.com/ado/2008/09/edm"> <EntityContainer Name="BBMPT1Entities" annotation:LazyLoadingEnabled="true"> <EntitySet Name="LogErr" EntityType="BBMPT1Model.LogErr" /> <EntitySet Name="LogSys" EntityType="BBMPT1Model.LogSys" /> <EntitySet Name="T_PaintInfo" EntityType="BBMPT1Model.T_PaintInfo" /> <EntitySet Name="T_Sys_Buttons" EntityType="BBMPT1Model.T_Sys_Buttons" /> <EntitySet Name="T_Sys_NavMenu" EntityType="BBMPT1Model.T_Sys_NavMenu" /> <EntitySet Name="T_Sys_Power" EntityType="BBMPT1Model.T_Sys_Power" /> <EntitySet Name="T_Sys_Role" EntityType="BBMPT1Model.T_Sys_Role" /> <EntitySet Name="T_Sys_UserRole" EntityType="BBMPT1Model.T_Sys_UserRole" /> <EntitySet Name="T_Sys_Users" EntityType="BBMPT1Model.T_Sys_Users" /> <EntitySet Name="T_Sys_Users_NavMenu" EntityType="BBMPT1Model.T_Sys_Users_NavMenu" /> <EntitySet Name="TA_DEPT" EntityType="BBMPT1Model.TA_DEPT" /> <EntitySet Name="tb_Assembly_247" EntityType="BBMPT1Model.tb_Assembly_247" /> <EntitySet Name="tb_Bad_Injection" EntityType="BBMPT1Model.tb_Bad_Injection" /> <EntitySet Name="tb_BarCode1" EntityType="BBMPT1Model.tb_BarCode1" /> <EntitySet Name="tb_BarCode2" EntityType="BBMPT1Model.tb_BarCode2" /> <EntitySet Name="tb_BarCode3" EntityType="BBMPT1Model.tb_BarCode3" /> <EntitySet Name="tb_BarCode4" EntityType="BBMPT1Model.tb_BarCode4" /> <EntitySet Name="tb_BarCode5" EntityType="BBMPT1Model.tb_BarCode5" /> <EntitySet Name="tb_Bom" EntityType="BBMPT1Model.tb_Bom" /> <EntitySet Name="tb_Box_247" EntityType="BBMPT1Model.tb_Box_247" /> <EntitySet Name="tb_BucketInfo" EntityType="BBMPT1Model.tb_BucketInfo" /> <EntitySet Name="tb_CarType" EntityType="BBMPT1Model.tb_CarType" /> <EntitySet Name="tb_CheckItem" EntityType="BBMPT1Model.tb_CheckItem" /> <EntitySet Name="tb_Color" EntityType="BBMPT1Model.tb_Color" /> <EntitySet Name="tb_CommonlyInspection" EntityType="BBMPT1Model.tb_CommonlyInspection" /> <EntitySet Name="tb_CommonlyInspectionRecord" EntityType="BBMPT1Model.tb_CommonlyInspectionRecord" /> <EntitySet Name="tb_CommonlyInspectionVersion" EntityType="BBMPT1Model.tb_CommonlyInspectionVersion" /> <EntitySet Name="tb_Config" EntityType="BBMPT1Model.tb_Config" /> <EntitySet Name="tb_Cylinder" EntityType="BBMPT1Model.tb_Cylinder" /> <EntitySet Name="tb_CylinderAndRaw" EntityType="BBMPT1Model.tb_CylinderAndRaw" /> <EntitySet Name="tb_Defect" EntityType="BBMPT1Model.tb_Defect" /> <EntitySet Name="tb_Device" EntityType="BBMPT1Model.tb_Device" /> <EntitySet Name="tb_DeviceKeepItems" EntityType="BBMPT1Model.tb_DeviceKeepItems" /> <EntitySet Name="tb_Factory" EntityType="BBMPT1Model.tb_Factory" /> <EntitySet Name="tb_FinishProduct" EntityType="BBMPT1Model.tb_FinishProduct" /> <EntitySet Name="tb_ImgVideo" EntityType="BBMPT1Model.tb_ImgVideo" /> <EntitySet Name="tb_Inhection_DownReason" EntityType="BBMPT1Model.tb_Inhection_DownReason" /> <EntitySet Name="tb_Injection_BoxRecord" EntityType="BBMPT1Model.tb_Injection_BoxRecord" /> <EntitySet Name="tb_Injection_DownRecord" EntityType="BBMPT1Model.tb_Injection_DownRecord" /> <EntitySet Name="tb_Injection_DownTime" EntityType="BBMPT1Model.tb_Injection_DownTime" /> <EntitySet Name="tb_Injection_DownType" EntityType="BBMPT1Model.tb_Injection_DownType" /> <EntitySet Name="tb_Injection_Record" EntityType="BBMPT1Model.tb_Injection_Record" /> <EntitySet Name="tb_InjectionPlan" EntityType="BBMPT1Model.tb_InjectionPlan" /> <EntitySet Name="tb_InjectPlanReport" EntityType="BBMPT1Model.tb_InjectPlanReport" /> <EntitySet Name="tb_InspectResult" EntityType="BBMPT1Model.tb_InspectResult" /> <EntitySet Name="tb_KeepItems" EntityType="BBMPT1Model.tb_KeepItems" /> <EntitySet Name="tb_KeepItemsVersion" EntityType="BBMPT1Model.tb_KeepItemsVersion" /> <EntitySet Name="tb_KeepLevel" EntityType="BBMPT1Model.tb_KeepLevel" /> <EntitySet Name="tb_KeepPlan" EntityType="BBMPT1Model.tb_KeepPlan" /> <EntitySet Name="tb_KeepRecord" EntityType="BBMPT1Model.tb_KeepRecord" /> <EntitySet Name="tb_KeepVersion" EntityType="BBMPT1Model.tb_KeepVersion" /> <EntitySet Name="tb_LayerAndBC" EntityType="BBMPT1Model.tb_LayerAndBC" /> <EntitySet Name="tb_Line" EntityType="BBMPT1Model.tb_Line" /> <EntitySet Name="tb_Machine" EntityType="BBMPT1Model.tb_Machine" /> <EntitySet Name="tb_Manufacturer" EntityType="BBMPT1Model.tb_Manufacturer" /> <EntitySet Name="tb_Mistake_247" EntityType="BBMPT1Model.tb_Mistake_247" /> <EntitySet Name="tb_Model_Product" EntityType="BBMPT1Model.tb_Model_Product" /> <EntitySet Name="tb_Model_Update" EntityType="BBMPT1Model.tb_Model_Update" /> <EntitySet Name="tb_ModelCount" EntityType="BBMPT1Model.tb_ModelCount" /> <EntitySet Name="tb_ModelInfo" EntityType="BBMPT1Model.tb_ModelInfo" /> <EntitySet Name="tb_Operator" EntityType="BBMPT1Model.tb_Operator" /> <EntitySet Name="tb_Paint_Bucket" EntityType="BBMPT1Model.tb_Paint_Bucket" /> <EntitySet Name="tb_PaintBarCode" EntityType="BBMPT1Model.tb_PaintBarCode" /> <EntitySet Name="tb_PaintInfo" EntityType="BBMPT1Model.tb_PaintInfo" /> <EntitySet Name="tb_Place" EntityType="BBMPT1Model.tb_Place" /> <EntitySet Name="tb_Plan_247" EntityType="BBMPT1Model.tb_Plan_247" /> <EntitySet Name="tb_PlanScreenConfig" EntityType="BBMPT1Model.tb_PlanScreenConfig" /> <EntitySet Name="tb_Plastic" EntityType="BBMPT1Model.tb_Plastic" /> <EntitySet Name="tb_PLC_Break" EntityType="BBMPT1Model.tb_PLC_Break" /> <EntitySet Name="tb_PLC_Mould" EntityType="BBMPT1Model.tb_PLC_Mould" /> <EntitySet Name="tb_Product" EntityType="BBMPT1Model.tb_Product" /> <EntitySet Name="tb_Product_Color" EntityType="BBMPT1Model.tb_Product_Color" /> <EntitySet Name="tb_Product_Injection" EntityType="BBMPT1Model.tb_Product_Injection" /> <EntitySet Name="tb_Product_Injection_w" EntityType="BBMPT1Model.tb_Product_Injection_w" /> <EntitySet Name="tb_ProductSotckIn" EntityType="BBMPT1Model.tb_ProductSotckIn" /> <EntitySet Name="tb_ProductType" EntityType="BBMPT1Model.tb_ProductType" /> <EntitySet Name="tb_Record_247" EntityType="BBMPT1Model.tb_Record_247" /> <EntitySet Name="tb_Report_FiveScreen" EntityType="BBMPT1Model.tb_Report_FiveScreen" /> <EntitySet Name="tb_Report_FiveScreenConfig" EntityType="BBMPT1Model.tb_Report_FiveScreenConfig" /> <EntitySet Name="tb_Report_FiveScreenLast" EntityType="BBMPT1Model.tb_Report_FiveScreenLast" /> <EntitySet Name="tb_SkidInfo" EntityType="BBMPT1Model.tb_SkidInfo" /> <EntitySet Name="tb_Station" EntityType="BBMPT1Model.tb_Station" /> <EntitySet Name="tb_StationAndCylinder" EntityType="BBMPT1Model.tb_StationAndCylinder" /> <EntitySet Name="tb_StockIn" EntityType="BBMPT1Model.tb_StockIn" /> <EntitySet Name="tb_StockIn_beif" EntityType="BBMPT1Model.tb_StockIn_beif" /> <EntitySet Name="tb_StockInColor" EntityType="BBMPT1Model.tb_StockInColor" /> <EntitySet Name="tb_test" EntityType="BBMPT1Model.tb_test" /> <EntitySet Name="tb_weightRecord" EntityType="BBMPT1Model.tb_weightRecord" /> <EntitySet Name="tb_ZPPlan" EntityType="BBMPT1Model.tb_ZPPlan" /> <EntitySet Name="TES_BOM" EntityType="BBMPT1Model.TES_BOM" /> <EntitySet Name="TES_PART_MSTR" EntityType="BBMPT1Model.TES_PART_MSTR" /> <EntitySet Name="test2" EntityType="BBMPT1Model.test2" /> <EntitySet Name="T_Sys_RoleLinkPower" EntityType="BBMPT1Model.T_Sys_RoleLinkPower" /> <EntitySet Name="tb_Report_FiveScreenStandard" EntityType="BBMPT1Model.tb_Report_FiveScreenStandard" /> <EntitySet Name="tb_ReportPaintingScreen" EntityType="BBMPT1Model.tb_ReportPaintingScreen" /> <EntitySet Name="tb_ReportPaintingScreen_pg" EntityType="BBMPT1Model.tb_ReportPaintingScreen_pg" /> <EntitySet Name="test1" EntityType="BBMPT1Model.test1" /> <AssociationSet Name="FK_T_SYS_RO_REFERENCE_T_SYS_PO" Association="BBMPT1Model.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> <EntityType Name="LogErr"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="ErrContent" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" /> <Property Name="ErrSource" Type="String" MaxLength="200" FixedLength="false" Unicode="false" /> <Property Name="ErrTime" Type="DateTime" Precision="3" /> </EntityType> <EntityType Name="LogSys"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="SysContent" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" /> <Property Name="SysSource" Type="String" MaxLength="500" FixedLength="false" Unicode="false" /> <Property Name="CreateTime" Type="DateTime" Precision="3" /> </EntityType> <EntityType Name="T_PaintInfo"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" /> <Property Name="PaintCode" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" /> <Property Name="PaintName" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" /> <Property Name="PaintModel" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" /> <Property Name="UnitCode" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" /> <Property Name="CarModelCode" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" /> <Property Name="IsUsing" Type="Int32" Nullable="false" /> <Property Name="CreateTime" Type="DateTime" Nullable="false" Precision="3" /> </EntityType> <EntityType Name="T_Sys_Buttons"> <Key> <PropertyRef Name="BtnID" /> </Key> <Property Name="BtnID" Type="Guid" Nullable="false" /> <Property Name="BtnName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="ItemPic" Type="String" MaxLength="300" FixedLength="false" Unicode="false" /> <Property Name="PowerID" Type="Guid" /> <Property Name="MenuID" Type="Guid" /> <Property Name="MenuName" Type="String" MaxLength="200" FixedLength="false" Unicode="true" /> <Property Name="IsEnabled" Type="String" MaxLength="1" FixedLength="true" Unicode="false" /> <Property Name="BtnCode" Type="String" MaxLength="50" FixedLength="false" Unicode="false" /> </EntityType> <EntityType Name="T_Sys_NavMenu"> <Key> <PropertyRef Name="MenuID" /> </Key> <Property Name="MenuID" Type="Guid" Nullable="false" /> <Property Name="MenuName" Type="String" MaxLength="200" FixedLength="false" Unicode="true" /> <Property Name="URLStr" Type="String" MaxLength="500" FixedLength="false" Unicode="false" /> <Property Name="ItemPic" Type="String" MaxLength="300" FixedLength="false" Unicode="false" /> <Property Name="PowerID" Type="Guid" /> <Property Name="ParentMenuID" Type="Guid" /> <Property Name="IsEnabled" Type="String" MaxLength="1" FixedLength="true" Unicode="false" /> <Property Name="OrderNum" Type="String" MaxLength="100" FixedLength="false" Unicode="false" /> </EntityType> <EntityType Name="T_Sys_Power"> <Key> <PropertyRef Name="PowerID" /> </Key> <Property Name="PowerID" Type="Guid" Nullable="false" /> <Property Name="PowerCode" Type="String" MaxLength="10" FixedLength="false" Unicode="false" /> <Property Name="PowerName" Type="String" Nullable="false" MaxLength="30" FixedLength="false" Unicode="false" /> <Property Name="OpName" Type="String" MaxLength="20" FixedLength="false" Unicode="false" /> <Property Name="OpTime" Type="DateTime" Precision="3" /> <NavigationProperty Name="T_Sys_RoleLinkPower" Relationship="BBMPT1Model.FK_T_SYS_RO_REFERENCE_T_SYS_PO" FromRole="T_Sys_Power" ToRole="T_Sys_RoleLinkPower" /> </EntityType> <EntityType Name="T_Sys_Role"> <Key> <PropertyRef Name="RoleID" /> </Key> <Property Name="RoleID" Type="Guid" Nullable="false" /> <Property Name="RoleName" Type="String" MaxLength="30" FixedLength="false" Unicode="false" /> <Property Name="Description" Type="String" MaxLength="200" FixedLength="false" Unicode="false" /> <Property Name="OpName" Type="String" MaxLength="20" FixedLength="false" Unicode="false" /> <Property Name="OpTime" Type="DateTime" Precision="3" /> </EntityType> <EntityType Name="T_Sys_UserRole"> <Key> <PropertyRef Name="UserID" /> <PropertyRef Name="RoleID" /> </Key> <Property Name="UserID" Type="Guid" Nullable="false" /> <Property Name="RoleID" Type="Guid" Nullable="false" /> <Property Name="OpTime" Type="DateTime" Precision="3" /> <Property Name="OpName" Type="String" MaxLength="20" FixedLength="false" Unicode="false" /> </EntityType> <EntityType Name="T_Sys_Users"> <Key> <PropertyRef Name="UserID" /> </Key> <Property Name="UserID" Type="Guid" Nullable="false" /> <Property Name="UserName" Type="String" Nullable="false" MaxLength="20" FixedLength="false" Unicode="false" /> <Property Name="Password" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="IsEnabled" Type="String" Nullable="false" MaxLength="1" FixedLength="true" Unicode="false" /> <Property Name="RealName" Type="String" MaxLength="20" FixedLength="false" Unicode="true" /> <Property Name="Sex" Type="String" MaxLength="1" FixedLength="true" Unicode="false" /> <Property Name="Tel" Type="String" MaxLength="20" FixedLength="false" Unicode="true" /> <Property Name="LastLoginTime" Type="DateTime" Precision="3" /> <Property Name="LastLoginIP" Type="String" MaxLength="20" FixedLength="false" Unicode="false" /> <Property Name="DepartmentID" Type="Guid" /> <Property Name="OpName" Type="String" MaxLength="20" FixedLength="false" Unicode="true" /> <Property Name="OpTime" Type="DateTime" Precision="3" /> <Property Name="Department" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> </EntityType> <EntityType Name="T_Sys_Users_NavMenu"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" /> <Property Name="UserID" Type="Guid" /> <Property Name="MenuID" Type="Guid" /> </EntityType> <EntityType Name="TA_DEPT"> <Key> <PropertyRef Name="GUID" /> </Key> <Property Name="GUID" Type="Guid" Nullable="false" /> <Property Name="DeptCode" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="DeptName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="CreateUser" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="CreateTime" Type="DateTime" Precision="3" /> <Property Name="UpdateUser" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="UpdateTime" Type="DateTime" Precision="3" /> <Property Name="Remark" Type="String" MaxLength="500" FixedLength="false" Unicode="true" /> <Property Name="UID" Type="Int32" /> <Property Name="Enable" Type="Boolean" /> <Property Name="Domain" Type="String" MaxLength="500" FixedLength="false" Unicode="true" /> <Property Name="Site" Type="String" MaxLength="500" FixedLength="false" Unicode="true" /> </EntityType> <EntityType Name="tb_Assembly_247"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="PartNo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="PartName" Type="String" MaxLength="200" FixedLength="false" Unicode="true" /> <Property Name="BatchNo" Type="String" MaxLength="200" FixedLength="false" Unicode="true" /> <Property Name="Color" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="ColorNo" Type="String" MaxLength="20" FixedLength="false" Unicode="true" /> <Property Name="PartType" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="TapeBatchNo" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="Validity" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="ValidityDate" Type="String" MaxLength="200" FixedLength="false" Unicode="true" /> <Property Name="CreateTime" Type="DateTime" Precision="3" /> <Property Name="PrintTime" Type="DateTime" Precision="3" /> <Property Name="Des" Type="String" MaxLength="500" FixedLength="false" Unicode="true" /> <Property Name="Flag" Type="Int32" /> </EntityType> <EntityType Name="tb_Bad_Injection"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="OneBarCode" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="BarCode" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="BadPosition" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="BadReason" Type="String" MaxLength="200" FixedLength="false" Unicode="true" /> <Property Name="CreateTime" Type="DateTime" Precision="3" /> </EntityType> <EntityType Name="tb_BarCode1"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="StationID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="OneBarCode" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="BarCode" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="StockNo" Type="String" MaxLength="20" FixedLength="false" Unicode="true" /> <Property Name="PartNo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="PrintType" Type="Int32" /> <Property Name="CreateTime" Type="DateTime" Precision="3" /> <Property Name="PrintTime" Type="DateTime" Precision="3" /> <Property Name="IsDel" Type="Int32" /> <Property Name="IsImport" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" /> <Property Name="StationID2" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="PlanID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="BoxNo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> </EntityType> <EntityType Name="tb_BarCode2"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="StationID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="OneBarCode" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="BarCode" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="StockNo" Type="String" MaxLength="20" FixedLength="false" Unicode="true" /> <Property Name="PartNo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="PrintType" Type="Int32" /> <Property Name="CreateTime" Type="DateTime" Precision="3" /> <Property Name="PrintTime" Type="DateTime" Precision="3" /> <Property Name="IsDel" Type="Int32" /> <Property Name="IsImport" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" /> <Property Name="StationID2" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="PlanID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="BoxNo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="IsBad" Type="Int32" /> <Property Name="ProductNature" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> </EntityType> <EntityType Name="tb_BarCode3"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="StationID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="OneBarCode" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="BarCode" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="StockNo" Type="String" MaxLength="20" FixedLength="false" Unicode="true" /> <Property Name="PartNo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="PrintType" Type="Int32" /> <Property Name="CreateTime" Type="DateTime" Precision="3" /> <Property Name="PrintTime" Type="DateTime" Precision="3" /> <Property Name="IsDel" Type="Int32" /> <Property Name="IsImport" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" /> <Property Name="StationID2" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="PlanID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> </EntityType> <EntityType Name="tb_BarCode4"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="StationID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="OneBarCode" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="BarCode" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="StockNo" Type="String" MaxLength="20" FixedLength="false" Unicode="true" /> <Property Name="PartNo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="PrintType" Type="Int32" /> <Property Name="CreateTime" Type="DateTime" Precision="3" /> <Property Name="PrintTime" Type="DateTime" Precision="3" /> <Property Name="IsDel" Type="Int32" /> <Property Name="IsImport" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" /> <Property Name="StationID2" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="PlanID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> </EntityType> <EntityType Name="tb_BarCode5"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="StationID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="OneBarCode" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="BarCode" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="StockNo" Type="String" MaxLength="20" FixedLength="false" Unicode="true" /> <Property Name="PartNo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="PrintType" Type="Int32" /> <Property Name="CreateTime" Type="DateTime" Precision="3" /> <Property Name="PrintTime" Type="DateTime" Precision="3" /> <Property Name="IsDel" Type="Int32" /> <Property Name="IsImport" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" /> <Property Name="StationID2" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="PlanID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> </EntityType> <EntityType Name="tb_Bom"> <Key> <PropertyRef Name="BomID" /> </Key> <Property Name="BomID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="PartNo1" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="PartNo2" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> </EntityType> <EntityType Name="tb_Box_247"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="BoxNo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="PartNo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="PartName" Type="String" MaxLength="200" FixedLength="false" Unicode="true" /> <Property Name="BatchNo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="BoxCount" Type="Int32" /> <Property Name="CreateTime" Type="DateTime" Precision="3" /> <Property Name="PrintTime" Type="DateTime" Precision="3" /> <Property Name="Des" Type="String" MaxLength="200" FixedLength="false" Unicode="true" /> <Property Name="Flag" Type="Int32" /> </EntityType> <EntityType Name="tb_BucketInfo"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="BucketCode" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="BucketName" Type="String" MaxLength="200" FixedLength="false" Unicode="true" /> <Property Name="IsUsing" Type="Int32" /> <Property Name="CreateTime" Type="DateTime" Precision="3" /> </EntityType> <EntityType Name="tb_CarType"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="false" Unicode="false" /> <Property Name="CarTypeName" Type="String" MaxLength="255" FixedLength="false" Unicode="false" /> <Property Name="ManufacturerID" Type="String" MaxLength="36" FixedLength="false" Unicode="false" /> <Property Name="CreateTime" Type="DateTime" Precision="3" /> <Property Name="UpdateTime" Type="DateTime" Precision="3" /> </EntityType> <EntityType Name="tb_CheckItem"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="DeviceID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="CheckContent" Type="String" MaxLength="500" FixedLength="false" Unicode="true" /> <Property Name="CheckVersion" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="Standard" Type="String" MaxLength="500" FixedLength="false" Unicode="true" /> <Property Name="Way" Type="String" MaxLength="500" FixedLength="false" Unicode="false" /> <Property Name="Cycle" Type="String" MaxLength="255" FixedLength="false" Unicode="false" /> </EntityType> <EntityType Name="tb_Color"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="ColorCode" Type="String" MaxLength="20" FixedLength="false" Unicode="true" /> <Property Name="ColorNo" Type="String" MaxLength="20" FixedLength="false" Unicode="true" /> <Property Name="Des" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" /> <Property Name="Circle" Type="Int32" /> <Property Name="ColorQQCode" Type="String" MaxLength="20" FixedLength="false" Unicode="true" /> <Property Name="ColorDQCode" Type="String" MaxLength="20" FixedLength="false" Unicode="true" /> </EntityType> <EntityType Name="tb_CommonlyInspection"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="VersionID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="InspectionContentID" Type="String" Nullable="false" MaxLength="2000" FixedLength="false" Unicode="true" /> <Property Name="CreateTime" Type="DateTime" Nullable="false" Precision="3" /> <Property Name="CreateUserID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="UpdateTime" Type="DateTime" Precision="3" /> <Property Name="UpdateUserID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="IsUseing" Type="Int32" Nullable="false" /> <Property Name="DisableTime" Type="DateTime" Precision="3" /> <Property Name="DisableUserID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> </EntityType> <EntityType Name="tb_CommonlyInspectionRecord"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="CommonlyInspectionID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="CheckResult" Type="String" MaxLength="200" FixedLength="false" Unicode="false" /> <Property Name="CheckUser" Type="String" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="CheckDate" Type="DateTime" Nullable="false" Precision="3" /> <Property Name="ConfirmUser" Type="String" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="ConfirmUserDate" Type="DateTime" Precision="3" /> <Property Name="GroupLeaderConfirm" Type="String" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="GroupLeaderConfirmDate" Type="DateTime" Precision="3" /> <Property Name="DepartmentLeaderConfirm" Type="String" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="DepartmentLeaderConfirmDate" Type="DateTime" Precision="3" /> <Property Name="CreateTime" Type="DateTime" Nullable="false" Precision="3" /> <Property Name="CreateUserID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="UpdateTime" Type="DateTime" Precision="3" /> <Property Name="UpdateUserID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="IsUseing" Type="Int32" Nullable="false" /> <Property Name="DisableTime" Type="DateTime" Precision="3" /> <Property Name="DisableUserID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="CheckType" Type="String" MaxLength="1" FixedLength="true" Unicode="false" /> <Property Name="ErrMes" Type="String" MaxLength="500" FixedLength="false" Unicode="true" /> </EntityType> <EntityType Name="tb_CommonlyInspectionVersion"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="DeviceID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="Version" Type="String" MaxLength="200" FixedLength="false" Unicode="false" /> <Property Name="CreateTime" Type="DateTime" Nullable="false" Precision="3" /> <Property Name="CreateUserID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="UpdateTime" Type="DateTime" Precision="3" /> <Property Name="UpdateUserID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="IsUseing" Type="Int32" Nullable="false" /> <Property Name="Operation" Type="String" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="DisableTime" Type="DateTime" Precision="3" /> <Property Name="DisableUserID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="Description" Type="String" MaxLength="200" FixedLength="false" Unicode="false" /> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> </EntityType> <EntityType Name="tb_Config"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="name" Type="String" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="value" Type="String" MaxLength="100" FixedLength="false" Unicode="false" /> <Property Name="des" Type="String" MaxLength="100" FixedLength="false" Unicode="false" /> <Property Name="remark1" Type="String" MaxLength="100" FixedLength="false" Unicode="false" /> <Property Name="remark2" Type="String" MaxLength="100" FixedLength="false" Unicode="false" /> <Property Name="remark3" Type="String" MaxLength="100" FixedLength="false" Unicode="false" /> </EntityType> <EntityType Name="tb_Cylinder"> <Key> <PropertyRef Name="CylinderID" /> </Key> <Property Name="CylinderID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="CylinderNo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="Des" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" /> </EntityType> <EntityType Name="tb_CylinderAndRaw"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="CylinderID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="DrumBarCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="BarCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="Time1" Type="DateTime" Precision="3" /> <Property Name="Time2" Type="DateTime" Precision="3" /> </EntityType> <EntityType Name="tb_Defect"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="false" Unicode="false" /> <Property Name="LineID" Type="String" MaxLength="36" FixedLength="false" Unicode="false" /> <Property Name="DefectName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="Des" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" /> </EntityType> <EntityType Name="tb_Device"> <Key> <PropertyRef Name="DeviceID" /> </Key> <Property Name="DeviceID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="StationID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="DeviceNo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="DeviceName" Type="String" MaxLength="500" FixedLength="false" Unicode="true" /> <Property Name="FixNo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="Des" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" /> <Property Name="DeviceModel" Type="String" MaxLength="500" FixedLength="false" Unicode="true" /> </EntityType> <EntityType Name="tb_DeviceKeepItems"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="false" Unicode="false" /> <Property Name="KeepItemsID" Type="String" MaxLength="36" FixedLength="false" Unicode="false" /> <Property Name="DeviceID" Type="String" MaxLength="36" FixedLength="false" Unicode="false" /> <Property Name="CreateTime" Type="DateTime" Precision="3" /> <Property Name="UpdateTime" Type="DateTime" Precision="3" /> </EntityType> <EntityType Name="tb_Factory"> <Key> <PropertyRef Name="FactoryID" /> </Key> <Property Name="FactoryID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="FactoryName" Type="String" MaxLength="500" FixedLength="false" Unicode="true" /> <Property Name="Des" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" /> </EntityType> <EntityType Name="tb_FinishProduct"> <Key> <PropertyRef Name="FinishProductID" /> </Key> <Property Name="FinishProductID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="FinishProductNo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="FinishProductName" Type="String" MaxLength="500" FixedLength="false" Unicode="true" /> <Property Name="Des" Type="String" MaxLength="10" FixedLength="true" Unicode="true" /> </EntityType> <EntityType Name="tb_ImgVideo"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="false" Unicode="false" /> <Property Name="fileUrl" Type="String" Nullable="false" MaxLength="2000" FixedLength="false" Unicode="false" /> <Property Name="fileName" Type="String" Nullable="false" MaxLength="500" FixedLength="false" Unicode="false" /> <Property Name="fileType" Type="String" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="CreateTime" Type="DateTime" Precision="3" /> <Property Name="UpdateTime" Type="DateTime" Precision="3" /> </EntityType> <EntityType Name="tb_Inhection_DownReason"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="Reason" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="Des" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" /> </EntityType> <EntityType Name="tb_Injection_BoxRecord"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="BoxNo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="BoxCount" Type="Int32" /> <Property Name="IsFlag" Type="Int32" /> <Property Name="CreateTime" Type="DateTime" Precision="3" /> </EntityType> <EntityType Name="tb_Injection_DownRecord"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="StationID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="DownType" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="DownReason" Type="String" MaxLength="500" FixedLength="false" Unicode="true" /> <Property Name="Des" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" /> <Property Name="StartTime" Type="DateTime" Precision="3" /> <Property Name="EndTime" Type="DateTime" Precision="3" /> <Property Name="DownTime" Type="Int32" /> <Property Name="Remark1" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" /> <Property Name="Remark2" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" /> <Property Name="Remark3" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" /> <Property Name="PlanID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> </EntityType> <EntityType Name="tb_Injection_DownTime"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="StationID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="StartTime" Type="DateTime" Precision="3" /> <Property Name="EndTime" Type="DateTime" Precision="3" /> <Property Name="InterVal" Type="Int32" /> <Property Name="DownTypeID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="Remark1" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" /> <Property Name="Remark2" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" /> <Property Name="Remark3" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" /> </EntityType> <EntityType Name="tb_Injection_DownType"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="DownTypeName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="Remark" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" /> </EntityType> <EntityType Name="tb_Injection_Record"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="workClass" Type="String" MaxLength="255" FixedLength="false" Unicode="false" /> <Property Name="StationID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="JK_Weight" Type="Double" /> <Property Name="Waste_Weight" Type="Double" /> <Property Name="RecordDate" Type="DateTime" Precision="3" /> <Property Name="StockNo" Type="String" MaxLength="255" FixedLength="false" Unicode="false" /> <Property Name="PartNo" Type="String" MaxLength="255" FixedLength="false" Unicode="false" /> <Property Name="PlanID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> </EntityType> <EntityType Name="tb_InjectionPlan"> <Key> <PropertyRef Name="InjectionPlanID" /> </Key> <Property Name="InjectionPlanID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="StationID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="BeginTime" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="StockNo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="PartNo" Type="String" MaxLength="1000" FixedLength="false" Unicode="true" /> <Property Name="PlanCount" Type="Int32" /> <Property Name="EndTime" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="PlanDate" Type="DateTime" Precision="0" /> <Property Name="CompleteCount" Type="Int32" /> <Property Name="IsFinish" Type="Int32" /> <Property Name="FinishTime" Type="DateTime" Precision="3" /> <Property Name="RealCycle" Type="Decimal" Precision="12" Scale="0" /> <Property Name="workClass" Type="String" MaxLength="255" FixedLength="false" Unicode="true" /> <Property Name="JK_Weight" Type="Double" /> <Property Name="Waste_Weight" Type="Double" /> <Property Name="ProductNature" Type="String" MaxLength="1000" FixedLength="false" Unicode="true" /> </EntityType> <EntityType Name="tb_InjectPlanReport"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="InjectionPlanID" Type="String" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="ProductName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="MaterialName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="Drum" Type="String" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="BatchNo" Type="String" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="Time1" Type="DateTime" Precision="3" /> </EntityType> <EntityType Name="tb_InspectResult"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="barcode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="side" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="position" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="stationNo" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="workClass" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="inspectResult" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="damnPosition" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="defectID" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="reason" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="productInfo" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="productOption" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="createTime" Type="DateTime" Precision="3" /> <Property Name="InspectTimes" Type="String" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="remark1" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="remark2" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="remark3" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> </EntityType> <EntityType Name="tb_KeepItems"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="false" Unicode="false" /> <Property Name="KeepLevelID" Type="String" MaxLength="36" FixedLength="false" Unicode="false" /> <Property Name="Des" Type="String" MaxLength="500" FixedLength="false" Unicode="false" /> <Property Name="CreateTime" Type="DateTime" Precision="3" /> <Property Name="UpdateTime" Type="DateTime" Precision="3" /> <Property Name="KeepItems" Type="String" MaxLength="500" FixedLength="false" Unicode="false" /> </EntityType> <EntityType Name="tb_KeepItemsVersion"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="VersionID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="KeepItemsID" Type="String" Nullable="false" MaxLength="2000" FixedLength="false" Unicode="true" /> <Property Name="CreateTime" Type="DateTime" Nullable="false" Precision="3" /> <Property Name="CreateUserID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="UpdateTime" Type="DateTime" Precision="3" /> <Property Name="UpdateUserID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="IsUseing" Type="Int32" Nullable="false" /> <Property Name="DisableTime" Type="DateTime" Precision="3" /> <Property Name="DisableUserID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> </EntityType> <EntityType Name="tb_KeepLevel"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="false" Unicode="false" /> <Property Name="KeepLevel" Type="String" MaxLength="255" FixedLength="false" Unicode="false" /> <Property Name="Des" Type="String" MaxLength="255" FixedLength="false" Unicode="false" /> <Property Name="CreateTime" Type="DateTime" Precision="3" /> <Property Name="UpdateTime" Type="DateTime" Precision="3" /> </EntityType> <EntityType Name="tb_KeepPlan"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="false" Unicode="false" /> <Property Name="DeviceID" Type="String" MaxLength="36" FixedLength="false" Unicode="false" /> <Property Name="KeepLevelID" Type="String" MaxLength="36" FixedLength="false" Unicode="false" /> <Property Name="CreateTime" Type="DateTime" Precision="3" /> <Property Name="UpdateTime" Type="DateTime" Precision="3" /> <Property Name="KeepDay" Type="DateTime" Precision="3" /> <Property Name="Des" Type="String" MaxLength="500" FixedLength="false" Unicode="false" /> </EntityType> <EntityType Name="tb_KeepRecord"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="false" Unicode="false" /> <Property Name="KeepPlanID" Type="String" MaxLength="36" FixedLength="false" Unicode="false" /> <Property Name="KeepItemsVersionID" Type="String" MaxLength="36" FixedLength="false" Unicode="false" /> <Property Name="Result" Type="String" MaxLength="255" FixedLength="false" Unicode="false" /> <Property Name="Des" Type="String" MaxLength="500" FixedLength="false" Unicode="false" /> <Property Name="CreateTime" Type="DateTime" Precision="3" /> <Property Name="UpdateTime" Type="DateTime" Precision="3" /> <Property Name="CheckUser" Type="String" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="CheckDate" Type="DateTime" Nullable="false" Precision="3" /> <Property Name="ConfirmUser" Type="String" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="ConfirmUserDate" Type="DateTime" Precision="3" /> <Property Name="GroupLeaderConfirm" Type="String" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="GroupLeaderConfirmDate" Type="DateTime" Precision="3" /> <Property Name="DepartmentLeaderConfirm" Type="String" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="DepartmentLeaderConfirmDate" Type="DateTime" Precision="3" /> </EntityType> <EntityType Name="tb_KeepVersion"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="DeviceID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="Version" Type="String" Nullable="false" MaxLength="200" FixedLength="false" Unicode="false" /> <Property Name="CreateTime" Type="DateTime" Nullable="false" Precision="3" /> <Property Name="CreateUserID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="UpdateTime" Type="DateTime" Precision="3" /> <Property Name="UpdateUserID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="IsUseing" Type="Int32" Nullable="false" /> <Property Name="Operation" Type="String" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="DisableTime" Type="DateTime" Precision="3" /> <Property Name="DisableUserID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="Description" Type="String" MaxLength="200" FixedLength="false" Unicode="false" /> </EntityType> <EntityType Name="tb_LayerAndBC"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="layer" Type="Int32" /> <Property Name="floor" Type="String" MaxLength="10" FixedLength="false" Unicode="true" /> <Property Name="side" Type="String" MaxLength="20" FixedLength="false" Unicode="false" /> <Property Name="des" Type="String" MaxLength="300" FixedLength="false" Unicode="false" /> </EntityType> <EntityType Name="tb_Line"> <Key> <PropertyRef Name="LineID" /> </Key> <Property Name="LineID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="PlaceID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="LineName" Type="String" MaxLength="500" FixedLength="false" Unicode="true" /> <Property Name="Des" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" /> </EntityType> <EntityType Name="tb_Machine"> <Key> <PropertyRef Name="MachineID" /> </Key> <Property Name="MachineID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="MachineNo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="Des" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" /> </EntityType> <EntityType Name="tb_Manufacturer"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="false" Unicode="false" /> <Property Name="ManufacturerName" Type="String" MaxLength="500" FixedLength="false" Unicode="false" /> <Property Name="Des" Type="String" MaxLength="500" FixedLength="false" Unicode="false" /> <Property Name="CreateTime" Type="DateTime" Precision="3" /> <Property Name="UpdateTime" Type="DateTime" Precision="3" /> </EntityType> <EntityType Name="tb_Mistake_247"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="PartNo1" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="PartName1" Type="String" MaxLength="200" FixedLength="false" Unicode="true" /> <Property Name="PartNo2" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="PartName2" Type="String" MaxLength="200" FixedLength="false" Unicode="true" /> <Property Name="PackCount" Type="Int32" /> <Property Name="DeviceNo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> </EntityType> <EntityType Name="tb_Model_Product"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="ModelID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="ProuctID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> </EntityType> <EntityType Name="tb_Model_Update"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="Purpose" Type="String" MaxLength="255" FixedLength="false" Unicode="false" /> <Property Name="State" Type="String" MaxLength="255" FixedLength="false" Unicode="false" /> <Property Name="Supplier" Type="String" MaxLength="255" FixedLength="false" Unicode="false" /> <Property Name="Remarks" Type="String" MaxLength="255" FixedLength="false" Unicode="false" /> <Property Name="AddTime" Type="DateTime" Precision="3" /> <Property Name="ModelID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> </EntityType> <EntityType Name="tb_ModelCount"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="ModelID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="StationID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="ModelPrintCount" Type="Decimal" Nullable="false" Precision="18" Scale="0" /> <Property Name="PrintDate" Type="DateTime" Precision="0" /> <Property Name="ModelSumCount" Type="Decimal" Nullable="false" Precision="18" Scale="0" /> </EntityType> <EntityType Name="tb_ModelInfo"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="ModelName" Type="String" Nullable="false" MaxLength="255" FixedLength="false" Unicode="false" /> <Property Name="ModelNo" Type="String" MaxLength="255" FixedLength="false" Unicode="false" /> <Property Name="PermanentAssetsNo" Type="String" MaxLength="255" FixedLength="false" Unicode="false" /> <Property Name="Tonnage" Type="String" MaxLength="255" FixedLength="false" Unicode="false" /> <Property Name="ServiceLife" Type="String" MaxLength="255" FixedLength="false" Unicode="false" /> <Property Name="Supplier" Type="String" MaxLength="255" FixedLength="false" Unicode="false" /> <Property Name="PartWeight" Type="String" MaxLength="255" FixedLength="false" Unicode="false" /> <Property Name="InjectionPeriod" Type="String" MaxLength="255" FixedLength="false" Unicode="false" /> <Property Name="LocatingRingSize" Type="String" MaxLength="255" FixedLength="false" Unicode="false" /> <Property Name="OutForm" Type="String" MaxLength="255" FixedLength="false" Unicode="false" /> <Property Name="ModelWeight" Type="String" MaxLength="255" FixedLength="false" Unicode="false" /> <Property Name="RunnerForm" Type="String" MaxLength="255" FixedLength="false" Unicode="false" /> <Property Name="ModelCavityNo" Type="String" MaxLength="255" FixedLength="false" Unicode="false" /> <Property Name="ModelSize" Type="String" MaxLength="255" FixedLength="false" Unicode="false" /> </EntityType> <EntityType Name="tb_Operator"> <Key> <PropertyRef Name="OperatorID" /> </Key> <Property Name="OperatorID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="StationID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="OperatorNo" Type="String" MaxLength="20" FixedLength="false" Unicode="true" /> <Property Name="OperatorName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="OperatorPsw" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="Des" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" /> </EntityType> <EntityType Name="tb_Paint_Bucket"> <Key> <PropertyRef Name="PaintID" /> <PropertyRef Name="BucketID" /> </Key> <Property Name="PaintID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="BucketID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> </EntityType> <EntityType Name="tb_PaintBarCode"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="StationID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="ProductID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="OneBarCode" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="BarCode" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="StockNo" Type="String" MaxLength="20" FixedLength="false" Unicode="true" /> <Property Name="ColorDes" Type="String" MaxLength="200" FixedLength="false" Unicode="true" /> <Property Name="workClass" Type="String" MaxLength="20" FixedLength="false" Unicode="true" /> <Property Name="Side" Type="String" MaxLength="10" FixedLength="false" Unicode="true" /> <Property Name="CreateTime" Type="DateTime" Precision="3" /> <Property Name="PrintTime" Type="DateTime" Precision="3" /> <Property Name="ProductDate" Type="String" MaxLength="20" FixedLength="false" Unicode="true" /> </EntityType> <EntityType Name="tb_PaintInfo"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="PaintCode" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="PaintName" Type="String" MaxLength="200" FixedLength="false" Unicode="true" /> <Property Name="PaintModel" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="UnitCode" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="CarModelCode" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="IsUsing" Type="Int32" /> <Property Name="CreateTime" Type="DateTime" Precision="3" /> </EntityType> <EntityType Name="tb_Place"> <Key> <PropertyRef Name="PlaceID" /> </Key> <Property Name="PlaceID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="FactoryID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="PlaceName" Type="String" MaxLength="500" FixedLength="false" Unicode="true" /> <Property Name="Des" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" /> </EntityType> <EntityType Name="tb_Plan_247"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="OrderNo" Type="String" MaxLength="20" FixedLength="false" Unicode="true" /> <Property Name="Item" Type="Int32" /> <Property Name="PartNo" Type="String" MaxLength="200" FixedLength="false" Unicode="true" /> <Property Name="OrderCount" Type="Int32" /> <Property Name="LyCount" Type="Int32" /> <Property Name="CompleteCount" Type="Int32" /> <Property Name="RepairCount" Type="Int32" /> <Property Name="ScrapCount1" Type="Int32" /> <Property Name="ScrapCount2" Type="Int32" /> <Property Name="Des" Type="String" MaxLength="500" FixedLength="false" Unicode="true" /> <Property Name="CreateTime" Type="DateTime" Precision="3" /> <Property Name="IsFinish" Type="Int32" /> </EntityType> <EntityType Name="tb_PlanScreenConfig"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="IP" Type="String" MaxLength="100" FixedLength="false" Unicode="false" /> <Property Name="StationNo" Type="String" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="Des" Type="String" MaxLength="100" FixedLength="false" Unicode="false" /> </EntityType> <EntityType Name="tb_Plastic"> <Key> <PropertyRef Name="StationID" /> <PropertyRef Name="PartNo" /> </Key> <Property Name="StockNo" Type="String" MaxLength="20" FixedLength="false" Unicode="true" /> <Property Name="CycleTime" Type="Int32" /> <Property Name="StationID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="IsBackup" Type="Int32" /> <Property Name="Weight" Type="Int32" /> <Property Name="OpenDebugTime" Type="Int32" /> <Property Name="PrinterNo" Type="Int32" /> <Property Name="PartNo" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" /> </EntityType> <EntityType Name="tb_PLC_Break"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" /> <Property Name="Address" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="Des" Type="String" MaxLength="500" FixedLength="false" Unicode="true" /> </EntityType> <EntityType Name="tb_PLC_Mould"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" /> <Property Name="Address" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="Des" Type="String" MaxLength="500" FixedLength="false" Unicode="true" /> </EntityType> <EntityType Name="tb_Product"> <Key> <PropertyRef Name="ProductID" /> </Key> <Property Name="ProductID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="ProductTypeID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="StockNo" Type="String" MaxLength="20" FixedLength="false" Unicode="true" /> <Property Name="PartName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="ProductName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="ColorName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="PartNo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="Rows" Type="Int32" /> <Property Name="Cols" Type="Int32" /> <Property Name="Layers" Type="Int32" /> <Property Name="PicturePath" Type="String" MaxLength="500" FixedLength="false" Unicode="true" /> <Property Name="Des" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" /> <Property Name="isImport" Type="Int32" /> <Property Name="PackCount" Type="Int32" /> <Property Name="OpenFailNum" Type="Int32" /> <Property Name="QLevel" Type="String" MaxLength="255" FixedLength="false" Unicode="false" /> <Property Name="IsPrintOneTag" Type="String" MaxLength="255" FixedLength="false" Unicode="false" /> <Property Name="IsPrintPackList" Type="String" MaxLength="255" FixedLength="false" Unicode="false" /> <Property Name="IsSupply" Type="String" MaxLength="255" FixedLength="false" Unicode="false" /> <Property Name="IsOneMore" Type="String" MaxLength="255" FixedLength="false" Unicode="false" /> <Property Name="BackPlatingNum" Type="Int32" /> <Property Name="IsPlating" Type="String" MaxLength="255" FixedLength="false" Unicode="false" /> <Property Name="CarTypeID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> </EntityType> <EntityType Name="tb_Product_Color"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="ProductID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="ColorID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> </EntityType> <EntityType Name="tb_Product_Injection"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="PlanID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="StationID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="ProductDate" Type="String" MaxLength="20" FixedLength="false" Unicode="true" /> <Property Name="ClassName" Type="String" MaxLength="20" FixedLength="false" Unicode="true" /> <Property Name="StockNo" Type="String" MaxLength="20" FixedLength="false" Unicode="true" /> <Property Name="PartNo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="ProductCount" Type="Int32" /> <Property Name="BadCount" Type="Int32" /> </EntityType> <EntityType Name="tb_Product_Injection_w"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="RealCycle" Type="Decimal" Precision="12" Scale="0" /> <Property Name="Waste_Weight" Type="Double" /> <Property Name="JK_Weight" Type="Double" /> </EntityType> <EntityType Name="tb_ProductSotckIn"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="BarCode" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="ProductName" Type="String" MaxLength="500" FixedLength="false" Unicode="true" /> <Property Name="CreateTime" Type="DateTime" Precision="3" /> </EntityType> <EntityType Name="tb_ProductType"> <Key> <PropertyRef Name="ProductTypeID" /> </Key> <Property Name="ProductTypeID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="ProductTypeNo" Type="String" MaxLength="10" FixedLength="false" Unicode="true" /> <Property Name="ProductTypeName" Type="String" MaxLength="500" FixedLength="false" Unicode="true" /> <Property Name="Des" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" /> </EntityType> <EntityType Name="tb_Record_247"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="PartNo1" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="PartNo2" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="BoxNo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="OrderNo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="CreateTime1" Type="DateTime" Precision="3" /> <Property Name="CreateTime2" Type="DateTime" Precision="3" /> <Property Name="Flag" Type="Int32" /> <Property Name="Type" Type="Int32" /> </EntityType> <EntityType Name="tb_Report_FiveScreen"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="Name" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <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" Precision="3" /> </EntityType> <EntityType Name="tb_Report_FiveScreenConfig"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="Name" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="Min" Type="Decimal" Precision="18" Scale="1" /> <Property Name="Max" Type="Decimal" Precision="18" Scale="1" /> <Property Name="Scale" Type="Int32" /> <Property Name="CreateTime" Type="DateTime" Precision="3" /> </EntityType> <EntityType Name="tb_Report_FiveScreenLast"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="StationID" Type="String" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="StationNo" Type="String" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="UseRate" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="PassRate" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="Remark1" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="CreateTime" Type="DateTime" Precision="3" /> </EntityType> <EntityType Name="tb_SkidInfo"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="SkidNo" Type="String" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="BarcodeLeft" Type="String" MaxLength="500" FixedLength="false" Unicode="false" /> <Property Name="BarcodeRight" Type="String" MaxLength="500" FixedLength="false" Unicode="false" /> <Property Name="Layer" Type="String" MaxLength="10" FixedLength="false" Unicode="false" /> <Property Name="ColorInfo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="CreateTime" Type="DateTime" Precision="3" /> <Property Name="Side_1_BC01" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="Side_1_BC02" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="Side_1_BC03" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="Side_1_BC04" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="Side_1_BC05" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="Side_1_BC06" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="Side_1_BC07" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="Side_1_BC08" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="Side_1_BC09" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="Side_1_BC10" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="Side_1_BC11" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="Side_1_BC12" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="Side_2_BC01" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="Side_2_BC02" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="Side_2_BC03" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="Side_2_BC04" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="Side_2_BC05" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="Side_2_BC06" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="Side_2_BC07" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="Side_2_BC08" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="Side_2_BC09" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="Side_2_BC10" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="Side_2_BC11" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="Side_2_BC12" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> </EntityType> <EntityType Name="tb_Station"> <Key> <PropertyRef Name="StationID" /> </Key> <Property Name="StationID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="LineID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="StationNo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="Des" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" /> </EntityType> <EntityType Name="tb_StationAndCylinder"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="StationID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="CylinderID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="Time1" Type="DateTime" Precision="3" /> <Property Name="Time2" Type="DateTime" Precision="3" /> </EntityType> <EntityType Name="tb_StockIn"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="barcode" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="pass" Type="String" MaxLength="1" FixedLength="true" Unicode="false" /> <Property Name="createTime" Type="DateTime" Precision="3" /> </EntityType> <EntityType Name="tb_StockIn_beif"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="barcode" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="pass" Type="String" MaxLength="1" FixedLength="true" Unicode="false" /> <Property Name="createTime" Type="DateTime" Precision="3" /> </EntityType> <EntityType Name="tb_StockInColor"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="Barcode" Type="String" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="ColorInfo" Type="String" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="CreateTime" Type="DateTime" Precision="3" /> </EntityType> <EntityType Name="tb_test"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="Reason" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" /> <Property Name="createTime" Type="DateTime" Precision="3" /> </EntityType> <EntityType Name="tb_weightRecord"> <Key> <PropertyRef Name="GID" /> </Key> <Property Name="GID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="ID" Type="Int32" /> <Property Name="DeviceNo" Type="String" MaxLength="20" FixedLength="false" Unicode="true" /> <Property Name="CreateTime" Type="DateTime" Precision="3" /> </EntityType> <EntityType Name="tb_ZPPlan"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="OrderNo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="OrderDate" Type="DateTime" Precision="0" /> <Property Name="Item" Type="Int32" /> <Property Name="StationID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="PartNo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="OrderCount" Type="Int32" /> <Property Name="ProductCount" Type="Int32" /> <Property Name="IsFinish" Type="Int32" /> <Property Name="BadCount" Type="Int32" /> <Property Name="CreateTime" Type="DateTime" Precision="3" /> </EntityType> <EntityType Name="TES_BOM"> <Key> <PropertyRef Name="GUID" /> <PropertyRef Name="UID" /> </Key> <Property Name="ParentPart" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="ComponentPart" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="Reference" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="StartEffective" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="QuantityPer" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="StructureType" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="EndEffective" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="Remarks" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="Scrap" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="LeadTimeOffset" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="Operation" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="SequenceNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="FporecastPercent" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="OptionGroup" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="Process" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="GUID" Type="String" Nullable="false" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="UID" Type="String" Nullable="false" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="CreateUser" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="CreateTime" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="Remark" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="TaskID" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="CommandType" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="DataID" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="Domain" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="Site" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="InsertTime" Type="DateTime" Precision="3" /> </EntityType> <EntityType Name="TES_PART_MSTR"> <Key> <PropertyRef Name="GUID" /> <PropertyRef Name="UID" /> </Key> <Property Name="GUID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="PartCode" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" /> <Property Name="Desc1" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" /> <Property Name="Desc2" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" /> <Property Name="Um" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" /> <Property Name="ProdLine" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" /> <Property Name="AddDate" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" /> <Property Name="PartType" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" /> <Property Name="Status" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" /> <Property Name="Qgrade" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" /> <Property Name="InventoryCode" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" /> <Property Name="UID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="Remark" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" /> <Property Name="TaskID" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" /> <Property Name="Domain" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" /> <Property Name="Site" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" /> <Property Name="CreatTime" Type="DateTime" Precision="3" /> </EntityType> <EntityType Name="test2"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" /> <Property Name="PlanID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="StationID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="ProductDate" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="ClassName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="ProductCount" Type="Int32" /> </EntityType> <EntityType Name="T_Sys_RoleLinkPower"> <Key> <PropertyRef Name="RoleID" /> <PropertyRef Name="PowerID" /> </Key> <Property Name="RoleID" Type="Guid" Nullable="false" /> <Property Name="PowerID" Type="Guid" Nullable="false" /> <Property Name="OpTime" Type="DateTime" Precision="3" /> <Property Name="OpName" Type="String" MaxLength="20" FixedLength="false" Unicode="false" /> <NavigationProperty Name="T_Sys_Power" Relationship="BBMPT1Model.FK_T_SYS_RO_REFERENCE_T_SYS_PO" FromRole="T_Sys_RoleLinkPower" ToRole="T_Sys_Power" /> </EntityType> <EntityType Name="tb_Report_FiveScreenStandard"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="Name" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <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" Precision="3" /> </EntityType> <EntityType Name="tb_ReportPaintingScreen"> <Key> <PropertyRef Name="sumNum" /> <PropertyRef Name="oncePassNum" /> <PropertyRef Name="sumPassNum" /> </Key> <Property Name="color" Type="String" MaxLength="4000" FixedLength="false" Unicode="true" /> <Property Name="productInfo" Type="String" MaxLength="4000" FixedLength="false" Unicode="true" /> <Property Name="sumNum" Type="Int32" Nullable="false" /> <Property Name="oncePassNum" Type="Int32" Nullable="false" /> <Property Name="oncePassRate" Type="String" MaxLength="21" FixedLength="false" Unicode="false" /> <Property Name="sumPassNum" Type="Int32" Nullable="false" /> <Property Name="sumPassRate" Type="String" MaxLength="21" FixedLength="false" Unicode="false" /> </EntityType> <EntityType Name="tb_ReportPaintingScreen_pg"> <Key> <PropertyRef Name="sumNum" /> <PropertyRef Name="hgNum" /> <PropertyRef Name="defectRate1" /> </Key> <Property Name="color" Type="String" MaxLength="4000" FixedLength="false" Unicode="true" /> <Property Name="productInfo" Type="String" MaxLength="4000" FixedLength="false" Unicode="true" /> <Property Name="sumNum" Type="Int32" Nullable="false" /> <Property Name="hgNum" Type="Int32" Nullable="false" /> <Property Name="DefectName1" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="defectRate1" Type="Decimal" Nullable="false" Precision="10" Scale="2" /> <Property Name="DefectName2" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="defectRate2" Type="Decimal" Precision="10" Scale="2" /> <Property Name="DefectName3" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="defectRate3" Type="Decimal" Precision="10" Scale="2" /> <Property Name="DefectName4" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="defectRate4" Type="Decimal" Precision="10" Scale="2" /> <Property Name="DefectName5" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="defectRate5" Type="Decimal" Precision="10" Scale="2" /> </EntityType> <EntityType Name="test1"> <Key> <PropertyRef Name="ID" /> </Key> <Property Name="ID" Type="String" Nullable="false" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="StationID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="StockNo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="PrintType" Type="Int32" /> <Property Name="OneBarCode" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="PlanID" Type="String" MaxLength="36" FixedLength="true" Unicode="false" /> <Property Name="CreateTime" Type="DateTime" Precision="3" /> <Property Name="ProductName" Type="String" MaxLength="500" FixedLength="false" Unicode="true" /> <Property Name="PartNo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="ProductDate" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> <Property Name="ClassName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" /> </EntityType> <Association Name="FK_T_SYS_RO_REFERENCE_T_SYS_PO"> <End Type="BBMPT1Model.T_Sys_Power" Role="T_Sys_Power" Multiplicity="1" /> <End Type="BBMPT1Model.T_Sys_RoleLinkPower" Role="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> </Schema> </edmx:ConceptualModels> <!-- C-S mapping content --> <edmx:Mappings> <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2008/09/mapping/cs"> <EntityContainerMapping StorageEntityContainer="BBMPT1ModelStoreContainer" CdmEntityContainer="BBMPT1Entities"> <EntitySetMapping Name="LogErr"> <EntityTypeMapping TypeName="BBMPT1Model.LogErr"> <MappingFragment StoreEntitySet="LogErr"> <ScalarProperty Name="ErrTime" ColumnName="ErrTime" /> <ScalarProperty Name="ErrSource" ColumnName="ErrSource" /> <ScalarProperty Name="ErrContent" ColumnName="ErrContent" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="LogSys"> <EntityTypeMapping TypeName="BBMPT1Model.LogSys"> <MappingFragment StoreEntitySet="LogSys"> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="SysSource" ColumnName="SysSource" /> <ScalarProperty Name="SysContent" ColumnName="SysContent" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="T_PaintInfo"> <EntityTypeMapping TypeName="BBMPT1Model.T_PaintInfo"> <MappingFragment StoreEntitySet="T_PaintInfo"> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="IsUsing" ColumnName="IsUsing" /> <ScalarProperty Name="CarModelCode" ColumnName="CarModelCode" /> <ScalarProperty Name="UnitCode" ColumnName="UnitCode" /> <ScalarProperty Name="PaintModel" ColumnName="PaintModel" /> <ScalarProperty Name="PaintName" ColumnName="PaintName" /> <ScalarProperty Name="PaintCode" ColumnName="PaintCode" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="T_Sys_Buttons"> <EntityTypeMapping TypeName="BBMPT1Model.T_Sys_Buttons"> <MappingFragment StoreEntitySet="T_Sys_Buttons"> <ScalarProperty Name="BtnCode" ColumnName="BtnCode" /> <ScalarProperty Name="IsEnabled" ColumnName="IsEnabled" /> <ScalarProperty Name="MenuName" ColumnName="MenuName" /> <ScalarProperty Name="MenuID" ColumnName="MenuID" /> <ScalarProperty Name="PowerID" ColumnName="PowerID" /> <ScalarProperty Name="ItemPic" ColumnName="ItemPic" /> <ScalarProperty Name="BtnName" ColumnName="BtnName" /> <ScalarProperty Name="BtnID" ColumnName="BtnID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="T_Sys_NavMenu"> <EntityTypeMapping TypeName="BBMPT1Model.T_Sys_NavMenu"> <MappingFragment StoreEntitySet="T_Sys_NavMenu"> <ScalarProperty Name="OrderNum" ColumnName="OrderNum" /> <ScalarProperty Name="IsEnabled" ColumnName="IsEnabled" /> <ScalarProperty Name="ParentMenuID" ColumnName="ParentMenuID" /> <ScalarProperty Name="PowerID" ColumnName="PowerID" /> <ScalarProperty Name="ItemPic" ColumnName="ItemPic" /> <ScalarProperty Name="URLStr" ColumnName="URLStr" /> <ScalarProperty Name="MenuName" ColumnName="MenuName" /> <ScalarProperty Name="MenuID" ColumnName="MenuID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="T_Sys_Power"> <EntityTypeMapping TypeName="BBMPT1Model.T_Sys_Power"> <MappingFragment StoreEntitySet="T_Sys_Power"> <ScalarProperty Name="OpTime" ColumnName="OpTime" /> <ScalarProperty Name="OpName" ColumnName="OpName" /> <ScalarProperty Name="PowerName" ColumnName="PowerName" /> <ScalarProperty Name="PowerCode" ColumnName="PowerCode" /> <ScalarProperty Name="PowerID" ColumnName="PowerID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="T_Sys_Role"> <EntityTypeMapping TypeName="BBMPT1Model.T_Sys_Role"> <MappingFragment StoreEntitySet="T_Sys_Role"> <ScalarProperty Name="OpTime" ColumnName="OpTime" /> <ScalarProperty Name="OpName" ColumnName="OpName" /> <ScalarProperty Name="Description" ColumnName="Description" /> <ScalarProperty Name="RoleName" ColumnName="RoleName" /> <ScalarProperty Name="RoleID" ColumnName="RoleID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="T_Sys_UserRole"> <EntityTypeMapping TypeName="BBMPT1Model.T_Sys_UserRole"> <MappingFragment StoreEntitySet="T_Sys_UserRole"> <ScalarProperty Name="OpName" ColumnName="OpName" /> <ScalarProperty Name="OpTime" ColumnName="OpTime" /> <ScalarProperty Name="RoleID" ColumnName="RoleID" /> <ScalarProperty Name="UserID" ColumnName="UserID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="T_Sys_Users"> <EntityTypeMapping TypeName="BBMPT1Model.T_Sys_Users"> <MappingFragment StoreEntitySet="T_Sys_Users"> <ScalarProperty Name="Department" ColumnName="Department" /> <ScalarProperty Name="OpTime" ColumnName="OpTime" /> <ScalarProperty Name="OpName" ColumnName="OpName" /> <ScalarProperty Name="DepartmentID" ColumnName="DepartmentID" /> <ScalarProperty Name="LastLoginIP" ColumnName="LastLoginIP" /> <ScalarProperty Name="LastLoginTime" ColumnName="LastLoginTime" /> <ScalarProperty Name="Tel" ColumnName="Tel" /> <ScalarProperty Name="Sex" ColumnName="Sex" /> <ScalarProperty Name="RealName" ColumnName="RealName" /> <ScalarProperty Name="IsEnabled" ColumnName="IsEnabled" /> <ScalarProperty Name="Password" ColumnName="Password" /> <ScalarProperty Name="UserName" ColumnName="UserName" /> <ScalarProperty Name="UserID" ColumnName="UserID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="T_Sys_Users_NavMenu"> <EntityTypeMapping TypeName="BBMPT1Model.T_Sys_Users_NavMenu"> <MappingFragment StoreEntitySet="T_Sys_Users_NavMenu"> <ScalarProperty Name="MenuID" ColumnName="MenuID" /> <ScalarProperty Name="UserID" ColumnName="UserID" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="TA_DEPT"> <EntityTypeMapping TypeName="BBMPT1Model.TA_DEPT"> <MappingFragment StoreEntitySet="TA_DEPT"> <ScalarProperty Name="Site" ColumnName="Site" /> <ScalarProperty Name="Domain" ColumnName="Domain" /> <ScalarProperty Name="Enable" ColumnName="Enable" /> <ScalarProperty Name="UID" ColumnName="UID" /> <ScalarProperty Name="Remark" ColumnName="Remark" /> <ScalarProperty Name="UpdateTime" ColumnName="UpdateTime" /> <ScalarProperty Name="UpdateUser" ColumnName="UpdateUser" /> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="CreateUser" ColumnName="CreateUser" /> <ScalarProperty Name="DeptName" ColumnName="DeptName" /> <ScalarProperty Name="DeptCode" ColumnName="DeptCode" /> <ScalarProperty Name="GUID" ColumnName="GUID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Assembly_247"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Assembly_247"> <MappingFragment StoreEntitySet="tb_Assembly_247"> <ScalarProperty Name="Flag" ColumnName="Flag" /> <ScalarProperty Name="Des" ColumnName="Des" /> <ScalarProperty Name="PrintTime" ColumnName="PrintTime" /> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="ValidityDate" ColumnName="ValidityDate" /> <ScalarProperty Name="Validity" ColumnName="Validity" /> <ScalarProperty Name="TapeBatchNo" ColumnName="TapeBatchNo" /> <ScalarProperty Name="PartType" ColumnName="PartType" /> <ScalarProperty Name="ColorNo" ColumnName="ColorNo" /> <ScalarProperty Name="Color" ColumnName="Color" /> <ScalarProperty Name="BatchNo" ColumnName="BatchNo" /> <ScalarProperty Name="PartName" ColumnName="PartName" /> <ScalarProperty Name="PartNo" ColumnName="PartNo" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Bad_Injection"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Bad_Injection"> <MappingFragment StoreEntitySet="tb_Bad_Injection"> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="BadReason" ColumnName="BadReason" /> <ScalarProperty Name="BadPosition" ColumnName="BadPosition" /> <ScalarProperty Name="BarCode" ColumnName="BarCode" /> <ScalarProperty Name="OneBarCode" ColumnName="OneBarCode" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_BarCode1"> <EntityTypeMapping TypeName="BBMPT1Model.tb_BarCode1"> <MappingFragment StoreEntitySet="tb_BarCode1"> <ScalarProperty Name="BoxNo" ColumnName="BoxNo" /> <ScalarProperty Name="PlanID" ColumnName="PlanID" /> <ScalarProperty Name="StationID2" ColumnName="StationID2" /> <ScalarProperty Name="IsImport" ColumnName="IsImport" /> <ScalarProperty Name="IsDel" ColumnName="IsDel" /> <ScalarProperty Name="PrintTime" ColumnName="PrintTime" /> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="PrintType" ColumnName="PrintType" /> <ScalarProperty Name="PartNo" ColumnName="PartNo" /> <ScalarProperty Name="StockNo" ColumnName="StockNo" /> <ScalarProperty Name="BarCode" ColumnName="BarCode" /> <ScalarProperty Name="OneBarCode" ColumnName="OneBarCode" /> <ScalarProperty Name="StationID" ColumnName="StationID" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_BarCode2"> <EntityTypeMapping TypeName="BBMPT1Model.tb_BarCode2"> <MappingFragment StoreEntitySet="tb_BarCode2"> <ScalarProperty Name="ProductNature" ColumnName="ProductNature" /> <ScalarProperty Name="IsBad" ColumnName="IsBad" /> <ScalarProperty Name="BoxNo" ColumnName="BoxNo" /> <ScalarProperty Name="PlanID" ColumnName="PlanID" /> <ScalarProperty Name="StationID2" ColumnName="StationID2" /> <ScalarProperty Name="IsImport" ColumnName="IsImport" /> <ScalarProperty Name="IsDel" ColumnName="IsDel" /> <ScalarProperty Name="PrintTime" ColumnName="PrintTime" /> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="PrintType" ColumnName="PrintType" /> <ScalarProperty Name="PartNo" ColumnName="PartNo" /> <ScalarProperty Name="StockNo" ColumnName="StockNo" /> <ScalarProperty Name="BarCode" ColumnName="BarCode" /> <ScalarProperty Name="OneBarCode" ColumnName="OneBarCode" /> <ScalarProperty Name="StationID" ColumnName="StationID" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_BarCode3"> <EntityTypeMapping TypeName="BBMPT1Model.tb_BarCode3"> <MappingFragment StoreEntitySet="tb_BarCode3"> <ScalarProperty Name="PlanID" ColumnName="PlanID" /> <ScalarProperty Name="StationID2" ColumnName="StationID2" /> <ScalarProperty Name="IsImport" ColumnName="IsImport" /> <ScalarProperty Name="IsDel" ColumnName="IsDel" /> <ScalarProperty Name="PrintTime" ColumnName="PrintTime" /> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="PrintType" ColumnName="PrintType" /> <ScalarProperty Name="PartNo" ColumnName="PartNo" /> <ScalarProperty Name="StockNo" ColumnName="StockNo" /> <ScalarProperty Name="BarCode" ColumnName="BarCode" /> <ScalarProperty Name="OneBarCode" ColumnName="OneBarCode" /> <ScalarProperty Name="StationID" ColumnName="StationID" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_BarCode4"> <EntityTypeMapping TypeName="BBMPT1Model.tb_BarCode4"> <MappingFragment StoreEntitySet="tb_BarCode4"> <ScalarProperty Name="PlanID" ColumnName="PlanID" /> <ScalarProperty Name="StationID2" ColumnName="StationID2" /> <ScalarProperty Name="IsImport" ColumnName="IsImport" /> <ScalarProperty Name="IsDel" ColumnName="IsDel" /> <ScalarProperty Name="PrintTime" ColumnName="PrintTime" /> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="PrintType" ColumnName="PrintType" /> <ScalarProperty Name="PartNo" ColumnName="PartNo" /> <ScalarProperty Name="StockNo" ColumnName="StockNo" /> <ScalarProperty Name="BarCode" ColumnName="BarCode" /> <ScalarProperty Name="OneBarCode" ColumnName="OneBarCode" /> <ScalarProperty Name="StationID" ColumnName="StationID" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_BarCode5"> <EntityTypeMapping TypeName="BBMPT1Model.tb_BarCode5"> <MappingFragment StoreEntitySet="tb_BarCode5"> <ScalarProperty Name="PlanID" ColumnName="PlanID" /> <ScalarProperty Name="StationID2" ColumnName="StationID2" /> <ScalarProperty Name="IsImport" ColumnName="IsImport" /> <ScalarProperty Name="IsDel" ColumnName="IsDel" /> <ScalarProperty Name="PrintTime" ColumnName="PrintTime" /> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="PrintType" ColumnName="PrintType" /> <ScalarProperty Name="PartNo" ColumnName="PartNo" /> <ScalarProperty Name="StockNo" ColumnName="StockNo" /> <ScalarProperty Name="BarCode" ColumnName="BarCode" /> <ScalarProperty Name="OneBarCode" ColumnName="OneBarCode" /> <ScalarProperty Name="StationID" ColumnName="StationID" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Bom"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Bom"> <MappingFragment StoreEntitySet="tb_Bom"> <ScalarProperty Name="PartNo2" ColumnName="PartNo2" /> <ScalarProperty Name="PartNo1" ColumnName="PartNo1" /> <ScalarProperty Name="BomID" ColumnName="BomID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Box_247"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Box_247"> <MappingFragment StoreEntitySet="tb_Box_247"> <ScalarProperty Name="Flag" ColumnName="Flag" /> <ScalarProperty Name="Des" ColumnName="Des" /> <ScalarProperty Name="PrintTime" ColumnName="PrintTime" /> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="BoxCount" ColumnName="BoxCount" /> <ScalarProperty Name="BatchNo" ColumnName="BatchNo" /> <ScalarProperty Name="PartName" ColumnName="PartName" /> <ScalarProperty Name="PartNo" ColumnName="PartNo" /> <ScalarProperty Name="BoxNo" ColumnName="BoxNo" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_BucketInfo"> <EntityTypeMapping TypeName="BBMPT1Model.tb_BucketInfo"> <MappingFragment StoreEntitySet="tb_BucketInfo"> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="IsUsing" ColumnName="IsUsing" /> <ScalarProperty Name="BucketName" ColumnName="BucketName" /> <ScalarProperty Name="BucketCode" ColumnName="BucketCode" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_CarType"> <EntityTypeMapping TypeName="BBMPT1Model.tb_CarType"> <MappingFragment StoreEntitySet="tb_CarType"> <ScalarProperty Name="UpdateTime" ColumnName="UpdateTime" /> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="ManufacturerID" ColumnName="ManufacturerID" /> <ScalarProperty Name="CarTypeName" ColumnName="CarTypeName" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_CheckItem"> <EntityTypeMapping TypeName="BBMPT1Model.tb_CheckItem"> <MappingFragment StoreEntitySet="tb_CheckItem"> <ScalarProperty Name="Cycle" ColumnName="Cycle" /> <ScalarProperty Name="Way" ColumnName="Way" /> <ScalarProperty Name="Standard" ColumnName="Standard" /> <ScalarProperty Name="CheckVersion" ColumnName="CheckVersion" /> <ScalarProperty Name="CheckContent" ColumnName="CheckContent" /> <ScalarProperty Name="DeviceID" ColumnName="DeviceID" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Color"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Color"> <MappingFragment StoreEntitySet="tb_Color"> <ScalarProperty Name="ColorDQCode" ColumnName="ColorDQCode" /> <ScalarProperty Name="ColorQQCode" ColumnName="ColorQQCode" /> <ScalarProperty Name="Circle" ColumnName="Circle" /> <ScalarProperty Name="Des" ColumnName="Des" /> <ScalarProperty Name="ColorNo" ColumnName="ColorNo" /> <ScalarProperty Name="ColorCode" ColumnName="ColorCode" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_CommonlyInspection"> <EntityTypeMapping TypeName="BBMPT1Model.tb_CommonlyInspection"> <MappingFragment StoreEntitySet="tb_CommonlyInspection"> <ScalarProperty Name="DisableUserID" ColumnName="DisableUserID" /> <ScalarProperty Name="DisableTime" ColumnName="DisableTime" /> <ScalarProperty Name="IsUseing" ColumnName="IsUseing" /> <ScalarProperty Name="UpdateUserID" ColumnName="UpdateUserID" /> <ScalarProperty Name="UpdateTime" ColumnName="UpdateTime" /> <ScalarProperty Name="CreateUserID" ColumnName="CreateUserID" /> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="InspectionContentID" ColumnName="InspectionContentID" /> <ScalarProperty Name="VersionID" ColumnName="VersionID" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_CommonlyInspectionRecord"> <EntityTypeMapping TypeName="BBMPT1Model.tb_CommonlyInspectionRecord"> <MappingFragment StoreEntitySet="tb_CommonlyInspectionRecord"> <ScalarProperty Name="ErrMes" ColumnName="ErrMes" /> <ScalarProperty Name="CheckType" ColumnName="CheckType" /> <ScalarProperty Name="ID" ColumnName="ID" /> <ScalarProperty Name="DisableUserID" ColumnName="DisableUserID" /> <ScalarProperty Name="DisableTime" ColumnName="DisableTime" /> <ScalarProperty Name="IsUseing" ColumnName="IsUseing" /> <ScalarProperty Name="UpdateUserID" ColumnName="UpdateUserID" /> <ScalarProperty Name="UpdateTime" ColumnName="UpdateTime" /> <ScalarProperty Name="CreateUserID" ColumnName="CreateUserID" /> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="DepartmentLeaderConfirmDate" ColumnName="DepartmentLeaderConfirmDate" /> <ScalarProperty Name="DepartmentLeaderConfirm" ColumnName="DepartmentLeaderConfirm" /> <ScalarProperty Name="GroupLeaderConfirmDate" ColumnName="GroupLeaderConfirmDate" /> <ScalarProperty Name="GroupLeaderConfirm" ColumnName="GroupLeaderConfirm" /> <ScalarProperty Name="ConfirmUserDate" ColumnName="ConfirmUserDate" /> <ScalarProperty Name="ConfirmUser" ColumnName="ConfirmUser" /> <ScalarProperty Name="CheckDate" ColumnName="CheckDate" /> <ScalarProperty Name="CheckUser" ColumnName="CheckUser" /> <ScalarProperty Name="CheckResult" ColumnName="CheckResult" /> <ScalarProperty Name="CommonlyInspectionID" ColumnName="CommonlyInspectionID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_CommonlyInspectionVersion"> <EntityTypeMapping TypeName="BBMPT1Model.tb_CommonlyInspectionVersion"> <MappingFragment StoreEntitySet="tb_CommonlyInspectionVersion"> <ScalarProperty Name="ID" ColumnName="ID" /> <ScalarProperty Name="Description" ColumnName="Description" /> <ScalarProperty Name="DisableUserID" ColumnName="DisableUserID" /> <ScalarProperty Name="DisableTime" ColumnName="DisableTime" /> <ScalarProperty Name="Operation" ColumnName="Operation" /> <ScalarProperty Name="IsUseing" ColumnName="IsUseing" /> <ScalarProperty Name="UpdateUserID" ColumnName="UpdateUserID" /> <ScalarProperty Name="UpdateTime" ColumnName="UpdateTime" /> <ScalarProperty Name="CreateUserID" ColumnName="CreateUserID" /> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="Version" ColumnName="Version" /> <ScalarProperty Name="DeviceID" ColumnName="DeviceID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Config"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Config"> <MappingFragment StoreEntitySet="tb_Config"> <ScalarProperty Name="remark3" ColumnName="remark3" /> <ScalarProperty Name="remark2" ColumnName="remark2" /> <ScalarProperty Name="remark1" ColumnName="remark1" /> <ScalarProperty Name="des" ColumnName="des" /> <ScalarProperty Name="value" ColumnName="value" /> <ScalarProperty Name="name" ColumnName="name" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Cylinder"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Cylinder"> <MappingFragment StoreEntitySet="tb_Cylinder"> <ScalarProperty Name="Des" ColumnName="Des" /> <ScalarProperty Name="CylinderNo" ColumnName="CylinderNo" /> <ScalarProperty Name="CylinderID" ColumnName="CylinderID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_CylinderAndRaw"> <EntityTypeMapping TypeName="BBMPT1Model.tb_CylinderAndRaw"> <MappingFragment StoreEntitySet="tb_CylinderAndRaw"> <ScalarProperty Name="Time2" ColumnName="Time2" /> <ScalarProperty Name="Time1" ColumnName="Time1" /> <ScalarProperty Name="BarCode" ColumnName="BarCode" /> <ScalarProperty Name="DrumBarCode" ColumnName="DrumBarCode" /> <ScalarProperty Name="CylinderID" ColumnName="CylinderID" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Defect"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Defect"> <MappingFragment StoreEntitySet="tb_Defect"> <ScalarProperty Name="Des" ColumnName="Des" /> <ScalarProperty Name="DefectName" ColumnName="DefectName" /> <ScalarProperty Name="LineID" ColumnName="LineID" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Device"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Device"> <MappingFragment StoreEntitySet="tb_Device"> <ScalarProperty Name="DeviceModel" ColumnName="DeviceModel" /> <ScalarProperty Name="Des" ColumnName="Des" /> <ScalarProperty Name="FixNo" ColumnName="FixNo" /> <ScalarProperty Name="DeviceName" ColumnName="DeviceName" /> <ScalarProperty Name="DeviceNo" ColumnName="DeviceNo" /> <ScalarProperty Name="StationID" ColumnName="StationID" /> <ScalarProperty Name="DeviceID" ColumnName="DeviceID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_DeviceKeepItems"> <EntityTypeMapping TypeName="BBMPT1Model.tb_DeviceKeepItems"> <MappingFragment StoreEntitySet="tb_DeviceKeepItems"> <ScalarProperty Name="UpdateTime" ColumnName="UpdateTime" /> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="DeviceID" ColumnName="DeviceID" /> <ScalarProperty Name="KeepItemsID" ColumnName="KeepItemsID" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Factory"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Factory"> <MappingFragment StoreEntitySet="tb_Factory"> <ScalarProperty Name="Des" ColumnName="Des" /> <ScalarProperty Name="FactoryName" ColumnName="FactoryName" /> <ScalarProperty Name="FactoryID" ColumnName="FactoryID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_FinishProduct"> <EntityTypeMapping TypeName="BBMPT1Model.tb_FinishProduct"> <MappingFragment StoreEntitySet="tb_FinishProduct"> <ScalarProperty Name="Des" ColumnName="Des" /> <ScalarProperty Name="FinishProductName" ColumnName="FinishProductName" /> <ScalarProperty Name="FinishProductNo" ColumnName="FinishProductNo" /> <ScalarProperty Name="FinishProductID" ColumnName="FinishProductID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_ImgVideo"> <EntityTypeMapping TypeName="BBMPT1Model.tb_ImgVideo"> <MappingFragment StoreEntitySet="tb_ImgVideo"> <ScalarProperty Name="UpdateTime" ColumnName="UpdateTime" /> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="fileType" ColumnName="fileType" /> <ScalarProperty Name="fileName" ColumnName="fileName" /> <ScalarProperty Name="fileUrl" ColumnName="fileUrl" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Inhection_DownReason"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Inhection_DownReason"> <MappingFragment StoreEntitySet="tb_Inhection_DownReason"> <ScalarProperty Name="Des" ColumnName="Des" /> <ScalarProperty Name="Reason" ColumnName="Reason" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Injection_BoxRecord"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Injection_BoxRecord"> <MappingFragment StoreEntitySet="tb_Injection_BoxRecord"> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="IsFlag" ColumnName="IsFlag" /> <ScalarProperty Name="BoxCount" ColumnName="BoxCount" /> <ScalarProperty Name="BoxNo" ColumnName="BoxNo" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Injection_DownRecord"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Injection_DownRecord"> <MappingFragment StoreEntitySet="tb_Injection_DownRecord"> <ScalarProperty Name="PlanID" ColumnName="PlanID" /> <ScalarProperty Name="Remark3" ColumnName="Remark3" /> <ScalarProperty Name="Remark2" ColumnName="Remark2" /> <ScalarProperty Name="Remark1" ColumnName="Remark1" /> <ScalarProperty Name="DownTime" ColumnName="DownTime" /> <ScalarProperty Name="EndTime" ColumnName="EndTime" /> <ScalarProperty Name="StartTime" ColumnName="StartTime" /> <ScalarProperty Name="Des" ColumnName="Des" /> <ScalarProperty Name="DownReason" ColumnName="DownReason" /> <ScalarProperty Name="DownType" ColumnName="DownType" /> <ScalarProperty Name="StationID" ColumnName="StationID" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Injection_DownTime"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Injection_DownTime"> <MappingFragment StoreEntitySet="tb_Injection_DownTime"> <ScalarProperty Name="Remark3" ColumnName="Remark3" /> <ScalarProperty Name="Remark2" ColumnName="Remark2" /> <ScalarProperty Name="Remark1" ColumnName="Remark1" /> <ScalarProperty Name="DownTypeID" ColumnName="DownTypeID" /> <ScalarProperty Name="InterVal" ColumnName="InterVal" /> <ScalarProperty Name="EndTime" ColumnName="EndTime" /> <ScalarProperty Name="StartTime" ColumnName="StartTime" /> <ScalarProperty Name="StationID" ColumnName="StationID" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Injection_DownType"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Injection_DownType"> <MappingFragment StoreEntitySet="tb_Injection_DownType"> <ScalarProperty Name="Remark" ColumnName="Remark" /> <ScalarProperty Name="DownTypeName" ColumnName="DownTypeName" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Injection_Record"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Injection_Record"> <MappingFragment StoreEntitySet="tb_Injection_Record"> <ScalarProperty Name="PlanID" ColumnName="PlanID" /> <ScalarProperty Name="PartNo" ColumnName="PartNo" /> <ScalarProperty Name="StockNo" ColumnName="StockNo" /> <ScalarProperty Name="RecordDate" ColumnName="RecordDate" /> <ScalarProperty Name="Waste_Weight" ColumnName="Waste_Weight" /> <ScalarProperty Name="JK_Weight" ColumnName="JK_Weight" /> <ScalarProperty Name="StationID" ColumnName="StationID" /> <ScalarProperty Name="workClass" ColumnName="workClass" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_InjectionPlan"> <EntityTypeMapping TypeName="BBMPT1Model.tb_InjectionPlan"> <MappingFragment StoreEntitySet="tb_InjectionPlan"> <ScalarProperty Name="ProductNature" ColumnName="ProductNature" /> <ScalarProperty Name="Waste_Weight" ColumnName="Waste_Weight" /> <ScalarProperty Name="JK_Weight" ColumnName="JK_Weight" /> <ScalarProperty Name="workClass" ColumnName="workClass" /> <ScalarProperty Name="RealCycle" ColumnName="RealCycle" /> <ScalarProperty Name="FinishTime" ColumnName="FinishTime" /> <ScalarProperty Name="IsFinish" ColumnName="IsFinish" /> <ScalarProperty Name="CompleteCount" ColumnName="CompleteCount" /> <ScalarProperty Name="PlanDate" ColumnName="PlanDate" /> <ScalarProperty Name="EndTime" ColumnName="EndTime" /> <ScalarProperty Name="PlanCount" ColumnName="PlanCount" /> <ScalarProperty Name="PartNo" ColumnName="PartNo" /> <ScalarProperty Name="StockNo" ColumnName="StockNo" /> <ScalarProperty Name="BeginTime" ColumnName="BeginTime" /> <ScalarProperty Name="StationID" ColumnName="StationID" /> <ScalarProperty Name="InjectionPlanID" ColumnName="InjectionPlanID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_InjectPlanReport"> <EntityTypeMapping TypeName="BBMPT1Model.tb_InjectPlanReport"> <MappingFragment StoreEntitySet="tb_InjectPlanReport"> <ScalarProperty Name="Time1" ColumnName="Time1" /> <ScalarProperty Name="BatchNo" ColumnName="BatchNo" /> <ScalarProperty Name="Drum" ColumnName="Drum" /> <ScalarProperty Name="MaterialName" ColumnName="MaterialName" /> <ScalarProperty Name="ProductName" ColumnName="ProductName" /> <ScalarProperty Name="InjectionPlanID" ColumnName="InjectionPlanID" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_InspectResult"> <EntityTypeMapping TypeName="BBMPT1Model.tb_InspectResult"> <MappingFragment StoreEntitySet="tb_InspectResult"> <ScalarProperty Name="remark3" ColumnName="remark3" /> <ScalarProperty Name="remark2" ColumnName="remark2" /> <ScalarProperty Name="remark1" ColumnName="remark1" /> <ScalarProperty Name="InspectTimes" ColumnName="InspectTimes" /> <ScalarProperty Name="createTime" ColumnName="createTime" /> <ScalarProperty Name="productOption" ColumnName="productOption" /> <ScalarProperty Name="productInfo" ColumnName="productInfo" /> <ScalarProperty Name="reason" ColumnName="reason" /> <ScalarProperty Name="defectID" ColumnName="defectID" /> <ScalarProperty Name="damnPosition" ColumnName="damnPosition" /> <ScalarProperty Name="inspectResult" ColumnName="inspectResult" /> <ScalarProperty Name="workClass" ColumnName="workClass" /> <ScalarProperty Name="stationNo" ColumnName="stationNo" /> <ScalarProperty Name="position" ColumnName="position" /> <ScalarProperty Name="side" ColumnName="side" /> <ScalarProperty Name="barcode" ColumnName="barcode" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_KeepItems"> <EntityTypeMapping TypeName="BBMPT1Model.tb_KeepItems"> <MappingFragment StoreEntitySet="tb_KeepItems"> <ScalarProperty Name="KeepItems" ColumnName="KeepItems" /> <ScalarProperty Name="UpdateTime" ColumnName="UpdateTime" /> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="Des" ColumnName="Des" /> <ScalarProperty Name="KeepLevelID" ColumnName="KeepLevelID" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_KeepItemsVersion"> <EntityTypeMapping TypeName="BBMPT1Model.tb_KeepItemsVersion"> <MappingFragment StoreEntitySet="tb_KeepItemsVersion"> <ScalarProperty Name="DisableUserID" ColumnName="DisableUserID" /> <ScalarProperty Name="DisableTime" ColumnName="DisableTime" /> <ScalarProperty Name="IsUseing" ColumnName="IsUseing" /> <ScalarProperty Name="UpdateUserID" ColumnName="UpdateUserID" /> <ScalarProperty Name="UpdateTime" ColumnName="UpdateTime" /> <ScalarProperty Name="CreateUserID" ColumnName="CreateUserID" /> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="KeepItemsID" ColumnName="KeepItemsID" /> <ScalarProperty Name="VersionID" ColumnName="VersionID" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_KeepLevel"> <EntityTypeMapping TypeName="BBMPT1Model.tb_KeepLevel"> <MappingFragment StoreEntitySet="tb_KeepLevel"> <ScalarProperty Name="UpdateTime" ColumnName="UpdateTime" /> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="Des" ColumnName="Des" /> <ScalarProperty Name="KeepLevel" ColumnName="KeepLevel" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_KeepPlan"> <EntityTypeMapping TypeName="BBMPT1Model.tb_KeepPlan"> <MappingFragment StoreEntitySet="tb_KeepPlan"> <ScalarProperty Name="Des" ColumnName="Des" /> <ScalarProperty Name="KeepDay" ColumnName="KeepDay" /> <ScalarProperty Name="UpdateTime" ColumnName="UpdateTime" /> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="KeepLevelID" ColumnName="KeepLevelID" /> <ScalarProperty Name="DeviceID" ColumnName="DeviceID" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_KeepRecord"> <EntityTypeMapping TypeName="BBMPT1Model.tb_KeepRecord"> <MappingFragment StoreEntitySet="tb_KeepRecord"> <ScalarProperty Name="DepartmentLeaderConfirmDate" ColumnName="DepartmentLeaderConfirmDate" /> <ScalarProperty Name="DepartmentLeaderConfirm" ColumnName="DepartmentLeaderConfirm" /> <ScalarProperty Name="GroupLeaderConfirmDate" ColumnName="GroupLeaderConfirmDate" /> <ScalarProperty Name="GroupLeaderConfirm" ColumnName="GroupLeaderConfirm" /> <ScalarProperty Name="ConfirmUserDate" ColumnName="ConfirmUserDate" /> <ScalarProperty Name="ConfirmUser" ColumnName="ConfirmUser" /> <ScalarProperty Name="CheckDate" ColumnName="CheckDate" /> <ScalarProperty Name="CheckUser" ColumnName="CheckUser" /> <ScalarProperty Name="UpdateTime" ColumnName="UpdateTime" /> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="Des" ColumnName="Des" /> <ScalarProperty Name="Result" ColumnName="Result" /> <ScalarProperty Name="KeepItemsVersionID" ColumnName="KeepItemsVersionID" /> <ScalarProperty Name="KeepPlanID" ColumnName="KeepPlanID" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_KeepVersion"> <EntityTypeMapping TypeName="BBMPT1Model.tb_KeepVersion"> <MappingFragment StoreEntitySet="tb_KeepVersion"> <ScalarProperty Name="Description" ColumnName="Description" /> <ScalarProperty Name="DisableUserID" ColumnName="DisableUserID" /> <ScalarProperty Name="DisableTime" ColumnName="DisableTime" /> <ScalarProperty Name="Operation" ColumnName="Operation" /> <ScalarProperty Name="IsUseing" ColumnName="IsUseing" /> <ScalarProperty Name="UpdateUserID" ColumnName="UpdateUserID" /> <ScalarProperty Name="UpdateTime" ColumnName="UpdateTime" /> <ScalarProperty Name="CreateUserID" ColumnName="CreateUserID" /> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="Version" ColumnName="Version" /> <ScalarProperty Name="DeviceID" ColumnName="DeviceID" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_LayerAndBC"> <EntityTypeMapping TypeName="BBMPT1Model.tb_LayerAndBC"> <MappingFragment StoreEntitySet="tb_LayerAndBC"> <ScalarProperty Name="des" ColumnName="des" /> <ScalarProperty Name="side" ColumnName="side" /> <ScalarProperty Name="floor" ColumnName="floor" /> <ScalarProperty Name="layer" ColumnName="layer" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Line"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Line"> <MappingFragment StoreEntitySet="tb_Line"> <ScalarProperty Name="Des" ColumnName="Des" /> <ScalarProperty Name="LineName" ColumnName="LineName" /> <ScalarProperty Name="PlaceID" ColumnName="PlaceID" /> <ScalarProperty Name="LineID" ColumnName="LineID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Machine"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Machine"> <MappingFragment StoreEntitySet="tb_Machine"> <ScalarProperty Name="Des" ColumnName="Des" /> <ScalarProperty Name="MachineNo" ColumnName="MachineNo" /> <ScalarProperty Name="MachineID" ColumnName="MachineID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Manufacturer"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Manufacturer"> <MappingFragment StoreEntitySet="tb_Manufacturer"> <ScalarProperty Name="UpdateTime" ColumnName="UpdateTime" /> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="Des" ColumnName="Des" /> <ScalarProperty Name="ManufacturerName" ColumnName="ManufacturerName" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Mistake_247"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Mistake_247"> <MappingFragment StoreEntitySet="tb_Mistake_247"> <ScalarProperty Name="DeviceNo" ColumnName="DeviceNo" /> <ScalarProperty Name="PackCount" ColumnName="PackCount" /> <ScalarProperty Name="PartName2" ColumnName="PartName2" /> <ScalarProperty Name="PartNo2" ColumnName="PartNo2" /> <ScalarProperty Name="PartName1" ColumnName="PartName1" /> <ScalarProperty Name="PartNo1" ColumnName="PartNo1" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Model_Product"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Model_Product"> <MappingFragment StoreEntitySet="tb_Model_Product"> <ScalarProperty Name="ProuctID" ColumnName="ProuctID" /> <ScalarProperty Name="ModelID" ColumnName="ModelID" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Model_Update"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Model_Update"> <MappingFragment StoreEntitySet="tb_Model_Update"> <ScalarProperty Name="ModelID" ColumnName="ModelID" /> <ScalarProperty Name="AddTime" ColumnName="AddTime" /> <ScalarProperty Name="Remarks" ColumnName="Remarks" /> <ScalarProperty Name="Supplier" ColumnName="Supplier" /> <ScalarProperty Name="State" ColumnName="State" /> <ScalarProperty Name="Purpose" ColumnName="Purpose" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_ModelCount"> <EntityTypeMapping TypeName="BBMPT1Model.tb_ModelCount"> <MappingFragment StoreEntitySet="tb_ModelCount"> <ScalarProperty Name="ModelSumCount" ColumnName="ModelSumCount" /> <ScalarProperty Name="PrintDate" ColumnName="PrintDate" /> <ScalarProperty Name="ModelPrintCount" ColumnName="ModelPrintCount" /> <ScalarProperty Name="StationID" ColumnName="StationID" /> <ScalarProperty Name="ModelID" ColumnName="ModelID" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_ModelInfo"> <EntityTypeMapping TypeName="BBMPT1Model.tb_ModelInfo"> <MappingFragment StoreEntitySet="tb_ModelInfo"> <ScalarProperty Name="ModelSize" ColumnName="ModelSize" /> <ScalarProperty Name="ModelCavityNo" ColumnName="ModelCavityNo" /> <ScalarProperty Name="RunnerForm" ColumnName="RunnerForm" /> <ScalarProperty Name="ModelWeight" ColumnName="ModelWeight" /> <ScalarProperty Name="OutForm" ColumnName="OutForm" /> <ScalarProperty Name="LocatingRingSize" ColumnName="LocatingRingSize" /> <ScalarProperty Name="InjectionPeriod" ColumnName="InjectionPeriod" /> <ScalarProperty Name="PartWeight" ColumnName="PartWeight" /> <ScalarProperty Name="Supplier" ColumnName="Supplier" /> <ScalarProperty Name="ServiceLife" ColumnName="ServiceLife" /> <ScalarProperty Name="Tonnage" ColumnName="Tonnage" /> <ScalarProperty Name="PermanentAssetsNo" ColumnName="PermanentAssetsNo" /> <ScalarProperty Name="ModelNo" ColumnName="ModelNo" /> <ScalarProperty Name="ModelName" ColumnName="ModelName" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Operator"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Operator"> <MappingFragment StoreEntitySet="tb_Operator"> <ScalarProperty Name="Des" ColumnName="Des" /> <ScalarProperty Name="OperatorPsw" ColumnName="OperatorPsw" /> <ScalarProperty Name="OperatorName" ColumnName="OperatorName" /> <ScalarProperty Name="OperatorNo" ColumnName="OperatorNo" /> <ScalarProperty Name="StationID" ColumnName="StationID" /> <ScalarProperty Name="OperatorID" ColumnName="OperatorID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Paint_Bucket"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Paint_Bucket"> <MappingFragment StoreEntitySet="tb_Paint_Bucket"> <ScalarProperty Name="ID" ColumnName="ID" /> <ScalarProperty Name="BucketID" ColumnName="BucketID" /> <ScalarProperty Name="PaintID" ColumnName="PaintID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_PaintBarCode"> <EntityTypeMapping TypeName="BBMPT1Model.tb_PaintBarCode"> <MappingFragment StoreEntitySet="tb_PaintBarCode"> <ScalarProperty Name="ProductDate" ColumnName="ProductDate" /> <ScalarProperty Name="PrintTime" ColumnName="PrintTime" /> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="Side" ColumnName="Side" /> <ScalarProperty Name="workClass" ColumnName="workClass" /> <ScalarProperty Name="ColorDes" ColumnName="ColorDes" /> <ScalarProperty Name="StockNo" ColumnName="StockNo" /> <ScalarProperty Name="BarCode" ColumnName="BarCode" /> <ScalarProperty Name="OneBarCode" ColumnName="OneBarCode" /> <ScalarProperty Name="ProductID" ColumnName="ProductID" /> <ScalarProperty Name="StationID" ColumnName="StationID" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_PaintInfo"> <EntityTypeMapping TypeName="BBMPT1Model.tb_PaintInfo"> <MappingFragment StoreEntitySet="tb_PaintInfo"> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="IsUsing" ColumnName="IsUsing" /> <ScalarProperty Name="CarModelCode" ColumnName="CarModelCode" /> <ScalarProperty Name="UnitCode" ColumnName="UnitCode" /> <ScalarProperty Name="PaintModel" ColumnName="PaintModel" /> <ScalarProperty Name="PaintName" ColumnName="PaintName" /> <ScalarProperty Name="PaintCode" ColumnName="PaintCode" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Place"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Place"> <MappingFragment StoreEntitySet="tb_Place"> <ScalarProperty Name="Des" ColumnName="Des" /> <ScalarProperty Name="PlaceName" ColumnName="PlaceName" /> <ScalarProperty Name="FactoryID" ColumnName="FactoryID" /> <ScalarProperty Name="PlaceID" ColumnName="PlaceID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Plan_247"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Plan_247"> <MappingFragment StoreEntitySet="tb_Plan_247"> <ScalarProperty Name="IsFinish" ColumnName="IsFinish" /> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="Des" ColumnName="Des" /> <ScalarProperty Name="ScrapCount2" ColumnName="ScrapCount2" /> <ScalarProperty Name="ScrapCount1" ColumnName="ScrapCount1" /> <ScalarProperty Name="RepairCount" ColumnName="RepairCount" /> <ScalarProperty Name="CompleteCount" ColumnName="CompleteCount" /> <ScalarProperty Name="LyCount" ColumnName="LyCount" /> <ScalarProperty Name="OrderCount" ColumnName="OrderCount" /> <ScalarProperty Name="PartNo" ColumnName="PartNo" /> <ScalarProperty Name="Item" ColumnName="Item" /> <ScalarProperty Name="OrderNo" ColumnName="OrderNo" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_PlanScreenConfig"> <EntityTypeMapping TypeName="BBMPT1Model.tb_PlanScreenConfig"> <MappingFragment StoreEntitySet="tb_PlanScreenConfig"> <ScalarProperty Name="Des" ColumnName="Des" /> <ScalarProperty Name="StationNo" ColumnName="StationNo" /> <ScalarProperty Name="IP" ColumnName="IP" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Plastic"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Plastic"> <MappingFragment StoreEntitySet="tb_Plastic"> <ScalarProperty Name="PartNo" ColumnName="PartNo" /> <ScalarProperty Name="PrinterNo" ColumnName="PrinterNo" /> <ScalarProperty Name="OpenDebugTime" ColumnName="OpenDebugTime" /> <ScalarProperty Name="Weight" ColumnName="Weight" /> <ScalarProperty Name="IsBackup" ColumnName="IsBackup" /> <ScalarProperty Name="StationID" ColumnName="StationID" /> <ScalarProperty Name="CycleTime" ColumnName="CycleTime" /> <ScalarProperty Name="StockNo" ColumnName="StockNo" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_PLC_Break"> <EntityTypeMapping TypeName="BBMPT1Model.tb_PLC_Break"> <MappingFragment StoreEntitySet="tb_PLC_Break"> <ScalarProperty Name="Des" ColumnName="Des" /> <ScalarProperty Name="Address" ColumnName="Address" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_PLC_Mould"> <EntityTypeMapping TypeName="BBMPT1Model.tb_PLC_Mould"> <MappingFragment StoreEntitySet="tb_PLC_Mould"> <ScalarProperty Name="Des" ColumnName="Des" /> <ScalarProperty Name="Address" ColumnName="Address" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Product"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Product"> <MappingFragment StoreEntitySet="tb_Product"> <ScalarProperty Name="CarTypeID" ColumnName="CarTypeID" /> <ScalarProperty Name="IsPlating" ColumnName="IsPlating" /> <ScalarProperty Name="BackPlatingNum" ColumnName="BackPlatingNum" /> <ScalarProperty Name="IsOneMore" ColumnName="IsOneMore" /> <ScalarProperty Name="IsSupply" ColumnName="IsSupply" /> <ScalarProperty Name="IsPrintPackList" ColumnName="IsPrintPackList" /> <ScalarProperty Name="IsPrintOneTag" ColumnName="IsPrintOneTag" /> <ScalarProperty Name="QLevel" ColumnName="QLevel" /> <ScalarProperty Name="OpenFailNum" ColumnName="OpenFailNum" /> <ScalarProperty Name="PackCount" ColumnName="PackCount" /> <ScalarProperty Name="isImport" ColumnName="isImport" /> <ScalarProperty Name="Des" ColumnName="Des" /> <ScalarProperty Name="PicturePath" ColumnName="PicturePath" /> <ScalarProperty Name="Layers" ColumnName="Layers" /> <ScalarProperty Name="Cols" ColumnName="Cols" /> <ScalarProperty Name="Rows" ColumnName="Rows" /> <ScalarProperty Name="PartNo" ColumnName="PartNo" /> <ScalarProperty Name="ColorName" ColumnName="ColorName" /> <ScalarProperty Name="ProductName" ColumnName="ProductName" /> <ScalarProperty Name="PartName" ColumnName="PartName" /> <ScalarProperty Name="StockNo" ColumnName="StockNo" /> <ScalarProperty Name="ProductTypeID" ColumnName="ProductTypeID" /> <ScalarProperty Name="ProductID" ColumnName="ProductID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Product_Color"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Product_Color"> <MappingFragment StoreEntitySet="tb_Product_Color"> <ScalarProperty Name="ColorID" ColumnName="ColorID" /> <ScalarProperty Name="ProductID" ColumnName="ProductID" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Product_Injection"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Product_Injection"> <MappingFragment StoreEntitySet="tb_Product_Injection"> <ScalarProperty Name="BadCount" ColumnName="BadCount" /> <ScalarProperty Name="ProductCount" ColumnName="ProductCount" /> <ScalarProperty Name="PartNo" ColumnName="PartNo" /> <ScalarProperty Name="StockNo" ColumnName="StockNo" /> <ScalarProperty Name="ClassName" ColumnName="ClassName" /> <ScalarProperty Name="ProductDate" ColumnName="ProductDate" /> <ScalarProperty Name="StationID" ColumnName="StationID" /> <ScalarProperty Name="PlanID" ColumnName="PlanID" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Product_Injection_w"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Product_Injection_w"> <MappingFragment StoreEntitySet="tb_Product_Injection_w"> <ScalarProperty Name="JK_Weight" ColumnName="JK_Weight" /> <ScalarProperty Name="Waste_Weight" ColumnName="Waste_Weight" /> <ScalarProperty Name="RealCycle" ColumnName="RealCycle" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_ProductSotckIn"> <EntityTypeMapping TypeName="BBMPT1Model.tb_ProductSotckIn"> <MappingFragment StoreEntitySet="tb_ProductSotckIn"> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="ProductName" ColumnName="ProductName" /> <ScalarProperty Name="BarCode" ColumnName="BarCode" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_ProductType"> <EntityTypeMapping TypeName="BBMPT1Model.tb_ProductType"> <MappingFragment StoreEntitySet="tb_ProductType"> <ScalarProperty Name="Des" ColumnName="Des" /> <ScalarProperty Name="ProductTypeName" ColumnName="ProductTypeName" /> <ScalarProperty Name="ProductTypeNo" ColumnName="ProductTypeNo" /> <ScalarProperty Name="ProductTypeID" ColumnName="ProductTypeID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Record_247"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Record_247"> <MappingFragment StoreEntitySet="tb_Record_247"> <ScalarProperty Name="Type" ColumnName="Type" /> <ScalarProperty Name="Flag" ColumnName="Flag" /> <ScalarProperty Name="CreateTime2" ColumnName="CreateTime2" /> <ScalarProperty Name="CreateTime1" ColumnName="CreateTime1" /> <ScalarProperty Name="OrderNo" ColumnName="OrderNo" /> <ScalarProperty Name="BoxNo" ColumnName="BoxNo" /> <ScalarProperty Name="PartNo2" ColumnName="PartNo2" /> <ScalarProperty Name="PartNo1" ColumnName="PartNo1" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Report_FiveScreen"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Report_FiveScreen"> <MappingFragment StoreEntitySet="tb_Report_FiveScreen"> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="day31" ColumnName="day31" /> <ScalarProperty Name="day30" ColumnName="day30" /> <ScalarProperty Name="day29" ColumnName="day29" /> <ScalarProperty Name="day28" ColumnName="day28" /> <ScalarProperty Name="day27" ColumnName="day27" /> <ScalarProperty Name="day26" ColumnName="day26" /> <ScalarProperty Name="day25" ColumnName="day25" /> <ScalarProperty Name="day24" ColumnName="day24" /> <ScalarProperty Name="day23" ColumnName="day23" /> <ScalarProperty Name="day22" ColumnName="day22" /> <ScalarProperty Name="day21" ColumnName="day21" /> <ScalarProperty Name="day20" ColumnName="day20" /> <ScalarProperty Name="day19" ColumnName="day19" /> <ScalarProperty Name="day18" ColumnName="day18" /> <ScalarProperty Name="day17" ColumnName="day17" /> <ScalarProperty Name="day16" ColumnName="day16" /> <ScalarProperty Name="day15" ColumnName="day15" /> <ScalarProperty Name="day14" ColumnName="day14" /> <ScalarProperty Name="day13" ColumnName="day13" /> <ScalarProperty Name="day12" ColumnName="day12" /> <ScalarProperty Name="day11" ColumnName="day11" /> <ScalarProperty Name="day10" ColumnName="day10" /> <ScalarProperty Name="day9" ColumnName="day9" /> <ScalarProperty Name="day8" ColumnName="day8" /> <ScalarProperty Name="day7" ColumnName="day7" /> <ScalarProperty Name="day6" ColumnName="day6" /> <ScalarProperty Name="day5" ColumnName="day5" /> <ScalarProperty Name="day4" ColumnName="day4" /> <ScalarProperty Name="day3" ColumnName="day3" /> <ScalarProperty Name="day2" ColumnName="day2" /> <ScalarProperty Name="day1" ColumnName="day1" /> <ScalarProperty Name="Dec" ColumnName="Dec" /> <ScalarProperty Name="Nov" ColumnName="Nov" /> <ScalarProperty Name="Oct" ColumnName="Oct" /> <ScalarProperty Name="Sept" ColumnName="Sept" /> <ScalarProperty Name="Aug" ColumnName="Aug" /> <ScalarProperty Name="Jul" ColumnName="Jul" /> <ScalarProperty Name="Jun" ColumnName="Jun" /> <ScalarProperty Name="May" ColumnName="May" /> <ScalarProperty Name="Apr" ColumnName="Apr" /> <ScalarProperty Name="Mar" ColumnName="Mar" /> <ScalarProperty Name="Feb" ColumnName="Feb" /> <ScalarProperty Name="Jan" ColumnName="Jan" /> <ScalarProperty Name="LastYear" ColumnName="LastYear" /> <ScalarProperty Name="Name" ColumnName="Name" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Report_FiveScreenConfig"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Report_FiveScreenConfig"> <MappingFragment StoreEntitySet="tb_Report_FiveScreenConfig"> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="Scale" ColumnName="Scale" /> <ScalarProperty Name="Max" ColumnName="Max" /> <ScalarProperty Name="Min" ColumnName="Min" /> <ScalarProperty Name="Name" ColumnName="Name" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Report_FiveScreenLast"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Report_FiveScreenLast"> <MappingFragment StoreEntitySet="tb_Report_FiveScreenLast"> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="Remark1" ColumnName="Remark1" /> <ScalarProperty Name="PassRate" ColumnName="PassRate" /> <ScalarProperty Name="UseRate" ColumnName="UseRate" /> <ScalarProperty Name="StationNo" ColumnName="StationNo" /> <ScalarProperty Name="StationID" ColumnName="StationID" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_SkidInfo"> <EntityTypeMapping TypeName="BBMPT1Model.tb_SkidInfo"> <MappingFragment StoreEntitySet="tb_SkidInfo"> <ScalarProperty Name="Side_2_BC12" ColumnName="Side_2_BC12" /> <ScalarProperty Name="Side_2_BC11" ColumnName="Side_2_BC11" /> <ScalarProperty Name="Side_2_BC10" ColumnName="Side_2_BC10" /> <ScalarProperty Name="Side_2_BC09" ColumnName="Side_2_BC09" /> <ScalarProperty Name="Side_2_BC08" ColumnName="Side_2_BC08" /> <ScalarProperty Name="Side_2_BC07" ColumnName="Side_2_BC07" /> <ScalarProperty Name="Side_2_BC06" ColumnName="Side_2_BC06" /> <ScalarProperty Name="Side_2_BC05" ColumnName="Side_2_BC05" /> <ScalarProperty Name="Side_2_BC04" ColumnName="Side_2_BC04" /> <ScalarProperty Name="Side_2_BC03" ColumnName="Side_2_BC03" /> <ScalarProperty Name="Side_2_BC02" ColumnName="Side_2_BC02" /> <ScalarProperty Name="Side_2_BC01" ColumnName="Side_2_BC01" /> <ScalarProperty Name="Side_1_BC12" ColumnName="Side_1_BC12" /> <ScalarProperty Name="Side_1_BC11" ColumnName="Side_1_BC11" /> <ScalarProperty Name="Side_1_BC10" ColumnName="Side_1_BC10" /> <ScalarProperty Name="Side_1_BC09" ColumnName="Side_1_BC09" /> <ScalarProperty Name="Side_1_BC08" ColumnName="Side_1_BC08" /> <ScalarProperty Name="Side_1_BC07" ColumnName="Side_1_BC07" /> <ScalarProperty Name="Side_1_BC06" ColumnName="Side_1_BC06" /> <ScalarProperty Name="Side_1_BC05" ColumnName="Side_1_BC05" /> <ScalarProperty Name="Side_1_BC04" ColumnName="Side_1_BC04" /> <ScalarProperty Name="Side_1_BC03" ColumnName="Side_1_BC03" /> <ScalarProperty Name="Side_1_BC02" ColumnName="Side_1_BC02" /> <ScalarProperty Name="Side_1_BC01" ColumnName="Side_1_BC01" /> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="ColorInfo" ColumnName="ColorInfo" /> <ScalarProperty Name="Layer" ColumnName="Layer" /> <ScalarProperty Name="BarcodeRight" ColumnName="BarcodeRight" /> <ScalarProperty Name="BarcodeLeft" ColumnName="BarcodeLeft" /> <ScalarProperty Name="SkidNo" ColumnName="SkidNo" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Station"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Station"> <MappingFragment StoreEntitySet="tb_Station"> <ScalarProperty Name="Des" ColumnName="Des" /> <ScalarProperty Name="StationNo" ColumnName="StationNo" /> <ScalarProperty Name="LineID" ColumnName="LineID" /> <ScalarProperty Name="StationID" ColumnName="StationID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_StationAndCylinder"> <EntityTypeMapping TypeName="BBMPT1Model.tb_StationAndCylinder"> <MappingFragment StoreEntitySet="tb_StationAndCylinder"> <ScalarProperty Name="Time2" ColumnName="Time2" /> <ScalarProperty Name="Time1" ColumnName="Time1" /> <ScalarProperty Name="CylinderID" ColumnName="CylinderID" /> <ScalarProperty Name="StationID" ColumnName="StationID" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_StockIn"> <EntityTypeMapping TypeName="BBMPT1Model.tb_StockIn"> <MappingFragment StoreEntitySet="tb_StockIn"> <ScalarProperty Name="createTime" ColumnName="createTime" /> <ScalarProperty Name="pass" ColumnName="pass" /> <ScalarProperty Name="barcode" ColumnName="barcode" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_StockIn_beif"> <EntityTypeMapping TypeName="BBMPT1Model.tb_StockIn_beif"> <MappingFragment StoreEntitySet="tb_StockIn_beif"> <ScalarProperty Name="createTime" ColumnName="createTime" /> <ScalarProperty Name="pass" ColumnName="pass" /> <ScalarProperty Name="barcode" ColumnName="barcode" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_StockInColor"> <EntityTypeMapping TypeName="BBMPT1Model.tb_StockInColor"> <MappingFragment StoreEntitySet="tb_StockInColor"> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="ColorInfo" ColumnName="ColorInfo" /> <ScalarProperty Name="Barcode" ColumnName="Barcode" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_test"> <EntityTypeMapping TypeName="BBMPT1Model.tb_test"> <MappingFragment StoreEntitySet="tb_test"> <ScalarProperty Name="createTime" ColumnName="createTime" /> <ScalarProperty Name="Reason" ColumnName="Reason" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_weightRecord"> <EntityTypeMapping TypeName="BBMPT1Model.tb_weightRecord"> <MappingFragment StoreEntitySet="tb_weightRecord"> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="DeviceNo" ColumnName="DeviceNo" /> <ScalarProperty Name="ID" ColumnName="ID" /> <ScalarProperty Name="GID" ColumnName="GID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_ZPPlan"> <EntityTypeMapping TypeName="BBMPT1Model.tb_ZPPlan"> <MappingFragment StoreEntitySet="tb_ZPPlan"> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="BadCount" ColumnName="BadCount" /> <ScalarProperty Name="IsFinish" ColumnName="IsFinish" /> <ScalarProperty Name="ProductCount" ColumnName="ProductCount" /> <ScalarProperty Name="OrderCount" ColumnName="OrderCount" /> <ScalarProperty Name="PartNo" ColumnName="PartNo" /> <ScalarProperty Name="StationID" ColumnName="StationID" /> <ScalarProperty Name="Item" ColumnName="Item" /> <ScalarProperty Name="OrderDate" ColumnName="OrderDate" /> <ScalarProperty Name="OrderNo" ColumnName="OrderNo" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="TES_BOM"> <EntityTypeMapping TypeName="BBMPT1Model.TES_BOM"> <MappingFragment StoreEntitySet="TES_BOM"> <ScalarProperty Name="InsertTime" ColumnName="InsertTime" /> <ScalarProperty Name="Site" ColumnName="Site" /> <ScalarProperty Name="Domain" ColumnName="Domain" /> <ScalarProperty Name="DataID" ColumnName="DataID" /> <ScalarProperty Name="CommandType" ColumnName="CommandType" /> <ScalarProperty Name="TaskID" ColumnName="TaskID" /> <ScalarProperty Name="Remark" ColumnName="Remark" /> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="CreateUser" ColumnName="CreateUser" /> <ScalarProperty Name="UID" ColumnName="UID" /> <ScalarProperty Name="GUID" ColumnName="GUID" /> <ScalarProperty Name="Process" ColumnName="Process" /> <ScalarProperty Name="OptionGroup" ColumnName="OptionGroup" /> <ScalarProperty Name="FporecastPercent" ColumnName="FporecastPercent" /> <ScalarProperty Name="SequenceNumber" ColumnName="SequenceNumber" /> <ScalarProperty Name="Operation" ColumnName="Operation" /> <ScalarProperty Name="LeadTimeOffset" ColumnName="LeadTimeOffset" /> <ScalarProperty Name="Scrap" ColumnName="Scrap" /> <ScalarProperty Name="Remarks" ColumnName="Remarks" /> <ScalarProperty Name="EndEffective" ColumnName="EndEffective" /> <ScalarProperty Name="StructureType" ColumnName="StructureType" /> <ScalarProperty Name="QuantityPer" ColumnName="QuantityPer" /> <ScalarProperty Name="StartEffective" ColumnName="StartEffective" /> <ScalarProperty Name="Reference" ColumnName="Reference" /> <ScalarProperty Name="ComponentPart" ColumnName="ComponentPart" /> <ScalarProperty Name="ParentPart" ColumnName="ParentPart" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="TES_PART_MSTR"> <EntityTypeMapping TypeName="BBMPT1Model.TES_PART_MSTR"> <MappingFragment StoreEntitySet="TES_PART_MSTR"> <ScalarProperty Name="CreatTime" ColumnName="CreatTime" /> <ScalarProperty Name="Site" ColumnName="Site" /> <ScalarProperty Name="Domain" ColumnName="Domain" /> <ScalarProperty Name="TaskID" ColumnName="TaskID" /> <ScalarProperty Name="Remark" ColumnName="Remark" /> <ScalarProperty Name="UID" ColumnName="UID" /> <ScalarProperty Name="InventoryCode" ColumnName="InventoryCode" /> <ScalarProperty Name="Qgrade" ColumnName="Qgrade" /> <ScalarProperty Name="Status" ColumnName="Status" /> <ScalarProperty Name="PartType" ColumnName="PartType" /> <ScalarProperty Name="AddDate" ColumnName="AddDate" /> <ScalarProperty Name="ProdLine" ColumnName="ProdLine" /> <ScalarProperty Name="Um" ColumnName="Um" /> <ScalarProperty Name="Desc2" ColumnName="Desc2" /> <ScalarProperty Name="Desc1" ColumnName="Desc1" /> <ScalarProperty Name="PartCode" ColumnName="PartCode" /> <ScalarProperty Name="GUID" ColumnName="GUID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="test2"> <EntityTypeMapping TypeName="BBMPT1Model.test2"> <MappingFragment StoreEntitySet="test2"> <ScalarProperty Name="ProductCount" ColumnName="ProductCount" /> <ScalarProperty Name="ClassName" ColumnName="ClassName" /> <ScalarProperty Name="ProductDate" ColumnName="ProductDate" /> <ScalarProperty Name="StationID" ColumnName="StationID" /> <ScalarProperty Name="PlanID" ColumnName="PlanID" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="T_Sys_RoleLinkPower"> <EntityTypeMapping TypeName="BBMPT1Model.T_Sys_RoleLinkPower"> <MappingFragment StoreEntitySet="T_Sys_RoleLinkPower"> <ScalarProperty Name="OpName" ColumnName="OpName" /> <ScalarProperty Name="OpTime" ColumnName="OpTime" /> <ScalarProperty Name="PowerID" ColumnName="PowerID" /> <ScalarProperty Name="RoleID" ColumnName="RoleID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_Report_FiveScreenStandard"> <EntityTypeMapping TypeName="BBMPT1Model.tb_Report_FiveScreenStandard"> <MappingFragment StoreEntitySet="tb_Report_FiveScreenStandard"> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="Dec" ColumnName="Dec" /> <ScalarProperty Name="Nov" ColumnName="Nov" /> <ScalarProperty Name="Oct" ColumnName="Oct" /> <ScalarProperty Name="Sept" ColumnName="Sept" /> <ScalarProperty Name="Aug" ColumnName="Aug" /> <ScalarProperty Name="Jul" ColumnName="Jul" /> <ScalarProperty Name="Jun" ColumnName="Jun" /> <ScalarProperty Name="May" ColumnName="May" /> <ScalarProperty Name="Apr" ColumnName="Apr" /> <ScalarProperty Name="Mar" ColumnName="Mar" /> <ScalarProperty Name="Feb" ColumnName="Feb" /> <ScalarProperty Name="Jan" ColumnName="Jan" /> <ScalarProperty Name="LastYear" ColumnName="LastYear" /> <ScalarProperty Name="Name" ColumnName="Name" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_ReportPaintingScreen"> <EntityTypeMapping TypeName="BBMPT1Model.tb_ReportPaintingScreen"> <MappingFragment StoreEntitySet="tb_ReportPaintingScreen"> <ScalarProperty Name="sumPassRate" ColumnName="sumPassRate" /> <ScalarProperty Name="sumPassNum" ColumnName="sumPassNum" /> <ScalarProperty Name="oncePassRate" ColumnName="oncePassRate" /> <ScalarProperty Name="oncePassNum" ColumnName="oncePassNum" /> <ScalarProperty Name="sumNum" ColumnName="sumNum" /> <ScalarProperty Name="productInfo" ColumnName="productInfo" /> <ScalarProperty Name="color" ColumnName="color" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="tb_ReportPaintingScreen_pg"> <EntityTypeMapping TypeName="BBMPT1Model.tb_ReportPaintingScreen_pg"> <MappingFragment StoreEntitySet="tb_ReportPaintingScreen_pg"> <ScalarProperty Name="defectRate5" ColumnName="defectRate5" /> <ScalarProperty Name="DefectName5" ColumnName="DefectName5" /> <ScalarProperty Name="defectRate4" ColumnName="defectRate4" /> <ScalarProperty Name="DefectName4" ColumnName="DefectName4" /> <ScalarProperty Name="defectRate3" ColumnName="defectRate3" /> <ScalarProperty Name="DefectName3" ColumnName="DefectName3" /> <ScalarProperty Name="defectRate2" ColumnName="defectRate2" /> <ScalarProperty Name="DefectName2" ColumnName="DefectName2" /> <ScalarProperty Name="defectRate1" ColumnName="defectRate1" /> <ScalarProperty Name="DefectName1" ColumnName="DefectName1" /> <ScalarProperty Name="hgNum" ColumnName="hgNum" /> <ScalarProperty Name="sumNum" ColumnName="sumNum" /> <ScalarProperty Name="productInfo" ColumnName="productInfo" /> <ScalarProperty Name="color" ColumnName="color" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> <EntitySetMapping Name="test1"> <EntityTypeMapping TypeName="BBMPT1Model.test1"> <MappingFragment StoreEntitySet="test1"> <ScalarProperty Name="ClassName" ColumnName="ClassName" /> <ScalarProperty Name="ProductDate" ColumnName="ProductDate" /> <ScalarProperty Name="PartNo" ColumnName="PartNo" /> <ScalarProperty Name="ProductName" ColumnName="ProductName" /> <ScalarProperty Name="CreateTime" ColumnName="CreateTime" /> <ScalarProperty Name="PlanID" ColumnName="PlanID" /> <ScalarProperty Name="OneBarCode" ColumnName="OneBarCode" /> <ScalarProperty Name="PrintType" ColumnName="PrintType" /> <ScalarProperty Name="StockNo" ColumnName="StockNo" /> <ScalarProperty Name="StationID" ColumnName="StationID" /> <ScalarProperty Name="ID" ColumnName="ID" /> </MappingFragment> </EntityTypeMapping> </EntitySetMapping> </EntityContainerMapping> </Mapping> </edmx:Mappings> </edmx:Runtime> <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) --> <Designer xmlns="http://schemas.microsoft.com/ado/2008/10/edmx"> <Connection> <DesignerInfoPropertySet> <DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" /> </DesignerInfoPropertySet> </Connection> <Options> <DesignerInfoPropertySet> <DesignerProperty Name="ValidateOnBuild" Value="true" /> <DesignerProperty Name="EnablePluralization" Value="false" /> <DesignerProperty Name="IncludeForeignKeysInModel" Value="true" /> <DesignerProperty Name="UseLegacyProvider" Value="true" /> <DesignerProperty Name="CodeGenerationStrategy" Value="无" /> </DesignerInfoPropertySet> </Options> <!-- Diagram content (shape and connector positions) --> <Diagrams></Diagrams> </Designer> </edmx:Edmx>