You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1103 lines
65 KiB

<?xml version="1.0" encoding="utf-8"?>
<edmx:Edmx Version="3.0" xmlns:edmx="http://schemas.microsoft.com/ado/2009/11/edmx">
<!-- EF Runtime content -->
<edmx:Runtime>
<!-- SSDL content -->
<edmx:StorageModels>
<Schema Namespace="TicketModel.Store" Provider="System.Data.SqlClient" ProviderManifestToken="2012" Alias="Self" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns:customannotation="http://schemas.microsoft.com/ado/2013/11/edm/customannotation" xmlns="http://schemas.microsoft.com/ado/2009/11/edm/ssdl">
<!--生成过程中发现错误:
警告 6013: 表/视图“Ticket.dbo.Authority”未定义主键,并且无法推断有效的主键。已排除了此表/视图。若要使用实体,将需要检查您的架构、添加正确的键并取消对实体的注释。
<EntityType Name="Authority">
<Property Name="tmp_field" Type="varchar" MaxLength="1" />
<Property Name="GROUP_CODE" Type="varchar" MaxLength="50" />
<Property Name="FM_30" Type="varchar" MaxLength="50" />
<Property Name="FM_31" Type="varchar" MaxLength="50" />
<Property Name="FM_32" Type="varchar" MaxLength="50" />
</EntityType>-->
<!--生成过程中发现错误:
警告 6002: 表/视图“Ticket.dbo.CHEMICAL_QUEUE”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="CHEMICAL_QUEUE">
<Key>
<PropertyRef Name="ReDye" />
</Key>
<Property Name="tmp_field" Type="varchar" MaxLength="1" />
<Property Name="ID_NO" Type="char" MaxLength="30" />
<Property Name="STEP_NO" Type="int" />
<Property Name="CREATE_DATE" Type="char" MaxLength="8" />
<Property Name="CREATE_TIME" Type="char" MaxLength="8" />
<Property Name="FIRST_KEY" Type="char" MaxLength="30" />
<Property Name="SECOND_KEY" Type="char" MaxLength="30" />
<Property Name="PRIORITY" Type="int" />
<Property Name="ReDye" Type="int" Nullable="false" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“Ticket.dbo.DYESTUFF_QUEUE”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="DYESTUFF_QUEUE">
<Key>
<PropertyRef Name="ReDye" />
</Key>
<Property Name="tmp_field" Type="varchar" MaxLength="1" />
<Property Name="ID_NO" Type="char" MaxLength="30" />
<Property Name="STEP_NO" Type="int" />
<Property Name="CREATE_DATE" Type="char" MaxLength="8" />
<Property Name="CREATE_TIME" Type="char" MaxLength="8" />
<Property Name="FIRST_KEY" Type="char" MaxLength="30" />
<Property Name="SECOND_KEY" Type="char" MaxLength="30" />
<Property Name="PRIORITY" Type="int" />
<Property Name="ReDye" Type="int" Nullable="false" />
</EntityType>
<!--生成过程中发现错误:
警告 6013: 表/视图“Ticket.dbo.GroupAccount”未定义主键,并且无法推断有效的主键。已排除了此表/视图。若要使用实体,将需要检查您的架构、添加正确的键并取消对实体的注释。
<EntityType Name="GroupAccount">
<Property Name="tmp_field" Type="varchar" MaxLength="1" />
<Property Name="GROUP_CODE" Type="varchar" MaxLength="50" />
<Property Name="GROUP_LEVEL" Type="int" />
</EntityType>-->
<!--生成过程中发现错误:
警告 6002: 表/视图“Ticket.dbo.JOBTKT”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="JOBTKT">
<Key>
<PropertyRef Name="ReDye" />
</Key>
<Property Name="tmp_field" Type="varchar" MaxLength="1" />
<Property Name="IDNO" Type="char" MaxLength="30" />
<Property Name="FNDATE" Type="float" />
<Property Name="FIRST_KEY" Type="char" MaxLength="30" />
<Property Name="SECOND_KEY" Type="char" MaxLength="30" />
<Property Name="ReDye" Type="int" Nullable="false" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“Ticket.dbo.POWDER_QUEUE”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="POWDER_QUEUE">
<Key>
<PropertyRef Name="ReDye" />
</Key>
<Property Name="tmp_field" Type="varchar" MaxLength="1" />
<Property Name="ID_NO" Type="char" MaxLength="30" />
<Property Name="STEP_NO" Type="int" />
<Property Name="CREATE_DATE" Type="char" MaxLength="8" />
<Property Name="CREATE_TIME" Type="char" MaxLength="8" />
<Property Name="FIRST_KEY" Type="char" MaxLength="30" />
<Property Name="SECOND_KEY" Type="char" MaxLength="30" />
<Property Name="PRIORITY" Type="int" />
<Property Name="ReDye" Type="int" Nullable="false" />
</EntityType>
<EntityType Name="Product">
<Key>
<PropertyRef Name="ProductCode" />
</Key>
<Property Name="ProductCode" Type="nchar" MaxLength="20" Nullable="false" />
<Property Name="ProductName" Type="nchar" MaxLength="50" />
<Property Name="Price" Type="float" />
<Property Name="Deduct" Type="float" />
<Property Name="FullWeight" Type="float" />
<Property Name="LampPosition" Type="int" />
<Property Name="TablePosition" Type="nchar" MaxLength="5" />
<Property Name="AREA" Type="nchar" MaxLength="5" />
<Property Name="SafetyStock" Type="float" />
<Property Name="ProductUnit" Type="int" />
<Property Name="ProductType" Type="int" />
<Property Name="ProductClass" Type="int" />
<Property Name="CurrentStock" Type="float" />
<Property Name="ProductLot" Type="nchar" MaxLength="30" />
<Property Name="RplDate" Type="datetime" />
<Property Name="UsedDate" Type="datetime" />
<Property Name="CuMonth" Type="nchar" MaxLength="2" />
<Property Name="LaStock" Type="float" />
<Property Name="ThStock" Type="float" />
<Property Name="ThUsed" Type="float" />
<Property Name="Color" Type="int" />
<Property Name="LastTime" Type="float" />
<Property Name="CalTime" Type="float" />
<Property Name="BackflowTime" Type="int" />
<Property Name="Tol_G" Type="int" />
<Property Name="Tol_P" Type="int" />
<Property Name="Alarm" Type="int" />
<Property Name="Change_Bucket" Type="int" />
<Property Name="Small_Volume_by_manual" Type="int" />
<Property Name="Target_Weight" Type="int" />
<Property Name="Pre_Weight" Type="int" />
<Property Name="One_Sec" Type="int" />
<Property Name="GetscalTime" Type="int" />
<Property Name="DelayOpenValve" Type="int" />
<Property Name="ValveMap" Type="nchar" MaxLength="5" />
<Property Name="PumpMap" Type="nchar" MaxLength="20" />
<Property Name="Includepump" Type="int" />
<Property Name="Once_minimum_weight" Type="int" />
<Property Name="Once_minimum_max_weight" Type="int" />
<Property Name="Once_minimum_time" Type="int" />
<Property Name="Res_S1" Type="nchar" MaxLength="30" />
<Property Name="Res_S2" Type="nchar" MaxLength="30" />
<Property Name="Res_S3" Type="nchar" MaxLength="30" />
<Property Name="Res_S4" Type="nchar" MaxLength="30" />
<Property Name="Res_I1" Type="int" />
<Property Name="Res_I2" Type="int" />
<Property Name="Res_I3" Type="int" />
<Property Name="Res_I4" Type="int" />
<Property Name="Res_F1" Type="float" />
<Property Name="Res_F2" Type="float" />
<Property Name="Res_F3" Type="float" />
<Property Name="Res_F4" Type="float" />
<Property Name="Batch_NO" Type="varchar" MaxLength="30" />
<Property Name="Concentration" Type="float" />
<Property Name="Pump" Type="int" />
<Property Name="PRODUCT_KIND" Type="int" />
<Property Name="SUPPLIER" Type="varchar" MaxLength="48" />
<Property Name="PRODUCT_MODIFY_DATE" Type="datetime" />
<Property Name="GRAVITY" Type="float" Nullable="false" />
<Property Name="UserAccount" Type="varchar" MaxLength="30" />
</EntityType>
<EntityType Name="ProductInventory">
<Key>
<PropertyRef Name="ProductCode" />
</Key>
<Property Name="ProductCode" Type="nchar" MaxLength="20" Nullable="false" />
<Property Name="Quantity" Type="float" />
<Property Name="Price" Type="float" />
<Property Name="CreateDate" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6013: 表/视图“Ticket.dbo.ProductKind”未定义主键,并且无法推断有效的主键。已排除了此表/视图。若要使用实体,将需要检查您的架构、添加正确的键并取消对实体的注释。
<EntityType Name="ProductKind">
<Property Name="tmp_field" Type="varchar" MaxLength="1" />
<Property Name="KIND_NAME" Type="nvarchar" MaxLength="50" />
<Property Name="ORDER_NO" Type="int" />
</EntityType>-->
<EntityType Name="ProductUsed">
<Key>
<PropertyRef Name="ProductCode" />
</Key>
<Property Name="ProductCode" Type="nchar" MaxLength="20" Nullable="false" />
<Property Name="UsedQty" Type="float" />
<Property Name="CreateDate" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“Ticket.dbo.REMOTETERMINAL”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="REMOTETERMINAL">
<Key>
<PropertyRef Name="ReDye" />
</Key>
<Property Name="tmp_field" Type="varchar" MaxLength="1" />
<Property Name="IDNO" Type="char" MaxLength="30" />
<Property Name="FNDATE" Type="float" />
<Property Name="IDTYPE" Type="char" MaxLength="1" />
<Property Name="FIRST_KEY" Type="char" MaxLength="30" />
<Property Name="SECOND_KEY" Type="char" MaxLength="30" />
<Property Name="ReDye" Type="int" Nullable="false" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“Ticket.dbo.TEMPCHEMICALTKT”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="TEMPCHEMICALTKT">
<Key>
<PropertyRef Name="ReDye" />
</Key>
<Property Name="tmp_field" Type="varchar" MaxLength="1" />
<Property Name="IDNO" Type="char" MaxLength="30" />
<Property Name="FNDATE" Type="float" />
<Property Name="IDTYPE" Type="char" MaxLength="1" />
<Property Name="FIRST_KEY" Type="char" MaxLength="30" />
<Property Name="SECOND_KEY" Type="char" MaxLength="30" />
<Property Name="ReDye" Type="int" Nullable="false" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“Ticket.dbo.TEMPDYESTUFFTKT”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="TEMPDYESTUFFTKT">
<Key>
<PropertyRef Name="ReDye" />
</Key>
<Property Name="tmp_field" Type="varchar" MaxLength="1" />
<Property Name="IDNO" Type="char" MaxLength="30" />
<Property Name="FNDATE" Type="float" />
<Property Name="IDTYPE" Type="char" MaxLength="1" />
<Property Name="FIRST_KEY" Type="char" MaxLength="30" />
<Property Name="SECOND_KEY" Type="char" MaxLength="30" />
<Property Name="ReDye" Type="int" Nullable="false" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“Ticket.dbo.TEMPPOWDER”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="TEMPPOWDER">
<Key>
<PropertyRef Name="ReDye" />
</Key>
<Property Name="tmp_field" Type="varchar" MaxLength="1" />
<Property Name="IDNO" Type="char" MaxLength="30" />
<Property Name="FNDATE" Type="float" />
<Property Name="IDTYPE" Type="char" MaxLength="1" />
<Property Name="FIRST_KEY" Type="char" MaxLength="30" />
<Property Name="SECOND_KEY" Type="char" MaxLength="30" />
<Property Name="ReDye" Type="int" Nullable="false" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“Ticket.dbo.TICKET_DETAIL”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="TICKET_DETAIL">
<Key>
<PropertyRef Name="GRAVITY" />
</Key>
<Property Name="ID_NO" Type="char" MaxLength="30" />
<Property Name="STEP_NO" Type="int" />
<Property Name="PRODUCT_CODE" Type="char" MaxLength="30" />
<Property Name="PRODUCT_TYPE" Type="char" MaxLength="1" />
<Property Name="TARGET_WT" Type="float" />
<Property Name="ACTUAL_WT" Type="float" />
<Property Name="UNIT" Type="char" MaxLength="2" />
<Property Name="COMP_DATE" Type="char" MaxLength="8" />
<Property Name="COMP_TIME" Type="char" MaxLength="8" />
<Property Name="TRANSFER_STATE" Type="int" />
<Property Name="ERROR_CODE" Type="char" MaxLength="48" />
<Property Name="MACHINE" Type="char" MaxLength="10" />
<Property Name="TANK_NO" Type="char" MaxLength="10" />
<Property Name="ID_TYPE" Type="char" MaxLength="1" />
<Property Name="PRODUCT_LOT" Type="char" MaxLength="30" />
<Property Name="RECIPE_CODE" Type="char" MaxLength="24" />
<Property Name="LR" Type="float" />
<Property Name="RECIPE_TYPE" Type="char" MaxLength="1" />
<Property Name="CONC" Type="char" MaxLength="10" />
<Property Name="CONCUNIT" Type="char" MaxLength="3" />
<Property Name="REMARK" Type="char" MaxLength="30" />
<Property Name="ADJUST" Type="char" MaxLength="10" />
<Property Name="PRICE" Type="float" />
<Property Name="RES_DOUBLE1" Type="float" />
<Property Name="RES_DOUBLE2" Type="float" />
<Property Name="RES_DOUBLE3" Type="float" />
<Property Name="RES_DOUBLE4" Type="float" />
<Property Name="RES_STRING1" Type="char" MaxLength="48" />
<Property Name="RES_STRING2" Type="char" MaxLength="48" />
<Property Name="RES_STRING3" Type="char" MaxLength="48" />
<Property Name="RES_STRING4" Type="char" MaxLength="48" />
<Property Name="REWEIGHT" Type="char" MaxLength="1" />
<Property Name="Redye" Type="int" />
<Property Name="DyeWeightTime" Type="datetime" />
<Property Name="UserAccount" Type="varchar" MaxLength="30" />
<Property Name="Batch_NO" Type="varchar" MaxLength="30" />
<Property Name="lldmxid" Type="int" />
<Property Name="Station" Type="varchar" MaxLength="30" />
<Property Name="UserCode" Type="char" MaxLength="10" />
<Property Name="FABRIC_WEIGHT" Type="float" />
<Property Name="VOLUME" Type="float" />
<Property Name="RECORD_ORDER" Type="smallint" />
<Property Name="Process" Type="varchar" MaxLength="50" />
<Property Name="GRAVITY" Type="float" Nullable="false" />
<Property Name="CurrentStock" Type="float" />
</EntityType>
<!--生成过程中发现错误:
警告 6013: 表/视图“Ticket.dbo.TICKET_TITLE”未定义主键,并且无法推断有效的主键。已排除了此表/视图。若要使用实体,将需要检查您的架构、添加正确的键并取消对实体的注释。
<EntityType Name="TICKET_TITLE">
<Property Name="ID_NO" Type="char" MaxLength="30" />
<Property Name="ID_TYPE" Type="char" MaxLength="1" />
<Property Name="PROCEDURE_CODE" Type="char" MaxLength="24" />
<Property Name="TOTAL_STEP" Type="int" />
<Property Name="TICKET" Type="char" MaxLength="30" />
<Property Name="MACHINE_NO" Type="char" MaxLength="30" />
<Property Name="CUSTOMER_CODE" Type="char" MaxLength="30" />
<Property Name="CUSTOMER_NAME" Type="char" MaxLength="30" />
<Property Name="PROGRAM_CODE" Type="char" MaxLength="30" />
<Property Name="PROGRAM_NAME" Type="char" MaxLength="30" />
<Property Name="FABRIC_CODE" Type="char" MaxLength="30" />
<Property Name="FABRIC_NAME" Type="char" MaxLength="30" />
<Property Name="GRAMS_YARD" Type="float" />
<Property Name="VOLUME" Type="float" />
<Property Name="TOTAL_WT" Type="float" />
<Property Name="TOTAL_LENGTH" Type="float" />
<Property Name="COLOR_NAME" Type="char" MaxLength="30" />
<Property Name="ORDER_NO" Type="char" MaxLength="30" />
<Property Name="PILL" Type="char" MaxLength="30" />
<Property Name="UNIT" Type="char" MaxLength="30" />
<Property Name="BATCH" Type="char" MaxLength="30" />
<Property Name="PRODUCT_LOT" Type="char" MaxLength="30" />
<Property Name="CONC" Type="char" MaxLength="30" />
<Property Name="PRICE" Type="char" MaxLength="30" />
<Property Name="SHEET" Type="char" MaxLength="30" />
<Property Name="SHADE" Type="char" MaxLength="30" />
<Property Name="TOTAL_VALUE" Type="char" MaxLength="30" />
<Property Name="YARN" Type="char" MaxLength="30" />
<Property Name="USER25" Type="char" MaxLength="30" />
<Property Name="USER26" Type="char" MaxLength="30" />
<Property Name="USER27" Type="char" MaxLength="30" />
<Property Name="USER28" Type="char" MaxLength="30" />
<Property Name="USER29" Type="char" MaxLength="30" />
<Property Name="USER30" Type="char" MaxLength="30" />
<Property Name="ADD_ID_NO" Type="char" MaxLength="30" />
<Property Name="ADD_FREQUENCY" Type="int" />
<Property Name="CreateTime" Type="datetime" />
<Property Name="UserAccount" Type="varchar" MaxLength="30" />
<Property Name="lldid" Type="int" />
<Property Name="Redye" Type="int" />
<Property Name="Industry" Type="int" />
<Property Name="UserCode" Type="char" MaxLength="10" />
<Property Name="TotalLength" Type="float" />
<Property Name="USER1" Type="varchar" MaxLength="30" />
<Property Name="USER2" Type="varchar" MaxLength="30" />
<Property Name="USER3" Type="varchar" MaxLength="30" />
<Property Name="USER4" Type="varchar" MaxLength="30" />
<Property Name="USER5" Type="varchar" MaxLength="30" />
<Property Name="USER6" Type="varchar" MaxLength="30" />
<Property Name="USER7" Type="varchar" MaxLength="30" />
<Property Name="USER8" Type="varchar" MaxLength="30" />
<Property Name="USER9" Type="varchar" MaxLength="30" />
<Property Name="USER10" Type="varchar" MaxLength="30" />
<Property Name="FormTypeName" Type="nvarchar" MaxLength="32" />
</EntityType>-->
<!--生成过程中发现错误:
警告 6002: 表/视图“Ticket.dbo.TicketSerial”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="TicketSerial">
<Key>
<PropertyRef Name="REDYE_NOW" />
</Key>
<Property Name="tmp_field" Type="varchar" MaxLength="1" />
<Property Name="ID_NO" Type="char" MaxLength="30" />
<Property Name="REDYE_NOW" Type="int" Nullable="false" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“Ticket.dbo.UserAccount”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="UserAccount">
<Key>
<PropertyRef Name="GROUP_CODE" />
</Key>
<Property Name="tmp_field" Type="varchar" MaxLength="1" />
<Property Name="UserCode" Type="varchar" MaxLength="50" />
<Property Name="PassWord" Type="varchar" MaxLength="50" />
<Property Name="JobTicket" Type="int" />
<Property Name="Report" Type="int" />
<Property Name="PathSetup" Type="int" />
<Property Name="UserSetup" Type="int" />
<Property Name="GROUP_CODE" Type="varchar" MaxLength="50" Nullable="false" />
</EntityType>
<EntityContainer Name="TicketModelStoreContainer">
<EntitySet Name="Product" EntityType="Self.Product" Schema="dbo" store:Type="Tables" />
<EntitySet Name="ProductInventory" EntityType="Self.ProductInventory" Schema="dbo" store:Type="Tables" />
<EntitySet Name="ProductUsed" EntityType="Self.ProductUsed" Schema="dbo" store:Type="Tables" />
<EntitySet Name="CHEMICAL_QUEUE" EntityType="Self.CHEMICAL_QUEUE" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[CHEMICAL_QUEUE].[tmp_field] AS [tmp_field],
[CHEMICAL_QUEUE].[ID_NO] AS [ID_NO],
[CHEMICAL_QUEUE].[STEP_NO] AS [STEP_NO],
[CHEMICAL_QUEUE].[CREATE_DATE] AS [CREATE_DATE],
[CHEMICAL_QUEUE].[CREATE_TIME] AS [CREATE_TIME],
[CHEMICAL_QUEUE].[FIRST_KEY] AS [FIRST_KEY],
[CHEMICAL_QUEUE].[SECOND_KEY] AS [SECOND_KEY],
[CHEMICAL_QUEUE].[PRIORITY] AS [PRIORITY],
[CHEMICAL_QUEUE].[ReDye] AS [ReDye]
FROM [dbo].[CHEMICAL_QUEUE] AS [CHEMICAL_QUEUE]</DefiningQuery>
</EntitySet>
<EntitySet Name="DYESTUFF_QUEUE" EntityType="Self.DYESTUFF_QUEUE" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[DYESTUFF_QUEUE].[tmp_field] AS [tmp_field],
[DYESTUFF_QUEUE].[ID_NO] AS [ID_NO],
[DYESTUFF_QUEUE].[STEP_NO] AS [STEP_NO],
[DYESTUFF_QUEUE].[CREATE_DATE] AS [CREATE_DATE],
[DYESTUFF_QUEUE].[CREATE_TIME] AS [CREATE_TIME],
[DYESTUFF_QUEUE].[FIRST_KEY] AS [FIRST_KEY],
[DYESTUFF_QUEUE].[SECOND_KEY] AS [SECOND_KEY],
[DYESTUFF_QUEUE].[PRIORITY] AS [PRIORITY],
[DYESTUFF_QUEUE].[ReDye] AS [ReDye]
FROM [dbo].[DYESTUFF_QUEUE] AS [DYESTUFF_QUEUE]</DefiningQuery>
</EntitySet>
<EntitySet Name="JOBTKT" EntityType="Self.JOBTKT" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[JOBTKT].[tmp_field] AS [tmp_field],
[JOBTKT].[IDNO] AS [IDNO],
[JOBTKT].[FNDATE] AS [FNDATE],
[JOBTKT].[FIRST_KEY] AS [FIRST_KEY],
[JOBTKT].[SECOND_KEY] AS [SECOND_KEY],
[JOBTKT].[ReDye] AS [ReDye]
FROM [dbo].[JOBTKT] AS [JOBTKT]</DefiningQuery>
</EntitySet>
<EntitySet Name="POWDER_QUEUE" EntityType="Self.POWDER_QUEUE" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[POWDER_QUEUE].[tmp_field] AS [tmp_field],
[POWDER_QUEUE].[ID_NO] AS [ID_NO],
[POWDER_QUEUE].[STEP_NO] AS [STEP_NO],
[POWDER_QUEUE].[CREATE_DATE] AS [CREATE_DATE],
[POWDER_QUEUE].[CREATE_TIME] AS [CREATE_TIME],
[POWDER_QUEUE].[FIRST_KEY] AS [FIRST_KEY],
[POWDER_QUEUE].[SECOND_KEY] AS [SECOND_KEY],
[POWDER_QUEUE].[PRIORITY] AS [PRIORITY],
[POWDER_QUEUE].[ReDye] AS [ReDye]
FROM [dbo].[POWDER_QUEUE] AS [POWDER_QUEUE]</DefiningQuery>
</EntitySet>
<EntitySet Name="REMOTETERMINAL" EntityType="Self.REMOTETERMINAL" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[REMOTETERMINAL].[tmp_field] AS [tmp_field],
[REMOTETERMINAL].[IDNO] AS [IDNO],
[REMOTETERMINAL].[FNDATE] AS [FNDATE],
[REMOTETERMINAL].[IDTYPE] AS [IDTYPE],
[REMOTETERMINAL].[FIRST_KEY] AS [FIRST_KEY],
[REMOTETERMINAL].[SECOND_KEY] AS [SECOND_KEY],
[REMOTETERMINAL].[ReDye] AS [ReDye]
FROM [dbo].[REMOTETERMINAL] AS [REMOTETERMINAL]</DefiningQuery>
</EntitySet>
<EntitySet Name="TEMPCHEMICALTKT" EntityType="Self.TEMPCHEMICALTKT" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[TEMPCHEMICALTKT].[tmp_field] AS [tmp_field],
[TEMPCHEMICALTKT].[IDNO] AS [IDNO],
[TEMPCHEMICALTKT].[FNDATE] AS [FNDATE],
[TEMPCHEMICALTKT].[IDTYPE] AS [IDTYPE],
[TEMPCHEMICALTKT].[FIRST_KEY] AS [FIRST_KEY],
[TEMPCHEMICALTKT].[SECOND_KEY] AS [SECOND_KEY],
[TEMPCHEMICALTKT].[ReDye] AS [ReDye]
FROM [dbo].[TEMPCHEMICALTKT] AS [TEMPCHEMICALTKT]</DefiningQuery>
</EntitySet>
<EntitySet Name="TEMPDYESTUFFTKT" EntityType="Self.TEMPDYESTUFFTKT" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[TEMPDYESTUFFTKT].[tmp_field] AS [tmp_field],
[TEMPDYESTUFFTKT].[IDNO] AS [IDNO],
[TEMPDYESTUFFTKT].[FNDATE] AS [FNDATE],
[TEMPDYESTUFFTKT].[IDTYPE] AS [IDTYPE],
[TEMPDYESTUFFTKT].[FIRST_KEY] AS [FIRST_KEY],
[TEMPDYESTUFFTKT].[SECOND_KEY] AS [SECOND_KEY],
[TEMPDYESTUFFTKT].[ReDye] AS [ReDye]
FROM [dbo].[TEMPDYESTUFFTKT] AS [TEMPDYESTUFFTKT]</DefiningQuery>
</EntitySet>
<EntitySet Name="TEMPPOWDER" EntityType="Self.TEMPPOWDER" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[TEMPPOWDER].[tmp_field] AS [tmp_field],
[TEMPPOWDER].[IDNO] AS [IDNO],
[TEMPPOWDER].[FNDATE] AS [FNDATE],
[TEMPPOWDER].[IDTYPE] AS [IDTYPE],
[TEMPPOWDER].[FIRST_KEY] AS [FIRST_KEY],
[TEMPPOWDER].[SECOND_KEY] AS [SECOND_KEY],
[TEMPPOWDER].[ReDye] AS [ReDye]
FROM [dbo].[TEMPPOWDER] AS [TEMPPOWDER]</DefiningQuery>
</EntitySet>
<EntitySet Name="TICKET_DETAIL" EntityType="Self.TICKET_DETAIL" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[TICKET_DETAIL].[ID_NO] AS [ID_NO],
[TICKET_DETAIL].[STEP_NO] AS [STEP_NO],
[TICKET_DETAIL].[PRODUCT_CODE] AS [PRODUCT_CODE],
[TICKET_DETAIL].[PRODUCT_TYPE] AS [PRODUCT_TYPE],
[TICKET_DETAIL].[TARGET_WT] AS [TARGET_WT],
[TICKET_DETAIL].[ACTUAL_WT] AS [ACTUAL_WT],
[TICKET_DETAIL].[UNIT] AS [UNIT],
[TICKET_DETAIL].[COMP_DATE] AS [COMP_DATE],
[TICKET_DETAIL].[COMP_TIME] AS [COMP_TIME],
[TICKET_DETAIL].[TRANSFER_STATE] AS [TRANSFER_STATE],
[TICKET_DETAIL].[ERROR_CODE] AS [ERROR_CODE],
[TICKET_DETAIL].[MACHINE] AS [MACHINE],
[TICKET_DETAIL].[TANK_NO] AS [TANK_NO],
[TICKET_DETAIL].[ID_TYPE] AS [ID_TYPE],
[TICKET_DETAIL].[PRODUCT_LOT] AS [PRODUCT_LOT],
[TICKET_DETAIL].[RECIPE_CODE] AS [RECIPE_CODE],
[TICKET_DETAIL].[LR] AS [LR],
[TICKET_DETAIL].[RECIPE_TYPE] AS [RECIPE_TYPE],
[TICKET_DETAIL].[CONC] AS [CONC],
[TICKET_DETAIL].[CONCUNIT] AS [CONCUNIT],
[TICKET_DETAIL].[REMARK] AS [REMARK],
[TICKET_DETAIL].[ADJUST] AS [ADJUST],
[TICKET_DETAIL].[PRICE] AS [PRICE],
[TICKET_DETAIL].[RES_DOUBLE1] AS [RES_DOUBLE1],
[TICKET_DETAIL].[RES_DOUBLE2] AS [RES_DOUBLE2],
[TICKET_DETAIL].[RES_DOUBLE3] AS [RES_DOUBLE3],
[TICKET_DETAIL].[RES_DOUBLE4] AS [RES_DOUBLE4],
[TICKET_DETAIL].[RES_STRING1] AS [RES_STRING1],
[TICKET_DETAIL].[RES_STRING2] AS [RES_STRING2],
[TICKET_DETAIL].[RES_STRING3] AS [RES_STRING3],
[TICKET_DETAIL].[RES_STRING4] AS [RES_STRING4],
[TICKET_DETAIL].[REWEIGHT] AS [REWEIGHT],
[TICKET_DETAIL].[Redye] AS [Redye],
[TICKET_DETAIL].[DyeWeightTime] AS [DyeWeightTime],
[TICKET_DETAIL].[UserAccount] AS [UserAccount],
[TICKET_DETAIL].[Batch_NO] AS [Batch_NO],
[TICKET_DETAIL].[lldmxid] AS [lldmxid],
[TICKET_DETAIL].[Station] AS [Station],
[TICKET_DETAIL].[UserCode] AS [UserCode],
[TICKET_DETAIL].[FABRIC_WEIGHT] AS [FABRIC_WEIGHT],
[TICKET_DETAIL].[VOLUME] AS [VOLUME],
[TICKET_DETAIL].[RECORD_ORDER] AS [RECORD_ORDER],
[TICKET_DETAIL].[Process] AS [Process],
[TICKET_DETAIL].[GRAVITY] AS [GRAVITY],
[TICKET_DETAIL].[CurrentStock] AS [CurrentStock]
FROM [dbo].[TICKET_DETAIL] AS [TICKET_DETAIL]</DefiningQuery>
</EntitySet>
<EntitySet Name="TicketSerial" EntityType="Self.TicketSerial" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[TicketSerial].[tmp_field] AS [tmp_field],
[TicketSerial].[ID_NO] AS [ID_NO],
[TicketSerial].[REDYE_NOW] AS [REDYE_NOW]
FROM [dbo].[TicketSerial] AS [TicketSerial]</DefiningQuery>
</EntitySet>
<EntitySet Name="UserAccount" EntityType="Self.UserAccount" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[UserAccount].[tmp_field] AS [tmp_field],
[UserAccount].[UserCode] AS [UserCode],
[UserAccount].[PassWord] AS [PassWord],
[UserAccount].[JobTicket] AS [JobTicket],
[UserAccount].[Report] AS [Report],
[UserAccount].[PathSetup] AS [PathSetup],
[UserAccount].[UserSetup] AS [UserSetup],
[UserAccount].[GROUP_CODE] AS [GROUP_CODE]
FROM [dbo].[UserAccount] AS [UserAccount]</DefiningQuery>
</EntitySet>
</EntityContainer>
</Schema>
</edmx:StorageModels>
<!-- CSDL content -->
<edmx:ConceptualModels>
<Schema Namespace="TicketModel" Alias="Self" annotation:UseStrongSpatialTypes="false" 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/2009/11/edm">
<EntityType Name="Product">
<Key>
<PropertyRef Name="ProductCode" />
</Key>
<Property Name="ProductCode" Type="String" MaxLength="20" FixedLength="true" Unicode="true" Nullable="false" />
<Property Name="ProductName" Type="String" MaxLength="50" FixedLength="true" Unicode="true" />
<Property Name="Price" Type="Double" />
<Property Name="Deduct" Type="Double" />
<Property Name="FullWeight" Type="Double" />
<Property Name="LampPosition" Type="Int32" />
<Property Name="TablePosition" Type="String" MaxLength="5" FixedLength="true" Unicode="true" />
<Property Name="AREA" Type="String" MaxLength="5" FixedLength="true" Unicode="true" />
<Property Name="SafetyStock" Type="Double" />
<Property Name="ProductUnit" Type="Int32" />
<Property Name="ProductType" Type="Int32" />
<Property Name="ProductClass" Type="Int32" />
<Property Name="CurrentStock" Type="Double" />
<Property Name="ProductLot" Type="String" MaxLength="30" FixedLength="true" Unicode="true" />
<Property Name="RplDate" Type="DateTime" Precision="3" />
<Property Name="UsedDate" Type="DateTime" Precision="3" />
<Property Name="CuMonth" Type="String" MaxLength="2" FixedLength="true" Unicode="true" />
<Property Name="LaStock" Type="Double" />
<Property Name="ThStock" Type="Double" />
<Property Name="ThUsed" Type="Double" />
<Property Name="Color" Type="Int32" />
<Property Name="LastTime" Type="Double" />
<Property Name="CalTime" Type="Double" />
<Property Name="BackflowTime" Type="Int32" />
<Property Name="Tol_G" Type="Int32" />
<Property Name="Tol_P" Type="Int32" />
<Property Name="Alarm" Type="Int32" />
<Property Name="Change_Bucket" Type="Int32" />
<Property Name="Small_Volume_by_manual" Type="Int32" />
<Property Name="Target_Weight" Type="Int32" />
<Property Name="Pre_Weight" Type="Int32" />
<Property Name="One_Sec" Type="Int32" />
<Property Name="GetscalTime" Type="Int32" />
<Property Name="DelayOpenValve" Type="Int32" />
<Property Name="ValveMap" Type="String" MaxLength="5" FixedLength="true" Unicode="true" />
<Property Name="PumpMap" Type="String" MaxLength="20" FixedLength="true" Unicode="true" />
<Property Name="Includepump" Type="Int32" />
<Property Name="Once_minimum_weight" Type="Int32" />
<Property Name="Once_minimum_max_weight" Type="Int32" />
<Property Name="Once_minimum_time" Type="Int32" />
<Property Name="Res_S1" Type="String" MaxLength="30" FixedLength="true" Unicode="true" />
<Property Name="Res_S2" Type="String" MaxLength="30" FixedLength="true" Unicode="true" />
<Property Name="Res_S3" Type="String" MaxLength="30" FixedLength="true" Unicode="true" />
<Property Name="Res_S4" Type="String" MaxLength="30" FixedLength="true" Unicode="true" />
<Property Name="Res_I1" Type="Int32" />
<Property Name="Res_I2" Type="Int32" />
<Property Name="Res_I3" Type="Int32" />
<Property Name="Res_I4" Type="Int32" />
<Property Name="Res_F1" Type="Double" />
<Property Name="Res_F2" Type="Double" />
<Property Name="Res_F3" Type="Double" />
<Property Name="Res_F4" Type="Double" />
<Property Name="Batch_NO" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="Concentration" Type="Double" />
<Property Name="Pump" Type="Int32" />
<Property Name="PRODUCT_KIND" Type="Int32" />
<Property Name="SUPPLIER" Type="String" MaxLength="48" FixedLength="false" Unicode="false" />
<Property Name="PRODUCT_MODIFY_DATE" Type="DateTime" Precision="3" />
<Property Name="GRAVITY" Type="Double" Nullable="false" />
<Property Name="UserAccount" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
</EntityType>
<EntityType Name="ProductInventory">
<Key>
<PropertyRef Name="ProductCode" />
</Key>
<Property Name="ProductCode" Type="String" MaxLength="20" FixedLength="true" Unicode="true" Nullable="false" />
<Property Name="Quantity" Type="Double" />
<Property Name="Price" Type="Double" />
<Property Name="CreateDate" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="ProductUsed">
<Key>
<PropertyRef Name="ProductCode" />
</Key>
<Property Name="ProductCode" Type="String" MaxLength="20" FixedLength="true" Unicode="true" Nullable="false" />
<Property Name="UsedQty" Type="Double" />
<Property Name="CreateDate" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="CHEMICAL_QUEUE">
<Key>
<PropertyRef Name="ReDye" />
</Key>
<Property Name="tmp_field" Type="String" MaxLength="1" FixedLength="false" Unicode="false" />
<Property Name="ID_NO" Type="String" MaxLength="30" FixedLength="true" Unicode="false" />
<Property Name="STEP_NO" Type="Int32" />
<Property Name="CREATE_DATE" Type="String" MaxLength="8" FixedLength="true" Unicode="false" />
<Property Name="CREATE_TIME" Type="String" MaxLength="8" FixedLength="true" Unicode="false" />
<Property Name="FIRST_KEY" Type="String" MaxLength="30" FixedLength="true" Unicode="false" />
<Property Name="SECOND_KEY" Type="String" MaxLength="30" FixedLength="true" Unicode="false" />
<Property Name="PRIORITY" Type="Int32" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
</EntityType>
<EntityType Name="DYESTUFF_QUEUE">
<Key>
<PropertyRef Name="ReDye" />
</Key>
<Property Name="tmp_field" Type="String" MaxLength="1" FixedLength="false" Unicode="false" />
<Property Name="ID_NO" Type="String" MaxLength="30" FixedLength="true" Unicode="false" />
<Property Name="STEP_NO" Type="Int32" />
<Property Name="CREATE_DATE" Type="String" MaxLength="8" FixedLength="true" Unicode="false" />
<Property Name="CREATE_TIME" Type="String" MaxLength="8" FixedLength="true" Unicode="false" />
<Property Name="FIRST_KEY" Type="String" MaxLength="30" FixedLength="true" Unicode="false" />
<Property Name="SECOND_KEY" Type="String" MaxLength="30" FixedLength="true" Unicode="false" />
<Property Name="PRIORITY" Type="Int32" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
</EntityType>
<EntityType Name="JOBTKT">
<Key>
<PropertyRef Name="ReDye" />
</Key>
<Property Name="tmp_field" Type="String" MaxLength="1" FixedLength="false" Unicode="false" />
<Property Name="IDNO" Type="String" MaxLength="30" FixedLength="true" Unicode="false" />
<Property Name="FNDATE" Type="Double" />
<Property Name="FIRST_KEY" Type="String" MaxLength="30" FixedLength="true" Unicode="false" />
<Property Name="SECOND_KEY" Type="String" MaxLength="30" FixedLength="true" Unicode="false" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
</EntityType>
<EntityType Name="POWDER_QUEUE">
<Key>
<PropertyRef Name="ReDye" />
</Key>
<Property Name="tmp_field" Type="String" MaxLength="1" FixedLength="false" Unicode="false" />
<Property Name="ID_NO" Type="String" MaxLength="30" FixedLength="true" Unicode="false" />
<Property Name="STEP_NO" Type="Int32" />
<Property Name="CREATE_DATE" Type="String" MaxLength="8" FixedLength="true" Unicode="false" />
<Property Name="CREATE_TIME" Type="String" MaxLength="8" FixedLength="true" Unicode="false" />
<Property Name="FIRST_KEY" Type="String" MaxLength="30" FixedLength="true" Unicode="false" />
<Property Name="SECOND_KEY" Type="String" MaxLength="30" FixedLength="true" Unicode="false" />
<Property Name="PRIORITY" Type="Int32" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
</EntityType>
<EntityType Name="REMOTETERMINAL">
<Key>
<PropertyRef Name="ReDye" />
</Key>
<Property Name="tmp_field" Type="String" MaxLength="1" FixedLength="false" Unicode="false" />
<Property Name="IDNO" Type="String" MaxLength="30" FixedLength="true" Unicode="false" />
<Property Name="FNDATE" Type="Double" />
<Property Name="IDTYPE" Type="String" MaxLength="1" FixedLength="true" Unicode="false" />
<Property Name="FIRST_KEY" Type="String" MaxLength="30" FixedLength="true" Unicode="false" />
<Property Name="SECOND_KEY" Type="String" MaxLength="30" FixedLength="true" Unicode="false" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
</EntityType>
<EntityType Name="TEMPCHEMICALTKT">
<Key>
<PropertyRef Name="ReDye" />
</Key>
<Property Name="tmp_field" Type="String" MaxLength="1" FixedLength="false" Unicode="false" />
<Property Name="IDNO" Type="String" MaxLength="30" FixedLength="true" Unicode="false" />
<Property Name="FNDATE" Type="Double" />
<Property Name="IDTYPE" Type="String" MaxLength="1" FixedLength="true" Unicode="false" />
<Property Name="FIRST_KEY" Type="String" MaxLength="30" FixedLength="true" Unicode="false" />
<Property Name="SECOND_KEY" Type="String" MaxLength="30" FixedLength="true" Unicode="false" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
</EntityType>
<EntityType Name="TEMPDYESTUFFTKT">
<Key>
<PropertyRef Name="ReDye" />
</Key>
<Property Name="tmp_field" Type="String" MaxLength="1" FixedLength="false" Unicode="false" />
<Property Name="IDNO" Type="String" MaxLength="30" FixedLength="true" Unicode="false" />
<Property Name="FNDATE" Type="Double" />
<Property Name="IDTYPE" Type="String" MaxLength="1" FixedLength="true" Unicode="false" />
<Property Name="FIRST_KEY" Type="String" MaxLength="30" FixedLength="true" Unicode="false" />
<Property Name="SECOND_KEY" Type="String" MaxLength="30" FixedLength="true" Unicode="false" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
</EntityType>
<EntityType Name="TEMPPOWDER">
<Key>
<PropertyRef Name="ReDye" />
</Key>
<Property Name="tmp_field" Type="String" MaxLength="1" FixedLength="false" Unicode="false" />
<Property Name="IDNO" Type="String" MaxLength="30" FixedLength="true" Unicode="false" />
<Property Name="FNDATE" Type="Double" />
<Property Name="IDTYPE" Type="String" MaxLength="1" FixedLength="true" Unicode="false" />
<Property Name="FIRST_KEY" Type="String" MaxLength="30" FixedLength="true" Unicode="false" />
<Property Name="SECOND_KEY" Type="String" MaxLength="30" FixedLength="true" Unicode="false" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
</EntityType>
<EntityType Name="TICKET_DETAIL">
<Key>
<PropertyRef Name="GRAVITY" />
</Key>
<Property Name="ID_NO" Type="String" MaxLength="30" FixedLength="true" Unicode="false" />
<Property Name="STEP_NO" Type="Int32" />
<Property Name="PRODUCT_CODE" Type="String" MaxLength="30" FixedLength="true" Unicode="false" />
<Property Name="PRODUCT_TYPE" Type="String" MaxLength="1" FixedLength="true" Unicode="false" />
<Property Name="TARGET_WT" Type="Double" />
<Property Name="ACTUAL_WT" Type="Double" />
<Property Name="UNIT" Type="String" MaxLength="2" FixedLength="true" Unicode="false" />
<Property Name="COMP_DATE" Type="String" MaxLength="8" FixedLength="true" Unicode="false" />
<Property Name="COMP_TIME" Type="String" MaxLength="8" FixedLength="true" Unicode="false" />
<Property Name="TRANSFER_STATE" Type="Int32" />
<Property Name="ERROR_CODE" Type="String" MaxLength="48" FixedLength="true" Unicode="false" />
<Property Name="MACHINE" Type="String" MaxLength="10" FixedLength="true" Unicode="false" />
<Property Name="TANK_NO" Type="String" MaxLength="10" FixedLength="true" Unicode="false" />
<Property Name="ID_TYPE" Type="String" MaxLength="1" FixedLength="true" Unicode="false" />
<Property Name="PRODUCT_LOT" Type="String" MaxLength="30" FixedLength="true" Unicode="false" />
<Property Name="RECIPE_CODE" Type="String" MaxLength="24" FixedLength="true" Unicode="false" />
<Property Name="LR" Type="Double" />
<Property Name="RECIPE_TYPE" Type="String" MaxLength="1" FixedLength="true" Unicode="false" />
<Property Name="CONC" Type="String" MaxLength="10" FixedLength="true" Unicode="false" />
<Property Name="CONCUNIT" Type="String" MaxLength="3" FixedLength="true" Unicode="false" />
<Property Name="REMARK" Type="String" MaxLength="30" FixedLength="true" Unicode="false" />
<Property Name="ADJUST" Type="String" MaxLength="10" FixedLength="true" Unicode="false" />
<Property Name="PRICE" Type="Double" />
<Property Name="RES_DOUBLE1" Type="Double" />
<Property Name="RES_DOUBLE2" Type="Double" />
<Property Name="RES_DOUBLE3" Type="Double" />
<Property Name="RES_DOUBLE4" Type="Double" />
<Property Name="RES_STRING1" Type="String" MaxLength="48" FixedLength="true" Unicode="false" />
<Property Name="RES_STRING2" Type="String" MaxLength="48" FixedLength="true" Unicode="false" />
<Property Name="RES_STRING3" Type="String" MaxLength="48" FixedLength="true" Unicode="false" />
<Property Name="RES_STRING4" Type="String" MaxLength="48" FixedLength="true" Unicode="false" />
<Property Name="REWEIGHT" Type="String" MaxLength="1" FixedLength="true" Unicode="false" />
<Property Name="Redye" Type="Int32" />
<Property Name="DyeWeightTime" Type="DateTime" Precision="3" />
<Property Name="UserAccount" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="Batch_NO" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="lldmxid" Type="Int32" />
<Property Name="Station" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="UserCode" Type="String" MaxLength="10" FixedLength="true" Unicode="false" />
<Property Name="FABRIC_WEIGHT" Type="Double" />
<Property Name="VOLUME" Type="Double" />
<Property Name="RECORD_ORDER" Type="Int16" />
<Property Name="Process" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="GRAVITY" Type="Double" Nullable="false" />
<Property Name="CurrentStock" Type="Double" />
</EntityType>
<EntityType Name="TicketSerial">
<Key>
<PropertyRef Name="REDYE_NOW" />
</Key>
<Property Name="tmp_field" Type="String" MaxLength="1" FixedLength="false" Unicode="false" />
<Property Name="ID_NO" Type="String" MaxLength="30" FixedLength="true" Unicode="false" />
<Property Name="REDYE_NOW" Type="Int32" Nullable="false" />
</EntityType>
<EntityType Name="UserAccount">
<Key>
<PropertyRef Name="GROUP_CODE" />
</Key>
<Property Name="tmp_field" Type="String" MaxLength="1" FixedLength="false" Unicode="false" />
<Property Name="UserCode" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="PassWord" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="JobTicket" Type="Int32" />
<Property Name="Report" Type="Int32" />
<Property Name="PathSetup" Type="Int32" />
<Property Name="UserSetup" Type="Int32" />
<Property Name="GROUP_CODE" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
</EntityType>
<EntityContainer Name="TicketEntities" annotation:LazyLoadingEnabled="true">
<EntitySet Name="Product" EntityType="Self.Product" />
<EntitySet Name="ProductInventory" EntityType="Self.ProductInventory" />
<EntitySet Name="ProductUsed" EntityType="Self.ProductUsed" />
<EntitySet Name="CHEMICAL_QUEUE" EntityType="Self.CHEMICAL_QUEUE" />
<EntitySet Name="DYESTUFF_QUEUE" EntityType="Self.DYESTUFF_QUEUE" />
<EntitySet Name="JOBTKT" EntityType="Self.JOBTKT" />
<EntitySet Name="POWDER_QUEUE" EntityType="Self.POWDER_QUEUE" />
<EntitySet Name="REMOTETERMINAL" EntityType="Self.REMOTETERMINAL" />
<EntitySet Name="TEMPCHEMICALTKT" EntityType="Self.TEMPCHEMICALTKT" />
<EntitySet Name="TEMPDYESTUFFTKT" EntityType="Self.TEMPDYESTUFFTKT" />
<EntitySet Name="TEMPPOWDER" EntityType="Self.TEMPPOWDER" />
<EntitySet Name="TICKET_DETAIL" EntityType="Self.TICKET_DETAIL" />
<EntitySet Name="TicketSerial" EntityType="Self.TicketSerial" />
<EntitySet Name="UserAccount" EntityType="Self.UserAccount" />
</EntityContainer>
</Schema>
</edmx:ConceptualModels>
<!-- C-S mapping content -->
<edmx:Mappings>
<Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
<EntityContainerMapping StorageEntityContainer="TicketModelStoreContainer" CdmEntityContainer="TicketEntities">
<EntitySetMapping Name="Product">
<EntityTypeMapping TypeName="TicketModel.Product">
<MappingFragment StoreEntitySet="Product">
<ScalarProperty Name="ProductCode" ColumnName="ProductCode" />
<ScalarProperty Name="ProductName" ColumnName="ProductName" />
<ScalarProperty Name="Price" ColumnName="Price" />
<ScalarProperty Name="Deduct" ColumnName="Deduct" />
<ScalarProperty Name="FullWeight" ColumnName="FullWeight" />
<ScalarProperty Name="LampPosition" ColumnName="LampPosition" />
<ScalarProperty Name="TablePosition" ColumnName="TablePosition" />
<ScalarProperty Name="AREA" ColumnName="AREA" />
<ScalarProperty Name="SafetyStock" ColumnName="SafetyStock" />
<ScalarProperty Name="ProductUnit" ColumnName="ProductUnit" />
<ScalarProperty Name="ProductType" ColumnName="ProductType" />
<ScalarProperty Name="ProductClass" ColumnName="ProductClass" />
<ScalarProperty Name="CurrentStock" ColumnName="CurrentStock" />
<ScalarProperty Name="ProductLot" ColumnName="ProductLot" />
<ScalarProperty Name="RplDate" ColumnName="RplDate" />
<ScalarProperty Name="UsedDate" ColumnName="UsedDate" />
<ScalarProperty Name="CuMonth" ColumnName="CuMonth" />
<ScalarProperty Name="LaStock" ColumnName="LaStock" />
<ScalarProperty Name="ThStock" ColumnName="ThStock" />
<ScalarProperty Name="ThUsed" ColumnName="ThUsed" />
<ScalarProperty Name="Color" ColumnName="Color" />
<ScalarProperty Name="LastTime" ColumnName="LastTime" />
<ScalarProperty Name="CalTime" ColumnName="CalTime" />
<ScalarProperty Name="BackflowTime" ColumnName="BackflowTime" />
<ScalarProperty Name="Tol_G" ColumnName="Tol_G" />
<ScalarProperty Name="Tol_P" ColumnName="Tol_P" />
<ScalarProperty Name="Alarm" ColumnName="Alarm" />
<ScalarProperty Name="Change_Bucket" ColumnName="Change_Bucket" />
<ScalarProperty Name="Small_Volume_by_manual" ColumnName="Small_Volume_by_manual" />
<ScalarProperty Name="Target_Weight" ColumnName="Target_Weight" />
<ScalarProperty Name="Pre_Weight" ColumnName="Pre_Weight" />
<ScalarProperty Name="One_Sec" ColumnName="One_Sec" />
<ScalarProperty Name="GetscalTime" ColumnName="GetscalTime" />
<ScalarProperty Name="DelayOpenValve" ColumnName="DelayOpenValve" />
<ScalarProperty Name="ValveMap" ColumnName="ValveMap" />
<ScalarProperty Name="PumpMap" ColumnName="PumpMap" />
<ScalarProperty Name="Includepump" ColumnName="Includepump" />
<ScalarProperty Name="Once_minimum_weight" ColumnName="Once_minimum_weight" />
<ScalarProperty Name="Once_minimum_max_weight" ColumnName="Once_minimum_max_weight" />
<ScalarProperty Name="Once_minimum_time" ColumnName="Once_minimum_time" />
<ScalarProperty Name="Res_S1" ColumnName="Res_S1" />
<ScalarProperty Name="Res_S2" ColumnName="Res_S2" />
<ScalarProperty Name="Res_S3" ColumnName="Res_S3" />
<ScalarProperty Name="Res_S4" ColumnName="Res_S4" />
<ScalarProperty Name="Res_I1" ColumnName="Res_I1" />
<ScalarProperty Name="Res_I2" ColumnName="Res_I2" />
<ScalarProperty Name="Res_I3" ColumnName="Res_I3" />
<ScalarProperty Name="Res_I4" ColumnName="Res_I4" />
<ScalarProperty Name="Res_F1" ColumnName="Res_F1" />
<ScalarProperty Name="Res_F2" ColumnName="Res_F2" />
<ScalarProperty Name="Res_F3" ColumnName="Res_F3" />
<ScalarProperty Name="Res_F4" ColumnName="Res_F4" />
<ScalarProperty Name="Batch_NO" ColumnName="Batch_NO" />
<ScalarProperty Name="Concentration" ColumnName="Concentration" />
<ScalarProperty Name="Pump" ColumnName="Pump" />
<ScalarProperty Name="PRODUCT_KIND" ColumnName="PRODUCT_KIND" />
<ScalarProperty Name="SUPPLIER" ColumnName="SUPPLIER" />
<ScalarProperty Name="PRODUCT_MODIFY_DATE" ColumnName="PRODUCT_MODIFY_DATE" />
<ScalarProperty Name="GRAVITY" ColumnName="GRAVITY" />
<ScalarProperty Name="UserAccount" ColumnName="UserAccount" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="ProductInventory">
<EntityTypeMapping TypeName="TicketModel.ProductInventory">
<MappingFragment StoreEntitySet="ProductInventory">
<ScalarProperty Name="ProductCode" ColumnName="ProductCode" />
<ScalarProperty Name="Quantity" ColumnName="Quantity" />
<ScalarProperty Name="Price" ColumnName="Price" />
<ScalarProperty Name="CreateDate" ColumnName="CreateDate" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="ProductUsed">
<EntityTypeMapping TypeName="TicketModel.ProductUsed">
<MappingFragment StoreEntitySet="ProductUsed">
<ScalarProperty Name="ProductCode" ColumnName="ProductCode" />
<ScalarProperty Name="UsedQty" ColumnName="UsedQty" />
<ScalarProperty Name="CreateDate" ColumnName="CreateDate" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="CHEMICAL_QUEUE">
<EntityTypeMapping TypeName="TicketModel.CHEMICAL_QUEUE">
<MappingFragment StoreEntitySet="CHEMICAL_QUEUE">
<ScalarProperty Name="tmp_field" ColumnName="tmp_field" />
<ScalarProperty Name="ID_NO" ColumnName="ID_NO" />
<ScalarProperty Name="STEP_NO" ColumnName="STEP_NO" />
<ScalarProperty Name="CREATE_DATE" ColumnName="CREATE_DATE" />
<ScalarProperty Name="CREATE_TIME" ColumnName="CREATE_TIME" />
<ScalarProperty Name="FIRST_KEY" ColumnName="FIRST_KEY" />
<ScalarProperty Name="SECOND_KEY" ColumnName="SECOND_KEY" />
<ScalarProperty Name="PRIORITY" ColumnName="PRIORITY" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="DYESTUFF_QUEUE">
<EntityTypeMapping TypeName="TicketModel.DYESTUFF_QUEUE">
<MappingFragment StoreEntitySet="DYESTUFF_QUEUE">
<ScalarProperty Name="tmp_field" ColumnName="tmp_field" />
<ScalarProperty Name="ID_NO" ColumnName="ID_NO" />
<ScalarProperty Name="STEP_NO" ColumnName="STEP_NO" />
<ScalarProperty Name="CREATE_DATE" ColumnName="CREATE_DATE" />
<ScalarProperty Name="CREATE_TIME" ColumnName="CREATE_TIME" />
<ScalarProperty Name="FIRST_KEY" ColumnName="FIRST_KEY" />
<ScalarProperty Name="SECOND_KEY" ColumnName="SECOND_KEY" />
<ScalarProperty Name="PRIORITY" ColumnName="PRIORITY" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="JOBTKT">
<EntityTypeMapping TypeName="TicketModel.JOBTKT">
<MappingFragment StoreEntitySet="JOBTKT">
<ScalarProperty Name="tmp_field" ColumnName="tmp_field" />
<ScalarProperty Name="IDNO" ColumnName="IDNO" />
<ScalarProperty Name="FNDATE" ColumnName="FNDATE" />
<ScalarProperty Name="FIRST_KEY" ColumnName="FIRST_KEY" />
<ScalarProperty Name="SECOND_KEY" ColumnName="SECOND_KEY" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="POWDER_QUEUE">
<EntityTypeMapping TypeName="TicketModel.POWDER_QUEUE">
<MappingFragment StoreEntitySet="POWDER_QUEUE">
<ScalarProperty Name="tmp_field" ColumnName="tmp_field" />
<ScalarProperty Name="ID_NO" ColumnName="ID_NO" />
<ScalarProperty Name="STEP_NO" ColumnName="STEP_NO" />
<ScalarProperty Name="CREATE_DATE" ColumnName="CREATE_DATE" />
<ScalarProperty Name="CREATE_TIME" ColumnName="CREATE_TIME" />
<ScalarProperty Name="FIRST_KEY" ColumnName="FIRST_KEY" />
<ScalarProperty Name="SECOND_KEY" ColumnName="SECOND_KEY" />
<ScalarProperty Name="PRIORITY" ColumnName="PRIORITY" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="REMOTETERMINAL">
<EntityTypeMapping TypeName="TicketModel.REMOTETERMINAL">
<MappingFragment StoreEntitySet="REMOTETERMINAL">
<ScalarProperty Name="tmp_field" ColumnName="tmp_field" />
<ScalarProperty Name="IDNO" ColumnName="IDNO" />
<ScalarProperty Name="FNDATE" ColumnName="FNDATE" />
<ScalarProperty Name="IDTYPE" ColumnName="IDTYPE" />
<ScalarProperty Name="FIRST_KEY" ColumnName="FIRST_KEY" />
<ScalarProperty Name="SECOND_KEY" ColumnName="SECOND_KEY" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TEMPCHEMICALTKT">
<EntityTypeMapping TypeName="TicketModel.TEMPCHEMICALTKT">
<MappingFragment StoreEntitySet="TEMPCHEMICALTKT">
<ScalarProperty Name="tmp_field" ColumnName="tmp_field" />
<ScalarProperty Name="IDNO" ColumnName="IDNO" />
<ScalarProperty Name="FNDATE" ColumnName="FNDATE" />
<ScalarProperty Name="IDTYPE" ColumnName="IDTYPE" />
<ScalarProperty Name="FIRST_KEY" ColumnName="FIRST_KEY" />
<ScalarProperty Name="SECOND_KEY" ColumnName="SECOND_KEY" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TEMPDYESTUFFTKT">
<EntityTypeMapping TypeName="TicketModel.TEMPDYESTUFFTKT">
<MappingFragment StoreEntitySet="TEMPDYESTUFFTKT">
<ScalarProperty Name="tmp_field" ColumnName="tmp_field" />
<ScalarProperty Name="IDNO" ColumnName="IDNO" />
<ScalarProperty Name="FNDATE" ColumnName="FNDATE" />
<ScalarProperty Name="IDTYPE" ColumnName="IDTYPE" />
<ScalarProperty Name="FIRST_KEY" ColumnName="FIRST_KEY" />
<ScalarProperty Name="SECOND_KEY" ColumnName="SECOND_KEY" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TEMPPOWDER">
<EntityTypeMapping TypeName="TicketModel.TEMPPOWDER">
<MappingFragment StoreEntitySet="TEMPPOWDER">
<ScalarProperty Name="tmp_field" ColumnName="tmp_field" />
<ScalarProperty Name="IDNO" ColumnName="IDNO" />
<ScalarProperty Name="FNDATE" ColumnName="FNDATE" />
<ScalarProperty Name="IDTYPE" ColumnName="IDTYPE" />
<ScalarProperty Name="FIRST_KEY" ColumnName="FIRST_KEY" />
<ScalarProperty Name="SECOND_KEY" ColumnName="SECOND_KEY" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TICKET_DETAIL">
<EntityTypeMapping TypeName="TicketModel.TICKET_DETAIL">
<MappingFragment StoreEntitySet="TICKET_DETAIL">
<ScalarProperty Name="ID_NO" ColumnName="ID_NO" />
<ScalarProperty Name="STEP_NO" ColumnName="STEP_NO" />
<ScalarProperty Name="PRODUCT_CODE" ColumnName="PRODUCT_CODE" />
<ScalarProperty Name="PRODUCT_TYPE" ColumnName="PRODUCT_TYPE" />
<ScalarProperty Name="TARGET_WT" ColumnName="TARGET_WT" />
<ScalarProperty Name="ACTUAL_WT" ColumnName="ACTUAL_WT" />
<ScalarProperty Name="UNIT" ColumnName="UNIT" />
<ScalarProperty Name="COMP_DATE" ColumnName="COMP_DATE" />
<ScalarProperty Name="COMP_TIME" ColumnName="COMP_TIME" />
<ScalarProperty Name="TRANSFER_STATE" ColumnName="TRANSFER_STATE" />
<ScalarProperty Name="ERROR_CODE" ColumnName="ERROR_CODE" />
<ScalarProperty Name="MACHINE" ColumnName="MACHINE" />
<ScalarProperty Name="TANK_NO" ColumnName="TANK_NO" />
<ScalarProperty Name="ID_TYPE" ColumnName="ID_TYPE" />
<ScalarProperty Name="PRODUCT_LOT" ColumnName="PRODUCT_LOT" />
<ScalarProperty Name="RECIPE_CODE" ColumnName="RECIPE_CODE" />
<ScalarProperty Name="LR" ColumnName="LR" />
<ScalarProperty Name="RECIPE_TYPE" ColumnName="RECIPE_TYPE" />
<ScalarProperty Name="CONC" ColumnName="CONC" />
<ScalarProperty Name="CONCUNIT" ColumnName="CONCUNIT" />
<ScalarProperty Name="REMARK" ColumnName="REMARK" />
<ScalarProperty Name="ADJUST" ColumnName="ADJUST" />
<ScalarProperty Name="PRICE" ColumnName="PRICE" />
<ScalarProperty Name="RES_DOUBLE1" ColumnName="RES_DOUBLE1" />
<ScalarProperty Name="RES_DOUBLE2" ColumnName="RES_DOUBLE2" />
<ScalarProperty Name="RES_DOUBLE3" ColumnName="RES_DOUBLE3" />
<ScalarProperty Name="RES_DOUBLE4" ColumnName="RES_DOUBLE4" />
<ScalarProperty Name="RES_STRING1" ColumnName="RES_STRING1" />
<ScalarProperty Name="RES_STRING2" ColumnName="RES_STRING2" />
<ScalarProperty Name="RES_STRING3" ColumnName="RES_STRING3" />
<ScalarProperty Name="RES_STRING4" ColumnName="RES_STRING4" />
<ScalarProperty Name="REWEIGHT" ColumnName="REWEIGHT" />
<ScalarProperty Name="Redye" ColumnName="Redye" />
<ScalarProperty Name="DyeWeightTime" ColumnName="DyeWeightTime" />
<ScalarProperty Name="UserAccount" ColumnName="UserAccount" />
<ScalarProperty Name="Batch_NO" ColumnName="Batch_NO" />
<ScalarProperty Name="lldmxid" ColumnName="lldmxid" />
<ScalarProperty Name="Station" ColumnName="Station" />
<ScalarProperty Name="UserCode" ColumnName="UserCode" />
<ScalarProperty Name="FABRIC_WEIGHT" ColumnName="FABRIC_WEIGHT" />
<ScalarProperty Name="VOLUME" ColumnName="VOLUME" />
<ScalarProperty Name="RECORD_ORDER" ColumnName="RECORD_ORDER" />
<ScalarProperty Name="Process" ColumnName="Process" />
<ScalarProperty Name="GRAVITY" ColumnName="GRAVITY" />
<ScalarProperty Name="CurrentStock" ColumnName="CurrentStock" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TicketSerial">
<EntityTypeMapping TypeName="TicketModel.TicketSerial">
<MappingFragment StoreEntitySet="TicketSerial">
<ScalarProperty Name="tmp_field" ColumnName="tmp_field" />
<ScalarProperty Name="ID_NO" ColumnName="ID_NO" />
<ScalarProperty Name="REDYE_NOW" ColumnName="REDYE_NOW" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="UserAccount">
<EntityTypeMapping TypeName="TicketModel.UserAccount">
<MappingFragment StoreEntitySet="UserAccount">
<ScalarProperty Name="tmp_field" ColumnName="tmp_field" />
<ScalarProperty Name="UserCode" ColumnName="UserCode" />
<ScalarProperty Name="PassWord" ColumnName="PassWord" />
<ScalarProperty Name="JobTicket" ColumnName="JobTicket" />
<ScalarProperty Name="Report" ColumnName="Report" />
<ScalarProperty Name="PathSetup" ColumnName="PathSetup" />
<ScalarProperty Name="UserSetup" ColumnName="UserSetup" />
<ScalarProperty Name="GROUP_CODE" ColumnName="GROUP_CODE" />
</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/2009/11/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="false" />
<DesignerProperty Name="CodeGenerationStrategy" Value="无" />
</DesignerInfoPropertySet>
</Options>
<!-- Diagram content (shape and connector positions) -->
<Diagrams></Diagrams>
</Designer>
</edmx:Edmx>