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.

5268 lines
314 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="BatchDyeingCentralModel.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">
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.AuxDslvQueue”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="AuxDslvQueue">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="TankNo" Type="int" />
<Property Name="Dyelot" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ReDye" Type="int" Nullable="false" />
<Property Name="StepNumber" Type="int" />
<Property Name="Station" Type="varchar" MaxLength="50" />
<Property Name="Industry" Type="int" />
<Property Name="State" Type="int" />
<Property Name="Machine" Type="varchar" MaxLength="50" />
<Property Name="Volume" Type="varchar" MaxLength="50" />
<Property Name="ShelfID" Type="int" />
<Property Name="Updated" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.AuxDslvQueueHistory”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="AuxDslvQueueHistory">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="TankNo" Type="int" />
<Property Name="Dyelot" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ReDye" Type="int" Nullable="false" />
<Property Name="StepNumber" Type="int" />
<Property Name="Station" Type="varchar" MaxLength="50" />
<Property Name="Industry" Type="int" />
<Property Name="State" Type="int" />
<Property Name="Machine" Type="varchar" MaxLength="50" />
<Property Name="Volume" Type="varchar" MaxLength="50" />
<Property Name="ShelfID" Type="int" />
<Property Name="Created" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.BucketCrane”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="BucketCrane">
<Key>
<PropertyRef Name="Dyelot" />
</Key>
<Property Name="Dyelot" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ReDye" Type="int" />
<Property Name="StepNumber" Type="int" />
<Property Name="DevideNo" Type="int" />
<Property Name="BucketNo" Type="int" />
<Property Name="DID" Type="varchar" MaxLength="10" />
<Property Name="State" Type="int" />
<Property Name="Updated" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.BucketCraneHistory”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="BucketCraneHistory">
<Key>
<PropertyRef Name="Dyelot" />
</Key>
<Property Name="Dyelot" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ReDye" Type="int" />
<Property Name="StepNumber" Type="int" />
<Property Name="DevideNo" Type="int" />
<Property Name="BucketNo" Type="int" />
<Property Name="DID" Type="varchar" MaxLength="10" />
<Property Name="State" Type="int" />
<Property Name="Created" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.BucketInfo”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="BucketInfo">
<Key>
<PropertyRef Name="BucketNo" />
</Key>
<Property Name="BucketNo" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="DID" Type="varchar" MaxLength="10" />
<Property Name="StartTime" Type="datetime" />
<Property Name="EndTime" Type="datetime" />
<Property Name="Used" Type="int" />
<Property Name="UserAccount" Type="varchar" MaxLength="30" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.BucketShelf”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="BucketShelf">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="BucketNo" Type="int" />
<Property Name="ShelfID" Type="int" />
<Property Name="Dyelot" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ReDye" Type="int" Nullable="false" />
<Property Name="StepNumber" Type="int" />
<Property Name="Station" Type="varchar" MaxLength="50" />
<Property Name="DID" Type="varchar" MaxLength="10" />
<Property Name="TotalBuckets" Type="int" />
<Property Name="DevideNo" Type="int" />
<Property Name="XPos" Type="int" />
<Property Name="YPos" Type="int" />
<Property Name="State" Type="int" />
<Property Name="OnShelfTime" Type="datetime" />
<Property Name="UserAccount" Type="varchar" MaxLength="30" />
<Property Name="Locked" Type="int" />
<Property Name="ProductCode" Type="varchar" MaxLength="50" />
<Property Name="OriginDyelot" Type="varchar" MaxLength="50" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.BucketShelfHistory”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="BucketShelfHistory">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="BucketNo" Type="int" />
<Property Name="ShelfID" Type="int" />
<Property Name="Dyelot" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ReDye" Type="int" Nullable="false" />
<Property Name="StepNumber" Type="int" />
<Property Name="Station" Type="varchar" MaxLength="50" />
<Property Name="DID" Type="varchar" MaxLength="10" />
<Property Name="TotalBuckets" Type="int" />
<Property Name="DevideNo" Type="int" />
<Property Name="XPos" Type="int" />
<Property Name="YPos" Type="int" />
<Property Name="State" Type="int" />
<Property Name="OnShelfTime" Type="datetime" />
<Property Name="UserAccount" Type="varchar" MaxLength="30" />
<Property Name="Locked" Type="int" />
<Property Name="ProductCode" Type="varchar" MaxLength="50" />
<Property Name="OriginDyelot" Type="varchar" MaxLength="50" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.BucketShelfQueue”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="BucketShelfQueue">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="BucketNo" Type="int" />
<Property Name="ShelfID" Type="int" />
<Property Name="Dyelot" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ReDye" Type="int" Nullable="false" />
<Property Name="StepNumber" Type="int" />
<Property Name="TotalBuckets" Type="int" />
<Property Name="DevideNo" Type="int" />
<Property Name="XPos" Type="int" />
<Property Name="YPos" Type="int" />
<Property Name="State" Type="int" />
<Property Name="Updated" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.BucketShelfQueueHistory”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="BucketShelfQueueHistory">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="BucketNo" Type="int" />
<Property Name="ShelfID" Type="int" />
<Property Name="Dyelot" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ReDye" Type="int" Nullable="false" />
<Property Name="StepNumber" Type="int" />
<Property Name="TotalBuckets" Type="int" />
<Property Name="DevideNo" Type="int" />
<Property Name="XPos" Type="int" />
<Property Name="YPos" Type="int" />
<Property Name="State" Type="int" />
<Property Name="Created" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.CleanDevice”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="CleanDevice">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="varchar" MaxLength="10" Nullable="false" />
<Property Name="State" Type="int" />
<Property Name="Enabled" Type="int" />
</EntityType>
<EntityType Name="DBRDetail">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="Redye" />
<PropertyRef Name="StepNumber" />
<PropertyRef Name="ProductCode" />
<PropertyRef Name="DispenseStartTime" />
</Key>
<Property Name="ID" Type="bigint" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="Dyelot" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="Redye" Type="int" Nullable="false" />
<Property Name="StepNumber" Type="int" Nullable="false" />
<Property Name="ProductCode" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ProductName" Type="varchar" MaxLength="50" />
<Property Name="Grams" Type="float" />
<Property Name="DispenseGrams" Type="float" />
<Property Name="Buckets" Type="int" />
<Property Name="DispenseStartTime" Type="datetime" Nullable="false" />
<Property Name="DispenseEndTime" Type="datetime" />
<Property Name="DispenseSeconds" Type="int" />
<Property Name="ProductStartTime" Type="datetime" />
<Property Name="ProductEndTime" Type="datetime" />
<Property Name="ProductSeconds" Type="int" />
<Property Name="LDXGrams" Type="float" />
<Property Name="LDXBuckets" Type="int" />
<Property Name="IsDeduct" Type="int" />
<Property Name="DeductBox" Type="int" />
<Property Name="BoxNo" Type="varchar" MaxLength="10" />
<Property Name="DispenseResult" Type="int" />
<Property Name="BucketWeight" Type="float" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.DispenserEvent”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="DispenserEvent">
<Key>
<PropertyRef Name="EventID" />
<PropertyRef Name="Dispenser" />
<PropertyRef Name="Description" />
</Key>
<Property Name="EventID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="EventType" Type="int" />
<Property Name="Dispenser" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="Device" Type="varchar" MaxLength="10" />
<Property Name="Dyelot" Type="varchar" MaxLength="50" />
<Property Name="ReDye" Type="int" />
<Property Name="StepNumber" Type="int" />
<Property Name="Code" Type="int" />
<Property Name="Description" Type="varchar" MaxLength="255" Nullable="false" />
<Property Name="Description_BIG" Type="varchar" MaxLength="255" />
<Property Name="Description_GB" Type="varchar" MaxLength="255" />
<Property Name="CreateDate" Type="datetime" />
<Property Name="ConfirmDate" Type="datetime" />
<Property Name="FinishDate" Type="datetime" />
<Property Name="Shift" Type="varchar" MaxLength="5" />
<Property Name="UserAccount" Type="varchar" MaxLength="30" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.DispenserLifeStatus”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="DispenserLifeStatus">
<Key>
<PropertyRef Name="Dispenser" />
</Key>
<Property Name="Dispenser" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="Device" Type="varchar" MaxLength="10" />
<Property Name="HeartBeat" Type="int" />
<Property Name="LifeTime" Type="int" />
<Property Name="UpdateDate" Type="datetime" />
<Property Name="Created" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.Dispensers”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="Dispensers">
<Key>
<PropertyRef Name="Name" />
</Key>
<Property Name="Name" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="Description" Type="varchar" MaxLength="50" />
<Property Name="Device" Type="varchar" MaxLength="10" />
<Property Name="Dyelot" Type="varchar" MaxLength="50" />
<Property Name="ReDye" Type="int" />
<Property Name="StepNumber" Type="int" />
<Property Name="Station" Type="varchar" MaxLength="50" />
<Property Name="State" Type="int" />
<Property Name="Status" Type="varchar" MaxLength="50" />
<Property Name="Action" Type="varchar" MaxLength="50" />
<Property Name="ProductCode" Type="varchar" MaxLength="50" />
<Property Name="SN" Type="int" />
<Property Name="Automatic" Type="int" />
<Property Name="Enabled" Type="int" />
<Property Name="HeartBeat" Type="int" />
<Property Name="CheckPeriod" Type="int" />
<Property Name="UpdateDate" Type="datetime" />
<Property Name="CreateDate" Type="datetime" />
<Property Name="UserAccount" Type="varchar" MaxLength="30" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.DispenserUtilization”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="DispenserUtilization">
<Key>
<PropertyRef Name="Dispenser" />
</Key>
<Property Name="Dispenser" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="Device" Type="varchar" MaxLength="10" />
<Property Name="Dyelot" Type="varchar" MaxLength="50" />
<Property Name="ReDye" Type="int" />
<Property Name="StepNumber" Type="int" />
<Property Name="UtilStartDate" Type="datetime" />
<Property Name="UtilEndDate" Type="datetime" />
<Property Name="UtilTimes" Type="int" />
<Property Name="UserAccount" Type="varchar" MaxLength="30" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.DissolveArt”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="DissolveArt">
<Key>
<PropertyRef Name="Name" />
</Key>
<Property Name="Name" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ProductClass" Type="int" />
<Property Name="LiquidRatio" Type="float" />
<Property Name="MinWeight" Type="float" />
<Property Name="MaxWeight" Type="float" />
<Property Name="DissolveTemperature" Type="int" />
<Property Name="UseLiquidDye" Type="int" />
<Property Name="UseChemical" Type="int" />
<Property Name="Process" Type="varchar" MaxLength="50" />
<Property Name="TankSize" Type="int" />
<Property Name="Created" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.DissolveArtHistory”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="DissolveArtHistory">
<Key>
<PropertyRef Name="Name" />
</Key>
<Property Name="Name" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ProductClass" Type="int" />
<Property Name="LiquidRatio" Type="float" />
<Property Name="MinWeight" Type="float" />
<Property Name="MaxWeight" Type="float" />
<Property Name="DissolveTemperature" Type="int" />
<Property Name="UseLiquidDye" Type="int" />
<Property Name="UseChemical" Type="int" />
<Property Name="Process" Type="varchar" MaxLength="50" />
<Property Name="TankSize" Type="int" />
<Property Name="Updated" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6013: 表/视图“BatchDyeingCentral.dbo.DissolveHistory”未定义主键,并且无法推断有效的主键。已排除了此表/视图。若要使用实体,将需要检查您的架构、添加正确的键并取消对实体的注释。
<EntityType Name="DissolveHistory">
<Property Name="Batch_No" Type="nvarchar" MaxLength="30" />
<Property Name="Fn_Date" Type="nvarchar" MaxLength="10" />
<Property Name="Fn_Time" Type="nvarchar" MaxLength="10" />
<Property Name="Machine" Type="nvarchar" MaxLength="10" />
<Property Name="TankNo" Type="varchar" MaxLength="2" />
<Property Name="Process" Type="varchar" MaxLength="15" />
<Property Name="ReDye" Type="int" />
<Property Name="Color" Type="int" />
<Property Name="StartTime" Type="datetime" />
</EntityType>-->
<!--生成过程中发现错误:
警告 6013: 表/视图“BatchDyeingCentral.dbo.Dyelot252Queue”未定义主键,并且无法推断有效的主键。已排除了此表/视图。若要使用实体,将需要检查您的架构、添加正确的键并取消对实体的注释。
<EntityType Name="Dyelot252Queue">
<Property Name="TankNo" Type="int" />
<Property Name="Dyelot" Type="varchar" MaxLength="50" />
<Property Name="ReDye" Type="int" />
<Property Name="StepNumber" Type="int" />
<Property Name="Updated" Type="datetime" />
<Property Name="Machine" Type="varchar" MaxLength="50" />
<Property Name="ShelfID" Type="int" />
<Property Name="MotionType" Type="int" />
<Property Name="MotionString" Type="varchar" MaxLength="50" />
<Property Name="EstimatedTime" Type="datetime" />
</EntityType>-->
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.DyelotBuckets”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="DyelotBuckets">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="Dyelot" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ReDye" Type="int" Nullable="false" />
<Property Name="StepNumber" Type="int" />
<Property Name="DevideNo" Type="int" />
<Property Name="ProductCode" Type="varchar" MaxLength="50" />
<Property Name="BucketNo" Type="int" />
<Property Name="DID" Type="varchar" MaxLength="10" />
<Property Name="Final" Type="int" />
<Property Name="Dissolved" Type="int" />
<Property Name="Created" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.DyelotBucketsHistory”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="DyelotBucketsHistory">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="Dyelot" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ReDye" Type="int" Nullable="false" />
<Property Name="StepNumber" Type="int" />
<Property Name="DevideNo" Type="int" />
<Property Name="ProductCode" Type="varchar" MaxLength="50" />
<Property Name="BucketNo" Type="int" />
<Property Name="DID" Type="varchar" MaxLength="10" />
<Property Name="Final" Type="int" />
<Property Name="Dissolved" Type="int" />
<Property Name="Created" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.DyelotBucketSummary”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="DyelotBucketSummary">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="Dyelot" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ReDye" Type="int" Nullable="false" />
<Property Name="StepNumber" Type="int" />
<Property Name="TotalBuckets" Type="int" />
<Property Name="Final" Type="int" />
<Property Name="Created" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.DyelotDetail”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="DyelotDetail">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
<PropertyRef Name="ProductCode" />
<PropertyRef Name="ProductType" />
</Key>
<Property Name="Dyelot" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ReDye" Type="int" Nullable="false" />
<Property Name="StepNumber" Type="int" />
<Property Name="Station" Type="nvarchar" MaxLength="50" />
<Property Name="ProductCode" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ProductName" Type="varchar" MaxLength="50" />
<Property Name="ProductType" Type="int" Nullable="false" />
<Property Name="Grams" Type="float" />
<Property Name="Created" Type="datetime" />
<Property Name="SN" Type="int" />
<Property Name="DispenseTime" Type="datetime" />
<Property Name="DispenseGrams" Type="float" />
<Property Name="CurrDispGrams" Type="float" />
<Property Name="LADispenseResult" Type="int" />
<Property Name="Error" Type="int" />
<Property Name="UserAccount" Type="varchar" MaxLength="30" />
<Property Name="Volume" Type="varchar" MaxLength="50" />
<Property Name="CurrDispTime" Type="int" />
<Property Name="CurrVolume" Type="varchar" MaxLength="50" />
<Property Name="RemainVolume" Type="varchar" MaxLength="50" />
<Property Name="FinalPickup" Type="float" />
<Property Name="LFManual" Type="int" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.DyelotDslvQueue”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="DyelotDslvQueue">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="TankNo" Type="int" />
<Property Name="Dyelot" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ReDye" Type="int" Nullable="false" />
<Property Name="StepNumber" Type="int" />
<Property Name="TotalBuckets" Type="int" />
<Property Name="DivideNo" Type="int" />
<Property Name="State" Type="int" />
<Property Name="ShelfID" Type="int" />
<Property Name="SchDispenseTime" Type="datetime" />
<Property Name="BucketNo" Type="int" />
<Property Name="Updated" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.DyelotDslvQueueHistory”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="DyelotDslvQueueHistory">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="TankNo" Type="int" />
<Property Name="Dyelot" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ReDye" Type="int" Nullable="false" />
<Property Name="StepNumber" Type="int" />
<Property Name="TotalBuckets" Type="int" />
<Property Name="DivideNo" Type="int" />
<Property Name="State" Type="int" />
<Property Name="ShelfID" Type="int" />
<Property Name="SchDispenseTime" Type="datetime" />
<Property Name="BucketNo" Type="int" />
<Property Name="Created" Type="datetime" />
</EntityType>
<EntityType Name="DyelotHead">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="Dyelot" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ReDye" Type="int" Nullable="false" />
<Property Name="StartTime" Type="datetime" />
<Property Name="EndTime" Type="datetime" />
<Property Name="CreationTime" Type="datetime" />
<Property Name="TotalVolume" Type="varchar" MaxLength="10" />
<Property Name="DispenseTimes" Type="int" />
<Property Name="CurrDispTime" Type="int" />
<Property Name="CurrTotalVolume" Type="varchar" MaxLength="10" />
<Property Name="State" Type="int" />
<Property Name="Sequence" Type="smallint" />
<Property Name="Color" Type="int" />
<Property Name="PickUp" Type="float" />
<Property Name="GramsYard" Type="float" />
<Property Name="TotalLength" Type="float" />
<Property Name="FabricWidth" Type="float" />
<Property Name="UserAccount" Type="varchar" MaxLength="30" />
<Property Name="RefTotalVolume" Type="varchar" MaxLength="10" />
<Property Name="RestVolume" Type="varchar" MaxLength="10" />
<Property Name="LFDefine" Type="varchar" MaxLength="5" />
<Property Name="Machine" Type="nvarchar" MaxLength="50" />
<Property Name="Blocked" Type="int" />
<Property Name="Industry" Type="int" />
<Property Name="Volume" Type="nvarchar" MaxLength="50" />
<Property Name="StandardTime" Type="float" />
<Property Name="LFArt" Type="int" />
<Property Name="RemainVolume" Type="varchar" MaxLength="10" />
<Property Name="FinalPickUp" Type="float" />
<Property Name="LFWasher" Type="int" />
<Property Name="ActualTotalVolume" Type="varchar" MaxLength="10" />
<Property Name="ActualTotalLength" Type="float" />
<Property Name="UsedPickup" Type="float" />
<Property Name="RemainPadderVol" Type="varchar" MaxLength="10" />
<Property Name="ExecuteTime" Type="datetime" />
<Property Name="RealAdd1" Type="varchar" MaxLength="10" />
<Property Name="RealAdd2" Type="varchar" MaxLength="10" />
<Property Name="RealAdd3" Type="varchar" MaxLength="10" />
<Property Name="RealAdd4" Type="varchar" MaxLength="10" />
<Property Name="RealAdd5" Type="varchar" MaxLength="10" />
<Property Name="PromptAdd1" Type="varchar" MaxLength="10" />
<Property Name="PromptAdd2" Type="varchar" MaxLength="10" />
<Property Name="PromptAdd3" Type="varchar" MaxLength="10" />
<Property Name="PromptAdd4" Type="varchar" MaxLength="10" />
<Property Name="PromptAdd5" Type="varchar" MaxLength="10" />
<Property Name="StartButton" Type="int" />
<Property Name="EndButton" Type="int" />
<Property Name="MergerVol" Type="varchar" MaxLength="10" />
</EntityType>
<EntityType Name="Dyelots">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="Dyelot" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ReDye" Type="int" Nullable="false" />
<Property Name="Industry" Type="int" />
<Property Name="Machine" Type="nvarchar" MaxLength="50" />
<Property Name="DispenseMachine" Type="varchar" MaxLength="50" />
<Property Name="StartTime" Type="datetime" />
<Property Name="EndTime" Type="datetime" />
<Property Name="StandardTime" Type="float" />
<Property Name="TotalShot" Type="int" />
<Property Name="State" Type="smallint" />
<Property Name="Blocked" Type="smallint" />
<Property Name="Program" Type="ntext" />
<Property Name="Color" Type="int" />
<Property Name="CreationTime" Type="datetime" />
<Property Name="Batch" Type="varchar" MaxLength="50" />
<Property Name="OrderNo" Type="varchar" MaxLength="50" />
<Property Name="TotalWeight" Type="float" />
<Property Name="LiquidRatio" Type="varchar" MaxLength="50" />
<Property Name="TotalVolume" Type="varchar" MaxLength="50" />
<Property Name="AcidQty" Type="int" />
<Property Name="ActualAcidQty" Type="int" />
<Property Name="Sequence" Type="int" />
<Property Name="DispenseMode" Type="int" />
<Property Name="DyeDissolve" Type="int" />
<Property Name="CheDissolve" Type="int" />
<Property Name="TotalBuckets" Type="int" />
<Property Name="SpcTotalBuckets" Type="int" />
<Property Name="DissolveMethod" Type="int" />
<Property Name="ReferenceDyelot" Type="varchar" MaxLength="50" />
<Property Name="Final" Type="int" />
<Property Name="Shade" Type="int" />
<Property Name="OnSchedule" Type="int" />
<Property Name="DyeStep" Type="int" />
<Property Name="PowderBlocked" Type="smallint" />
<Property Name="PowderOnSchedule" Type="int" />
<Property Name="PowderStep" Type="int" />
<Property Name="DispensedVolume" Type="varchar" MaxLength="50" />
<Property Name="Times" Type="int" />
<Property Name="UserAccount" Type="varchar" MaxLength="30" />
<Property Name="FabricName" Type="nvarchar" MaxLength="100" />
<Property Name="ColorNo" Type="nvarchar" MaxLength="50" />
<Property Name="ColorName" Type="nvarchar" MaxLength="50" />
<Property Name="CustomerName" Type="nvarchar" MaxLength="50" />
<Property Name="CUSTOMER_CODE" Type="varchar" MaxLength="30" />
<Property Name="FABRIC_CODE" Type="varchar" MaxLength="30" />
<Property Name="GRAMS_YARD" Type="float" />
<Property Name="ModifyDT" Type="datetime" />
<Property Name="CreateDT" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.DyelotsBatch”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="DyelotsBatch">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="Dyelot" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ReDye" Type="int" Nullable="false" />
<Property Name="StepNumber" Type="int" />
<Property Name="Station" Type="varchar" MaxLength="50" />
<Property Name="ShotNo" Type="int" />
<Property Name="ProductCode" Type="varchar" MaxLength="50" />
<Property Name="SN" Type="int" />
<Property Name="Grams" Type="float" />
<Property Name="DispenseStartTime" Type="datetime" />
<Property Name="DispenseEndTime" Type="datetime" />
<Property Name="DispenseGrams" Type="float" />
<Property Name="LADispenseResult" Type="int" />
<Property Name="DyeWeightTime" Type="datetime" />
<Property Name="Process" Type="varchar" MaxLength="30" />
<Property Name="FinalProcess" Type="varchar" MaxLength="30" />
<Property Name="DispenseWater" Type="int" />
<Property Name="DrainWater" Type="int" />
<Property Name="DissolveTemperature" Type="int" />
<Property Name="SchDispenseTime" Type="datetime" />
<Property Name="UserAccount" Type="varchar" MaxLength="30" />
</EntityType>
<EntityType Name="DyelotsBulkedRecipe">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="Dyelot" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ReDye" Type="int" Nullable="false" />
<Property Name="StepNumber" Type="int" />
<Property Name="Station" Type="varchar" MaxLength="50" />
<Property Name="DevideNo" Type="int" />
<Property Name="ShotNo" Type="int" />
<Property Name="ProductCode" Type="varchar" MaxLength="50" />
<Property Name="ProductName" Type="varchar" MaxLength="50" />
<Property Name="ProductType" Type="int" />
<Property Name="ProductLot" Type="varchar" MaxLength="30" />
<Property Name="ProductClass" Type="int" />
<Property Name="SN" Type="int" />
<Property Name="Amount" Type="varchar" MaxLength="50" />
<Property Name="Grams" Type="float" />
<Property Name="Created" Type="datetime" />
<Property Name="DispenseStartTime" Type="datetime" />
<Property Name="DispenseEndTime" Type="datetime" />
<Property Name="DispenseTime" Type="datetime" />
<Property Name="DispenseGrams" Type="float" />
<Property Name="DispenseResult" Type="int" />
<Property Name="LADispenseResult" Type="int" />
<Property Name="Volume" Type="varchar" MaxLength="50" />
<Property Name="HostRead" Type="int" />
<Property Name="State" Type="varchar" MaxLength="10" />
<Property Name="NeedDispense" Type="int" />
<Property Name="MixTankNo" Type="int" />
<Property Name="DyeWeightTime" Type="datetime" />
<Property Name="Process" Type="varchar" MaxLength="30" />
<Property Name="FinalProcess" Type="varchar" MaxLength="30" />
<Property Name="Dispenser" Type="varchar" MaxLength="50" />
<Property Name="TankNo" Type="int" />
<Property Name="Error" Type="int" />
<Property Name="BucketNo" Type="int" />
<Property Name="DID" Type="varchar" MaxLength="10" />
<Property Name="StepDevideNo" Type="int" />
<Property Name="StepTotalBuckets" Type="int" />
<Property Name="ReferenceDyelot" Type="varchar" MaxLength="50" />
<Property Name="DispenseWater" Type="int" />
<Property Name="DrainWater" Type="int" />
<Property Name="DissolveTemperature" Type="int" />
<Property Name="SchDispenseTime" Type="datetime" />
<Property Name="UserAccount" Type="varchar" MaxLength="30" />
<Property Name="TargetGrams" Type="float" />
<Property Name="ActualGrams" Type="float" />
<Property Name="FinishTime" Type="datetime" />
<Property Name="Tagged" Type="char" MaxLength="1" />
<Property Name="TotalBuckets" Type="int" />
<Property Name="Final" Type="int" />
<Property Name="DissolveManual" Type="int" />
<Property Name="Concentration" Type="float" />
<Property Name="DeductTotalBuckets" Type="int" />
<Property Name="DeductBuckets" Type="int" />
<Property Name="Flow" Type="int" />
<Property Name="CallTime" Type="datetime" />
<Property Name="BreakGrams" Type="float" />
<Property Name="RecoveryAction" Type="int" />
<Property Name="SmallDye" Type="int" />
<Property Name="PrepareTank" Type="varchar" MaxLength="32" />
<Property Name="DeductBox" Type="int" />
<Property Name="Shade" Type="int" />
<Property Name="stuffid" Type="varchar" MaxLength="50" />
<Property Name="tfname" Type="varchar" MaxLength="10" />
<Property Name="tftips" Type="varchar" MaxLength="20" />
<Property Name="program" Type="varchar" MaxLength="30" />
<Property Name="dosage" Type="decimal" Precision="7" Scale="3" />
<Property Name="groupid" Type="varchar" MaxLength="8" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.DyelotsBulkedRecipeHistory”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="DyelotsBulkedRecipeHistory">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="Dyelot" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ReDye" Type="int" Nullable="false" />
<Property Name="StepNumber" Type="int" />
<Property Name="Station" Type="varchar" MaxLength="50" />
<Property Name="DevideNo" Type="int" />
<Property Name="ShotNo" Type="int" />
<Property Name="ProductCode" Type="varchar" MaxLength="50" />
<Property Name="ProductName" Type="varchar" MaxLength="50" />
<Property Name="ProductType" Type="int" />
<Property Name="ProductLot" Type="varchar" MaxLength="30" />
<Property Name="ProductClass" Type="int" />
<Property Name="SN" Type="int" />
<Property Name="Amount" Type="varchar" MaxLength="50" />
<Property Name="Grams" Type="float" />
<Property Name="Created" Type="datetime" />
<Property Name="DispenseStartTime" Type="datetime" />
<Property Name="DispenseEndTime" Type="datetime" />
<Property Name="DispenseTime" Type="datetime" />
<Property Name="DispenseGrams" Type="float" />
<Property Name="DispenseResult" Type="int" />
<Property Name="LADispenseResult" Type="int" />
<Property Name="Volume" Type="varchar" MaxLength="50" />
<Property Name="HostRead" Type="int" />
<Property Name="State" Type="varchar" MaxLength="10" />
<Property Name="NeedDispense" Type="int" />
<Property Name="MixTankNo" Type="int" />
<Property Name="DyeWeightTime" Type="datetime" />
<Property Name="Process" Type="varchar" MaxLength="30" />
<Property Name="FinalProcess" Type="varchar" MaxLength="30" />
<Property Name="Dispenser" Type="varchar" MaxLength="50" />
<Property Name="TankNo" Type="int" />
<Property Name="Error" Type="int" />
<Property Name="BucketNo" Type="int" />
<Property Name="DID" Type="varchar" MaxLength="10" />
<Property Name="StepDevideNo" Type="int" />
<Property Name="StepTotalBuckets" Type="int" />
<Property Name="ReferenceDyelot" Type="varchar" MaxLength="50" />
<Property Name="DispenseWater" Type="int" />
<Property Name="DrainWater" Type="int" />
<Property Name="DissolveTemperature" Type="int" />
<Property Name="SchDispenseTime" Type="datetime" />
<Property Name="FinishTime" Type="datetime" />
<Property Name="UserAccount" Type="varchar" MaxLength="30" />
<Property Name="Updated" Type="datetime" />
<Property Name="Tagged" Type="char" MaxLength="1" />
<Property Name="TotalBuckets" Type="int" />
<Property Name="Final" Type="int" />
<Property Name="DissolveManual" Type="int" />
<Property Name="DeductTotalBuckets" Type="int" />
<Property Name="DeductBuckets" Type="int" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.DyelotsHistory”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="DyelotsHistory">
<Key>
<PropertyRef Name="ID" />
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="Dyelot" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ReDye" Type="int" Nullable="false" />
<Property Name="Industry" Type="int" />
<Property Name="Machine" Type="varchar" MaxLength="50" />
<Property Name="DispenseMachine" Type="varchar" MaxLength="50" />
<Property Name="StartTime" Type="datetime" />
<Property Name="EndTime" Type="datetime" />
<Property Name="StandardTime" Type="float" />
<Property Name="TotalShot" Type="int" />
<Property Name="State" Type="int" />
<Property Name="Blocked" Type="int" />
<Property Name="Program" Type="ntext" />
<Property Name="Color" Type="int" />
<Property Name="CreationTime" Type="datetime" />
<Property Name="Batch" Type="varchar" MaxLength="50" />
<Property Name="OrderNo" Type="varchar" MaxLength="50" />
<Property Name="TotalWeight" Type="float" />
<Property Name="LiquidRatio" Type="varchar" MaxLength="50" />
<Property Name="TotalVolume" Type="varchar" MaxLength="50" />
<Property Name="AcidQty" Type="int" />
<Property Name="ActualAcidQty" Type="int" />
<Property Name="Sequence" Type="int" />
<Property Name="DispenseMode" Type="int" />
<Property Name="DyeDissolve" Type="int" />
<Property Name="CheDissolve" Type="int" />
<Property Name="TotalBuckets" Type="int" />
<Property Name="SpcTotalBuckets" Type="int" />
<Property Name="DissolveMethod" Type="int" />
<Property Name="ReferenceDyelot" Type="varchar" MaxLength="50" />
<Property Name="Final" Type="int" />
<Property Name="Shade" Type="int" />
<Property Name="UserAccount" Type="varchar" MaxLength="30" />
<Property Name="Updated" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.DyelotsInAuto”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="DyelotsInAuto">
<Key>
<PropertyRef Name="Machine" />
</Key>
<Property Name="Machine" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="Dyelot" Type="varchar" MaxLength="50" />
<Property Name="ReDye" Type="int" />
<Property Name="StepNumber" Type="int" />
<Property Name="DyeState" Type="int" />
<Property Name="SchDispenseTime" Type="datetime" />
<Property Name="IsCheck" Type="int" />
<Property Name="Shade" Type="int" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.DyelotsInAutoHistory”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="DyelotsInAutoHistory">
<Key>
<PropertyRef Name="Machine" />
</Key>
<Property Name="Machine" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="Dyelot" Type="varchar" MaxLength="50" />
<Property Name="ReDye" Type="int" />
<Property Name="StepNumber" Type="int" />
<Property Name="DyeState" Type="int" />
<Property Name="SchDispenseTime" Type="datetime" />
<Property Name="IsCheck" Type="int" />
<Property Name="Shade" Type="int" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.EventList”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="EventList">
<Key>
<PropertyRef Name="Description" />
</Key>
<Property Name="Code" Type="int" />
<Property Name="Description" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="Description_BIG" Type="varchar" MaxLength="50" />
<Property Name="Description_GB" Type="varchar" MaxLength="50" />
<Property Name="CreateDate" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.LA571Tanks”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="LA571Tanks">
<Key>
<PropertyRef Name="Name" />
</Key>
<Property Name="Name" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="Station" Type="nvarchar" MaxLength="50" />
<Property Name="Tank" Type="int" />
<Property Name="Volume" Type="float" />
<Property Name="State" Type="int" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.LabDyeDslvQueue”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="LabDyeDslvQueue">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="TankNo" Type="int" />
<Property Name="Dyelot" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ReDye" Type="int" Nullable="false" />
<Property Name="StepNumber" Type="int" />
<Property Name="State" Type="int" />
<Property Name="ShelfID" Type="int" />
<Property Name="DistID" Type="int" />
<Property Name="SchDispenseTime" Type="datetime" />
<Property Name="Updated" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.LabDyeDslvQueueHistory”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="LabDyeDslvQueueHistory">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="TankNo" Type="int" />
<Property Name="Dyelot" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ReDye" Type="int" Nullable="false" />
<Property Name="StepNumber" Type="int" />
<Property Name="State" Type="int" />
<Property Name="ShelfID" Type="int" />
<Property Name="DistID" Type="int" />
<Property Name="SchDispenseTime" Type="datetime" />
<Property Name="Created" Type="datetime" />
</EntityType>
<EntityType Name="Machines">
<Key>
<PropertyRef Name="Name" />
</Key>
<Property Name="Name" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="DispenseDyelot" Type="varchar" MaxLength="50" />
<Property Name="DispenseReDye" Type="int" />
<Property Name="RescheduleGroup" Type="varchar" MaxLength="50" />
<Property Name="Connect" Type="varchar" MaxLength="50" />
<Property Name="ChemicalCallOff" Type="int" />
<Property Name="ChemicalState" Type="int" />
<Property Name="ChemicalTank" Type="int" />
<Property Name="ChemicalTankSize" Type="int" />
<Property Name="ChemicalEnabled" Type="int" />
<Property Name="ChemicalStatus" Type="varchar" MaxLength="20" />
<Property Name="ChemicalDispenser" Type="varchar" MaxLength="50" />
<Property Name="ChemicalError" Type="int" />
<Property Name="ChemicalDistribute" Type="int" />
<Property Name="ChemicalStation" Type="varchar" MaxLength="50" />
<Property Name="ChemicalDevideNo" Type="int" />
<Property Name="ChemicalDispensedTime" Type="datetime" />
<Property Name="ChemicalDefaultTank" Type="int" />
<Property Name="ChemicalDissolving" Type="int" />
<Property Name="ChemicalResp" Type="int" />
<Property Name="ChemicalCallOff2" Type="int" />
<Property Name="ChemicalState2" Type="int" />
<Property Name="ChemicalTank2" Type="int" />
<Property Name="ChemicalStatus2" Type="varchar" MaxLength="20" />
<Property Name="ChemicalResp2" Type="int" />
<Property Name="ChemicalTargetSelect" Type="int" />
<Property Name="ChemicalTargetMachine" Type="varchar" MaxLength="50" />
<Property Name="DyeCallOff" Type="int" />
<Property Name="DyeState" Type="int" />
<Property Name="DyeTank" Type="int" />
<Property Name="DyeTankSize" Type="int" />
<Property Name="DyeEnabled" Type="int" />
<Property Name="DyeStatus" Type="varchar" MaxLength="20" />
<Property Name="DyeDispenser" Type="varchar" MaxLength="50" />
<Property Name="DyeError" Type="int" />
<Property Name="DyeDistribute" Type="int" />
<Property Name="DyeStation" Type="varchar" MaxLength="50" />
<Property Name="DyeDevideNo" Type="int" />
<Property Name="DyeDispensedTime" Type="datetime" />
<Property Name="DyeDefaultTank" Type="int" />
<Property Name="DyeResp" Type="int" />
<Property Name="DyeDispenseDyelot" Type="varchar" MaxLength="50" />
<Property Name="DyeDispenseReDye" Type="int" />
<Property Name="DyeDissolving" Type="int" />
<Property Name="PowderCallOff" Type="int" />
<Property Name="PowderState" Type="int" />
<Property Name="PowderTank" Type="int" />
<Property Name="PowderTankSize" Type="int" />
<Property Name="PowderEnabled" Type="int" />
<Property Name="PowderStatus" Type="varchar" MaxLength="20" />
<Property Name="PowderDispenser" Type="varchar" MaxLength="50" />
<Property Name="PowderError" Type="int" />
<Property Name="PowderStation" Type="varchar" MaxLength="50" />
<Property Name="PowderDevideNo" Type="int" />
<Property Name="PowderDispensedTime" Type="datetime" />
<Property Name="PowderDefaultTank" Type="int" />
<Property Name="PowderResp" Type="int" />
<Property Name="HostRead" Type="int" />
<Property Name="OnSystem" Type="varchar" MaxLength="20" />
<Property Name="SystemID" Type="varchar" MaxLength="20" />
<Property Name="SchDispenseTime" Type="datetime" />
<Property Name="UserAccount" Type="varchar" MaxLength="30" />
<Property Name="AutoMode" Type="int" />
<Property Name="UseOnScheduling" Type="int" />
<Property Name="CheDispenseDyelot" Type="varchar" MaxLength="50" />
<Property Name="CheDispenseReDye" Type="int" />
<Property Name="SampleDye" Type="int" />
<Property Name="OnDevice" Type="varchar" MaxLength="20" />
<Property Name="PwdDispenseDyelot" Type="varchar" MaxLength="50" />
<Property Name="PwdDispenseReDye" Type="int" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.MachinesHistory”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="MachinesHistory">
<Key>
<PropertyRef Name="Machine" />
</Key>
<Property Name="Machine" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="DispenseDyelot" Type="varchar" MaxLength="50" />
<Property Name="DispenseReDye" Type="int" />
<Property Name="ChemicalCallOff" Type="int" />
<Property Name="ChemicalState" Type="int" />
<Property Name="ChemicalTank" Type="int" />
<Property Name="ChemicalTankSize" Type="int" />
<Property Name="ChemicalDispenser" Type="varchar" MaxLength="50" />
<Property Name="ChemicalError" Type="int" />
<Property Name="ChemicalCallOff2" Type="int" />
<Property Name="ChemicalState2" Type="int" />
<Property Name="ChemicalTank2" Type="int" />
<Property Name="DyeCallOff" Type="int" />
<Property Name="DyeState" Type="int" />
<Property Name="DyeTank" Type="int" />
<Property Name="DyeTankSize" Type="int" />
<Property Name="DyeDispenser" Type="varchar" MaxLength="50" />
<Property Name="DyeError" Type="int" />
<Property Name="PowderCallOff" Type="int" />
<Property Name="PowderState" Type="int" />
<Property Name="PowderTank" Type="int" />
<Property Name="PowderTankSize" Type="int" />
<Property Name="PowderDispenser" Type="varchar" MaxLength="50" />
<Property Name="PowderError" Type="int" />
<Property Name="HostRead" Type="int" />
<Property Name="DyeDispenseDyelot" Type="varchar" MaxLength="50" />
<Property Name="DyeDispenseReDye" Type="int" />
<Property Name="CheDispenseDyelot" Type="varchar" MaxLength="50" />
<Property Name="CheDispenseReDye" Type="int" />
<Property Name="PwdDispenseDyelot" Type="varchar" MaxLength="50" />
<Property Name="PwdDispenseReDye" Type="int" />
<Property Name="Updated" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.MachinesHistoryOld”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="MachinesHistoryOld">
<Key>
<PropertyRef Name="Machine" />
</Key>
<Property Name="Machine" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="DispenseDyelot" Type="varchar" MaxLength="50" />
<Property Name="DispenseReDye" Type="int" />
<Property Name="ChemicalCallOff" Type="int" />
<Property Name="ChemicalState" Type="int" />
<Property Name="ChemicalTank" Type="int" />
<Property Name="ChemicalTankSize" Type="int" />
<Property Name="ChemicalDispenser" Type="varchar" MaxLength="50" />
<Property Name="ChemicalError" Type="int" />
<Property Name="ChemicalCallOff2" Type="int" />
<Property Name="ChemicalState2" Type="int" />
<Property Name="ChemicalTank2" Type="int" />
<Property Name="DyeCallOff" Type="int" />
<Property Name="DyeState" Type="int" />
<Property Name="DyeTank" Type="int" />
<Property Name="DyeTankSize" Type="int" />
<Property Name="DyeDispenser" Type="varchar" MaxLength="50" />
<Property Name="DyeError" Type="int" />
<Property Name="PowderCallOff" Type="int" />
<Property Name="PowderState" Type="int" />
<Property Name="PowderTank" Type="int" />
<Property Name="PowderTankSize" Type="int" />
<Property Name="PowderDispenser" Type="varchar" MaxLength="50" />
<Property Name="PowderError" Type="int" />
<Property Name="HostRead" Type="int" />
<Property Name="DyeDispenseDyelot" Type="varchar" MaxLength="50" />
<Property Name="DyeDispenseReDye" Type="int" />
<Property Name="Updated" Type="datetime" />
</EntityType>
<EntityType Name="MachineState">
<Key>
<PropertyRef Name="Machine" />
</Key>
<Property Name="Machine" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="DispenseDyelot" Type="varchar" MaxLength="50" />
<Property Name="DispenseReDye" Type="int" />
<Property Name="ChemicalCallOff" Type="int" />
<Property Name="ChemicalState" Type="int" />
<Property Name="ChemicalTank" Type="int" />
<Property Name="ChemicalTankSize" Type="int" />
<Property Name="ChemicalDispenser" Type="varchar" MaxLength="50" />
<Property Name="ChemicalError" Type="int" />
<Property Name="ChemicalTargetSelect" Type="int" />
<Property Name="DyeCallOff" Type="int" />
<Property Name="DyeState" Type="int" />
<Property Name="DyeTank" Type="int" />
<Property Name="DyeTankSize" Type="int" />
<Property Name="DyeDispenser" Type="varchar" MaxLength="50" />
<Property Name="DyeError" Type="int" />
<Property Name="PowderCallOff" Type="int" />
<Property Name="PowderState" Type="int" />
<Property Name="PowderTank" Type="int" />
<Property Name="PowderTankSize" Type="int" />
<Property Name="PowderDispenser" Type="varchar" MaxLength="50" />
<Property Name="PowderError" Type="int" />
<Property Name="HostRead" Type="int" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.MachineStateHistory”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="MachineStateHistory">
<Key>
<PropertyRef Name="Machine" />
</Key>
<Property Name="Machine" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="DispenseDyelot" Type="varchar" MaxLength="50" />
<Property Name="DispenseReDye" Type="int" />
<Property Name="ChemicalCallOff" Type="int" />
<Property Name="ChemicalState" Type="int" />
<Property Name="ChemicalTank" Type="int" />
<Property Name="ChemicalTankSize" Type="int" />
<Property Name="ChemicalDispenser" Type="varchar" MaxLength="50" />
<Property Name="ChemicalError" Type="int" />
<Property Name="ChemicalTargetSelect" Type="int" />
<Property Name="DyeCallOff" Type="int" />
<Property Name="DyeState" Type="int" />
<Property Name="DyeTank" Type="int" />
<Property Name="DyeTankSize" Type="int" />
<Property Name="DyeDispenser" Type="varchar" MaxLength="50" />
<Property Name="DyeError" Type="int" />
<Property Name="PowderCallOff" Type="int" />
<Property Name="PowderState" Type="int" />
<Property Name="PowderTank" Type="int" />
<Property Name="PowderTankSize" Type="int" />
<Property Name="PowderDispenser" Type="varchar" MaxLength="50" />
<Property Name="PowderError" Type="int" />
<Property Name="HostRead" Type="int" />
<Property Name="Updated" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.ManualWeightQueue”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="ManualWeightQueue">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="Dyelot" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ReDye" Type="int" Nullable="false" />
<Property Name="StepNumber" Type="int" />
<Property Name="State" Type="int" />
<Property Name="CallTime" Type="datetime" />
<Property Name="Module" Type="int" />
<Property Name="ModuleName" Type="varchar" MaxLength="20" />
<Property Name="Area" Type="char" MaxLength="1" />
<Property Name="EndTime" Type="datetime" />
<Property Name="Updated" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.ManualWeightQueueHistory”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="ManualWeightQueueHistory">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="Dyelot" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ReDye" Type="int" Nullable="false" />
<Property Name="StepNumber" Type="int" />
<Property Name="State" Type="int" />
<Property Name="CallTime" Type="datetime" />
<Property Name="Module" Type="int" />
<Property Name="ModuleName" Type="varchar" MaxLength="20" />
<Property Name="Area" Type="char" MaxLength="1" />
<Property Name="EndTime" Type="datetime" />
<Property Name="Created" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.PartsStatus”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="PartsStatus">
<Key>
<PropertyRef Name="CUST_CODE" />
<PropertyRef Name="Dispenser" />
<PropertyRef Name="PartsCode" />
</Key>
<Property Name="CUST_CODE" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="Dispenser" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="Device" Type="varchar" MaxLength="10" />
<Property Name="PartsCode" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="PartsName" Type="varchar" MaxLength="50" />
<Property Name="PartsType" Type="int" />
<Property Name="Description" Type="varchar" MaxLength="50" />
<Property Name="FactoryValue" Type="int" />
<Property Name="UsedCount" Type="int" />
<Property Name="RunningTime" Type="int" />
<Property Name="ResetDate" Type="datetime" />
<Property Name="WarnDate" Type="datetime" />
<Property Name="UpdateDate" Type="datetime" />
<Property Name="CreateDate" Type="datetime" />
<Property Name="UserAccount" Type="varchar" MaxLength="30" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.PartsStatusHistory”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="PartsStatusHistory">
<Key>
<PropertyRef Name="CUST_CODE" />
<PropertyRef Name="Dispenser" />
<PropertyRef Name="PartsCode" />
</Key>
<Property Name="CUST_CODE" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="Dispenser" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="Device" Type="varchar" MaxLength="10" />
<Property Name="PartsCode" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="PartsName" Type="varchar" MaxLength="50" />
<Property Name="PartsType" Type="int" />
<Property Name="Description" Type="varchar" MaxLength="50" />
<Property Name="FactoryValue" Type="int" />
<Property Name="UsedCount" Type="int" />
<Property Name="RunningTime" Type="int" />
<Property Name="ResetDate" Type="datetime" />
<Property Name="WarnDate" Type="datetime" />
<Property Name="UpdateDate" Type="datetime" />
<Property Name="CreateDate" Type="datetime" />
<Property Name="UserAccount" Type="varchar" MaxLength="30" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.PipeRefill”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="PipeRefill">
<Key>
<PropertyRef Name="ProductCode" />
</Key>
<Property Name="ProductCode" Type="varchar" MaxLength="20" Nullable="false" />
<Property Name="ProductName" Type="varchar" MaxLength="50" />
<Property Name="ProductType" Type="int" />
<Property Name="ProductLot" Type="varchar" MaxLength="30" />
<Property Name="Dispenser" Type="varchar" MaxLength="50" />
<Property Name="No" Type="int" />
<Property Name="Qty" Type="float" />
<Property Name="Percentage" Type="float" />
<Property Name="RefillTime" Type="datetime" />
<Property Name="AlarmTime" Type="datetime" />
<Property Name="Updated" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.PipeRefillHistory”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="PipeRefillHistory">
<Key>
<PropertyRef Name="ProductCode" />
</Key>
<Property Name="ProductCode" Type="varchar" MaxLength="20" Nullable="false" />
<Property Name="ProductName" Type="varchar" MaxLength="50" />
<Property Name="ProductType" Type="int" />
<Property Name="ProductLot" Type="varchar" MaxLength="30" />
<Property Name="Dispenser" Type="varchar" MaxLength="50" />
<Property Name="No" Type="int" />
<Property Name="Qty" Type="float" />
<Property Name="Percentage" Type="float" />
<Property Name="RefillTime" Type="datetime" />
<Property Name="AlarmTime" Type="datetime" />
<Property Name="Created" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.Pipes”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="Pipes">
<Key>
<PropertyRef Name="ProductCode" />
<PropertyRef Name="Dispenser" />
<PropertyRef Name="Gravity" />
</Key>
<Property Name="ProductCode" Type="varchar" MaxLength="20" Nullable="false" />
<Property Name="ProductName" Type="varchar" MaxLength="50" />
<Property Name="ProductType" Type="int" />
<Property Name="ProductLot" Type="varchar" MaxLength="30" />
<Property Name="Dispenser" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="Enabled" Type="int" />
<Property Name="No" Type="int" />
<Property Name="MinLimit" Type="float" />
<Property Name="MaxLimit" Type="float" />
<Property Name="MinAction" Type="int" />
<Property Name="MaxAction" Type="int" />
<Property Name="Conc" Type="int" />
<Property Name="Gravity" Type="float" Nullable="false" />
<Property Name="Alarm" Type="char" MaxLength="1" />
</EntityType>
<!--生成过程中发现错误:
警告 6013: 表/视图“BatchDyeingCentral.dbo.ProdMachine”未定义主键,并且无法推断有效的主键。已排除了此表/视图。若要使用实体,将需要检查您的架构、添加正确的键并取消对实体的注释。
<EntityType Name="ProdMachine">
<Property Name="Dispenser" Type="varchar" MaxLength="50" />
<Property Name="Machine" Type="varchar" MaxLength="50" />
<Property Name="TankNo" Type="int" />
<Property Name="MaxVolume" Type="int" />
<Property Name="WaterLevel" Type="int" />
<Property Name="Used" Type="int" />
<Property Name="CPU" Type="int" />
<Property Name="DIO" Type="int" />
<Property Name="Updated" Type="datetime" />
</EntityType>-->
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.ProductLocation”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="ProductLocation">
<Key>
<PropertyRef Name="ProductCode" />
<PropertyRef Name="Dispenser" />
</Key>
<Property Name="ProductCode" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="ProductName" Type="nvarchar" MaxLength="50" />
<Property Name="Type" Type="nvarchar" MaxLength="50" />
<Property Name="Dispenser" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="Position" Type="int" />
<Property Name="TablePosition" Type="nvarchar" MaxLength="5" />
<Property Name="StockDate" Type="datetime" />
<Property Name="StockUsage" Type="float" />
<Property Name="StockOnHand" Type="float" />
<Property Name="Alarm" Type="char" MaxLength="1" />
<Property Name="AlarmTime" Type="datetime" />
<Property Name="Enabled" Type="int" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.ProductLocationHistory”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="ProductLocationHistory">
<Key>
<PropertyRef Name="ProductCode" />
<PropertyRef Name="Dispenser" />
</Key>
<Property Name="ProductCode" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="ProductName" Type="nvarchar" MaxLength="50" />
<Property Name="Type" Type="nvarchar" MaxLength="50" />
<Property Name="Dispenser" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="Position" Type="int" />
<Property Name="TablePosition" Type="nvarchar" MaxLength="5" />
<Property Name="StockDate" Type="datetime" />
<Property Name="StockUsage" Type="float" />
<Property Name="StockOnHand" Type="float" />
<Property Name="Alarm" Type="char" MaxLength="1" />
<Property Name="AlarmTime" Type="datetime" />
<Property Name="Enabled" Type="int" />
<Property Name="Updated" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6013: 表/视图“BatchDyeingCentral.dbo.Qddyelot”未定义主键,并且无法推断有效的主键。已排除了此表/视图。若要使用实体,将需要检查您的架构、添加正确的键并取消对实体的注释。
<EntityType Name="Qddyelot">
<Property Name="stuffid" Type="varchar" MaxLength="50" />
<Property Name="name" Type="varchar" MaxLength="50" />
<Property Name="weight" Type="int" />
</EntityType>-->
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.RecipeDeduct”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="RecipeDeduct">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="Dyelot" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ReDye" Type="int" Nullable="false" />
<Property Name="StepNumber" Type="int" />
<Property Name="Station" Type="varchar" MaxLength="50" />
<Property Name="ShotNo" Type="int" />
<Property Name="ProductCode" Type="varchar" MaxLength="50" />
<Property Name="DeductTime" Type="datetime" />
<Property Name="DeductGrams" Type="float" />
<Property Name="BucketNo" Type="int" />
<Property Name="DID" Type="varchar" MaxLength="10" />
<Property Name="UserAccount" Type="varchar" MaxLength="30" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.RecipeDeductHistory”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="RecipeDeductHistory">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="Dyelot" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ReDye" Type="int" Nullable="false" />
<Property Name="StepNumber" Type="int" />
<Property Name="Station" Type="varchar" MaxLength="50" />
<Property Name="ShotNo" Type="int" />
<Property Name="ProductCode" Type="varchar" MaxLength="50" />
<Property Name="DeductTime" Type="datetime" />
<Property Name="DeductGrams" Type="float" />
<Property Name="BucketNo" Type="int" />
<Property Name="DID" Type="varchar" MaxLength="10" />
<Property Name="UserAccount" Type="varchar" MaxLength="30" />
<Property Name="Updated" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.RecipeDetail”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="RecipeDetail">
<Key>
<PropertyRef Name="RcpCode" />
<PropertyRef Name="ProductCode" />
</Key>
<Property Name="RcpCode" Type="nvarchar" MaxLength="16" Nullable="false" />
<Property Name="ProductCode" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="ProductName" Type="nvarchar" MaxLength="50" />
<Property Name="Conc" Type="float" />
<Property Name="HostRead" Type="int" />
<Property Name="Created" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.Recipes”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="Recipes">
<Key>
<PropertyRef Name="RcpCode" />
<PropertyRef Name="RcpName" />
<PropertyRef Name="Unit" />
</Key>
<Property Name="RcpCode" Type="nvarchar" MaxLength="16" Nullable="false" />
<Property Name="RcpName" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="Unit" Type="varchar" MaxLength="10" Nullable="false" />
<Property Name="Created" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.RFIDRecordQueue”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="RFIDRecordQueue">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="Station" Type="int" />
<Property Name="Dyelot" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ReDye" Type="int" Nullable="false" />
<Property Name="StepNumber" Type="int" />
<Property Name="Machine" Type="varchar" MaxLength="50" />
<Property Name="DevideNo" Type="int" />
<Property Name="TotalBuckets" Type="int" />
<Property Name="State" Type="int" />
<Property Name="BucketNo" Type="int" />
<Property Name="DID" Type="varchar" MaxLength="10" />
<Property Name="Source" Type="varchar" MaxLength="50" />
<Property Name="Dest" Type="varchar" MaxLength="50" />
<Property Name="ProductCode" Type="varchar" MaxLength="50" />
<Property Name="Updated" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.RFIDRecordQueueHistory”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="RFIDRecordQueueHistory">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="Station" Type="int" />
<Property Name="Dyelot" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ReDye" Type="int" Nullable="false" />
<Property Name="StepNumber" Type="int" />
<Property Name="Machine" Type="varchar" MaxLength="50" />
<Property Name="DevideNo" Type="int" />
<Property Name="TotalBuckets" Type="int" />
<Property Name="State" Type="int" />
<Property Name="BucketNo" Type="int" />
<Property Name="DID" Type="varchar" MaxLength="10" />
<Property Name="ProductCode" Type="varchar" MaxLength="50" />
<Property Name="Created" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.SampleDyeDslvQueue”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="SampleDyeDslvQueue">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="TankNo" Type="int" />
<Property Name="Dyelot" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ReDye" Type="int" Nullable="false" />
<Property Name="StepNumber" Type="int" />
<Property Name="State" Type="int" />
<Property Name="PassAuto" Type="int" />
<Property Name="ShelfID" Type="int" />
<Property Name="Machine" Type="varchar" MaxLength="50" />
<Property Name="SchDispenseTime" Type="datetime" />
<Property Name="Updated" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.SampleDyeDslvQueueHistory”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="SampleDyeDslvQueueHistory">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="TankNo" Type="int" />
<Property Name="Dyelot" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ReDye" Type="int" Nullable="false" />
<Property Name="StepNumber" Type="int" />
<Property Name="State" Type="int" />
<Property Name="PassAuto" Type="int" />
<Property Name="ShelfID" Type="int" />
<Property Name="Machine" Type="varchar" MaxLength="50" />
<Property Name="SchDispenseTime" Type="datetime" />
<Property Name="Created" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6013: 表/视图“BatchDyeingCentral.dbo.ScheduledBatch”未定义主键,并且无法推断有效的主键。已排除了此表/视图。若要使用实体,将需要检查您的架构、添加正确的键并取消对实体的注释。
<EntityType Name="ScheduledBatch">
<Property Name="StartDate" Type="datetime" />
<Property Name="EndDate" Type="datetime" />
</EntityType>-->
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.ScheduledDyelot”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="ScheduledDyelot">
<Key>
<PropertyRef Name="ID" />
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="Dyelot" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ReDye" Type="int" Nullable="false" />
<Property Name="StepNumber" Type="int" />
<Property Name="Process" Type="varchar" MaxLength="30" />
<Property Name="Dispenser" Type="varchar" MaxLength="50" />
<Property Name="Machine" Type="nvarchar" MaxLength="50" />
<Property Name="TankNo" Type="int" />
<Property Name="ScheduledTime" Type="datetime" />
<Property Name="Checked" Type="char" MaxLength="1" />
<Property Name="UserAccount" Type="varchar" MaxLength="30" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.ScheduledDyelotHistory”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="ScheduledDyelotHistory">
<Key>
<PropertyRef Name="ID" />
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="Dyelot" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ReDye" Type="int" Nullable="false" />
<Property Name="StepNumber" Type="int" />
<Property Name="Process" Type="varchar" MaxLength="30" />
<Property Name="Dispenser" Type="varchar" MaxLength="50" />
<Property Name="Machine" Type="nvarchar" MaxLength="50" />
<Property Name="TankNo" Type="int" />
<Property Name="ScheduledTime" Type="datetime" />
<Property Name="Checked" Type="char" MaxLength="1" />
<Property Name="UserAccount" Type="varchar" MaxLength="30" />
<Property Name="Updated" Type="datetime" />
</EntityType>
<EntityType Name="SchedulingLog">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="Redye" />
</Key>
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="Dyelot" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="Redye" Type="int" Nullable="false" />
<Property Name="Machine" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="CallTime" Type="datetime" Nullable="false" />
<Property Name="EndTime" Type="datetime" />
<Property Name="State" Type="int" />
<Property Name="Status" Type="nvarchar" MaxLength="50" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.Shelf”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="Shelf">
<Key>
<PropertyRef Name="ShelfID" />
</Key>
<Property Name="ShelfID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="MaxLayer" Type="int" />
<Property Name="MaxPosition" Type="int" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BatchDyeingCentral.dbo.TagShelf”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="TagShelf">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="Machines" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="BucketNo" Type="int" />
<Property Name="Dyelot" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="Machines" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="TagManagerNo" Type="int" />
<Property Name="ReDye" Type="int" Nullable="false" />
<Property Name="StepNumber" Type="int" />
<Property Name="DID" Type="varchar" MaxLength="10" />
<Property Name="TotalBuckets" Type="int" />
<Property Name="DevideNo" Type="int" />
<Property Name="OnShelfTime" Type="datetime" />
</EntityType>
<EntityContainer Name="BatchDyeingCentralModelStoreContainer">
<EntitySet Name="DBRDetail" EntityType="Self.DBRDetail" Schema="dbo" store:Type="Tables" />
<EntitySet Name="DyelotHead" EntityType="Self.DyelotHead" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Dyelots" EntityType="Self.Dyelots" Schema="dbo" store:Type="Tables" />
<EntitySet Name="DyelotsBulkedRecipe" EntityType="Self.DyelotsBulkedRecipe" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Machines" EntityType="Self.Machines" Schema="dbo" store:Type="Tables" />
<EntitySet Name="MachineState" EntityType="Self.MachineState" Schema="dbo" store:Type="Tables" />
<EntitySet Name="SchedulingLog" EntityType="Self.SchedulingLog" Schema="dbo" store:Type="Tables" />
<EntitySet Name="AuxDslvQueue" EntityType="Self.AuxDslvQueue" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[AuxDslvQueue].[TankNo] AS [TankNo],
[AuxDslvQueue].[Dyelot] AS [Dyelot],
[AuxDslvQueue].[ReDye] AS [ReDye],
[AuxDslvQueue].[StepNumber] AS [StepNumber],
[AuxDslvQueue].[Station] AS [Station],
[AuxDslvQueue].[Industry] AS [Industry],
[AuxDslvQueue].[State] AS [State],
[AuxDslvQueue].[Machine] AS [Machine],
[AuxDslvQueue].[Volume] AS [Volume],
[AuxDslvQueue].[ShelfID] AS [ShelfID],
[AuxDslvQueue].[Updated] AS [Updated]
FROM [dbo].[AuxDslvQueue] AS [AuxDslvQueue]</DefiningQuery>
</EntitySet>
<EntitySet Name="AuxDslvQueueHistory" EntityType="Self.AuxDslvQueueHistory" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[AuxDslvQueueHistory].[TankNo] AS [TankNo],
[AuxDslvQueueHistory].[Dyelot] AS [Dyelot],
[AuxDslvQueueHistory].[ReDye] AS [ReDye],
[AuxDslvQueueHistory].[StepNumber] AS [StepNumber],
[AuxDslvQueueHistory].[Station] AS [Station],
[AuxDslvQueueHistory].[Industry] AS [Industry],
[AuxDslvQueueHistory].[State] AS [State],
[AuxDslvQueueHistory].[Machine] AS [Machine],
[AuxDslvQueueHistory].[Volume] AS [Volume],
[AuxDslvQueueHistory].[ShelfID] AS [ShelfID],
[AuxDslvQueueHistory].[Created] AS [Created]
FROM [dbo].[AuxDslvQueueHistory] AS [AuxDslvQueueHistory]</DefiningQuery>
</EntitySet>
<EntitySet Name="BucketCrane" EntityType="Self.BucketCrane" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[BucketCrane].[Dyelot] AS [Dyelot],
[BucketCrane].[ReDye] AS [ReDye],
[BucketCrane].[StepNumber] AS [StepNumber],
[BucketCrane].[DevideNo] AS [DevideNo],
[BucketCrane].[BucketNo] AS [BucketNo],
[BucketCrane].[DID] AS [DID],
[BucketCrane].[State] AS [State],
[BucketCrane].[Updated] AS [Updated]
FROM [dbo].[BucketCrane] AS [BucketCrane]</DefiningQuery>
</EntitySet>
<EntitySet Name="BucketCraneHistory" EntityType="Self.BucketCraneHistory" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[BucketCraneHistory].[Dyelot] AS [Dyelot],
[BucketCraneHistory].[ReDye] AS [ReDye],
[BucketCraneHistory].[StepNumber] AS [StepNumber],
[BucketCraneHistory].[DevideNo] AS [DevideNo],
[BucketCraneHistory].[BucketNo] AS [BucketNo],
[BucketCraneHistory].[DID] AS [DID],
[BucketCraneHistory].[State] AS [State],
[BucketCraneHistory].[Created] AS [Created]
FROM [dbo].[BucketCraneHistory] AS [BucketCraneHistory]</DefiningQuery>
</EntitySet>
<EntitySet Name="BucketInfo" EntityType="Self.BucketInfo" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[BucketInfo].[BucketNo] AS [BucketNo],
[BucketInfo].[DID] AS [DID],
[BucketInfo].[StartTime] AS [StartTime],
[BucketInfo].[EndTime] AS [EndTime],
[BucketInfo].[Used] AS [Used],
[BucketInfo].[UserAccount] AS [UserAccount]
FROM [dbo].[BucketInfo] AS [BucketInfo]</DefiningQuery>
</EntitySet>
<EntitySet Name="BucketShelf" EntityType="Self.BucketShelf" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[BucketShelf].[BucketNo] AS [BucketNo],
[BucketShelf].[ShelfID] AS [ShelfID],
[BucketShelf].[Dyelot] AS [Dyelot],
[BucketShelf].[ReDye] AS [ReDye],
[BucketShelf].[StepNumber] AS [StepNumber],
[BucketShelf].[Station] AS [Station],
[BucketShelf].[DID] AS [DID],
[BucketShelf].[TotalBuckets] AS [TotalBuckets],
[BucketShelf].[DevideNo] AS [DevideNo],
[BucketShelf].[XPos] AS [XPos],
[BucketShelf].[YPos] AS [YPos],
[BucketShelf].[State] AS [State],
[BucketShelf].[OnShelfTime] AS [OnShelfTime],
[BucketShelf].[UserAccount] AS [UserAccount],
[BucketShelf].[Locked] AS [Locked],
[BucketShelf].[ProductCode] AS [ProductCode],
[BucketShelf].[OriginDyelot] AS [OriginDyelot]
FROM [dbo].[BucketShelf] AS [BucketShelf]</DefiningQuery>
</EntitySet>
<EntitySet Name="BucketShelfHistory" EntityType="Self.BucketShelfHistory" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[BucketShelfHistory].[BucketNo] AS [BucketNo],
[BucketShelfHistory].[ShelfID] AS [ShelfID],
[BucketShelfHistory].[Dyelot] AS [Dyelot],
[BucketShelfHistory].[ReDye] AS [ReDye],
[BucketShelfHistory].[StepNumber] AS [StepNumber],
[BucketShelfHistory].[Station] AS [Station],
[BucketShelfHistory].[DID] AS [DID],
[BucketShelfHistory].[TotalBuckets] AS [TotalBuckets],
[BucketShelfHistory].[DevideNo] AS [DevideNo],
[BucketShelfHistory].[XPos] AS [XPos],
[BucketShelfHistory].[YPos] AS [YPos],
[BucketShelfHistory].[State] AS [State],
[BucketShelfHistory].[OnShelfTime] AS [OnShelfTime],
[BucketShelfHistory].[UserAccount] AS [UserAccount],
[BucketShelfHistory].[Locked] AS [Locked],
[BucketShelfHistory].[ProductCode] AS [ProductCode],
[BucketShelfHistory].[OriginDyelot] AS [OriginDyelot]
FROM [dbo].[BucketShelfHistory] AS [BucketShelfHistory]</DefiningQuery>
</EntitySet>
<EntitySet Name="BucketShelfQueue" EntityType="Self.BucketShelfQueue" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[BucketShelfQueue].[BucketNo] AS [BucketNo],
[BucketShelfQueue].[ShelfID] AS [ShelfID],
[BucketShelfQueue].[Dyelot] AS [Dyelot],
[BucketShelfQueue].[ReDye] AS [ReDye],
[BucketShelfQueue].[StepNumber] AS [StepNumber],
[BucketShelfQueue].[TotalBuckets] AS [TotalBuckets],
[BucketShelfQueue].[DevideNo] AS [DevideNo],
[BucketShelfQueue].[XPos] AS [XPos],
[BucketShelfQueue].[YPos] AS [YPos],
[BucketShelfQueue].[State] AS [State],
[BucketShelfQueue].[Updated] AS [Updated]
FROM [dbo].[BucketShelfQueue] AS [BucketShelfQueue]</DefiningQuery>
</EntitySet>
<EntitySet Name="BucketShelfQueueHistory" EntityType="Self.BucketShelfQueueHistory" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[BucketShelfQueueHistory].[BucketNo] AS [BucketNo],
[BucketShelfQueueHistory].[ShelfID] AS [ShelfID],
[BucketShelfQueueHistory].[Dyelot] AS [Dyelot],
[BucketShelfQueueHistory].[ReDye] AS [ReDye],
[BucketShelfQueueHistory].[StepNumber] AS [StepNumber],
[BucketShelfQueueHistory].[TotalBuckets] AS [TotalBuckets],
[BucketShelfQueueHistory].[DevideNo] AS [DevideNo],
[BucketShelfQueueHistory].[XPos] AS [XPos],
[BucketShelfQueueHistory].[YPos] AS [YPos],
[BucketShelfQueueHistory].[State] AS [State],
[BucketShelfQueueHistory].[Created] AS [Created]
FROM [dbo].[BucketShelfQueueHistory] AS [BucketShelfQueueHistory]</DefiningQuery>
</EntitySet>
<EntitySet Name="CleanDevice" EntityType="Self.CleanDevice" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[CleanDevice].[ID] AS [ID],
[CleanDevice].[State] AS [State],
[CleanDevice].[Enabled] AS [Enabled]
FROM [dbo].[CleanDevice] AS [CleanDevice]</DefiningQuery>
</EntitySet>
<EntitySet Name="DispenserEvent" EntityType="Self.DispenserEvent" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[DispenserEvent].[EventID] AS [EventID],
[DispenserEvent].[EventType] AS [EventType],
[DispenserEvent].[Dispenser] AS [Dispenser],
[DispenserEvent].[Device] AS [Device],
[DispenserEvent].[Dyelot] AS [Dyelot],
[DispenserEvent].[ReDye] AS [ReDye],
[DispenserEvent].[StepNumber] AS [StepNumber],
[DispenserEvent].[Code] AS [Code],
[DispenserEvent].[Description] AS [Description],
[DispenserEvent].[Description_BIG] AS [Description_BIG],
[DispenserEvent].[Description_GB] AS [Description_GB],
[DispenserEvent].[CreateDate] AS [CreateDate],
[DispenserEvent].[ConfirmDate] AS [ConfirmDate],
[DispenserEvent].[FinishDate] AS [FinishDate],
[DispenserEvent].[Shift] AS [Shift],
[DispenserEvent].[UserAccount] AS [UserAccount]
FROM [dbo].[DispenserEvent] AS [DispenserEvent]</DefiningQuery>
</EntitySet>
<EntitySet Name="DispenserLifeStatus" EntityType="Self.DispenserLifeStatus" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[DispenserLifeStatus].[Dispenser] AS [Dispenser],
[DispenserLifeStatus].[Device] AS [Device],
[DispenserLifeStatus].[HeartBeat] AS [HeartBeat],
[DispenserLifeStatus].[LifeTime] AS [LifeTime],
[DispenserLifeStatus].[UpdateDate] AS [UpdateDate],
[DispenserLifeStatus].[Created] AS [Created]
FROM [dbo].[DispenserLifeStatus] AS [DispenserLifeStatus]</DefiningQuery>
</EntitySet>
<EntitySet Name="Dispensers" EntityType="Self.Dispensers" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[Dispensers].[Name] AS [Name],
[Dispensers].[Description] AS [Description],
[Dispensers].[Device] AS [Device],
[Dispensers].[Dyelot] AS [Dyelot],
[Dispensers].[ReDye] AS [ReDye],
[Dispensers].[StepNumber] AS [StepNumber],
[Dispensers].[Station] AS [Station],
[Dispensers].[State] AS [State],
[Dispensers].[Status] AS [Status],
[Dispensers].[Action] AS [Action],
[Dispensers].[ProductCode] AS [ProductCode],
[Dispensers].[SN] AS [SN],
[Dispensers].[Automatic] AS [Automatic],
[Dispensers].[Enabled] AS [Enabled],
[Dispensers].[HeartBeat] AS [HeartBeat],
[Dispensers].[CheckPeriod] AS [CheckPeriod],
[Dispensers].[UpdateDate] AS [UpdateDate],
[Dispensers].[CreateDate] AS [CreateDate],
[Dispensers].[UserAccount] AS [UserAccount]
FROM [dbo].[Dispensers] AS [Dispensers]</DefiningQuery>
</EntitySet>
<EntitySet Name="DispenserUtilization" EntityType="Self.DispenserUtilization" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[DispenserUtilization].[Dispenser] AS [Dispenser],
[DispenserUtilization].[Device] AS [Device],
[DispenserUtilization].[Dyelot] AS [Dyelot],
[DispenserUtilization].[ReDye] AS [ReDye],
[DispenserUtilization].[StepNumber] AS [StepNumber],
[DispenserUtilization].[UtilStartDate] AS [UtilStartDate],
[DispenserUtilization].[UtilEndDate] AS [UtilEndDate],
[DispenserUtilization].[UtilTimes] AS [UtilTimes],
[DispenserUtilization].[UserAccount] AS [UserAccount]
FROM [dbo].[DispenserUtilization] AS [DispenserUtilization]</DefiningQuery>
</EntitySet>
<EntitySet Name="DissolveArt" EntityType="Self.DissolveArt" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[DissolveArt].[Name] AS [Name],
[DissolveArt].[ProductClass] AS [ProductClass],
[DissolveArt].[LiquidRatio] AS [LiquidRatio],
[DissolveArt].[MinWeight] AS [MinWeight],
[DissolveArt].[MaxWeight] AS [MaxWeight],
[DissolveArt].[DissolveTemperature] AS [DissolveTemperature],
[DissolveArt].[UseLiquidDye] AS [UseLiquidDye],
[DissolveArt].[UseChemical] AS [UseChemical],
[DissolveArt].[Process] AS [Process],
[DissolveArt].[TankSize] AS [TankSize],
[DissolveArt].[Created] AS [Created]
FROM [dbo].[DissolveArt] AS [DissolveArt]</DefiningQuery>
</EntitySet>
<EntitySet Name="DissolveArtHistory" EntityType="Self.DissolveArtHistory" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[DissolveArtHistory].[Name] AS [Name],
[DissolveArtHistory].[ProductClass] AS [ProductClass],
[DissolveArtHistory].[LiquidRatio] AS [LiquidRatio],
[DissolveArtHistory].[MinWeight] AS [MinWeight],
[DissolveArtHistory].[MaxWeight] AS [MaxWeight],
[DissolveArtHistory].[DissolveTemperature] AS [DissolveTemperature],
[DissolveArtHistory].[UseLiquidDye] AS [UseLiquidDye],
[DissolveArtHistory].[UseChemical] AS [UseChemical],
[DissolveArtHistory].[Process] AS [Process],
[DissolveArtHistory].[TankSize] AS [TankSize],
[DissolveArtHistory].[Updated] AS [Updated]
FROM [dbo].[DissolveArtHistory] AS [DissolveArtHistory]</DefiningQuery>
</EntitySet>
<EntitySet Name="DyelotBuckets" EntityType="Self.DyelotBuckets" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[DyelotBuckets].[Dyelot] AS [Dyelot],
[DyelotBuckets].[ReDye] AS [ReDye],
[DyelotBuckets].[StepNumber] AS [StepNumber],
[DyelotBuckets].[DevideNo] AS [DevideNo],
[DyelotBuckets].[ProductCode] AS [ProductCode],
[DyelotBuckets].[BucketNo] AS [BucketNo],
[DyelotBuckets].[DID] AS [DID],
[DyelotBuckets].[Final] AS [Final],
[DyelotBuckets].[Dissolved] AS [Dissolved],
[DyelotBuckets].[Created] AS [Created]
FROM [dbo].[DyelotBuckets] AS [DyelotBuckets]</DefiningQuery>
</EntitySet>
<EntitySet Name="DyelotBucketsHistory" EntityType="Self.DyelotBucketsHistory" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[DyelotBucketsHistory].[Dyelot] AS [Dyelot],
[DyelotBucketsHistory].[ReDye] AS [ReDye],
[DyelotBucketsHistory].[StepNumber] AS [StepNumber],
[DyelotBucketsHistory].[DevideNo] AS [DevideNo],
[DyelotBucketsHistory].[ProductCode] AS [ProductCode],
[DyelotBucketsHistory].[BucketNo] AS [BucketNo],
[DyelotBucketsHistory].[DID] AS [DID],
[DyelotBucketsHistory].[Final] AS [Final],
[DyelotBucketsHistory].[Dissolved] AS [Dissolved],
[DyelotBucketsHistory].[Created] AS [Created]
FROM [dbo].[DyelotBucketsHistory] AS [DyelotBucketsHistory]</DefiningQuery>
</EntitySet>
<EntitySet Name="DyelotBucketSummary" EntityType="Self.DyelotBucketSummary" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[DyelotBucketSummary].[Dyelot] AS [Dyelot],
[DyelotBucketSummary].[ReDye] AS [ReDye],
[DyelotBucketSummary].[StepNumber] AS [StepNumber],
[DyelotBucketSummary].[TotalBuckets] AS [TotalBuckets],
[DyelotBucketSummary].[Final] AS [Final],
[DyelotBucketSummary].[Created] AS [Created]
FROM [dbo].[DyelotBucketSummary] AS [DyelotBucketSummary]</DefiningQuery>
</EntitySet>
<EntitySet Name="DyelotDetail" EntityType="Self.DyelotDetail" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[DyelotDetail].[Dyelot] AS [Dyelot],
[DyelotDetail].[ReDye] AS [ReDye],
[DyelotDetail].[StepNumber] AS [StepNumber],
[DyelotDetail].[Station] AS [Station],
[DyelotDetail].[ProductCode] AS [ProductCode],
[DyelotDetail].[ProductName] AS [ProductName],
[DyelotDetail].[ProductType] AS [ProductType],
[DyelotDetail].[Grams] AS [Grams],
[DyelotDetail].[Created] AS [Created],
[DyelotDetail].[SN] AS [SN],
[DyelotDetail].[DispenseTime] AS [DispenseTime],
[DyelotDetail].[DispenseGrams] AS [DispenseGrams],
[DyelotDetail].[CurrDispGrams] AS [CurrDispGrams],
[DyelotDetail].[LADispenseResult] AS [LADispenseResult],
[DyelotDetail].[Error] AS [Error],
[DyelotDetail].[UserAccount] AS [UserAccount],
[DyelotDetail].[Volume] AS [Volume],
[DyelotDetail].[CurrDispTime] AS [CurrDispTime],
[DyelotDetail].[CurrVolume] AS [CurrVolume],
[DyelotDetail].[RemainVolume] AS [RemainVolume],
[DyelotDetail].[FinalPickup] AS [FinalPickup],
[DyelotDetail].[LFManual] AS [LFManual]
FROM [dbo].[DyelotDetail] AS [DyelotDetail]</DefiningQuery>
</EntitySet>
<EntitySet Name="DyelotDslvQueue" EntityType="Self.DyelotDslvQueue" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[DyelotDslvQueue].[TankNo] AS [TankNo],
[DyelotDslvQueue].[Dyelot] AS [Dyelot],
[DyelotDslvQueue].[ReDye] AS [ReDye],
[DyelotDslvQueue].[StepNumber] AS [StepNumber],
[DyelotDslvQueue].[TotalBuckets] AS [TotalBuckets],
[DyelotDslvQueue].[DivideNo] AS [DivideNo],
[DyelotDslvQueue].[State] AS [State],
[DyelotDslvQueue].[ShelfID] AS [ShelfID],
[DyelotDslvQueue].[SchDispenseTime] AS [SchDispenseTime],
[DyelotDslvQueue].[BucketNo] AS [BucketNo],
[DyelotDslvQueue].[Updated] AS [Updated]
FROM [dbo].[DyelotDslvQueue] AS [DyelotDslvQueue]</DefiningQuery>
</EntitySet>
<EntitySet Name="DyelotDslvQueueHistory" EntityType="Self.DyelotDslvQueueHistory" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[DyelotDslvQueueHistory].[TankNo] AS [TankNo],
[DyelotDslvQueueHistory].[Dyelot] AS [Dyelot],
[DyelotDslvQueueHistory].[ReDye] AS [ReDye],
[DyelotDslvQueueHistory].[StepNumber] AS [StepNumber],
[DyelotDslvQueueHistory].[TotalBuckets] AS [TotalBuckets],
[DyelotDslvQueueHistory].[DivideNo] AS [DivideNo],
[DyelotDslvQueueHistory].[State] AS [State],
[DyelotDslvQueueHistory].[ShelfID] AS [ShelfID],
[DyelotDslvQueueHistory].[SchDispenseTime] AS [SchDispenseTime],
[DyelotDslvQueueHistory].[BucketNo] AS [BucketNo],
[DyelotDslvQueueHistory].[Created] AS [Created]
FROM [dbo].[DyelotDslvQueueHistory] AS [DyelotDslvQueueHistory]</DefiningQuery>
</EntitySet>
<EntitySet Name="DyelotsBatch" EntityType="Self.DyelotsBatch" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[DyelotsBatch].[Dyelot] AS [Dyelot],
[DyelotsBatch].[ReDye] AS [ReDye],
[DyelotsBatch].[StepNumber] AS [StepNumber],
[DyelotsBatch].[Station] AS [Station],
[DyelotsBatch].[ShotNo] AS [ShotNo],
[DyelotsBatch].[ProductCode] AS [ProductCode],
[DyelotsBatch].[SN] AS [SN],
[DyelotsBatch].[Grams] AS [Grams],
[DyelotsBatch].[DispenseStartTime] AS [DispenseStartTime],
[DyelotsBatch].[DispenseEndTime] AS [DispenseEndTime],
[DyelotsBatch].[DispenseGrams] AS [DispenseGrams],
[DyelotsBatch].[LADispenseResult] AS [LADispenseResult],
[DyelotsBatch].[DyeWeightTime] AS [DyeWeightTime],
[DyelotsBatch].[Process] AS [Process],
[DyelotsBatch].[FinalProcess] AS [FinalProcess],
[DyelotsBatch].[DispenseWater] AS [DispenseWater],
[DyelotsBatch].[DrainWater] AS [DrainWater],
[DyelotsBatch].[DissolveTemperature] AS [DissolveTemperature],
[DyelotsBatch].[SchDispenseTime] AS [SchDispenseTime],
[DyelotsBatch].[UserAccount] AS [UserAccount]
FROM [dbo].[DyelotsBatch] AS [DyelotsBatch]</DefiningQuery>
</EntitySet>
<EntitySet Name="DyelotsBulkedRecipeHistory" EntityType="Self.DyelotsBulkedRecipeHistory" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[DyelotsBulkedRecipeHistory].[Dyelot] AS [Dyelot],
[DyelotsBulkedRecipeHistory].[ReDye] AS [ReDye],
[DyelotsBulkedRecipeHistory].[StepNumber] AS [StepNumber],
[DyelotsBulkedRecipeHistory].[Station] AS [Station],
[DyelotsBulkedRecipeHistory].[DevideNo] AS [DevideNo],
[DyelotsBulkedRecipeHistory].[ShotNo] AS [ShotNo],
[DyelotsBulkedRecipeHistory].[ProductCode] AS [ProductCode],
[DyelotsBulkedRecipeHistory].[ProductName] AS [ProductName],
[DyelotsBulkedRecipeHistory].[ProductType] AS [ProductType],
[DyelotsBulkedRecipeHistory].[ProductLot] AS [ProductLot],
[DyelotsBulkedRecipeHistory].[ProductClass] AS [ProductClass],
[DyelotsBulkedRecipeHistory].[SN] AS [SN],
[DyelotsBulkedRecipeHistory].[Amount] AS [Amount],
[DyelotsBulkedRecipeHistory].[Grams] AS [Grams],
[DyelotsBulkedRecipeHistory].[Created] AS [Created],
[DyelotsBulkedRecipeHistory].[DispenseStartTime] AS [DispenseStartTime],
[DyelotsBulkedRecipeHistory].[DispenseEndTime] AS [DispenseEndTime],
[DyelotsBulkedRecipeHistory].[DispenseTime] AS [DispenseTime],
[DyelotsBulkedRecipeHistory].[DispenseGrams] AS [DispenseGrams],
[DyelotsBulkedRecipeHistory].[DispenseResult] AS [DispenseResult],
[DyelotsBulkedRecipeHistory].[LADispenseResult] AS [LADispenseResult],
[DyelotsBulkedRecipeHistory].[Volume] AS [Volume],
[DyelotsBulkedRecipeHistory].[HostRead] AS [HostRead],
[DyelotsBulkedRecipeHistory].[State] AS [State],
[DyelotsBulkedRecipeHistory].[NeedDispense] AS [NeedDispense],
[DyelotsBulkedRecipeHistory].[MixTankNo] AS [MixTankNo],
[DyelotsBulkedRecipeHistory].[DyeWeightTime] AS [DyeWeightTime],
[DyelotsBulkedRecipeHistory].[Process] AS [Process],
[DyelotsBulkedRecipeHistory].[FinalProcess] AS [FinalProcess],
[DyelotsBulkedRecipeHistory].[Dispenser] AS [Dispenser],
[DyelotsBulkedRecipeHistory].[TankNo] AS [TankNo],
[DyelotsBulkedRecipeHistory].[Error] AS [Error],
[DyelotsBulkedRecipeHistory].[BucketNo] AS [BucketNo],
[DyelotsBulkedRecipeHistory].[DID] AS [DID],
[DyelotsBulkedRecipeHistory].[StepDevideNo] AS [StepDevideNo],
[DyelotsBulkedRecipeHistory].[StepTotalBuckets] AS [StepTotalBuckets],
[DyelotsBulkedRecipeHistory].[ReferenceDyelot] AS [ReferenceDyelot],
[DyelotsBulkedRecipeHistory].[DispenseWater] AS [DispenseWater],
[DyelotsBulkedRecipeHistory].[DrainWater] AS [DrainWater],
[DyelotsBulkedRecipeHistory].[DissolveTemperature] AS [DissolveTemperature],
[DyelotsBulkedRecipeHistory].[SchDispenseTime] AS [SchDispenseTime],
[DyelotsBulkedRecipeHistory].[FinishTime] AS [FinishTime],
[DyelotsBulkedRecipeHistory].[UserAccount] AS [UserAccount],
[DyelotsBulkedRecipeHistory].[Updated] AS [Updated],
[DyelotsBulkedRecipeHistory].[Tagged] AS [Tagged],
[DyelotsBulkedRecipeHistory].[TotalBuckets] AS [TotalBuckets],
[DyelotsBulkedRecipeHistory].[Final] AS [Final],
[DyelotsBulkedRecipeHistory].[DissolveManual] AS [DissolveManual],
[DyelotsBulkedRecipeHistory].[DeductTotalBuckets] AS [DeductTotalBuckets],
[DyelotsBulkedRecipeHistory].[DeductBuckets] AS [DeductBuckets]
FROM [dbo].[DyelotsBulkedRecipeHistory] AS [DyelotsBulkedRecipeHistory]</DefiningQuery>
</EntitySet>
<EntitySet Name="DyelotsHistory" EntityType="Self.DyelotsHistory" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[DyelotsHistory].[ID] AS [ID],
[DyelotsHistory].[Dyelot] AS [Dyelot],
[DyelotsHistory].[ReDye] AS [ReDye],
[DyelotsHistory].[Industry] AS [Industry],
[DyelotsHistory].[Machine] AS [Machine],
[DyelotsHistory].[DispenseMachine] AS [DispenseMachine],
[DyelotsHistory].[StartTime] AS [StartTime],
[DyelotsHistory].[EndTime] AS [EndTime],
[DyelotsHistory].[StandardTime] AS [StandardTime],
[DyelotsHistory].[TotalShot] AS [TotalShot],
[DyelotsHistory].[State] AS [State],
[DyelotsHistory].[Blocked] AS [Blocked],
[DyelotsHistory].[Program] AS [Program],
[DyelotsHistory].[Color] AS [Color],
[DyelotsHistory].[CreationTime] AS [CreationTime],
[DyelotsHistory].[Batch] AS [Batch],
[DyelotsHistory].[OrderNo] AS [OrderNo],
[DyelotsHistory].[TotalWeight] AS [TotalWeight],
[DyelotsHistory].[LiquidRatio] AS [LiquidRatio],
[DyelotsHistory].[TotalVolume] AS [TotalVolume],
[DyelotsHistory].[AcidQty] AS [AcidQty],
[DyelotsHistory].[ActualAcidQty] AS [ActualAcidQty],
[DyelotsHistory].[Sequence] AS [Sequence],
[DyelotsHistory].[DispenseMode] AS [DispenseMode],
[DyelotsHistory].[DyeDissolve] AS [DyeDissolve],
[DyelotsHistory].[CheDissolve] AS [CheDissolve],
[DyelotsHistory].[TotalBuckets] AS [TotalBuckets],
[DyelotsHistory].[SpcTotalBuckets] AS [SpcTotalBuckets],
[DyelotsHistory].[DissolveMethod] AS [DissolveMethod],
[DyelotsHistory].[ReferenceDyelot] AS [ReferenceDyelot],
[DyelotsHistory].[Final] AS [Final],
[DyelotsHistory].[Shade] AS [Shade],
[DyelotsHistory].[UserAccount] AS [UserAccount],
[DyelotsHistory].[Updated] AS [Updated]
FROM [dbo].[DyelotsHistory] AS [DyelotsHistory]</DefiningQuery>
</EntitySet>
<EntitySet Name="DyelotsInAuto" EntityType="Self.DyelotsInAuto" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[DyelotsInAuto].[Machine] AS [Machine],
[DyelotsInAuto].[Dyelot] AS [Dyelot],
[DyelotsInAuto].[ReDye] AS [ReDye],
[DyelotsInAuto].[StepNumber] AS [StepNumber],
[DyelotsInAuto].[DyeState] AS [DyeState],
[DyelotsInAuto].[SchDispenseTime] AS [SchDispenseTime],
[DyelotsInAuto].[IsCheck] AS [IsCheck],
[DyelotsInAuto].[Shade] AS [Shade]
FROM [dbo].[DyelotsInAuto] AS [DyelotsInAuto]</DefiningQuery>
</EntitySet>
<EntitySet Name="DyelotsInAutoHistory" EntityType="Self.DyelotsInAutoHistory" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[DyelotsInAutoHistory].[Machine] AS [Machine],
[DyelotsInAutoHistory].[Dyelot] AS [Dyelot],
[DyelotsInAutoHistory].[ReDye] AS [ReDye],
[DyelotsInAutoHistory].[StepNumber] AS [StepNumber],
[DyelotsInAutoHistory].[DyeState] AS [DyeState],
[DyelotsInAutoHistory].[SchDispenseTime] AS [SchDispenseTime],
[DyelotsInAutoHistory].[IsCheck] AS [IsCheck],
[DyelotsInAutoHistory].[Shade] AS [Shade]
FROM [dbo].[DyelotsInAutoHistory] AS [DyelotsInAutoHistory]</DefiningQuery>
</EntitySet>
<EntitySet Name="EventList" EntityType="Self.EventList" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[EventList].[Code] AS [Code],
[EventList].[Description] AS [Description],
[EventList].[Description_BIG] AS [Description_BIG],
[EventList].[Description_GB] AS [Description_GB],
[EventList].[CreateDate] AS [CreateDate]
FROM [dbo].[EventList] AS [EventList]</DefiningQuery>
</EntitySet>
<EntitySet Name="LA571Tanks" EntityType="Self.LA571Tanks" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[LA571Tanks].[Name] AS [Name],
[LA571Tanks].[Station] AS [Station],
[LA571Tanks].[Tank] AS [Tank],
[LA571Tanks].[Volume] AS [Volume],
[LA571Tanks].[State] AS [State]
FROM [dbo].[LA571Tanks] AS [LA571Tanks]</DefiningQuery>
</EntitySet>
<EntitySet Name="LabDyeDslvQueue" EntityType="Self.LabDyeDslvQueue" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[LabDyeDslvQueue].[TankNo] AS [TankNo],
[LabDyeDslvQueue].[Dyelot] AS [Dyelot],
[LabDyeDslvQueue].[ReDye] AS [ReDye],
[LabDyeDslvQueue].[StepNumber] AS [StepNumber],
[LabDyeDslvQueue].[State] AS [State],
[LabDyeDslvQueue].[ShelfID] AS [ShelfID],
[LabDyeDslvQueue].[DistID] AS [DistID],
[LabDyeDslvQueue].[SchDispenseTime] AS [SchDispenseTime],
[LabDyeDslvQueue].[Updated] AS [Updated]
FROM [dbo].[LabDyeDslvQueue] AS [LabDyeDslvQueue]</DefiningQuery>
</EntitySet>
<EntitySet Name="LabDyeDslvQueueHistory" EntityType="Self.LabDyeDslvQueueHistory" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[LabDyeDslvQueueHistory].[TankNo] AS [TankNo],
[LabDyeDslvQueueHistory].[Dyelot] AS [Dyelot],
[LabDyeDslvQueueHistory].[ReDye] AS [ReDye],
[LabDyeDslvQueueHistory].[StepNumber] AS [StepNumber],
[LabDyeDslvQueueHistory].[State] AS [State],
[LabDyeDslvQueueHistory].[ShelfID] AS [ShelfID],
[LabDyeDslvQueueHistory].[DistID] AS [DistID],
[LabDyeDslvQueueHistory].[SchDispenseTime] AS [SchDispenseTime],
[LabDyeDslvQueueHistory].[Created] AS [Created]
FROM [dbo].[LabDyeDslvQueueHistory] AS [LabDyeDslvQueueHistory]</DefiningQuery>
</EntitySet>
<EntitySet Name="MachinesHistory" EntityType="Self.MachinesHistory" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[MachinesHistory].[Machine] AS [Machine],
[MachinesHistory].[DispenseDyelot] AS [DispenseDyelot],
[MachinesHistory].[DispenseReDye] AS [DispenseReDye],
[MachinesHistory].[ChemicalCallOff] AS [ChemicalCallOff],
[MachinesHistory].[ChemicalState] AS [ChemicalState],
[MachinesHistory].[ChemicalTank] AS [ChemicalTank],
[MachinesHistory].[ChemicalTankSize] AS [ChemicalTankSize],
[MachinesHistory].[ChemicalDispenser] AS [ChemicalDispenser],
[MachinesHistory].[ChemicalError] AS [ChemicalError],
[MachinesHistory].[ChemicalCallOff2] AS [ChemicalCallOff2],
[MachinesHistory].[ChemicalState2] AS [ChemicalState2],
[MachinesHistory].[ChemicalTank2] AS [ChemicalTank2],
[MachinesHistory].[DyeCallOff] AS [DyeCallOff],
[MachinesHistory].[DyeState] AS [DyeState],
[MachinesHistory].[DyeTank] AS [DyeTank],
[MachinesHistory].[DyeTankSize] AS [DyeTankSize],
[MachinesHistory].[DyeDispenser] AS [DyeDispenser],
[MachinesHistory].[DyeError] AS [DyeError],
[MachinesHistory].[PowderCallOff] AS [PowderCallOff],
[MachinesHistory].[PowderState] AS [PowderState],
[MachinesHistory].[PowderTank] AS [PowderTank],
[MachinesHistory].[PowderTankSize] AS [PowderTankSize],
[MachinesHistory].[PowderDispenser] AS [PowderDispenser],
[MachinesHistory].[PowderError] AS [PowderError],
[MachinesHistory].[HostRead] AS [HostRead],
[MachinesHistory].[DyeDispenseDyelot] AS [DyeDispenseDyelot],
[MachinesHistory].[DyeDispenseReDye] AS [DyeDispenseReDye],
[MachinesHistory].[CheDispenseDyelot] AS [CheDispenseDyelot],
[MachinesHistory].[CheDispenseReDye] AS [CheDispenseReDye],
[MachinesHistory].[PwdDispenseDyelot] AS [PwdDispenseDyelot],
[MachinesHistory].[PwdDispenseReDye] AS [PwdDispenseReDye],
[MachinesHistory].[Updated] AS [Updated]
FROM [dbo].[MachinesHistory] AS [MachinesHistory]</DefiningQuery>
</EntitySet>
<EntitySet Name="MachinesHistoryOld" EntityType="Self.MachinesHistoryOld" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[MachinesHistoryOld].[Machine] AS [Machine],
[MachinesHistoryOld].[DispenseDyelot] AS [DispenseDyelot],
[MachinesHistoryOld].[DispenseReDye] AS [DispenseReDye],
[MachinesHistoryOld].[ChemicalCallOff] AS [ChemicalCallOff],
[MachinesHistoryOld].[ChemicalState] AS [ChemicalState],
[MachinesHistoryOld].[ChemicalTank] AS [ChemicalTank],
[MachinesHistoryOld].[ChemicalTankSize] AS [ChemicalTankSize],
[MachinesHistoryOld].[ChemicalDispenser] AS [ChemicalDispenser],
[MachinesHistoryOld].[ChemicalError] AS [ChemicalError],
[MachinesHistoryOld].[ChemicalCallOff2] AS [ChemicalCallOff2],
[MachinesHistoryOld].[ChemicalState2] AS [ChemicalState2],
[MachinesHistoryOld].[ChemicalTank2] AS [ChemicalTank2],
[MachinesHistoryOld].[DyeCallOff] AS [DyeCallOff],
[MachinesHistoryOld].[DyeState] AS [DyeState],
[MachinesHistoryOld].[DyeTank] AS [DyeTank],
[MachinesHistoryOld].[DyeTankSize] AS [DyeTankSize],
[MachinesHistoryOld].[DyeDispenser] AS [DyeDispenser],
[MachinesHistoryOld].[DyeError] AS [DyeError],
[MachinesHistoryOld].[PowderCallOff] AS [PowderCallOff],
[MachinesHistoryOld].[PowderState] AS [PowderState],
[MachinesHistoryOld].[PowderTank] AS [PowderTank],
[MachinesHistoryOld].[PowderTankSize] AS [PowderTankSize],
[MachinesHistoryOld].[PowderDispenser] AS [PowderDispenser],
[MachinesHistoryOld].[PowderError] AS [PowderError],
[MachinesHistoryOld].[HostRead] AS [HostRead],
[MachinesHistoryOld].[DyeDispenseDyelot] AS [DyeDispenseDyelot],
[MachinesHistoryOld].[DyeDispenseReDye] AS [DyeDispenseReDye],
[MachinesHistoryOld].[Updated] AS [Updated]
FROM [dbo].[MachinesHistoryOld] AS [MachinesHistoryOld]</DefiningQuery>
</EntitySet>
<EntitySet Name="MachineStateHistory" EntityType="Self.MachineStateHistory" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[MachineStateHistory].[Machine] AS [Machine],
[MachineStateHistory].[DispenseDyelot] AS [DispenseDyelot],
[MachineStateHistory].[DispenseReDye] AS [DispenseReDye],
[MachineStateHistory].[ChemicalCallOff] AS [ChemicalCallOff],
[MachineStateHistory].[ChemicalState] AS [ChemicalState],
[MachineStateHistory].[ChemicalTank] AS [ChemicalTank],
[MachineStateHistory].[ChemicalTankSize] AS [ChemicalTankSize],
[MachineStateHistory].[ChemicalDispenser] AS [ChemicalDispenser],
[MachineStateHistory].[ChemicalError] AS [ChemicalError],
[MachineStateHistory].[ChemicalTargetSelect] AS [ChemicalTargetSelect],
[MachineStateHistory].[DyeCallOff] AS [DyeCallOff],
[MachineStateHistory].[DyeState] AS [DyeState],
[MachineStateHistory].[DyeTank] AS [DyeTank],
[MachineStateHistory].[DyeTankSize] AS [DyeTankSize],
[MachineStateHistory].[DyeDispenser] AS [DyeDispenser],
[MachineStateHistory].[DyeError] AS [DyeError],
[MachineStateHistory].[PowderCallOff] AS [PowderCallOff],
[MachineStateHistory].[PowderState] AS [PowderState],
[MachineStateHistory].[PowderTank] AS [PowderTank],
[MachineStateHistory].[PowderTankSize] AS [PowderTankSize],
[MachineStateHistory].[PowderDispenser] AS [PowderDispenser],
[MachineStateHistory].[PowderError] AS [PowderError],
[MachineStateHistory].[HostRead] AS [HostRead],
[MachineStateHistory].[Updated] AS [Updated]
FROM [dbo].[MachineStateHistory] AS [MachineStateHistory]</DefiningQuery>
</EntitySet>
<EntitySet Name="ManualWeightQueue" EntityType="Self.ManualWeightQueue" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[ManualWeightQueue].[Dyelot] AS [Dyelot],
[ManualWeightQueue].[ReDye] AS [ReDye],
[ManualWeightQueue].[StepNumber] AS [StepNumber],
[ManualWeightQueue].[State] AS [State],
[ManualWeightQueue].[CallTime] AS [CallTime],
[ManualWeightQueue].[Module] AS [Module],
[ManualWeightQueue].[ModuleName] AS [ModuleName],
[ManualWeightQueue].[Area] AS [Area],
[ManualWeightQueue].[EndTime] AS [EndTime],
[ManualWeightQueue].[Updated] AS [Updated]
FROM [dbo].[ManualWeightQueue] AS [ManualWeightQueue]</DefiningQuery>
</EntitySet>
<EntitySet Name="ManualWeightQueueHistory" EntityType="Self.ManualWeightQueueHistory" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[ManualWeightQueueHistory].[Dyelot] AS [Dyelot],
[ManualWeightQueueHistory].[ReDye] AS [ReDye],
[ManualWeightQueueHistory].[StepNumber] AS [StepNumber],
[ManualWeightQueueHistory].[State] AS [State],
[ManualWeightQueueHistory].[CallTime] AS [CallTime],
[ManualWeightQueueHistory].[Module] AS [Module],
[ManualWeightQueueHistory].[ModuleName] AS [ModuleName],
[ManualWeightQueueHistory].[Area] AS [Area],
[ManualWeightQueueHistory].[EndTime] AS [EndTime],
[ManualWeightQueueHistory].[Created] AS [Created]
FROM [dbo].[ManualWeightQueueHistory] AS [ManualWeightQueueHistory]</DefiningQuery>
</EntitySet>
<EntitySet Name="PartsStatus" EntityType="Self.PartsStatus" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[PartsStatus].[CUST_CODE] AS [CUST_CODE],
[PartsStatus].[Dispenser] AS [Dispenser],
[PartsStatus].[Device] AS [Device],
[PartsStatus].[PartsCode] AS [PartsCode],
[PartsStatus].[PartsName] AS [PartsName],
[PartsStatus].[PartsType] AS [PartsType],
[PartsStatus].[Description] AS [Description],
[PartsStatus].[FactoryValue] AS [FactoryValue],
[PartsStatus].[UsedCount] AS [UsedCount],
[PartsStatus].[RunningTime] AS [RunningTime],
[PartsStatus].[ResetDate] AS [ResetDate],
[PartsStatus].[WarnDate] AS [WarnDate],
[PartsStatus].[UpdateDate] AS [UpdateDate],
[PartsStatus].[CreateDate] AS [CreateDate],
[PartsStatus].[UserAccount] AS [UserAccount]
FROM [dbo].[PartsStatus] AS [PartsStatus]</DefiningQuery>
</EntitySet>
<EntitySet Name="PartsStatusHistory" EntityType="Self.PartsStatusHistory" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[PartsStatusHistory].[CUST_CODE] AS [CUST_CODE],
[PartsStatusHistory].[Dispenser] AS [Dispenser],
[PartsStatusHistory].[Device] AS [Device],
[PartsStatusHistory].[PartsCode] AS [PartsCode],
[PartsStatusHistory].[PartsName] AS [PartsName],
[PartsStatusHistory].[PartsType] AS [PartsType],
[PartsStatusHistory].[Description] AS [Description],
[PartsStatusHistory].[FactoryValue] AS [FactoryValue],
[PartsStatusHistory].[UsedCount] AS [UsedCount],
[PartsStatusHistory].[RunningTime] AS [RunningTime],
[PartsStatusHistory].[ResetDate] AS [ResetDate],
[PartsStatusHistory].[WarnDate] AS [WarnDate],
[PartsStatusHistory].[UpdateDate] AS [UpdateDate],
[PartsStatusHistory].[CreateDate] AS [CreateDate],
[PartsStatusHistory].[UserAccount] AS [UserAccount]
FROM [dbo].[PartsStatusHistory] AS [PartsStatusHistory]</DefiningQuery>
</EntitySet>
<EntitySet Name="PipeRefill" EntityType="Self.PipeRefill" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[PipeRefill].[ProductCode] AS [ProductCode],
[PipeRefill].[ProductName] AS [ProductName],
[PipeRefill].[ProductType] AS [ProductType],
[PipeRefill].[ProductLot] AS [ProductLot],
[PipeRefill].[Dispenser] AS [Dispenser],
[PipeRefill].[No] AS [No],
[PipeRefill].[Qty] AS [Qty],
[PipeRefill].[Percentage] AS [Percentage],
[PipeRefill].[RefillTime] AS [RefillTime],
[PipeRefill].[AlarmTime] AS [AlarmTime],
[PipeRefill].[Updated] AS [Updated]
FROM [dbo].[PipeRefill] AS [PipeRefill]</DefiningQuery>
</EntitySet>
<EntitySet Name="PipeRefillHistory" EntityType="Self.PipeRefillHistory" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[PipeRefillHistory].[ProductCode] AS [ProductCode],
[PipeRefillHistory].[ProductName] AS [ProductName],
[PipeRefillHistory].[ProductType] AS [ProductType],
[PipeRefillHistory].[ProductLot] AS [ProductLot],
[PipeRefillHistory].[Dispenser] AS [Dispenser],
[PipeRefillHistory].[No] AS [No],
[PipeRefillHistory].[Qty] AS [Qty],
[PipeRefillHistory].[Percentage] AS [Percentage],
[PipeRefillHistory].[RefillTime] AS [RefillTime],
[PipeRefillHistory].[AlarmTime] AS [AlarmTime],
[PipeRefillHistory].[Created] AS [Created]
FROM [dbo].[PipeRefillHistory] AS [PipeRefillHistory]</DefiningQuery>
</EntitySet>
<EntitySet Name="Pipes" EntityType="Self.Pipes" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[Pipes].[ProductCode] AS [ProductCode],
[Pipes].[ProductName] AS [ProductName],
[Pipes].[ProductType] AS [ProductType],
[Pipes].[ProductLot] AS [ProductLot],
[Pipes].[Dispenser] AS [Dispenser],
[Pipes].[Enabled] AS [Enabled],
[Pipes].[No] AS [No],
[Pipes].[MinLimit] AS [MinLimit],
[Pipes].[MaxLimit] AS [MaxLimit],
[Pipes].[MinAction] AS [MinAction],
[Pipes].[MaxAction] AS [MaxAction],
[Pipes].[Conc] AS [Conc],
[Pipes].[Gravity] AS [Gravity],
[Pipes].[Alarm] AS [Alarm]
FROM [dbo].[Pipes] AS [Pipes]</DefiningQuery>
</EntitySet>
<EntitySet Name="ProductLocation" EntityType="Self.ProductLocation" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[ProductLocation].[ProductCode] AS [ProductCode],
[ProductLocation].[ProductName] AS [ProductName],
[ProductLocation].[Type] AS [Type],
[ProductLocation].[Dispenser] AS [Dispenser],
[ProductLocation].[Position] AS [Position],
[ProductLocation].[TablePosition] AS [TablePosition],
[ProductLocation].[StockDate] AS [StockDate],
[ProductLocation].[StockUsage] AS [StockUsage],
[ProductLocation].[StockOnHand] AS [StockOnHand],
[ProductLocation].[Alarm] AS [Alarm],
[ProductLocation].[AlarmTime] AS [AlarmTime],
[ProductLocation].[Enabled] AS [Enabled]
FROM [dbo].[ProductLocation] AS [ProductLocation]</DefiningQuery>
</EntitySet>
<EntitySet Name="ProductLocationHistory" EntityType="Self.ProductLocationHistory" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[ProductLocationHistory].[ProductCode] AS [ProductCode],
[ProductLocationHistory].[ProductName] AS [ProductName],
[ProductLocationHistory].[Type] AS [Type],
[ProductLocationHistory].[Dispenser] AS [Dispenser],
[ProductLocationHistory].[Position] AS [Position],
[ProductLocationHistory].[TablePosition] AS [TablePosition],
[ProductLocationHistory].[StockDate] AS [StockDate],
[ProductLocationHistory].[StockUsage] AS [StockUsage],
[ProductLocationHistory].[StockOnHand] AS [StockOnHand],
[ProductLocationHistory].[Alarm] AS [Alarm],
[ProductLocationHistory].[AlarmTime] AS [AlarmTime],
[ProductLocationHistory].[Enabled] AS [Enabled],
[ProductLocationHistory].[Updated] AS [Updated]
FROM [dbo].[ProductLocationHistory] AS [ProductLocationHistory]</DefiningQuery>
</EntitySet>
<EntitySet Name="RecipeDeduct" EntityType="Self.RecipeDeduct" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[RecipeDeduct].[Dyelot] AS [Dyelot],
[RecipeDeduct].[ReDye] AS [ReDye],
[RecipeDeduct].[StepNumber] AS [StepNumber],
[RecipeDeduct].[Station] AS [Station],
[RecipeDeduct].[ShotNo] AS [ShotNo],
[RecipeDeduct].[ProductCode] AS [ProductCode],
[RecipeDeduct].[DeductTime] AS [DeductTime],
[RecipeDeduct].[DeductGrams] AS [DeductGrams],
[RecipeDeduct].[BucketNo] AS [BucketNo],
[RecipeDeduct].[DID] AS [DID],
[RecipeDeduct].[UserAccount] AS [UserAccount]
FROM [dbo].[RecipeDeduct] AS [RecipeDeduct]</DefiningQuery>
</EntitySet>
<EntitySet Name="RecipeDeductHistory" EntityType="Self.RecipeDeductHistory" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[RecipeDeductHistory].[Dyelot] AS [Dyelot],
[RecipeDeductHistory].[ReDye] AS [ReDye],
[RecipeDeductHistory].[StepNumber] AS [StepNumber],
[RecipeDeductHistory].[Station] AS [Station],
[RecipeDeductHistory].[ShotNo] AS [ShotNo],
[RecipeDeductHistory].[ProductCode] AS [ProductCode],
[RecipeDeductHistory].[DeductTime] AS [DeductTime],
[RecipeDeductHistory].[DeductGrams] AS [DeductGrams],
[RecipeDeductHistory].[BucketNo] AS [BucketNo],
[RecipeDeductHistory].[DID] AS [DID],
[RecipeDeductHistory].[UserAccount] AS [UserAccount],
[RecipeDeductHistory].[Updated] AS [Updated]
FROM [dbo].[RecipeDeductHistory] AS [RecipeDeductHistory]</DefiningQuery>
</EntitySet>
<EntitySet Name="RecipeDetail" EntityType="Self.RecipeDetail" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[RecipeDetail].[RcpCode] AS [RcpCode],
[RecipeDetail].[ProductCode] AS [ProductCode],
[RecipeDetail].[ProductName] AS [ProductName],
[RecipeDetail].[Conc] AS [Conc],
[RecipeDetail].[HostRead] AS [HostRead],
[RecipeDetail].[Created] AS [Created]
FROM [dbo].[RecipeDetail] AS [RecipeDetail]</DefiningQuery>
</EntitySet>
<EntitySet Name="Recipes" EntityType="Self.Recipes" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[Recipes].[RcpCode] AS [RcpCode],
[Recipes].[RcpName] AS [RcpName],
[Recipes].[Unit] AS [Unit],
[Recipes].[Created] AS [Created]
FROM [dbo].[Recipes] AS [Recipes]</DefiningQuery>
</EntitySet>
<EntitySet Name="RFIDRecordQueue" EntityType="Self.RFIDRecordQueue" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[RFIDRecordQueue].[Station] AS [Station],
[RFIDRecordQueue].[Dyelot] AS [Dyelot],
[RFIDRecordQueue].[ReDye] AS [ReDye],
[RFIDRecordQueue].[StepNumber] AS [StepNumber],
[RFIDRecordQueue].[Machine] AS [Machine],
[RFIDRecordQueue].[DevideNo] AS [DevideNo],
[RFIDRecordQueue].[TotalBuckets] AS [TotalBuckets],
[RFIDRecordQueue].[State] AS [State],
[RFIDRecordQueue].[BucketNo] AS [BucketNo],
[RFIDRecordQueue].[DID] AS [DID],
[RFIDRecordQueue].[Source] AS [Source],
[RFIDRecordQueue].[Dest] AS [Dest],
[RFIDRecordQueue].[ProductCode] AS [ProductCode],
[RFIDRecordQueue].[Updated] AS [Updated]
FROM [dbo].[RFIDRecordQueue] AS [RFIDRecordQueue]</DefiningQuery>
</EntitySet>
<EntitySet Name="RFIDRecordQueueHistory" EntityType="Self.RFIDRecordQueueHistory" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[RFIDRecordQueueHistory].[Station] AS [Station],
[RFIDRecordQueueHistory].[Dyelot] AS [Dyelot],
[RFIDRecordQueueHistory].[ReDye] AS [ReDye],
[RFIDRecordQueueHistory].[StepNumber] AS [StepNumber],
[RFIDRecordQueueHistory].[Machine] AS [Machine],
[RFIDRecordQueueHistory].[DevideNo] AS [DevideNo],
[RFIDRecordQueueHistory].[TotalBuckets] AS [TotalBuckets],
[RFIDRecordQueueHistory].[State] AS [State],
[RFIDRecordQueueHistory].[BucketNo] AS [BucketNo],
[RFIDRecordQueueHistory].[DID] AS [DID],
[RFIDRecordQueueHistory].[ProductCode] AS [ProductCode],
[RFIDRecordQueueHistory].[Created] AS [Created]
FROM [dbo].[RFIDRecordQueueHistory] AS [RFIDRecordQueueHistory]</DefiningQuery>
</EntitySet>
<EntitySet Name="SampleDyeDslvQueue" EntityType="Self.SampleDyeDslvQueue" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[SampleDyeDslvQueue].[TankNo] AS [TankNo],
[SampleDyeDslvQueue].[Dyelot] AS [Dyelot],
[SampleDyeDslvQueue].[ReDye] AS [ReDye],
[SampleDyeDslvQueue].[StepNumber] AS [StepNumber],
[SampleDyeDslvQueue].[State] AS [State],
[SampleDyeDslvQueue].[PassAuto] AS [PassAuto],
[SampleDyeDslvQueue].[ShelfID] AS [ShelfID],
[SampleDyeDslvQueue].[Machine] AS [Machine],
[SampleDyeDslvQueue].[SchDispenseTime] AS [SchDispenseTime],
[SampleDyeDslvQueue].[Updated] AS [Updated]
FROM [dbo].[SampleDyeDslvQueue] AS [SampleDyeDslvQueue]</DefiningQuery>
</EntitySet>
<EntitySet Name="SampleDyeDslvQueueHistory" EntityType="Self.SampleDyeDslvQueueHistory" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[SampleDyeDslvQueueHistory].[TankNo] AS [TankNo],
[SampleDyeDslvQueueHistory].[Dyelot] AS [Dyelot],
[SampleDyeDslvQueueHistory].[ReDye] AS [ReDye],
[SampleDyeDslvQueueHistory].[StepNumber] AS [StepNumber],
[SampleDyeDslvQueueHistory].[State] AS [State],
[SampleDyeDslvQueueHistory].[PassAuto] AS [PassAuto],
[SampleDyeDslvQueueHistory].[ShelfID] AS [ShelfID],
[SampleDyeDslvQueueHistory].[Machine] AS [Machine],
[SampleDyeDslvQueueHistory].[SchDispenseTime] AS [SchDispenseTime],
[SampleDyeDslvQueueHistory].[Created] AS [Created]
FROM [dbo].[SampleDyeDslvQueueHistory] AS [SampleDyeDslvQueueHistory]</DefiningQuery>
</EntitySet>
<EntitySet Name="ScheduledDyelot" EntityType="Self.ScheduledDyelot" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[ScheduledDyelot].[ID] AS [ID],
[ScheduledDyelot].[Dyelot] AS [Dyelot],
[ScheduledDyelot].[ReDye] AS [ReDye],
[ScheduledDyelot].[StepNumber] AS [StepNumber],
[ScheduledDyelot].[Process] AS [Process],
[ScheduledDyelot].[Dispenser] AS [Dispenser],
[ScheduledDyelot].[Machine] AS [Machine],
[ScheduledDyelot].[TankNo] AS [TankNo],
[ScheduledDyelot].[ScheduledTime] AS [ScheduledTime],
[ScheduledDyelot].[Checked] AS [Checked],
[ScheduledDyelot].[UserAccount] AS [UserAccount]
FROM [dbo].[ScheduledDyelot] AS [ScheduledDyelot]</DefiningQuery>
</EntitySet>
<EntitySet Name="ScheduledDyelotHistory" EntityType="Self.ScheduledDyelotHistory" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[ScheduledDyelotHistory].[ID] AS [ID],
[ScheduledDyelotHistory].[Dyelot] AS [Dyelot],
[ScheduledDyelotHistory].[ReDye] AS [ReDye],
[ScheduledDyelotHistory].[StepNumber] AS [StepNumber],
[ScheduledDyelotHistory].[Process] AS [Process],
[ScheduledDyelotHistory].[Dispenser] AS [Dispenser],
[ScheduledDyelotHistory].[Machine] AS [Machine],
[ScheduledDyelotHistory].[TankNo] AS [TankNo],
[ScheduledDyelotHistory].[ScheduledTime] AS [ScheduledTime],
[ScheduledDyelotHistory].[Checked] AS [Checked],
[ScheduledDyelotHistory].[UserAccount] AS [UserAccount],
[ScheduledDyelotHistory].[Updated] AS [Updated]
FROM [dbo].[ScheduledDyelotHistory] AS [ScheduledDyelotHistory]</DefiningQuery>
</EntitySet>
<EntitySet Name="Shelf" EntityType="Self.Shelf" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[Shelf].[ShelfID] AS [ShelfID],
[Shelf].[MaxLayer] AS [MaxLayer],
[Shelf].[MaxPosition] AS [MaxPosition]
FROM [dbo].[Shelf] AS [Shelf]</DefiningQuery>
</EntitySet>
<EntitySet Name="TagShelf" EntityType="Self.TagShelf" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[TagShelf].[BucketNo] AS [BucketNo],
[TagShelf].[Dyelot] AS [Dyelot],
[TagShelf].[Machines] AS [Machines],
[TagShelf].[TagManagerNo] AS [TagManagerNo],
[TagShelf].[ReDye] AS [ReDye],
[TagShelf].[StepNumber] AS [StepNumber],
[TagShelf].[DID] AS [DID],
[TagShelf].[TotalBuckets] AS [TotalBuckets],
[TagShelf].[DevideNo] AS [DevideNo],
[TagShelf].[OnShelfTime] AS [OnShelfTime]
FROM [dbo].[TagShelf] AS [TagShelf]</DefiningQuery>
</EntitySet>
</EntityContainer>
</Schema>
</edmx:StorageModels>
<!-- CSDL content -->
<edmx:ConceptualModels>
<Schema Namespace="BatchDyeingCentralModel" 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="DBRDetail">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="Redye" />
<PropertyRef Name="StepNumber" />
<PropertyRef Name="ProductCode" />
<PropertyRef Name="DispenseStartTime" />
</Key>
<Property Name="ID" Type="Int64" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="Redye" Type="Int32" Nullable="false" />
<Property Name="StepNumber" Type="Int32" Nullable="false" />
<Property Name="ProductCode" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ProductName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="Grams" Type="Double" />
<Property Name="DispenseGrams" Type="Double" />
<Property Name="Buckets" Type="Int32" />
<Property Name="DispenseStartTime" Type="DateTime" Nullable="false" Precision="3" />
<Property Name="DispenseEndTime" Type="DateTime" Precision="3" />
<Property Name="DispenseSeconds" Type="Int32" />
<Property Name="ProductStartTime" Type="DateTime" Precision="3" />
<Property Name="ProductEndTime" Type="DateTime" Precision="3" />
<Property Name="ProductSeconds" Type="Int32" />
<Property Name="LDXGrams" Type="Double" />
<Property Name="LDXBuckets" Type="Int32" />
<Property Name="IsDeduct" Type="Int32" />
<Property Name="DeductBox" Type="Int32" />
<Property Name="BoxNo" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="DispenseResult" Type="Int32" />
<Property Name="BucketWeight" Type="Double" />
</EntityType>
<EntityType Name="DyelotHead">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
<Property Name="StartTime" Type="DateTime" Precision="3" />
<Property Name="EndTime" Type="DateTime" Precision="3" />
<Property Name="CreationTime" Type="DateTime" Precision="3" />
<Property Name="TotalVolume" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="DispenseTimes" Type="Int32" />
<Property Name="CurrDispTime" Type="Int32" />
<Property Name="CurrTotalVolume" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="State" Type="Int32" />
<Property Name="Sequence" Type="Int16" />
<Property Name="Color" Type="Int32" />
<Property Name="PickUp" Type="Double" />
<Property Name="GramsYard" Type="Double" />
<Property Name="TotalLength" Type="Double" />
<Property Name="FabricWidth" Type="Double" />
<Property Name="UserAccount" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="RefTotalVolume" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="RestVolume" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="LFDefine" Type="String" MaxLength="5" FixedLength="false" Unicode="false" />
<Property Name="Machine" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="Blocked" Type="Int32" />
<Property Name="Industry" Type="Int32" />
<Property Name="Volume" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="StandardTime" Type="Double" />
<Property Name="LFArt" Type="Int32" />
<Property Name="RemainVolume" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="FinalPickUp" Type="Double" />
<Property Name="LFWasher" Type="Int32" />
<Property Name="ActualTotalVolume" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="ActualTotalLength" Type="Double" />
<Property Name="UsedPickup" Type="Double" />
<Property Name="RemainPadderVol" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="ExecuteTime" Type="DateTime" Precision="3" />
<Property Name="RealAdd1" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="RealAdd2" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="RealAdd3" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="RealAdd4" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="RealAdd5" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="PromptAdd1" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="PromptAdd2" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="PromptAdd3" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="PromptAdd4" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="PromptAdd5" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="StartButton" Type="Int32" />
<Property Name="EndButton" Type="Int32" />
<Property Name="MergerVol" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
</EntityType>
<EntityType Name="Dyelots">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
<Property Name="Industry" Type="Int32" />
<Property Name="Machine" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="DispenseMachine" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="StartTime" Type="DateTime" Precision="3" />
<Property Name="EndTime" Type="DateTime" Precision="3" />
<Property Name="StandardTime" Type="Double" />
<Property Name="TotalShot" Type="Int32" />
<Property Name="State" Type="Int16" />
<Property Name="Blocked" Type="Int16" />
<Property Name="Program" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="Color" Type="Int32" />
<Property Name="CreationTime" Type="DateTime" Precision="3" />
<Property Name="Batch" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="OrderNo" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="TotalWeight" Type="Double" />
<Property Name="LiquidRatio" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="TotalVolume" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="AcidQty" Type="Int32" />
<Property Name="ActualAcidQty" Type="Int32" />
<Property Name="Sequence" Type="Int32" />
<Property Name="DispenseMode" Type="Int32" />
<Property Name="DyeDissolve" Type="Int32" />
<Property Name="CheDissolve" Type="Int32" />
<Property Name="TotalBuckets" Type="Int32" />
<Property Name="SpcTotalBuckets" Type="Int32" />
<Property Name="DissolveMethod" Type="Int32" />
<Property Name="ReferenceDyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="Final" Type="Int32" />
<Property Name="Shade" Type="Int32" />
<Property Name="OnSchedule" Type="Int32" />
<Property Name="DyeStep" Type="Int32" />
<Property Name="PowderBlocked" Type="Int16" />
<Property Name="PowderOnSchedule" Type="Int32" />
<Property Name="PowderStep" Type="Int32" />
<Property Name="DispensedVolume" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="Times" Type="Int32" />
<Property Name="UserAccount" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="FabricName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
<Property Name="ColorNo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="ColorName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="CustomerName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="CUSTOMER_CODE" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="FABRIC_CODE" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="GRAMS_YARD" Type="Double" />
<Property Name="ModifyDT" Type="DateTime" Precision="3" />
<Property Name="CreateDT" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="DyelotsBulkedRecipe">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
<Property Name="StepNumber" Type="Int32" />
<Property Name="Station" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="DevideNo" Type="Int32" />
<Property Name="ShotNo" Type="Int32" />
<Property Name="ProductCode" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="ProductName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="ProductType" Type="Int32" />
<Property Name="ProductLot" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="ProductClass" Type="Int32" />
<Property Name="SN" Type="Int32" />
<Property Name="Amount" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="Grams" Type="Double" />
<Property Name="Created" Type="DateTime" Precision="3" />
<Property Name="DispenseStartTime" Type="DateTime" Precision="3" />
<Property Name="DispenseEndTime" Type="DateTime" Precision="3" />
<Property Name="DispenseTime" Type="DateTime" Precision="3" />
<Property Name="DispenseGrams" Type="Double" />
<Property Name="DispenseResult" Type="Int32" />
<Property Name="LADispenseResult" Type="Int32" />
<Property Name="Volume" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="HostRead" Type="Int32" />
<Property Name="State" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="NeedDispense" Type="Int32" />
<Property Name="MixTankNo" Type="Int32" />
<Property Name="DyeWeightTime" Type="DateTime" Precision="3" />
<Property Name="Process" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="FinalProcess" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="Dispenser" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="TankNo" Type="Int32" />
<Property Name="Error" Type="Int32" />
<Property Name="BucketNo" Type="Int32" />
<Property Name="DID" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="StepDevideNo" Type="Int32" />
<Property Name="StepTotalBuckets" Type="Int32" />
<Property Name="ReferenceDyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="DispenseWater" Type="Int32" />
<Property Name="DrainWater" Type="Int32" />
<Property Name="DissolveTemperature" Type="Int32" />
<Property Name="SchDispenseTime" Type="DateTime" Precision="3" />
<Property Name="UserAccount" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="TargetGrams" Type="Double" />
<Property Name="ActualGrams" Type="Double" />
<Property Name="FinishTime" Type="DateTime" Precision="3" />
<Property Name="Tagged" Type="String" MaxLength="1" FixedLength="true" Unicode="false" />
<Property Name="TotalBuckets" Type="Int32" />
<Property Name="Final" Type="Int32" />
<Property Name="DissolveManual" Type="Int32" />
<Property Name="Concentration" Type="Double" />
<Property Name="DeductTotalBuckets" Type="Int32" />
<Property Name="DeductBuckets" Type="Int32" />
<Property Name="Flow" Type="Int32" />
<Property Name="CallTime" Type="DateTime" Precision="3" />
<Property Name="BreakGrams" Type="Double" />
<Property Name="RecoveryAction" Type="Int32" />
<Property Name="SmallDye" Type="Int32" />
<Property Name="PrepareTank" Type="String" MaxLength="32" FixedLength="false" Unicode="false" />
<Property Name="DeductBox" Type="Int32" />
<Property Name="Shade" Type="Int32" />
<Property Name="stuffid" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="tfname" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="tftips" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
<Property Name="program" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="dosage" Type="Decimal" Precision="7" Scale="3" />
<Property Name="groupid" Type="String" MaxLength="8" FixedLength="false" Unicode="false" />
</EntityType>
<EntityType Name="Machines">
<Key>
<PropertyRef Name="Name" />
</Key>
<Property Name="Name" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="DispenseDyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="DispenseReDye" Type="Int32" />
<Property Name="RescheduleGroup" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="Connect" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="ChemicalCallOff" Type="Int32" />
<Property Name="ChemicalState" Type="Int32" />
<Property Name="ChemicalTank" Type="Int32" />
<Property Name="ChemicalTankSize" Type="Int32" />
<Property Name="ChemicalEnabled" Type="Int32" />
<Property Name="ChemicalStatus" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
<Property Name="ChemicalDispenser" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="ChemicalError" Type="Int32" />
<Property Name="ChemicalDistribute" Type="Int32" />
<Property Name="ChemicalStation" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="ChemicalDevideNo" Type="Int32" />
<Property Name="ChemicalDispensedTime" Type="DateTime" Precision="3" />
<Property Name="ChemicalDefaultTank" Type="Int32" />
<Property Name="ChemicalDissolving" Type="Int32" />
<Property Name="ChemicalResp" Type="Int32" />
<Property Name="ChemicalCallOff2" Type="Int32" />
<Property Name="ChemicalState2" Type="Int32" />
<Property Name="ChemicalTank2" Type="Int32" />
<Property Name="ChemicalStatus2" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
<Property Name="ChemicalResp2" Type="Int32" />
<Property Name="ChemicalTargetSelect" Type="Int32" />
<Property Name="ChemicalTargetMachine" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="DyeCallOff" Type="Int32" />
<Property Name="DyeState" Type="Int32" />
<Property Name="DyeTank" Type="Int32" />
<Property Name="DyeTankSize" Type="Int32" />
<Property Name="DyeEnabled" Type="Int32" />
<Property Name="DyeStatus" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
<Property Name="DyeDispenser" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="DyeError" Type="Int32" />
<Property Name="DyeDistribute" Type="Int32" />
<Property Name="DyeStation" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="DyeDevideNo" Type="Int32" />
<Property Name="DyeDispensedTime" Type="DateTime" Precision="3" />
<Property Name="DyeDefaultTank" Type="Int32" />
<Property Name="DyeResp" Type="Int32" />
<Property Name="DyeDispenseDyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="DyeDispenseReDye" Type="Int32" />
<Property Name="DyeDissolving" Type="Int32" />
<Property Name="PowderCallOff" Type="Int32" />
<Property Name="PowderState" Type="Int32" />
<Property Name="PowderTank" Type="Int32" />
<Property Name="PowderTankSize" Type="Int32" />
<Property Name="PowderEnabled" Type="Int32" />
<Property Name="PowderStatus" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
<Property Name="PowderDispenser" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="PowderError" Type="Int32" />
<Property Name="PowderStation" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="PowderDevideNo" Type="Int32" />
<Property Name="PowderDispensedTime" Type="DateTime" Precision="3" />
<Property Name="PowderDefaultTank" Type="Int32" />
<Property Name="PowderResp" Type="Int32" />
<Property Name="HostRead" Type="Int32" />
<Property Name="OnSystem" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
<Property Name="SystemID" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
<Property Name="SchDispenseTime" Type="DateTime" Precision="3" />
<Property Name="UserAccount" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="AutoMode" Type="Int32" />
<Property Name="UseOnScheduling" Type="Int32" />
<Property Name="CheDispenseDyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="CheDispenseReDye" Type="Int32" />
<Property Name="SampleDye" Type="Int32" />
<Property Name="OnDevice" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
<Property Name="PwdDispenseDyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="PwdDispenseReDye" Type="Int32" />
</EntityType>
<EntityType Name="MachineState">
<Key>
<PropertyRef Name="Machine" />
</Key>
<Property Name="Machine" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="DispenseDyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="DispenseReDye" Type="Int32" />
<Property Name="ChemicalCallOff" Type="Int32" />
<Property Name="ChemicalState" Type="Int32" />
<Property Name="ChemicalTank" Type="Int32" />
<Property Name="ChemicalTankSize" Type="Int32" />
<Property Name="ChemicalDispenser" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="ChemicalError" Type="Int32" />
<Property Name="ChemicalTargetSelect" Type="Int32" />
<Property Name="DyeCallOff" Type="Int32" />
<Property Name="DyeState" Type="Int32" />
<Property Name="DyeTank" Type="Int32" />
<Property Name="DyeTankSize" Type="Int32" />
<Property Name="DyeDispenser" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="DyeError" Type="Int32" />
<Property Name="PowderCallOff" Type="Int32" />
<Property Name="PowderState" Type="Int32" />
<Property Name="PowderTank" Type="Int32" />
<Property Name="PowderTankSize" Type="Int32" />
<Property Name="PowderDispenser" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="PowderError" Type="Int32" />
<Property Name="HostRead" Type="Int32" />
</EntityType>
<EntityType Name="SchedulingLog">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="Redye" />
</Key>
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
<Property Name="Redye" Type="Int32" Nullable="false" />
<Property Name="Machine" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
<Property Name="CallTime" Type="DateTime" Nullable="false" Precision="3" />
<Property Name="EndTime" Type="DateTime" Precision="3" />
<Property Name="State" Type="Int32" />
<Property Name="Status" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
</EntityType>
<EntityType Name="AuxDslvQueue">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="TankNo" Type="Int32" />
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
<Property Name="StepNumber" Type="Int32" />
<Property Name="Station" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="Industry" Type="Int32" />
<Property Name="State" Type="Int32" />
<Property Name="Machine" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="Volume" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="ShelfID" Type="Int32" />
<Property Name="Updated" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="AuxDslvQueueHistory">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="TankNo" Type="Int32" />
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
<Property Name="StepNumber" Type="Int32" />
<Property Name="Station" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="Industry" Type="Int32" />
<Property Name="State" Type="Int32" />
<Property Name="Machine" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="Volume" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="ShelfID" Type="Int32" />
<Property Name="Created" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="BucketCrane">
<Key>
<PropertyRef Name="Dyelot" />
</Key>
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ReDye" Type="Int32" />
<Property Name="StepNumber" Type="Int32" />
<Property Name="DevideNo" Type="Int32" />
<Property Name="BucketNo" Type="Int32" />
<Property Name="DID" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="State" Type="Int32" />
<Property Name="Updated" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="BucketCraneHistory">
<Key>
<PropertyRef Name="Dyelot" />
</Key>
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ReDye" Type="Int32" />
<Property Name="StepNumber" Type="Int32" />
<Property Name="DevideNo" Type="Int32" />
<Property Name="BucketNo" Type="Int32" />
<Property Name="DID" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="State" Type="Int32" />
<Property Name="Created" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="BucketInfo">
<Key>
<PropertyRef Name="BucketNo" />
</Key>
<Property Name="BucketNo" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="DID" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="StartTime" Type="DateTime" Precision="3" />
<Property Name="EndTime" Type="DateTime" Precision="3" />
<Property Name="Used" Type="Int32" />
<Property Name="UserAccount" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
</EntityType>
<EntityType Name="BucketShelf">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="BucketNo" Type="Int32" />
<Property Name="ShelfID" Type="Int32" />
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
<Property Name="StepNumber" Type="Int32" />
<Property Name="Station" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="DID" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="TotalBuckets" Type="Int32" />
<Property Name="DevideNo" Type="Int32" />
<Property Name="XPos" Type="Int32" />
<Property Name="YPos" Type="Int32" />
<Property Name="State" Type="Int32" />
<Property Name="OnShelfTime" Type="DateTime" Precision="3" />
<Property Name="UserAccount" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="Locked" Type="Int32" />
<Property Name="ProductCode" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="OriginDyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
</EntityType>
<EntityType Name="BucketShelfHistory">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="BucketNo" Type="Int32" />
<Property Name="ShelfID" Type="Int32" />
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
<Property Name="StepNumber" Type="Int32" />
<Property Name="Station" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="DID" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="TotalBuckets" Type="Int32" />
<Property Name="DevideNo" Type="Int32" />
<Property Name="XPos" Type="Int32" />
<Property Name="YPos" Type="Int32" />
<Property Name="State" Type="Int32" />
<Property Name="OnShelfTime" Type="DateTime" Precision="3" />
<Property Name="UserAccount" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="Locked" Type="Int32" />
<Property Name="ProductCode" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="OriginDyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
</EntityType>
<EntityType Name="BucketShelfQueue">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="BucketNo" Type="Int32" />
<Property Name="ShelfID" Type="Int32" />
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
<Property Name="StepNumber" Type="Int32" />
<Property Name="TotalBuckets" Type="Int32" />
<Property Name="DevideNo" Type="Int32" />
<Property Name="XPos" Type="Int32" />
<Property Name="YPos" Type="Int32" />
<Property Name="State" Type="Int32" />
<Property Name="Updated" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="BucketShelfQueueHistory">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="BucketNo" Type="Int32" />
<Property Name="ShelfID" Type="Int32" />
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
<Property Name="StepNumber" Type="Int32" />
<Property Name="TotalBuckets" Type="Int32" />
<Property Name="DevideNo" Type="Int32" />
<Property Name="XPos" Type="Int32" />
<Property Name="YPos" Type="Int32" />
<Property Name="State" Type="Int32" />
<Property Name="Created" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="CleanDevice">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="String" MaxLength="10" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="State" Type="Int32" />
<Property Name="Enabled" Type="Int32" />
</EntityType>
<EntityType Name="DispenserEvent">
<Key>
<PropertyRef Name="EventID" />
<PropertyRef Name="Dispenser" />
<PropertyRef Name="Description" />
</Key>
<Property Name="EventID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="EventType" Type="Int32" />
<Property Name="Dispenser" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="Device" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="ReDye" Type="Int32" />
<Property Name="StepNumber" Type="Int32" />
<Property Name="Code" Type="Int32" />
<Property Name="Description" Type="String" MaxLength="255" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="Description_BIG" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
<Property Name="Description_GB" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
<Property Name="CreateDate" Type="DateTime" Precision="3" />
<Property Name="ConfirmDate" Type="DateTime" Precision="3" />
<Property Name="FinishDate" Type="DateTime" Precision="3" />
<Property Name="Shift" Type="String" MaxLength="5" FixedLength="false" Unicode="false" />
<Property Name="UserAccount" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
</EntityType>
<EntityType Name="DispenserLifeStatus">
<Key>
<PropertyRef Name="Dispenser" />
</Key>
<Property Name="Dispenser" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="Device" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="HeartBeat" Type="Int32" />
<Property Name="LifeTime" Type="Int32" />
<Property Name="UpdateDate" Type="DateTime" Precision="3" />
<Property Name="Created" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="Dispensers">
<Key>
<PropertyRef Name="Name" />
</Key>
<Property Name="Name" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="Description" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="Device" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="ReDye" Type="Int32" />
<Property Name="StepNumber" Type="Int32" />
<Property Name="Station" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="State" Type="Int32" />
<Property Name="Status" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="Action" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="ProductCode" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="SN" Type="Int32" />
<Property Name="Automatic" Type="Int32" />
<Property Name="Enabled" Type="Int32" />
<Property Name="HeartBeat" Type="Int32" />
<Property Name="CheckPeriod" Type="Int32" />
<Property Name="UpdateDate" Type="DateTime" Precision="3" />
<Property Name="CreateDate" Type="DateTime" Precision="3" />
<Property Name="UserAccount" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
</EntityType>
<EntityType Name="DispenserUtilization">
<Key>
<PropertyRef Name="Dispenser" />
</Key>
<Property Name="Dispenser" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="Device" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="ReDye" Type="Int32" />
<Property Name="StepNumber" Type="Int32" />
<Property Name="UtilStartDate" Type="DateTime" Precision="3" />
<Property Name="UtilEndDate" Type="DateTime" Precision="3" />
<Property Name="UtilTimes" Type="Int32" />
<Property Name="UserAccount" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
</EntityType>
<EntityType Name="DissolveArt">
<Key>
<PropertyRef Name="Name" />
</Key>
<Property Name="Name" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ProductClass" Type="Int32" />
<Property Name="LiquidRatio" Type="Double" />
<Property Name="MinWeight" Type="Double" />
<Property Name="MaxWeight" Type="Double" />
<Property Name="DissolveTemperature" Type="Int32" />
<Property Name="UseLiquidDye" Type="Int32" />
<Property Name="UseChemical" Type="Int32" />
<Property Name="Process" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="TankSize" Type="Int32" />
<Property Name="Created" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="DissolveArtHistory">
<Key>
<PropertyRef Name="Name" />
</Key>
<Property Name="Name" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ProductClass" Type="Int32" />
<Property Name="LiquidRatio" Type="Double" />
<Property Name="MinWeight" Type="Double" />
<Property Name="MaxWeight" Type="Double" />
<Property Name="DissolveTemperature" Type="Int32" />
<Property Name="UseLiquidDye" Type="Int32" />
<Property Name="UseChemical" Type="Int32" />
<Property Name="Process" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="TankSize" Type="Int32" />
<Property Name="Updated" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="DyelotBuckets">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
<Property Name="StepNumber" Type="Int32" />
<Property Name="DevideNo" Type="Int32" />
<Property Name="ProductCode" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="BucketNo" Type="Int32" />
<Property Name="DID" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="Final" Type="Int32" />
<Property Name="Dissolved" Type="Int32" />
<Property Name="Created" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="DyelotBucketsHistory">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
<Property Name="StepNumber" Type="Int32" />
<Property Name="DevideNo" Type="Int32" />
<Property Name="ProductCode" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="BucketNo" Type="Int32" />
<Property Name="DID" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="Final" Type="Int32" />
<Property Name="Dissolved" Type="Int32" />
<Property Name="Created" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="DyelotBucketSummary">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
<Property Name="StepNumber" Type="Int32" />
<Property Name="TotalBuckets" Type="Int32" />
<Property Name="Final" Type="Int32" />
<Property Name="Created" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="DyelotDetail">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
<PropertyRef Name="ProductCode" />
<PropertyRef Name="ProductType" />
</Key>
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
<Property Name="StepNumber" Type="Int32" />
<Property Name="Station" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="ProductCode" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ProductName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="ProductType" Type="Int32" Nullable="false" />
<Property Name="Grams" Type="Double" />
<Property Name="Created" Type="DateTime" Precision="3" />
<Property Name="SN" Type="Int32" />
<Property Name="DispenseTime" Type="DateTime" Precision="3" />
<Property Name="DispenseGrams" Type="Double" />
<Property Name="CurrDispGrams" Type="Double" />
<Property Name="LADispenseResult" Type="Int32" />
<Property Name="Error" Type="Int32" />
<Property Name="UserAccount" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="Volume" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="CurrDispTime" Type="Int32" />
<Property Name="CurrVolume" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="RemainVolume" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="FinalPickup" Type="Double" />
<Property Name="LFManual" Type="Int32" />
</EntityType>
<EntityType Name="DyelotDslvQueue">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="TankNo" Type="Int32" />
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
<Property Name="StepNumber" Type="Int32" />
<Property Name="TotalBuckets" Type="Int32" />
<Property Name="DivideNo" Type="Int32" />
<Property Name="State" Type="Int32" />
<Property Name="ShelfID" Type="Int32" />
<Property Name="SchDispenseTime" Type="DateTime" Precision="3" />
<Property Name="BucketNo" Type="Int32" />
<Property Name="Updated" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="DyelotDslvQueueHistory">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="TankNo" Type="Int32" />
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
<Property Name="StepNumber" Type="Int32" />
<Property Name="TotalBuckets" Type="Int32" />
<Property Name="DivideNo" Type="Int32" />
<Property Name="State" Type="Int32" />
<Property Name="ShelfID" Type="Int32" />
<Property Name="SchDispenseTime" Type="DateTime" Precision="3" />
<Property Name="BucketNo" Type="Int32" />
<Property Name="Created" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="DyelotsBatch">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
<Property Name="StepNumber" Type="Int32" />
<Property Name="Station" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="ShotNo" Type="Int32" />
<Property Name="ProductCode" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="SN" Type="Int32" />
<Property Name="Grams" Type="Double" />
<Property Name="DispenseStartTime" Type="DateTime" Precision="3" />
<Property Name="DispenseEndTime" Type="DateTime" Precision="3" />
<Property Name="DispenseGrams" Type="Double" />
<Property Name="LADispenseResult" Type="Int32" />
<Property Name="DyeWeightTime" Type="DateTime" Precision="3" />
<Property Name="Process" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="FinalProcess" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="DispenseWater" Type="Int32" />
<Property Name="DrainWater" Type="Int32" />
<Property Name="DissolveTemperature" Type="Int32" />
<Property Name="SchDispenseTime" Type="DateTime" Precision="3" />
<Property Name="UserAccount" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
</EntityType>
<EntityType Name="DyelotsBulkedRecipeHistory">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
<Property Name="StepNumber" Type="Int32" />
<Property Name="Station" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="DevideNo" Type="Int32" />
<Property Name="ShotNo" Type="Int32" />
<Property Name="ProductCode" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="ProductName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="ProductType" Type="Int32" />
<Property Name="ProductLot" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="ProductClass" Type="Int32" />
<Property Name="SN" Type="Int32" />
<Property Name="Amount" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="Grams" Type="Double" />
<Property Name="Created" Type="DateTime" Precision="3" />
<Property Name="DispenseStartTime" Type="DateTime" Precision="3" />
<Property Name="DispenseEndTime" Type="DateTime" Precision="3" />
<Property Name="DispenseTime" Type="DateTime" Precision="3" />
<Property Name="DispenseGrams" Type="Double" />
<Property Name="DispenseResult" Type="Int32" />
<Property Name="LADispenseResult" Type="Int32" />
<Property Name="Volume" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="HostRead" Type="Int32" />
<Property Name="State" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="NeedDispense" Type="Int32" />
<Property Name="MixTankNo" Type="Int32" />
<Property Name="DyeWeightTime" Type="DateTime" Precision="3" />
<Property Name="Process" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="FinalProcess" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="Dispenser" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="TankNo" Type="Int32" />
<Property Name="Error" Type="Int32" />
<Property Name="BucketNo" Type="Int32" />
<Property Name="DID" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="StepDevideNo" Type="Int32" />
<Property Name="StepTotalBuckets" Type="Int32" />
<Property Name="ReferenceDyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="DispenseWater" Type="Int32" />
<Property Name="DrainWater" Type="Int32" />
<Property Name="DissolveTemperature" Type="Int32" />
<Property Name="SchDispenseTime" Type="DateTime" Precision="3" />
<Property Name="FinishTime" Type="DateTime" Precision="3" />
<Property Name="UserAccount" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="Updated" Type="DateTime" Precision="3" />
<Property Name="Tagged" Type="String" MaxLength="1" FixedLength="true" Unicode="false" />
<Property Name="TotalBuckets" Type="Int32" />
<Property Name="Final" Type="Int32" />
<Property Name="DissolveManual" Type="Int32" />
<Property Name="DeductTotalBuckets" Type="Int32" />
<Property Name="DeductBuckets" Type="Int32" />
</EntityType>
<EntityType Name="DyelotsHistory">
<Key>
<PropertyRef Name="ID" />
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
<Property Name="Industry" Type="Int32" />
<Property Name="Machine" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="DispenseMachine" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="StartTime" Type="DateTime" Precision="3" />
<Property Name="EndTime" Type="DateTime" Precision="3" />
<Property Name="StandardTime" Type="Double" />
<Property Name="TotalShot" Type="Int32" />
<Property Name="State" Type="Int32" />
<Property Name="Blocked" Type="Int32" />
<Property Name="Program" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="Color" Type="Int32" />
<Property Name="CreationTime" Type="DateTime" Precision="3" />
<Property Name="Batch" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="OrderNo" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="TotalWeight" Type="Double" />
<Property Name="LiquidRatio" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="TotalVolume" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="AcidQty" Type="Int32" />
<Property Name="ActualAcidQty" Type="Int32" />
<Property Name="Sequence" Type="Int32" />
<Property Name="DispenseMode" Type="Int32" />
<Property Name="DyeDissolve" Type="Int32" />
<Property Name="CheDissolve" Type="Int32" />
<Property Name="TotalBuckets" Type="Int32" />
<Property Name="SpcTotalBuckets" Type="Int32" />
<Property Name="DissolveMethod" Type="Int32" />
<Property Name="ReferenceDyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="Final" Type="Int32" />
<Property Name="Shade" Type="Int32" />
<Property Name="UserAccount" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="Updated" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="DyelotsInAuto">
<Key>
<PropertyRef Name="Machine" />
</Key>
<Property Name="Machine" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="ReDye" Type="Int32" />
<Property Name="StepNumber" Type="Int32" />
<Property Name="DyeState" Type="Int32" />
<Property Name="SchDispenseTime" Type="DateTime" Precision="3" />
<Property Name="IsCheck" Type="Int32" />
<Property Name="Shade" Type="Int32" />
</EntityType>
<EntityType Name="DyelotsInAutoHistory">
<Key>
<PropertyRef Name="Machine" />
</Key>
<Property Name="Machine" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="ReDye" Type="Int32" />
<Property Name="StepNumber" Type="Int32" />
<Property Name="DyeState" Type="Int32" />
<Property Name="SchDispenseTime" Type="DateTime" Precision="3" />
<Property Name="IsCheck" Type="Int32" />
<Property Name="Shade" Type="Int32" />
</EntityType>
<EntityType Name="EventList">
<Key>
<PropertyRef Name="Description" />
</Key>
<Property Name="Code" Type="Int32" />
<Property Name="Description" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="Description_BIG" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="Description_GB" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="CreateDate" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="LA571Tanks">
<Key>
<PropertyRef Name="Name" />
</Key>
<Property Name="Name" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
<Property Name="Station" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="Tank" Type="Int32" />
<Property Name="Volume" Type="Double" />
<Property Name="State" Type="Int32" />
</EntityType>
<EntityType Name="LabDyeDslvQueue">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="TankNo" Type="Int32" />
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
<Property Name="StepNumber" Type="Int32" />
<Property Name="State" Type="Int32" />
<Property Name="ShelfID" Type="Int32" />
<Property Name="DistID" Type="Int32" />
<Property Name="SchDispenseTime" Type="DateTime" Precision="3" />
<Property Name="Updated" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="LabDyeDslvQueueHistory">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="TankNo" Type="Int32" />
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
<Property Name="StepNumber" Type="Int32" />
<Property Name="State" Type="Int32" />
<Property Name="ShelfID" Type="Int32" />
<Property Name="DistID" Type="Int32" />
<Property Name="SchDispenseTime" Type="DateTime" Precision="3" />
<Property Name="Created" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="MachinesHistory">
<Key>
<PropertyRef Name="Machine" />
</Key>
<Property Name="Machine" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="DispenseDyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="DispenseReDye" Type="Int32" />
<Property Name="ChemicalCallOff" Type="Int32" />
<Property Name="ChemicalState" Type="Int32" />
<Property Name="ChemicalTank" Type="Int32" />
<Property Name="ChemicalTankSize" Type="Int32" />
<Property Name="ChemicalDispenser" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="ChemicalError" Type="Int32" />
<Property Name="ChemicalCallOff2" Type="Int32" />
<Property Name="ChemicalState2" Type="Int32" />
<Property Name="ChemicalTank2" Type="Int32" />
<Property Name="DyeCallOff" Type="Int32" />
<Property Name="DyeState" Type="Int32" />
<Property Name="DyeTank" Type="Int32" />
<Property Name="DyeTankSize" Type="Int32" />
<Property Name="DyeDispenser" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="DyeError" Type="Int32" />
<Property Name="PowderCallOff" Type="Int32" />
<Property Name="PowderState" Type="Int32" />
<Property Name="PowderTank" Type="Int32" />
<Property Name="PowderTankSize" Type="Int32" />
<Property Name="PowderDispenser" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="PowderError" Type="Int32" />
<Property Name="HostRead" Type="Int32" />
<Property Name="DyeDispenseDyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="DyeDispenseReDye" Type="Int32" />
<Property Name="CheDispenseDyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="CheDispenseReDye" Type="Int32" />
<Property Name="PwdDispenseDyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="PwdDispenseReDye" Type="Int32" />
<Property Name="Updated" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="MachinesHistoryOld">
<Key>
<PropertyRef Name="Machine" />
</Key>
<Property Name="Machine" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="DispenseDyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="DispenseReDye" Type="Int32" />
<Property Name="ChemicalCallOff" Type="Int32" />
<Property Name="ChemicalState" Type="Int32" />
<Property Name="ChemicalTank" Type="Int32" />
<Property Name="ChemicalTankSize" Type="Int32" />
<Property Name="ChemicalDispenser" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="ChemicalError" Type="Int32" />
<Property Name="ChemicalCallOff2" Type="Int32" />
<Property Name="ChemicalState2" Type="Int32" />
<Property Name="ChemicalTank2" Type="Int32" />
<Property Name="DyeCallOff" Type="Int32" />
<Property Name="DyeState" Type="Int32" />
<Property Name="DyeTank" Type="Int32" />
<Property Name="DyeTankSize" Type="Int32" />
<Property Name="DyeDispenser" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="DyeError" Type="Int32" />
<Property Name="PowderCallOff" Type="Int32" />
<Property Name="PowderState" Type="Int32" />
<Property Name="PowderTank" Type="Int32" />
<Property Name="PowderTankSize" Type="Int32" />
<Property Name="PowderDispenser" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="PowderError" Type="Int32" />
<Property Name="HostRead" Type="Int32" />
<Property Name="DyeDispenseDyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="DyeDispenseReDye" Type="Int32" />
<Property Name="Updated" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="MachineStateHistory">
<Key>
<PropertyRef Name="Machine" />
</Key>
<Property Name="Machine" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="DispenseDyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="DispenseReDye" Type="Int32" />
<Property Name="ChemicalCallOff" Type="Int32" />
<Property Name="ChemicalState" Type="Int32" />
<Property Name="ChemicalTank" Type="Int32" />
<Property Name="ChemicalTankSize" Type="Int32" />
<Property Name="ChemicalDispenser" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="ChemicalError" Type="Int32" />
<Property Name="ChemicalTargetSelect" Type="Int32" />
<Property Name="DyeCallOff" Type="Int32" />
<Property Name="DyeState" Type="Int32" />
<Property Name="DyeTank" Type="Int32" />
<Property Name="DyeTankSize" Type="Int32" />
<Property Name="DyeDispenser" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="DyeError" Type="Int32" />
<Property Name="PowderCallOff" Type="Int32" />
<Property Name="PowderState" Type="Int32" />
<Property Name="PowderTank" Type="Int32" />
<Property Name="PowderTankSize" Type="Int32" />
<Property Name="PowderDispenser" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="PowderError" Type="Int32" />
<Property Name="HostRead" Type="Int32" />
<Property Name="Updated" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="ManualWeightQueue">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
<Property Name="StepNumber" Type="Int32" />
<Property Name="State" Type="Int32" />
<Property Name="CallTime" Type="DateTime" Precision="3" />
<Property Name="Module" Type="Int32" />
<Property Name="ModuleName" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
<Property Name="Area" Type="String" MaxLength="1" FixedLength="true" Unicode="false" />
<Property Name="EndTime" Type="DateTime" Precision="3" />
<Property Name="Updated" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="ManualWeightQueueHistory">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
<Property Name="StepNumber" Type="Int32" />
<Property Name="State" Type="Int32" />
<Property Name="CallTime" Type="DateTime" Precision="3" />
<Property Name="Module" Type="Int32" />
<Property Name="ModuleName" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
<Property Name="Area" Type="String" MaxLength="1" FixedLength="true" Unicode="false" />
<Property Name="EndTime" Type="DateTime" Precision="3" />
<Property Name="Created" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="PartsStatus">
<Key>
<PropertyRef Name="CUST_CODE" />
<PropertyRef Name="Dispenser" />
<PropertyRef Name="PartsCode" />
</Key>
<Property Name="CUST_CODE" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="Dispenser" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="Device" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="PartsCode" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="PartsName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="PartsType" Type="Int32" />
<Property Name="Description" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="FactoryValue" Type="Int32" />
<Property Name="UsedCount" Type="Int32" />
<Property Name="RunningTime" Type="Int32" />
<Property Name="ResetDate" Type="DateTime" Precision="3" />
<Property Name="WarnDate" Type="DateTime" Precision="3" />
<Property Name="UpdateDate" Type="DateTime" Precision="3" />
<Property Name="CreateDate" Type="DateTime" Precision="3" />
<Property Name="UserAccount" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
</EntityType>
<EntityType Name="PartsStatusHistory">
<Key>
<PropertyRef Name="CUST_CODE" />
<PropertyRef Name="Dispenser" />
<PropertyRef Name="PartsCode" />
</Key>
<Property Name="CUST_CODE" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="Dispenser" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="Device" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="PartsCode" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="PartsName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="PartsType" Type="Int32" />
<Property Name="Description" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="FactoryValue" Type="Int32" />
<Property Name="UsedCount" Type="Int32" />
<Property Name="RunningTime" Type="Int32" />
<Property Name="ResetDate" Type="DateTime" Precision="3" />
<Property Name="WarnDate" Type="DateTime" Precision="3" />
<Property Name="UpdateDate" Type="DateTime" Precision="3" />
<Property Name="CreateDate" Type="DateTime" Precision="3" />
<Property Name="UserAccount" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
</EntityType>
<EntityType Name="PipeRefill">
<Key>
<PropertyRef Name="ProductCode" />
</Key>
<Property Name="ProductCode" Type="String" MaxLength="20" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ProductName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="ProductType" Type="Int32" />
<Property Name="ProductLot" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="Dispenser" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="No" Type="Int32" />
<Property Name="Qty" Type="Double" />
<Property Name="Percentage" Type="Double" />
<Property Name="RefillTime" Type="DateTime" Precision="3" />
<Property Name="AlarmTime" Type="DateTime" Precision="3" />
<Property Name="Updated" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="PipeRefillHistory">
<Key>
<PropertyRef Name="ProductCode" />
</Key>
<Property Name="ProductCode" Type="String" MaxLength="20" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ProductName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="ProductType" Type="Int32" />
<Property Name="ProductLot" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="Dispenser" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="No" Type="Int32" />
<Property Name="Qty" Type="Double" />
<Property Name="Percentage" Type="Double" />
<Property Name="RefillTime" Type="DateTime" Precision="3" />
<Property Name="AlarmTime" Type="DateTime" Precision="3" />
<Property Name="Created" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="Pipes">
<Key>
<PropertyRef Name="ProductCode" />
<PropertyRef Name="Dispenser" />
<PropertyRef Name="Gravity" />
</Key>
<Property Name="ProductCode" Type="String" MaxLength="20" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ProductName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="ProductType" Type="Int32" />
<Property Name="ProductLot" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="Dispenser" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="Enabled" Type="Int32" />
<Property Name="No" Type="Int32" />
<Property Name="MinLimit" Type="Double" />
<Property Name="MaxLimit" Type="Double" />
<Property Name="MinAction" Type="Int32" />
<Property Name="MaxAction" Type="Int32" />
<Property Name="Conc" Type="Int32" />
<Property Name="Gravity" Type="Double" Nullable="false" />
<Property Name="Alarm" Type="String" MaxLength="1" FixedLength="true" Unicode="false" />
</EntityType>
<EntityType Name="ProductLocation">
<Key>
<PropertyRef Name="ProductCode" />
<PropertyRef Name="Dispenser" />
</Key>
<Property Name="ProductCode" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
<Property Name="ProductName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="Type" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="Dispenser" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="Position" Type="Int32" />
<Property Name="TablePosition" Type="String" MaxLength="5" FixedLength="false" Unicode="true" />
<Property Name="StockDate" Type="DateTime" Precision="3" />
<Property Name="StockUsage" Type="Double" />
<Property Name="StockOnHand" Type="Double" />
<Property Name="Alarm" Type="String" MaxLength="1" FixedLength="true" Unicode="false" />
<Property Name="AlarmTime" Type="DateTime" Precision="3" />
<Property Name="Enabled" Type="Int32" />
</EntityType>
<EntityType Name="ProductLocationHistory">
<Key>
<PropertyRef Name="ProductCode" />
<PropertyRef Name="Dispenser" />
</Key>
<Property Name="ProductCode" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
<Property Name="ProductName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="Type" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="Dispenser" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="Position" Type="Int32" />
<Property Name="TablePosition" Type="String" MaxLength="5" FixedLength="false" Unicode="true" />
<Property Name="StockDate" Type="DateTime" Precision="3" />
<Property Name="StockUsage" Type="Double" />
<Property Name="StockOnHand" Type="Double" />
<Property Name="Alarm" Type="String" MaxLength="1" FixedLength="true" Unicode="false" />
<Property Name="AlarmTime" Type="DateTime" Precision="3" />
<Property Name="Enabled" Type="Int32" />
<Property Name="Updated" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="RecipeDeduct">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
<Property Name="StepNumber" Type="Int32" />
<Property Name="Station" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="ShotNo" Type="Int32" />
<Property Name="ProductCode" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="DeductTime" Type="DateTime" Precision="3" />
<Property Name="DeductGrams" Type="Double" />
<Property Name="BucketNo" Type="Int32" />
<Property Name="DID" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="UserAccount" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
</EntityType>
<EntityType Name="RecipeDeductHistory">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
<Property Name="StepNumber" Type="Int32" />
<Property Name="Station" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="ShotNo" Type="Int32" />
<Property Name="ProductCode" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="DeductTime" Type="DateTime" Precision="3" />
<Property Name="DeductGrams" Type="Double" />
<Property Name="BucketNo" Type="Int32" />
<Property Name="DID" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="UserAccount" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="Updated" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="RecipeDetail">
<Key>
<PropertyRef Name="RcpCode" />
<PropertyRef Name="ProductCode" />
</Key>
<Property Name="RcpCode" Type="String" MaxLength="16" FixedLength="false" Unicode="true" Nullable="false" />
<Property Name="ProductCode" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
<Property Name="ProductName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="Conc" Type="Double" />
<Property Name="HostRead" Type="Int32" />
<Property Name="Created" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="Recipes">
<Key>
<PropertyRef Name="RcpCode" />
<PropertyRef Name="RcpName" />
<PropertyRef Name="Unit" />
</Key>
<Property Name="RcpCode" Type="String" MaxLength="16" FixedLength="false" Unicode="true" Nullable="false" />
<Property Name="RcpName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
<Property Name="Unit" Type="String" MaxLength="10" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="Created" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="RFIDRecordQueue">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="Station" Type="Int32" />
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
<Property Name="StepNumber" Type="Int32" />
<Property Name="Machine" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="DevideNo" Type="Int32" />
<Property Name="TotalBuckets" Type="Int32" />
<Property Name="State" Type="Int32" />
<Property Name="BucketNo" Type="Int32" />
<Property Name="DID" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="Source" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="Dest" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="ProductCode" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="Updated" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="RFIDRecordQueueHistory">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="Station" Type="Int32" />
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
<Property Name="StepNumber" Type="Int32" />
<Property Name="Machine" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="DevideNo" Type="Int32" />
<Property Name="TotalBuckets" Type="Int32" />
<Property Name="State" Type="Int32" />
<Property Name="BucketNo" Type="Int32" />
<Property Name="DID" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="ProductCode" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="Created" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="SampleDyeDslvQueue">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="TankNo" Type="Int32" />
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
<Property Name="StepNumber" Type="Int32" />
<Property Name="State" Type="Int32" />
<Property Name="PassAuto" Type="Int32" />
<Property Name="ShelfID" Type="Int32" />
<Property Name="Machine" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="SchDispenseTime" Type="DateTime" Precision="3" />
<Property Name="Updated" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="SampleDyeDslvQueueHistory">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="TankNo" Type="Int32" />
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
<Property Name="StepNumber" Type="Int32" />
<Property Name="State" Type="Int32" />
<Property Name="PassAuto" Type="Int32" />
<Property Name="ShelfID" Type="Int32" />
<Property Name="Machine" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="SchDispenseTime" Type="DateTime" Precision="3" />
<Property Name="Created" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="ScheduledDyelot">
<Key>
<PropertyRef Name="ID" />
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
<Property Name="StepNumber" Type="Int32" />
<Property Name="Process" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="Dispenser" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="Machine" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="TankNo" Type="Int32" />
<Property Name="ScheduledTime" Type="DateTime" Precision="3" />
<Property Name="Checked" Type="String" MaxLength="1" FixedLength="true" Unicode="false" />
<Property Name="UserAccount" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
</EntityType>
<EntityType Name="ScheduledDyelotHistory">
<Key>
<PropertyRef Name="ID" />
<PropertyRef Name="Dyelot" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
<Property Name="StepNumber" Type="Int32" />
<Property Name="Process" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="Dispenser" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="Machine" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="TankNo" Type="Int32" />
<Property Name="ScheduledTime" Type="DateTime" Precision="3" />
<Property Name="Checked" Type="String" MaxLength="1" FixedLength="true" Unicode="false" />
<Property Name="UserAccount" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="Updated" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="Shelf">
<Key>
<PropertyRef Name="ShelfID" />
</Key>
<Property Name="ShelfID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="MaxLayer" Type="Int32" />
<Property Name="MaxPosition" Type="Int32" />
</EntityType>
<EntityType Name="TagShelf">
<Key>
<PropertyRef Name="Dyelot" />
<PropertyRef Name="Machines" />
<PropertyRef Name="ReDye" />
</Key>
<Property Name="BucketNo" Type="Int32" />
<Property Name="Dyelot" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="Machines" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="TagManagerNo" Type="Int32" />
<Property Name="ReDye" Type="Int32" Nullable="false" />
<Property Name="StepNumber" Type="Int32" />
<Property Name="DID" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="TotalBuckets" Type="Int32" />
<Property Name="DevideNo" Type="Int32" />
<Property Name="OnShelfTime" Type="DateTime" Precision="3" />
</EntityType>
<EntityContainer Name="BatchDyeingCentralEntities" annotation:LazyLoadingEnabled="true">
<EntitySet Name="DBRDetail" EntityType="Self.DBRDetail" />
<EntitySet Name="DyelotHead" EntityType="Self.DyelotHead" />
<EntitySet Name="Dyelots" EntityType="Self.Dyelots" />
<EntitySet Name="DyelotsBulkedRecipe" EntityType="Self.DyelotsBulkedRecipe" />
<EntitySet Name="Machines" EntityType="Self.Machines" />
<EntitySet Name="MachineState" EntityType="Self.MachineState" />
<EntitySet Name="SchedulingLog" EntityType="Self.SchedulingLog" />
<EntitySet Name="AuxDslvQueue" EntityType="Self.AuxDslvQueue" />
<EntitySet Name="AuxDslvQueueHistory" EntityType="Self.AuxDslvQueueHistory" />
<EntitySet Name="BucketCrane" EntityType="Self.BucketCrane" />
<EntitySet Name="BucketCraneHistory" EntityType="Self.BucketCraneHistory" />
<EntitySet Name="BucketInfo" EntityType="Self.BucketInfo" />
<EntitySet Name="BucketShelf" EntityType="Self.BucketShelf" />
<EntitySet Name="BucketShelfHistory" EntityType="Self.BucketShelfHistory" />
<EntitySet Name="BucketShelfQueue" EntityType="Self.BucketShelfQueue" />
<EntitySet Name="BucketShelfQueueHistory" EntityType="Self.BucketShelfQueueHistory" />
<EntitySet Name="CleanDevice" EntityType="Self.CleanDevice" />
<EntitySet Name="DispenserEvent" EntityType="Self.DispenserEvent" />
<EntitySet Name="DispenserLifeStatus" EntityType="Self.DispenserLifeStatus" />
<EntitySet Name="Dispensers" EntityType="Self.Dispensers" />
<EntitySet Name="DispenserUtilization" EntityType="Self.DispenserUtilization" />
<EntitySet Name="DissolveArt" EntityType="Self.DissolveArt" />
<EntitySet Name="DissolveArtHistory" EntityType="Self.DissolveArtHistory" />
<EntitySet Name="DyelotBuckets" EntityType="Self.DyelotBuckets" />
<EntitySet Name="DyelotBucketsHistory" EntityType="Self.DyelotBucketsHistory" />
<EntitySet Name="DyelotBucketSummary" EntityType="Self.DyelotBucketSummary" />
<EntitySet Name="DyelotDetail" EntityType="Self.DyelotDetail" />
<EntitySet Name="DyelotDslvQueue" EntityType="Self.DyelotDslvQueue" />
<EntitySet Name="DyelotDslvQueueHistory" EntityType="Self.DyelotDslvQueueHistory" />
<EntitySet Name="DyelotsBatch" EntityType="Self.DyelotsBatch" />
<EntitySet Name="DyelotsBulkedRecipeHistory" EntityType="Self.DyelotsBulkedRecipeHistory" />
<EntitySet Name="DyelotsHistory" EntityType="Self.DyelotsHistory" />
<EntitySet Name="DyelotsInAuto" EntityType="Self.DyelotsInAuto" />
<EntitySet Name="DyelotsInAutoHistory" EntityType="Self.DyelotsInAutoHistory" />
<EntitySet Name="EventList" EntityType="Self.EventList" />
<EntitySet Name="LA571Tanks" EntityType="Self.LA571Tanks" />
<EntitySet Name="LabDyeDslvQueue" EntityType="Self.LabDyeDslvQueue" />
<EntitySet Name="LabDyeDslvQueueHistory" EntityType="Self.LabDyeDslvQueueHistory" />
<EntitySet Name="MachinesHistory" EntityType="Self.MachinesHistory" />
<EntitySet Name="MachinesHistoryOld" EntityType="Self.MachinesHistoryOld" />
<EntitySet Name="MachineStateHistory" EntityType="Self.MachineStateHistory" />
<EntitySet Name="ManualWeightQueue" EntityType="Self.ManualWeightQueue" />
<EntitySet Name="ManualWeightQueueHistory" EntityType="Self.ManualWeightQueueHistory" />
<EntitySet Name="PartsStatus" EntityType="Self.PartsStatus" />
<EntitySet Name="PartsStatusHistory" EntityType="Self.PartsStatusHistory" />
<EntitySet Name="PipeRefill" EntityType="Self.PipeRefill" />
<EntitySet Name="PipeRefillHistory" EntityType="Self.PipeRefillHistory" />
<EntitySet Name="Pipes" EntityType="Self.Pipes" />
<EntitySet Name="ProductLocation" EntityType="Self.ProductLocation" />
<EntitySet Name="ProductLocationHistory" EntityType="Self.ProductLocationHistory" />
<EntitySet Name="RecipeDeduct" EntityType="Self.RecipeDeduct" />
<EntitySet Name="RecipeDeductHistory" EntityType="Self.RecipeDeductHistory" />
<EntitySet Name="RecipeDetail" EntityType="Self.RecipeDetail" />
<EntitySet Name="Recipes" EntityType="Self.Recipes" />
<EntitySet Name="RFIDRecordQueue" EntityType="Self.RFIDRecordQueue" />
<EntitySet Name="RFIDRecordQueueHistory" EntityType="Self.RFIDRecordQueueHistory" />
<EntitySet Name="SampleDyeDslvQueue" EntityType="Self.SampleDyeDslvQueue" />
<EntitySet Name="SampleDyeDslvQueueHistory" EntityType="Self.SampleDyeDslvQueueHistory" />
<EntitySet Name="ScheduledDyelot" EntityType="Self.ScheduledDyelot" />
<EntitySet Name="ScheduledDyelotHistory" EntityType="Self.ScheduledDyelotHistory" />
<EntitySet Name="Shelf" EntityType="Self.Shelf" />
<EntitySet Name="TagShelf" EntityType="Self.TagShelf" />
</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="BatchDyeingCentralModelStoreContainer" CdmEntityContainer="BatchDyeingCentralEntities">
<EntitySetMapping Name="DBRDetail">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.DBRDetail">
<MappingFragment StoreEntitySet="DBRDetail">
<ScalarProperty Name="ID" ColumnName="ID" />
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="Redye" ColumnName="Redye" />
<ScalarProperty Name="StepNumber" ColumnName="StepNumber" />
<ScalarProperty Name="ProductCode" ColumnName="ProductCode" />
<ScalarProperty Name="ProductName" ColumnName="ProductName" />
<ScalarProperty Name="Grams" ColumnName="Grams" />
<ScalarProperty Name="DispenseGrams" ColumnName="DispenseGrams" />
<ScalarProperty Name="Buckets" ColumnName="Buckets" />
<ScalarProperty Name="DispenseStartTime" ColumnName="DispenseStartTime" />
<ScalarProperty Name="DispenseEndTime" ColumnName="DispenseEndTime" />
<ScalarProperty Name="DispenseSeconds" ColumnName="DispenseSeconds" />
<ScalarProperty Name="ProductStartTime" ColumnName="ProductStartTime" />
<ScalarProperty Name="ProductEndTime" ColumnName="ProductEndTime" />
<ScalarProperty Name="ProductSeconds" ColumnName="ProductSeconds" />
<ScalarProperty Name="LDXGrams" ColumnName="LDXGrams" />
<ScalarProperty Name="LDXBuckets" ColumnName="LDXBuckets" />
<ScalarProperty Name="IsDeduct" ColumnName="IsDeduct" />
<ScalarProperty Name="DeductBox" ColumnName="DeductBox" />
<ScalarProperty Name="BoxNo" ColumnName="BoxNo" />
<ScalarProperty Name="DispenseResult" ColumnName="DispenseResult" />
<ScalarProperty Name="BucketWeight" ColumnName="BucketWeight" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="DyelotHead">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.DyelotHead">
<MappingFragment StoreEntitySet="DyelotHead">
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="StartTime" ColumnName="StartTime" />
<ScalarProperty Name="EndTime" ColumnName="EndTime" />
<ScalarProperty Name="CreationTime" ColumnName="CreationTime" />
<ScalarProperty Name="TotalVolume" ColumnName="TotalVolume" />
<ScalarProperty Name="DispenseTimes" ColumnName="DispenseTimes" />
<ScalarProperty Name="CurrDispTime" ColumnName="CurrDispTime" />
<ScalarProperty Name="CurrTotalVolume" ColumnName="CurrTotalVolume" />
<ScalarProperty Name="State" ColumnName="State" />
<ScalarProperty Name="Sequence" ColumnName="Sequence" />
<ScalarProperty Name="Color" ColumnName="Color" />
<ScalarProperty Name="PickUp" ColumnName="PickUp" />
<ScalarProperty Name="GramsYard" ColumnName="GramsYard" />
<ScalarProperty Name="TotalLength" ColumnName="TotalLength" />
<ScalarProperty Name="FabricWidth" ColumnName="FabricWidth" />
<ScalarProperty Name="UserAccount" ColumnName="UserAccount" />
<ScalarProperty Name="RefTotalVolume" ColumnName="RefTotalVolume" />
<ScalarProperty Name="RestVolume" ColumnName="RestVolume" />
<ScalarProperty Name="LFDefine" ColumnName="LFDefine" />
<ScalarProperty Name="Machine" ColumnName="Machine" />
<ScalarProperty Name="Blocked" ColumnName="Blocked" />
<ScalarProperty Name="Industry" ColumnName="Industry" />
<ScalarProperty Name="Volume" ColumnName="Volume" />
<ScalarProperty Name="StandardTime" ColumnName="StandardTime" />
<ScalarProperty Name="LFArt" ColumnName="LFArt" />
<ScalarProperty Name="RemainVolume" ColumnName="RemainVolume" />
<ScalarProperty Name="FinalPickUp" ColumnName="FinalPickUp" />
<ScalarProperty Name="LFWasher" ColumnName="LFWasher" />
<ScalarProperty Name="ActualTotalVolume" ColumnName="ActualTotalVolume" />
<ScalarProperty Name="ActualTotalLength" ColumnName="ActualTotalLength" />
<ScalarProperty Name="UsedPickup" ColumnName="UsedPickup" />
<ScalarProperty Name="RemainPadderVol" ColumnName="RemainPadderVol" />
<ScalarProperty Name="ExecuteTime" ColumnName="ExecuteTime" />
<ScalarProperty Name="RealAdd1" ColumnName="RealAdd1" />
<ScalarProperty Name="RealAdd2" ColumnName="RealAdd2" />
<ScalarProperty Name="RealAdd3" ColumnName="RealAdd3" />
<ScalarProperty Name="RealAdd4" ColumnName="RealAdd4" />
<ScalarProperty Name="RealAdd5" ColumnName="RealAdd5" />
<ScalarProperty Name="PromptAdd1" ColumnName="PromptAdd1" />
<ScalarProperty Name="PromptAdd2" ColumnName="PromptAdd2" />
<ScalarProperty Name="PromptAdd3" ColumnName="PromptAdd3" />
<ScalarProperty Name="PromptAdd4" ColumnName="PromptAdd4" />
<ScalarProperty Name="PromptAdd5" ColumnName="PromptAdd5" />
<ScalarProperty Name="StartButton" ColumnName="StartButton" />
<ScalarProperty Name="EndButton" ColumnName="EndButton" />
<ScalarProperty Name="MergerVol" ColumnName="MergerVol" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Dyelots">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.Dyelots">
<MappingFragment StoreEntitySet="Dyelots">
<ScalarProperty Name="ID" ColumnName="ID" />
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="Industry" ColumnName="Industry" />
<ScalarProperty Name="Machine" ColumnName="Machine" />
<ScalarProperty Name="DispenseMachine" ColumnName="DispenseMachine" />
<ScalarProperty Name="StartTime" ColumnName="StartTime" />
<ScalarProperty Name="EndTime" ColumnName="EndTime" />
<ScalarProperty Name="StandardTime" ColumnName="StandardTime" />
<ScalarProperty Name="TotalShot" ColumnName="TotalShot" />
<ScalarProperty Name="State" ColumnName="State" />
<ScalarProperty Name="Blocked" ColumnName="Blocked" />
<ScalarProperty Name="Program" ColumnName="Program" />
<ScalarProperty Name="Color" ColumnName="Color" />
<ScalarProperty Name="CreationTime" ColumnName="CreationTime" />
<ScalarProperty Name="Batch" ColumnName="Batch" />
<ScalarProperty Name="OrderNo" ColumnName="OrderNo" />
<ScalarProperty Name="TotalWeight" ColumnName="TotalWeight" />
<ScalarProperty Name="LiquidRatio" ColumnName="LiquidRatio" />
<ScalarProperty Name="TotalVolume" ColumnName="TotalVolume" />
<ScalarProperty Name="AcidQty" ColumnName="AcidQty" />
<ScalarProperty Name="ActualAcidQty" ColumnName="ActualAcidQty" />
<ScalarProperty Name="Sequence" ColumnName="Sequence" />
<ScalarProperty Name="DispenseMode" ColumnName="DispenseMode" />
<ScalarProperty Name="DyeDissolve" ColumnName="DyeDissolve" />
<ScalarProperty Name="CheDissolve" ColumnName="CheDissolve" />
<ScalarProperty Name="TotalBuckets" ColumnName="TotalBuckets" />
<ScalarProperty Name="SpcTotalBuckets" ColumnName="SpcTotalBuckets" />
<ScalarProperty Name="DissolveMethod" ColumnName="DissolveMethod" />
<ScalarProperty Name="ReferenceDyelot" ColumnName="ReferenceDyelot" />
<ScalarProperty Name="Final" ColumnName="Final" />
<ScalarProperty Name="Shade" ColumnName="Shade" />
<ScalarProperty Name="OnSchedule" ColumnName="OnSchedule" />
<ScalarProperty Name="DyeStep" ColumnName="DyeStep" />
<ScalarProperty Name="PowderBlocked" ColumnName="PowderBlocked" />
<ScalarProperty Name="PowderOnSchedule" ColumnName="PowderOnSchedule" />
<ScalarProperty Name="PowderStep" ColumnName="PowderStep" />
<ScalarProperty Name="DispensedVolume" ColumnName="DispensedVolume" />
<ScalarProperty Name="Times" ColumnName="Times" />
<ScalarProperty Name="UserAccount" ColumnName="UserAccount" />
<ScalarProperty Name="FabricName" ColumnName="FabricName" />
<ScalarProperty Name="ColorNo" ColumnName="ColorNo" />
<ScalarProperty Name="ColorName" ColumnName="ColorName" />
<ScalarProperty Name="CustomerName" ColumnName="CustomerName" />
<ScalarProperty Name="CUSTOMER_CODE" ColumnName="CUSTOMER_CODE" />
<ScalarProperty Name="FABRIC_CODE" ColumnName="FABRIC_CODE" />
<ScalarProperty Name="GRAMS_YARD" ColumnName="GRAMS_YARD" />
<ScalarProperty Name="ModifyDT" ColumnName="ModifyDT" />
<ScalarProperty Name="CreateDT" ColumnName="CreateDT" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="DyelotsBulkedRecipe">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.DyelotsBulkedRecipe">
<MappingFragment StoreEntitySet="DyelotsBulkedRecipe">
<ScalarProperty Name="ID" ColumnName="ID" />
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="StepNumber" ColumnName="StepNumber" />
<ScalarProperty Name="Station" ColumnName="Station" />
<ScalarProperty Name="DevideNo" ColumnName="DevideNo" />
<ScalarProperty Name="ShotNo" ColumnName="ShotNo" />
<ScalarProperty Name="ProductCode" ColumnName="ProductCode" />
<ScalarProperty Name="ProductName" ColumnName="ProductName" />
<ScalarProperty Name="ProductType" ColumnName="ProductType" />
<ScalarProperty Name="ProductLot" ColumnName="ProductLot" />
<ScalarProperty Name="ProductClass" ColumnName="ProductClass" />
<ScalarProperty Name="SN" ColumnName="SN" />
<ScalarProperty Name="Amount" ColumnName="Amount" />
<ScalarProperty Name="Grams" ColumnName="Grams" />
<ScalarProperty Name="Created" ColumnName="Created" />
<ScalarProperty Name="DispenseStartTime" ColumnName="DispenseStartTime" />
<ScalarProperty Name="DispenseEndTime" ColumnName="DispenseEndTime" />
<ScalarProperty Name="DispenseTime" ColumnName="DispenseTime" />
<ScalarProperty Name="DispenseGrams" ColumnName="DispenseGrams" />
<ScalarProperty Name="DispenseResult" ColumnName="DispenseResult" />
<ScalarProperty Name="LADispenseResult" ColumnName="LADispenseResult" />
<ScalarProperty Name="Volume" ColumnName="Volume" />
<ScalarProperty Name="HostRead" ColumnName="HostRead" />
<ScalarProperty Name="State" ColumnName="State" />
<ScalarProperty Name="NeedDispense" ColumnName="NeedDispense" />
<ScalarProperty Name="MixTankNo" ColumnName="MixTankNo" />
<ScalarProperty Name="DyeWeightTime" ColumnName="DyeWeightTime" />
<ScalarProperty Name="Process" ColumnName="Process" />
<ScalarProperty Name="FinalProcess" ColumnName="FinalProcess" />
<ScalarProperty Name="Dispenser" ColumnName="Dispenser" />
<ScalarProperty Name="TankNo" ColumnName="TankNo" />
<ScalarProperty Name="Error" ColumnName="Error" />
<ScalarProperty Name="BucketNo" ColumnName="BucketNo" />
<ScalarProperty Name="DID" ColumnName="DID" />
<ScalarProperty Name="StepDevideNo" ColumnName="StepDevideNo" />
<ScalarProperty Name="StepTotalBuckets" ColumnName="StepTotalBuckets" />
<ScalarProperty Name="ReferenceDyelot" ColumnName="ReferenceDyelot" />
<ScalarProperty Name="DispenseWater" ColumnName="DispenseWater" />
<ScalarProperty Name="DrainWater" ColumnName="DrainWater" />
<ScalarProperty Name="DissolveTemperature" ColumnName="DissolveTemperature" />
<ScalarProperty Name="SchDispenseTime" ColumnName="SchDispenseTime" />
<ScalarProperty Name="UserAccount" ColumnName="UserAccount" />
<ScalarProperty Name="TargetGrams" ColumnName="TargetGrams" />
<ScalarProperty Name="ActualGrams" ColumnName="ActualGrams" />
<ScalarProperty Name="FinishTime" ColumnName="FinishTime" />
<ScalarProperty Name="Tagged" ColumnName="Tagged" />
<ScalarProperty Name="TotalBuckets" ColumnName="TotalBuckets" />
<ScalarProperty Name="Final" ColumnName="Final" />
<ScalarProperty Name="DissolveManual" ColumnName="DissolveManual" />
<ScalarProperty Name="Concentration" ColumnName="Concentration" />
<ScalarProperty Name="DeductTotalBuckets" ColumnName="DeductTotalBuckets" />
<ScalarProperty Name="DeductBuckets" ColumnName="DeductBuckets" />
<ScalarProperty Name="Flow" ColumnName="Flow" />
<ScalarProperty Name="CallTime" ColumnName="CallTime" />
<ScalarProperty Name="BreakGrams" ColumnName="BreakGrams" />
<ScalarProperty Name="RecoveryAction" ColumnName="RecoveryAction" />
<ScalarProperty Name="SmallDye" ColumnName="SmallDye" />
<ScalarProperty Name="PrepareTank" ColumnName="PrepareTank" />
<ScalarProperty Name="DeductBox" ColumnName="DeductBox" />
<ScalarProperty Name="Shade" ColumnName="Shade" />
<ScalarProperty Name="stuffid" ColumnName="stuffid" />
<ScalarProperty Name="tfname" ColumnName="tfname" />
<ScalarProperty Name="tftips" ColumnName="tftips" />
<ScalarProperty Name="program" ColumnName="program" />
<ScalarProperty Name="dosage" ColumnName="dosage" />
<ScalarProperty Name="groupid" ColumnName="groupid" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Machines">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.Machines">
<MappingFragment StoreEntitySet="Machines">
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="DispenseDyelot" ColumnName="DispenseDyelot" />
<ScalarProperty Name="DispenseReDye" ColumnName="DispenseReDye" />
<ScalarProperty Name="RescheduleGroup" ColumnName="RescheduleGroup" />
<ScalarProperty Name="Connect" ColumnName="Connect" />
<ScalarProperty Name="ChemicalCallOff" ColumnName="ChemicalCallOff" />
<ScalarProperty Name="ChemicalState" ColumnName="ChemicalState" />
<ScalarProperty Name="ChemicalTank" ColumnName="ChemicalTank" />
<ScalarProperty Name="ChemicalTankSize" ColumnName="ChemicalTankSize" />
<ScalarProperty Name="ChemicalEnabled" ColumnName="ChemicalEnabled" />
<ScalarProperty Name="ChemicalStatus" ColumnName="ChemicalStatus" />
<ScalarProperty Name="ChemicalDispenser" ColumnName="ChemicalDispenser" />
<ScalarProperty Name="ChemicalError" ColumnName="ChemicalError" />
<ScalarProperty Name="ChemicalDistribute" ColumnName="ChemicalDistribute" />
<ScalarProperty Name="ChemicalStation" ColumnName="ChemicalStation" />
<ScalarProperty Name="ChemicalDevideNo" ColumnName="ChemicalDevideNo" />
<ScalarProperty Name="ChemicalDispensedTime" ColumnName="ChemicalDispensedTime" />
<ScalarProperty Name="ChemicalDefaultTank" ColumnName="ChemicalDefaultTank" />
<ScalarProperty Name="ChemicalDissolving" ColumnName="ChemicalDissolving" />
<ScalarProperty Name="ChemicalResp" ColumnName="ChemicalResp" />
<ScalarProperty Name="ChemicalCallOff2" ColumnName="ChemicalCallOff2" />
<ScalarProperty Name="ChemicalState2" ColumnName="ChemicalState2" />
<ScalarProperty Name="ChemicalTank2" ColumnName="ChemicalTank2" />
<ScalarProperty Name="ChemicalStatus2" ColumnName="ChemicalStatus2" />
<ScalarProperty Name="ChemicalResp2" ColumnName="ChemicalResp2" />
<ScalarProperty Name="ChemicalTargetSelect" ColumnName="ChemicalTargetSelect" />
<ScalarProperty Name="ChemicalTargetMachine" ColumnName="ChemicalTargetMachine" />
<ScalarProperty Name="DyeCallOff" ColumnName="DyeCallOff" />
<ScalarProperty Name="DyeState" ColumnName="DyeState" />
<ScalarProperty Name="DyeTank" ColumnName="DyeTank" />
<ScalarProperty Name="DyeTankSize" ColumnName="DyeTankSize" />
<ScalarProperty Name="DyeEnabled" ColumnName="DyeEnabled" />
<ScalarProperty Name="DyeStatus" ColumnName="DyeStatus" />
<ScalarProperty Name="DyeDispenser" ColumnName="DyeDispenser" />
<ScalarProperty Name="DyeError" ColumnName="DyeError" />
<ScalarProperty Name="DyeDistribute" ColumnName="DyeDistribute" />
<ScalarProperty Name="DyeStation" ColumnName="DyeStation" />
<ScalarProperty Name="DyeDevideNo" ColumnName="DyeDevideNo" />
<ScalarProperty Name="DyeDispensedTime" ColumnName="DyeDispensedTime" />
<ScalarProperty Name="DyeDefaultTank" ColumnName="DyeDefaultTank" />
<ScalarProperty Name="DyeResp" ColumnName="DyeResp" />
<ScalarProperty Name="DyeDispenseDyelot" ColumnName="DyeDispenseDyelot" />
<ScalarProperty Name="DyeDispenseReDye" ColumnName="DyeDispenseReDye" />
<ScalarProperty Name="DyeDissolving" ColumnName="DyeDissolving" />
<ScalarProperty Name="PowderCallOff" ColumnName="PowderCallOff" />
<ScalarProperty Name="PowderState" ColumnName="PowderState" />
<ScalarProperty Name="PowderTank" ColumnName="PowderTank" />
<ScalarProperty Name="PowderTankSize" ColumnName="PowderTankSize" />
<ScalarProperty Name="PowderEnabled" ColumnName="PowderEnabled" />
<ScalarProperty Name="PowderStatus" ColumnName="PowderStatus" />
<ScalarProperty Name="PowderDispenser" ColumnName="PowderDispenser" />
<ScalarProperty Name="PowderError" ColumnName="PowderError" />
<ScalarProperty Name="PowderStation" ColumnName="PowderStation" />
<ScalarProperty Name="PowderDevideNo" ColumnName="PowderDevideNo" />
<ScalarProperty Name="PowderDispensedTime" ColumnName="PowderDispensedTime" />
<ScalarProperty Name="PowderDefaultTank" ColumnName="PowderDefaultTank" />
<ScalarProperty Name="PowderResp" ColumnName="PowderResp" />
<ScalarProperty Name="HostRead" ColumnName="HostRead" />
<ScalarProperty Name="OnSystem" ColumnName="OnSystem" />
<ScalarProperty Name="SystemID" ColumnName="SystemID" />
<ScalarProperty Name="SchDispenseTime" ColumnName="SchDispenseTime" />
<ScalarProperty Name="UserAccount" ColumnName="UserAccount" />
<ScalarProperty Name="AutoMode" ColumnName="AutoMode" />
<ScalarProperty Name="UseOnScheduling" ColumnName="UseOnScheduling" />
<ScalarProperty Name="CheDispenseDyelot" ColumnName="CheDispenseDyelot" />
<ScalarProperty Name="CheDispenseReDye" ColumnName="CheDispenseReDye" />
<ScalarProperty Name="SampleDye" ColumnName="SampleDye" />
<ScalarProperty Name="OnDevice" ColumnName="OnDevice" />
<ScalarProperty Name="PwdDispenseDyelot" ColumnName="PwdDispenseDyelot" />
<ScalarProperty Name="PwdDispenseReDye" ColumnName="PwdDispenseReDye" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="MachineState">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.MachineState">
<MappingFragment StoreEntitySet="MachineState">
<ScalarProperty Name="Machine" ColumnName="Machine" />
<ScalarProperty Name="DispenseDyelot" ColumnName="DispenseDyelot" />
<ScalarProperty Name="DispenseReDye" ColumnName="DispenseReDye" />
<ScalarProperty Name="ChemicalCallOff" ColumnName="ChemicalCallOff" />
<ScalarProperty Name="ChemicalState" ColumnName="ChemicalState" />
<ScalarProperty Name="ChemicalTank" ColumnName="ChemicalTank" />
<ScalarProperty Name="ChemicalTankSize" ColumnName="ChemicalTankSize" />
<ScalarProperty Name="ChemicalDispenser" ColumnName="ChemicalDispenser" />
<ScalarProperty Name="ChemicalError" ColumnName="ChemicalError" />
<ScalarProperty Name="ChemicalTargetSelect" ColumnName="ChemicalTargetSelect" />
<ScalarProperty Name="DyeCallOff" ColumnName="DyeCallOff" />
<ScalarProperty Name="DyeState" ColumnName="DyeState" />
<ScalarProperty Name="DyeTank" ColumnName="DyeTank" />
<ScalarProperty Name="DyeTankSize" ColumnName="DyeTankSize" />
<ScalarProperty Name="DyeDispenser" ColumnName="DyeDispenser" />
<ScalarProperty Name="DyeError" ColumnName="DyeError" />
<ScalarProperty Name="PowderCallOff" ColumnName="PowderCallOff" />
<ScalarProperty Name="PowderState" ColumnName="PowderState" />
<ScalarProperty Name="PowderTank" ColumnName="PowderTank" />
<ScalarProperty Name="PowderTankSize" ColumnName="PowderTankSize" />
<ScalarProperty Name="PowderDispenser" ColumnName="PowderDispenser" />
<ScalarProperty Name="PowderError" ColumnName="PowderError" />
<ScalarProperty Name="HostRead" ColumnName="HostRead" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="SchedulingLog">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.SchedulingLog">
<MappingFragment StoreEntitySet="SchedulingLog">
<ScalarProperty Name="ID" ColumnName="ID" />
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="Redye" ColumnName="Redye" />
<ScalarProperty Name="Machine" ColumnName="Machine" />
<ScalarProperty Name="CallTime" ColumnName="CallTime" />
<ScalarProperty Name="EndTime" ColumnName="EndTime" />
<ScalarProperty Name="State" ColumnName="State" />
<ScalarProperty Name="Status" ColumnName="Status" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="AuxDslvQueue">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.AuxDslvQueue">
<MappingFragment StoreEntitySet="AuxDslvQueue">
<ScalarProperty Name="TankNo" ColumnName="TankNo" />
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="StepNumber" ColumnName="StepNumber" />
<ScalarProperty Name="Station" ColumnName="Station" />
<ScalarProperty Name="Industry" ColumnName="Industry" />
<ScalarProperty Name="State" ColumnName="State" />
<ScalarProperty Name="Machine" ColumnName="Machine" />
<ScalarProperty Name="Volume" ColumnName="Volume" />
<ScalarProperty Name="ShelfID" ColumnName="ShelfID" />
<ScalarProperty Name="Updated" ColumnName="Updated" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="AuxDslvQueueHistory">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.AuxDslvQueueHistory">
<MappingFragment StoreEntitySet="AuxDslvQueueHistory">
<ScalarProperty Name="TankNo" ColumnName="TankNo" />
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="StepNumber" ColumnName="StepNumber" />
<ScalarProperty Name="Station" ColumnName="Station" />
<ScalarProperty Name="Industry" ColumnName="Industry" />
<ScalarProperty Name="State" ColumnName="State" />
<ScalarProperty Name="Machine" ColumnName="Machine" />
<ScalarProperty Name="Volume" ColumnName="Volume" />
<ScalarProperty Name="ShelfID" ColumnName="ShelfID" />
<ScalarProperty Name="Created" ColumnName="Created" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="BucketCrane">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.BucketCrane">
<MappingFragment StoreEntitySet="BucketCrane">
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="StepNumber" ColumnName="StepNumber" />
<ScalarProperty Name="DevideNo" ColumnName="DevideNo" />
<ScalarProperty Name="BucketNo" ColumnName="BucketNo" />
<ScalarProperty Name="DID" ColumnName="DID" />
<ScalarProperty Name="State" ColumnName="State" />
<ScalarProperty Name="Updated" ColumnName="Updated" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="BucketCraneHistory">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.BucketCraneHistory">
<MappingFragment StoreEntitySet="BucketCraneHistory">
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="StepNumber" ColumnName="StepNumber" />
<ScalarProperty Name="DevideNo" ColumnName="DevideNo" />
<ScalarProperty Name="BucketNo" ColumnName="BucketNo" />
<ScalarProperty Name="DID" ColumnName="DID" />
<ScalarProperty Name="State" ColumnName="State" />
<ScalarProperty Name="Created" ColumnName="Created" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="BucketInfo">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.BucketInfo">
<MappingFragment StoreEntitySet="BucketInfo">
<ScalarProperty Name="BucketNo" ColumnName="BucketNo" />
<ScalarProperty Name="DID" ColumnName="DID" />
<ScalarProperty Name="StartTime" ColumnName="StartTime" />
<ScalarProperty Name="EndTime" ColumnName="EndTime" />
<ScalarProperty Name="Used" ColumnName="Used" />
<ScalarProperty Name="UserAccount" ColumnName="UserAccount" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="BucketShelf">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.BucketShelf">
<MappingFragment StoreEntitySet="BucketShelf">
<ScalarProperty Name="BucketNo" ColumnName="BucketNo" />
<ScalarProperty Name="ShelfID" ColumnName="ShelfID" />
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="StepNumber" ColumnName="StepNumber" />
<ScalarProperty Name="Station" ColumnName="Station" />
<ScalarProperty Name="DID" ColumnName="DID" />
<ScalarProperty Name="TotalBuckets" ColumnName="TotalBuckets" />
<ScalarProperty Name="DevideNo" ColumnName="DevideNo" />
<ScalarProperty Name="XPos" ColumnName="XPos" />
<ScalarProperty Name="YPos" ColumnName="YPos" />
<ScalarProperty Name="State" ColumnName="State" />
<ScalarProperty Name="OnShelfTime" ColumnName="OnShelfTime" />
<ScalarProperty Name="UserAccount" ColumnName="UserAccount" />
<ScalarProperty Name="Locked" ColumnName="Locked" />
<ScalarProperty Name="ProductCode" ColumnName="ProductCode" />
<ScalarProperty Name="OriginDyelot" ColumnName="OriginDyelot" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="BucketShelfHistory">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.BucketShelfHistory">
<MappingFragment StoreEntitySet="BucketShelfHistory">
<ScalarProperty Name="BucketNo" ColumnName="BucketNo" />
<ScalarProperty Name="ShelfID" ColumnName="ShelfID" />
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="StepNumber" ColumnName="StepNumber" />
<ScalarProperty Name="Station" ColumnName="Station" />
<ScalarProperty Name="DID" ColumnName="DID" />
<ScalarProperty Name="TotalBuckets" ColumnName="TotalBuckets" />
<ScalarProperty Name="DevideNo" ColumnName="DevideNo" />
<ScalarProperty Name="XPos" ColumnName="XPos" />
<ScalarProperty Name="YPos" ColumnName="YPos" />
<ScalarProperty Name="State" ColumnName="State" />
<ScalarProperty Name="OnShelfTime" ColumnName="OnShelfTime" />
<ScalarProperty Name="UserAccount" ColumnName="UserAccount" />
<ScalarProperty Name="Locked" ColumnName="Locked" />
<ScalarProperty Name="ProductCode" ColumnName="ProductCode" />
<ScalarProperty Name="OriginDyelot" ColumnName="OriginDyelot" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="BucketShelfQueue">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.BucketShelfQueue">
<MappingFragment StoreEntitySet="BucketShelfQueue">
<ScalarProperty Name="BucketNo" ColumnName="BucketNo" />
<ScalarProperty Name="ShelfID" ColumnName="ShelfID" />
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="StepNumber" ColumnName="StepNumber" />
<ScalarProperty Name="TotalBuckets" ColumnName="TotalBuckets" />
<ScalarProperty Name="DevideNo" ColumnName="DevideNo" />
<ScalarProperty Name="XPos" ColumnName="XPos" />
<ScalarProperty Name="YPos" ColumnName="YPos" />
<ScalarProperty Name="State" ColumnName="State" />
<ScalarProperty Name="Updated" ColumnName="Updated" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="BucketShelfQueueHistory">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.BucketShelfQueueHistory">
<MappingFragment StoreEntitySet="BucketShelfQueueHistory">
<ScalarProperty Name="BucketNo" ColumnName="BucketNo" />
<ScalarProperty Name="ShelfID" ColumnName="ShelfID" />
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="StepNumber" ColumnName="StepNumber" />
<ScalarProperty Name="TotalBuckets" ColumnName="TotalBuckets" />
<ScalarProperty Name="DevideNo" ColumnName="DevideNo" />
<ScalarProperty Name="XPos" ColumnName="XPos" />
<ScalarProperty Name="YPos" ColumnName="YPos" />
<ScalarProperty Name="State" ColumnName="State" />
<ScalarProperty Name="Created" ColumnName="Created" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="CleanDevice">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.CleanDevice">
<MappingFragment StoreEntitySet="CleanDevice">
<ScalarProperty Name="ID" ColumnName="ID" />
<ScalarProperty Name="State" ColumnName="State" />
<ScalarProperty Name="Enabled" ColumnName="Enabled" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="DispenserEvent">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.DispenserEvent">
<MappingFragment StoreEntitySet="DispenserEvent">
<ScalarProperty Name="EventID" ColumnName="EventID" />
<ScalarProperty Name="EventType" ColumnName="EventType" />
<ScalarProperty Name="Dispenser" ColumnName="Dispenser" />
<ScalarProperty Name="Device" ColumnName="Device" />
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="StepNumber" ColumnName="StepNumber" />
<ScalarProperty Name="Code" ColumnName="Code" />
<ScalarProperty Name="Description" ColumnName="Description" />
<ScalarProperty Name="Description_BIG" ColumnName="Description_BIG" />
<ScalarProperty Name="Description_GB" ColumnName="Description_GB" />
<ScalarProperty Name="CreateDate" ColumnName="CreateDate" />
<ScalarProperty Name="ConfirmDate" ColumnName="ConfirmDate" />
<ScalarProperty Name="FinishDate" ColumnName="FinishDate" />
<ScalarProperty Name="Shift" ColumnName="Shift" />
<ScalarProperty Name="UserAccount" ColumnName="UserAccount" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="DispenserLifeStatus">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.DispenserLifeStatus">
<MappingFragment StoreEntitySet="DispenserLifeStatus">
<ScalarProperty Name="Dispenser" ColumnName="Dispenser" />
<ScalarProperty Name="Device" ColumnName="Device" />
<ScalarProperty Name="HeartBeat" ColumnName="HeartBeat" />
<ScalarProperty Name="LifeTime" ColumnName="LifeTime" />
<ScalarProperty Name="UpdateDate" ColumnName="UpdateDate" />
<ScalarProperty Name="Created" ColumnName="Created" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Dispensers">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.Dispensers">
<MappingFragment StoreEntitySet="Dispensers">
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="Description" ColumnName="Description" />
<ScalarProperty Name="Device" ColumnName="Device" />
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="StepNumber" ColumnName="StepNumber" />
<ScalarProperty Name="Station" ColumnName="Station" />
<ScalarProperty Name="State" ColumnName="State" />
<ScalarProperty Name="Status" ColumnName="Status" />
<ScalarProperty Name="Action" ColumnName="Action" />
<ScalarProperty Name="ProductCode" ColumnName="ProductCode" />
<ScalarProperty Name="SN" ColumnName="SN" />
<ScalarProperty Name="Automatic" ColumnName="Automatic" />
<ScalarProperty Name="Enabled" ColumnName="Enabled" />
<ScalarProperty Name="HeartBeat" ColumnName="HeartBeat" />
<ScalarProperty Name="CheckPeriod" ColumnName="CheckPeriod" />
<ScalarProperty Name="UpdateDate" ColumnName="UpdateDate" />
<ScalarProperty Name="CreateDate" ColumnName="CreateDate" />
<ScalarProperty Name="UserAccount" ColumnName="UserAccount" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="DispenserUtilization">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.DispenserUtilization">
<MappingFragment StoreEntitySet="DispenserUtilization">
<ScalarProperty Name="Dispenser" ColumnName="Dispenser" />
<ScalarProperty Name="Device" ColumnName="Device" />
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="StepNumber" ColumnName="StepNumber" />
<ScalarProperty Name="UtilStartDate" ColumnName="UtilStartDate" />
<ScalarProperty Name="UtilEndDate" ColumnName="UtilEndDate" />
<ScalarProperty Name="UtilTimes" ColumnName="UtilTimes" />
<ScalarProperty Name="UserAccount" ColumnName="UserAccount" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="DissolveArt">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.DissolveArt">
<MappingFragment StoreEntitySet="DissolveArt">
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="ProductClass" ColumnName="ProductClass" />
<ScalarProperty Name="LiquidRatio" ColumnName="LiquidRatio" />
<ScalarProperty Name="MinWeight" ColumnName="MinWeight" />
<ScalarProperty Name="MaxWeight" ColumnName="MaxWeight" />
<ScalarProperty Name="DissolveTemperature" ColumnName="DissolveTemperature" />
<ScalarProperty Name="UseLiquidDye" ColumnName="UseLiquidDye" />
<ScalarProperty Name="UseChemical" ColumnName="UseChemical" />
<ScalarProperty Name="Process" ColumnName="Process" />
<ScalarProperty Name="TankSize" ColumnName="TankSize" />
<ScalarProperty Name="Created" ColumnName="Created" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="DissolveArtHistory">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.DissolveArtHistory">
<MappingFragment StoreEntitySet="DissolveArtHistory">
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="ProductClass" ColumnName="ProductClass" />
<ScalarProperty Name="LiquidRatio" ColumnName="LiquidRatio" />
<ScalarProperty Name="MinWeight" ColumnName="MinWeight" />
<ScalarProperty Name="MaxWeight" ColumnName="MaxWeight" />
<ScalarProperty Name="DissolveTemperature" ColumnName="DissolveTemperature" />
<ScalarProperty Name="UseLiquidDye" ColumnName="UseLiquidDye" />
<ScalarProperty Name="UseChemical" ColumnName="UseChemical" />
<ScalarProperty Name="Process" ColumnName="Process" />
<ScalarProperty Name="TankSize" ColumnName="TankSize" />
<ScalarProperty Name="Updated" ColumnName="Updated" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="DyelotBuckets">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.DyelotBuckets">
<MappingFragment StoreEntitySet="DyelotBuckets">
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="StepNumber" ColumnName="StepNumber" />
<ScalarProperty Name="DevideNo" ColumnName="DevideNo" />
<ScalarProperty Name="ProductCode" ColumnName="ProductCode" />
<ScalarProperty Name="BucketNo" ColumnName="BucketNo" />
<ScalarProperty Name="DID" ColumnName="DID" />
<ScalarProperty Name="Final" ColumnName="Final" />
<ScalarProperty Name="Dissolved" ColumnName="Dissolved" />
<ScalarProperty Name="Created" ColumnName="Created" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="DyelotBucketsHistory">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.DyelotBucketsHistory">
<MappingFragment StoreEntitySet="DyelotBucketsHistory">
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="StepNumber" ColumnName="StepNumber" />
<ScalarProperty Name="DevideNo" ColumnName="DevideNo" />
<ScalarProperty Name="ProductCode" ColumnName="ProductCode" />
<ScalarProperty Name="BucketNo" ColumnName="BucketNo" />
<ScalarProperty Name="DID" ColumnName="DID" />
<ScalarProperty Name="Final" ColumnName="Final" />
<ScalarProperty Name="Dissolved" ColumnName="Dissolved" />
<ScalarProperty Name="Created" ColumnName="Created" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="DyelotBucketSummary">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.DyelotBucketSummary">
<MappingFragment StoreEntitySet="DyelotBucketSummary">
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="StepNumber" ColumnName="StepNumber" />
<ScalarProperty Name="TotalBuckets" ColumnName="TotalBuckets" />
<ScalarProperty Name="Final" ColumnName="Final" />
<ScalarProperty Name="Created" ColumnName="Created" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="DyelotDetail">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.DyelotDetail">
<MappingFragment StoreEntitySet="DyelotDetail">
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="StepNumber" ColumnName="StepNumber" />
<ScalarProperty Name="Station" ColumnName="Station" />
<ScalarProperty Name="ProductCode" ColumnName="ProductCode" />
<ScalarProperty Name="ProductName" ColumnName="ProductName" />
<ScalarProperty Name="ProductType" ColumnName="ProductType" />
<ScalarProperty Name="Grams" ColumnName="Grams" />
<ScalarProperty Name="Created" ColumnName="Created" />
<ScalarProperty Name="SN" ColumnName="SN" />
<ScalarProperty Name="DispenseTime" ColumnName="DispenseTime" />
<ScalarProperty Name="DispenseGrams" ColumnName="DispenseGrams" />
<ScalarProperty Name="CurrDispGrams" ColumnName="CurrDispGrams" />
<ScalarProperty Name="LADispenseResult" ColumnName="LADispenseResult" />
<ScalarProperty Name="Error" ColumnName="Error" />
<ScalarProperty Name="UserAccount" ColumnName="UserAccount" />
<ScalarProperty Name="Volume" ColumnName="Volume" />
<ScalarProperty Name="CurrDispTime" ColumnName="CurrDispTime" />
<ScalarProperty Name="CurrVolume" ColumnName="CurrVolume" />
<ScalarProperty Name="RemainVolume" ColumnName="RemainVolume" />
<ScalarProperty Name="FinalPickup" ColumnName="FinalPickup" />
<ScalarProperty Name="LFManual" ColumnName="LFManual" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="DyelotDslvQueue">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.DyelotDslvQueue">
<MappingFragment StoreEntitySet="DyelotDslvQueue">
<ScalarProperty Name="TankNo" ColumnName="TankNo" />
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="StepNumber" ColumnName="StepNumber" />
<ScalarProperty Name="TotalBuckets" ColumnName="TotalBuckets" />
<ScalarProperty Name="DivideNo" ColumnName="DivideNo" />
<ScalarProperty Name="State" ColumnName="State" />
<ScalarProperty Name="ShelfID" ColumnName="ShelfID" />
<ScalarProperty Name="SchDispenseTime" ColumnName="SchDispenseTime" />
<ScalarProperty Name="BucketNo" ColumnName="BucketNo" />
<ScalarProperty Name="Updated" ColumnName="Updated" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="DyelotDslvQueueHistory">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.DyelotDslvQueueHistory">
<MappingFragment StoreEntitySet="DyelotDslvQueueHistory">
<ScalarProperty Name="TankNo" ColumnName="TankNo" />
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="StepNumber" ColumnName="StepNumber" />
<ScalarProperty Name="TotalBuckets" ColumnName="TotalBuckets" />
<ScalarProperty Name="DivideNo" ColumnName="DivideNo" />
<ScalarProperty Name="State" ColumnName="State" />
<ScalarProperty Name="ShelfID" ColumnName="ShelfID" />
<ScalarProperty Name="SchDispenseTime" ColumnName="SchDispenseTime" />
<ScalarProperty Name="BucketNo" ColumnName="BucketNo" />
<ScalarProperty Name="Created" ColumnName="Created" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="DyelotsBatch">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.DyelotsBatch">
<MappingFragment StoreEntitySet="DyelotsBatch">
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="StepNumber" ColumnName="StepNumber" />
<ScalarProperty Name="Station" ColumnName="Station" />
<ScalarProperty Name="ShotNo" ColumnName="ShotNo" />
<ScalarProperty Name="ProductCode" ColumnName="ProductCode" />
<ScalarProperty Name="SN" ColumnName="SN" />
<ScalarProperty Name="Grams" ColumnName="Grams" />
<ScalarProperty Name="DispenseStartTime" ColumnName="DispenseStartTime" />
<ScalarProperty Name="DispenseEndTime" ColumnName="DispenseEndTime" />
<ScalarProperty Name="DispenseGrams" ColumnName="DispenseGrams" />
<ScalarProperty Name="LADispenseResult" ColumnName="LADispenseResult" />
<ScalarProperty Name="DyeWeightTime" ColumnName="DyeWeightTime" />
<ScalarProperty Name="Process" ColumnName="Process" />
<ScalarProperty Name="FinalProcess" ColumnName="FinalProcess" />
<ScalarProperty Name="DispenseWater" ColumnName="DispenseWater" />
<ScalarProperty Name="DrainWater" ColumnName="DrainWater" />
<ScalarProperty Name="DissolveTemperature" ColumnName="DissolveTemperature" />
<ScalarProperty Name="SchDispenseTime" ColumnName="SchDispenseTime" />
<ScalarProperty Name="UserAccount" ColumnName="UserAccount" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="DyelotsBulkedRecipeHistory">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.DyelotsBulkedRecipeHistory">
<MappingFragment StoreEntitySet="DyelotsBulkedRecipeHistory">
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="StepNumber" ColumnName="StepNumber" />
<ScalarProperty Name="Station" ColumnName="Station" />
<ScalarProperty Name="DevideNo" ColumnName="DevideNo" />
<ScalarProperty Name="ShotNo" ColumnName="ShotNo" />
<ScalarProperty Name="ProductCode" ColumnName="ProductCode" />
<ScalarProperty Name="ProductName" ColumnName="ProductName" />
<ScalarProperty Name="ProductType" ColumnName="ProductType" />
<ScalarProperty Name="ProductLot" ColumnName="ProductLot" />
<ScalarProperty Name="ProductClass" ColumnName="ProductClass" />
<ScalarProperty Name="SN" ColumnName="SN" />
<ScalarProperty Name="Amount" ColumnName="Amount" />
<ScalarProperty Name="Grams" ColumnName="Grams" />
<ScalarProperty Name="Created" ColumnName="Created" />
<ScalarProperty Name="DispenseStartTime" ColumnName="DispenseStartTime" />
<ScalarProperty Name="DispenseEndTime" ColumnName="DispenseEndTime" />
<ScalarProperty Name="DispenseTime" ColumnName="DispenseTime" />
<ScalarProperty Name="DispenseGrams" ColumnName="DispenseGrams" />
<ScalarProperty Name="DispenseResult" ColumnName="DispenseResult" />
<ScalarProperty Name="LADispenseResult" ColumnName="LADispenseResult" />
<ScalarProperty Name="Volume" ColumnName="Volume" />
<ScalarProperty Name="HostRead" ColumnName="HostRead" />
<ScalarProperty Name="State" ColumnName="State" />
<ScalarProperty Name="NeedDispense" ColumnName="NeedDispense" />
<ScalarProperty Name="MixTankNo" ColumnName="MixTankNo" />
<ScalarProperty Name="DyeWeightTime" ColumnName="DyeWeightTime" />
<ScalarProperty Name="Process" ColumnName="Process" />
<ScalarProperty Name="FinalProcess" ColumnName="FinalProcess" />
<ScalarProperty Name="Dispenser" ColumnName="Dispenser" />
<ScalarProperty Name="TankNo" ColumnName="TankNo" />
<ScalarProperty Name="Error" ColumnName="Error" />
<ScalarProperty Name="BucketNo" ColumnName="BucketNo" />
<ScalarProperty Name="DID" ColumnName="DID" />
<ScalarProperty Name="StepDevideNo" ColumnName="StepDevideNo" />
<ScalarProperty Name="StepTotalBuckets" ColumnName="StepTotalBuckets" />
<ScalarProperty Name="ReferenceDyelot" ColumnName="ReferenceDyelot" />
<ScalarProperty Name="DispenseWater" ColumnName="DispenseWater" />
<ScalarProperty Name="DrainWater" ColumnName="DrainWater" />
<ScalarProperty Name="DissolveTemperature" ColumnName="DissolveTemperature" />
<ScalarProperty Name="SchDispenseTime" ColumnName="SchDispenseTime" />
<ScalarProperty Name="FinishTime" ColumnName="FinishTime" />
<ScalarProperty Name="UserAccount" ColumnName="UserAccount" />
<ScalarProperty Name="Updated" ColumnName="Updated" />
<ScalarProperty Name="Tagged" ColumnName="Tagged" />
<ScalarProperty Name="TotalBuckets" ColumnName="TotalBuckets" />
<ScalarProperty Name="Final" ColumnName="Final" />
<ScalarProperty Name="DissolveManual" ColumnName="DissolveManual" />
<ScalarProperty Name="DeductTotalBuckets" ColumnName="DeductTotalBuckets" />
<ScalarProperty Name="DeductBuckets" ColumnName="DeductBuckets" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="DyelotsHistory">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.DyelotsHistory">
<MappingFragment StoreEntitySet="DyelotsHistory">
<ScalarProperty Name="ID" ColumnName="ID" />
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="Industry" ColumnName="Industry" />
<ScalarProperty Name="Machine" ColumnName="Machine" />
<ScalarProperty Name="DispenseMachine" ColumnName="DispenseMachine" />
<ScalarProperty Name="StartTime" ColumnName="StartTime" />
<ScalarProperty Name="EndTime" ColumnName="EndTime" />
<ScalarProperty Name="StandardTime" ColumnName="StandardTime" />
<ScalarProperty Name="TotalShot" ColumnName="TotalShot" />
<ScalarProperty Name="State" ColumnName="State" />
<ScalarProperty Name="Blocked" ColumnName="Blocked" />
<ScalarProperty Name="Program" ColumnName="Program" />
<ScalarProperty Name="Color" ColumnName="Color" />
<ScalarProperty Name="CreationTime" ColumnName="CreationTime" />
<ScalarProperty Name="Batch" ColumnName="Batch" />
<ScalarProperty Name="OrderNo" ColumnName="OrderNo" />
<ScalarProperty Name="TotalWeight" ColumnName="TotalWeight" />
<ScalarProperty Name="LiquidRatio" ColumnName="LiquidRatio" />
<ScalarProperty Name="TotalVolume" ColumnName="TotalVolume" />
<ScalarProperty Name="AcidQty" ColumnName="AcidQty" />
<ScalarProperty Name="ActualAcidQty" ColumnName="ActualAcidQty" />
<ScalarProperty Name="Sequence" ColumnName="Sequence" />
<ScalarProperty Name="DispenseMode" ColumnName="DispenseMode" />
<ScalarProperty Name="DyeDissolve" ColumnName="DyeDissolve" />
<ScalarProperty Name="CheDissolve" ColumnName="CheDissolve" />
<ScalarProperty Name="TotalBuckets" ColumnName="TotalBuckets" />
<ScalarProperty Name="SpcTotalBuckets" ColumnName="SpcTotalBuckets" />
<ScalarProperty Name="DissolveMethod" ColumnName="DissolveMethod" />
<ScalarProperty Name="ReferenceDyelot" ColumnName="ReferenceDyelot" />
<ScalarProperty Name="Final" ColumnName="Final" />
<ScalarProperty Name="Shade" ColumnName="Shade" />
<ScalarProperty Name="UserAccount" ColumnName="UserAccount" />
<ScalarProperty Name="Updated" ColumnName="Updated" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="DyelotsInAuto">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.DyelotsInAuto">
<MappingFragment StoreEntitySet="DyelotsInAuto">
<ScalarProperty Name="Machine" ColumnName="Machine" />
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="StepNumber" ColumnName="StepNumber" />
<ScalarProperty Name="DyeState" ColumnName="DyeState" />
<ScalarProperty Name="SchDispenseTime" ColumnName="SchDispenseTime" />
<ScalarProperty Name="IsCheck" ColumnName="IsCheck" />
<ScalarProperty Name="Shade" ColumnName="Shade" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="DyelotsInAutoHistory">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.DyelotsInAutoHistory">
<MappingFragment StoreEntitySet="DyelotsInAutoHistory">
<ScalarProperty Name="Machine" ColumnName="Machine" />
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="StepNumber" ColumnName="StepNumber" />
<ScalarProperty Name="DyeState" ColumnName="DyeState" />
<ScalarProperty Name="SchDispenseTime" ColumnName="SchDispenseTime" />
<ScalarProperty Name="IsCheck" ColumnName="IsCheck" />
<ScalarProperty Name="Shade" ColumnName="Shade" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="EventList">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.EventList">
<MappingFragment StoreEntitySet="EventList">
<ScalarProperty Name="Code" ColumnName="Code" />
<ScalarProperty Name="Description" ColumnName="Description" />
<ScalarProperty Name="Description_BIG" ColumnName="Description_BIG" />
<ScalarProperty Name="Description_GB" ColumnName="Description_GB" />
<ScalarProperty Name="CreateDate" ColumnName="CreateDate" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="LA571Tanks">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.LA571Tanks">
<MappingFragment StoreEntitySet="LA571Tanks">
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="Station" ColumnName="Station" />
<ScalarProperty Name="Tank" ColumnName="Tank" />
<ScalarProperty Name="Volume" ColumnName="Volume" />
<ScalarProperty Name="State" ColumnName="State" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="LabDyeDslvQueue">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.LabDyeDslvQueue">
<MappingFragment StoreEntitySet="LabDyeDslvQueue">
<ScalarProperty Name="TankNo" ColumnName="TankNo" />
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="StepNumber" ColumnName="StepNumber" />
<ScalarProperty Name="State" ColumnName="State" />
<ScalarProperty Name="ShelfID" ColumnName="ShelfID" />
<ScalarProperty Name="DistID" ColumnName="DistID" />
<ScalarProperty Name="SchDispenseTime" ColumnName="SchDispenseTime" />
<ScalarProperty Name="Updated" ColumnName="Updated" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="LabDyeDslvQueueHistory">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.LabDyeDslvQueueHistory">
<MappingFragment StoreEntitySet="LabDyeDslvQueueHistory">
<ScalarProperty Name="TankNo" ColumnName="TankNo" />
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="StepNumber" ColumnName="StepNumber" />
<ScalarProperty Name="State" ColumnName="State" />
<ScalarProperty Name="ShelfID" ColumnName="ShelfID" />
<ScalarProperty Name="DistID" ColumnName="DistID" />
<ScalarProperty Name="SchDispenseTime" ColumnName="SchDispenseTime" />
<ScalarProperty Name="Created" ColumnName="Created" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="MachinesHistory">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.MachinesHistory">
<MappingFragment StoreEntitySet="MachinesHistory">
<ScalarProperty Name="Machine" ColumnName="Machine" />
<ScalarProperty Name="DispenseDyelot" ColumnName="DispenseDyelot" />
<ScalarProperty Name="DispenseReDye" ColumnName="DispenseReDye" />
<ScalarProperty Name="ChemicalCallOff" ColumnName="ChemicalCallOff" />
<ScalarProperty Name="ChemicalState" ColumnName="ChemicalState" />
<ScalarProperty Name="ChemicalTank" ColumnName="ChemicalTank" />
<ScalarProperty Name="ChemicalTankSize" ColumnName="ChemicalTankSize" />
<ScalarProperty Name="ChemicalDispenser" ColumnName="ChemicalDispenser" />
<ScalarProperty Name="ChemicalError" ColumnName="ChemicalError" />
<ScalarProperty Name="ChemicalCallOff2" ColumnName="ChemicalCallOff2" />
<ScalarProperty Name="ChemicalState2" ColumnName="ChemicalState2" />
<ScalarProperty Name="ChemicalTank2" ColumnName="ChemicalTank2" />
<ScalarProperty Name="DyeCallOff" ColumnName="DyeCallOff" />
<ScalarProperty Name="DyeState" ColumnName="DyeState" />
<ScalarProperty Name="DyeTank" ColumnName="DyeTank" />
<ScalarProperty Name="DyeTankSize" ColumnName="DyeTankSize" />
<ScalarProperty Name="DyeDispenser" ColumnName="DyeDispenser" />
<ScalarProperty Name="DyeError" ColumnName="DyeError" />
<ScalarProperty Name="PowderCallOff" ColumnName="PowderCallOff" />
<ScalarProperty Name="PowderState" ColumnName="PowderState" />
<ScalarProperty Name="PowderTank" ColumnName="PowderTank" />
<ScalarProperty Name="PowderTankSize" ColumnName="PowderTankSize" />
<ScalarProperty Name="PowderDispenser" ColumnName="PowderDispenser" />
<ScalarProperty Name="PowderError" ColumnName="PowderError" />
<ScalarProperty Name="HostRead" ColumnName="HostRead" />
<ScalarProperty Name="DyeDispenseDyelot" ColumnName="DyeDispenseDyelot" />
<ScalarProperty Name="DyeDispenseReDye" ColumnName="DyeDispenseReDye" />
<ScalarProperty Name="CheDispenseDyelot" ColumnName="CheDispenseDyelot" />
<ScalarProperty Name="CheDispenseReDye" ColumnName="CheDispenseReDye" />
<ScalarProperty Name="PwdDispenseDyelot" ColumnName="PwdDispenseDyelot" />
<ScalarProperty Name="PwdDispenseReDye" ColumnName="PwdDispenseReDye" />
<ScalarProperty Name="Updated" ColumnName="Updated" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="MachinesHistoryOld">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.MachinesHistoryOld">
<MappingFragment StoreEntitySet="MachinesHistoryOld">
<ScalarProperty Name="Machine" ColumnName="Machine" />
<ScalarProperty Name="DispenseDyelot" ColumnName="DispenseDyelot" />
<ScalarProperty Name="DispenseReDye" ColumnName="DispenseReDye" />
<ScalarProperty Name="ChemicalCallOff" ColumnName="ChemicalCallOff" />
<ScalarProperty Name="ChemicalState" ColumnName="ChemicalState" />
<ScalarProperty Name="ChemicalTank" ColumnName="ChemicalTank" />
<ScalarProperty Name="ChemicalTankSize" ColumnName="ChemicalTankSize" />
<ScalarProperty Name="ChemicalDispenser" ColumnName="ChemicalDispenser" />
<ScalarProperty Name="ChemicalError" ColumnName="ChemicalError" />
<ScalarProperty Name="ChemicalCallOff2" ColumnName="ChemicalCallOff2" />
<ScalarProperty Name="ChemicalState2" ColumnName="ChemicalState2" />
<ScalarProperty Name="ChemicalTank2" ColumnName="ChemicalTank2" />
<ScalarProperty Name="DyeCallOff" ColumnName="DyeCallOff" />
<ScalarProperty Name="DyeState" ColumnName="DyeState" />
<ScalarProperty Name="DyeTank" ColumnName="DyeTank" />
<ScalarProperty Name="DyeTankSize" ColumnName="DyeTankSize" />
<ScalarProperty Name="DyeDispenser" ColumnName="DyeDispenser" />
<ScalarProperty Name="DyeError" ColumnName="DyeError" />
<ScalarProperty Name="PowderCallOff" ColumnName="PowderCallOff" />
<ScalarProperty Name="PowderState" ColumnName="PowderState" />
<ScalarProperty Name="PowderTank" ColumnName="PowderTank" />
<ScalarProperty Name="PowderTankSize" ColumnName="PowderTankSize" />
<ScalarProperty Name="PowderDispenser" ColumnName="PowderDispenser" />
<ScalarProperty Name="PowderError" ColumnName="PowderError" />
<ScalarProperty Name="HostRead" ColumnName="HostRead" />
<ScalarProperty Name="DyeDispenseDyelot" ColumnName="DyeDispenseDyelot" />
<ScalarProperty Name="DyeDispenseReDye" ColumnName="DyeDispenseReDye" />
<ScalarProperty Name="Updated" ColumnName="Updated" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="MachineStateHistory">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.MachineStateHistory">
<MappingFragment StoreEntitySet="MachineStateHistory">
<ScalarProperty Name="Machine" ColumnName="Machine" />
<ScalarProperty Name="DispenseDyelot" ColumnName="DispenseDyelot" />
<ScalarProperty Name="DispenseReDye" ColumnName="DispenseReDye" />
<ScalarProperty Name="ChemicalCallOff" ColumnName="ChemicalCallOff" />
<ScalarProperty Name="ChemicalState" ColumnName="ChemicalState" />
<ScalarProperty Name="ChemicalTank" ColumnName="ChemicalTank" />
<ScalarProperty Name="ChemicalTankSize" ColumnName="ChemicalTankSize" />
<ScalarProperty Name="ChemicalDispenser" ColumnName="ChemicalDispenser" />
<ScalarProperty Name="ChemicalError" ColumnName="ChemicalError" />
<ScalarProperty Name="ChemicalTargetSelect" ColumnName="ChemicalTargetSelect" />
<ScalarProperty Name="DyeCallOff" ColumnName="DyeCallOff" />
<ScalarProperty Name="DyeState" ColumnName="DyeState" />
<ScalarProperty Name="DyeTank" ColumnName="DyeTank" />
<ScalarProperty Name="DyeTankSize" ColumnName="DyeTankSize" />
<ScalarProperty Name="DyeDispenser" ColumnName="DyeDispenser" />
<ScalarProperty Name="DyeError" ColumnName="DyeError" />
<ScalarProperty Name="PowderCallOff" ColumnName="PowderCallOff" />
<ScalarProperty Name="PowderState" ColumnName="PowderState" />
<ScalarProperty Name="PowderTank" ColumnName="PowderTank" />
<ScalarProperty Name="PowderTankSize" ColumnName="PowderTankSize" />
<ScalarProperty Name="PowderDispenser" ColumnName="PowderDispenser" />
<ScalarProperty Name="PowderError" ColumnName="PowderError" />
<ScalarProperty Name="HostRead" ColumnName="HostRead" />
<ScalarProperty Name="Updated" ColumnName="Updated" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="ManualWeightQueue">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.ManualWeightQueue">
<MappingFragment StoreEntitySet="ManualWeightQueue">
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="StepNumber" ColumnName="StepNumber" />
<ScalarProperty Name="State" ColumnName="State" />
<ScalarProperty Name="CallTime" ColumnName="CallTime" />
<ScalarProperty Name="Module" ColumnName="Module" />
<ScalarProperty Name="ModuleName" ColumnName="ModuleName" />
<ScalarProperty Name="Area" ColumnName="Area" />
<ScalarProperty Name="EndTime" ColumnName="EndTime" />
<ScalarProperty Name="Updated" ColumnName="Updated" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="ManualWeightQueueHistory">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.ManualWeightQueueHistory">
<MappingFragment StoreEntitySet="ManualWeightQueueHistory">
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="StepNumber" ColumnName="StepNumber" />
<ScalarProperty Name="State" ColumnName="State" />
<ScalarProperty Name="CallTime" ColumnName="CallTime" />
<ScalarProperty Name="Module" ColumnName="Module" />
<ScalarProperty Name="ModuleName" ColumnName="ModuleName" />
<ScalarProperty Name="Area" ColumnName="Area" />
<ScalarProperty Name="EndTime" ColumnName="EndTime" />
<ScalarProperty Name="Created" ColumnName="Created" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="PartsStatus">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.PartsStatus">
<MappingFragment StoreEntitySet="PartsStatus">
<ScalarProperty Name="CUST_CODE" ColumnName="CUST_CODE" />
<ScalarProperty Name="Dispenser" ColumnName="Dispenser" />
<ScalarProperty Name="Device" ColumnName="Device" />
<ScalarProperty Name="PartsCode" ColumnName="PartsCode" />
<ScalarProperty Name="PartsName" ColumnName="PartsName" />
<ScalarProperty Name="PartsType" ColumnName="PartsType" />
<ScalarProperty Name="Description" ColumnName="Description" />
<ScalarProperty Name="FactoryValue" ColumnName="FactoryValue" />
<ScalarProperty Name="UsedCount" ColumnName="UsedCount" />
<ScalarProperty Name="RunningTime" ColumnName="RunningTime" />
<ScalarProperty Name="ResetDate" ColumnName="ResetDate" />
<ScalarProperty Name="WarnDate" ColumnName="WarnDate" />
<ScalarProperty Name="UpdateDate" ColumnName="UpdateDate" />
<ScalarProperty Name="CreateDate" ColumnName="CreateDate" />
<ScalarProperty Name="UserAccount" ColumnName="UserAccount" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="PartsStatusHistory">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.PartsStatusHistory">
<MappingFragment StoreEntitySet="PartsStatusHistory">
<ScalarProperty Name="CUST_CODE" ColumnName="CUST_CODE" />
<ScalarProperty Name="Dispenser" ColumnName="Dispenser" />
<ScalarProperty Name="Device" ColumnName="Device" />
<ScalarProperty Name="PartsCode" ColumnName="PartsCode" />
<ScalarProperty Name="PartsName" ColumnName="PartsName" />
<ScalarProperty Name="PartsType" ColumnName="PartsType" />
<ScalarProperty Name="Description" ColumnName="Description" />
<ScalarProperty Name="FactoryValue" ColumnName="FactoryValue" />
<ScalarProperty Name="UsedCount" ColumnName="UsedCount" />
<ScalarProperty Name="RunningTime" ColumnName="RunningTime" />
<ScalarProperty Name="ResetDate" ColumnName="ResetDate" />
<ScalarProperty Name="WarnDate" ColumnName="WarnDate" />
<ScalarProperty Name="UpdateDate" ColumnName="UpdateDate" />
<ScalarProperty Name="CreateDate" ColumnName="CreateDate" />
<ScalarProperty Name="UserAccount" ColumnName="UserAccount" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="PipeRefill">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.PipeRefill">
<MappingFragment StoreEntitySet="PipeRefill">
<ScalarProperty Name="ProductCode" ColumnName="ProductCode" />
<ScalarProperty Name="ProductName" ColumnName="ProductName" />
<ScalarProperty Name="ProductType" ColumnName="ProductType" />
<ScalarProperty Name="ProductLot" ColumnName="ProductLot" />
<ScalarProperty Name="Dispenser" ColumnName="Dispenser" />
<ScalarProperty Name="No" ColumnName="No" />
<ScalarProperty Name="Qty" ColumnName="Qty" />
<ScalarProperty Name="Percentage" ColumnName="Percentage" />
<ScalarProperty Name="RefillTime" ColumnName="RefillTime" />
<ScalarProperty Name="AlarmTime" ColumnName="AlarmTime" />
<ScalarProperty Name="Updated" ColumnName="Updated" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="PipeRefillHistory">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.PipeRefillHistory">
<MappingFragment StoreEntitySet="PipeRefillHistory">
<ScalarProperty Name="ProductCode" ColumnName="ProductCode" />
<ScalarProperty Name="ProductName" ColumnName="ProductName" />
<ScalarProperty Name="ProductType" ColumnName="ProductType" />
<ScalarProperty Name="ProductLot" ColumnName="ProductLot" />
<ScalarProperty Name="Dispenser" ColumnName="Dispenser" />
<ScalarProperty Name="No" ColumnName="No" />
<ScalarProperty Name="Qty" ColumnName="Qty" />
<ScalarProperty Name="Percentage" ColumnName="Percentage" />
<ScalarProperty Name="RefillTime" ColumnName="RefillTime" />
<ScalarProperty Name="AlarmTime" ColumnName="AlarmTime" />
<ScalarProperty Name="Created" ColumnName="Created" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Pipes">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.Pipes">
<MappingFragment StoreEntitySet="Pipes">
<ScalarProperty Name="ProductCode" ColumnName="ProductCode" />
<ScalarProperty Name="ProductName" ColumnName="ProductName" />
<ScalarProperty Name="ProductType" ColumnName="ProductType" />
<ScalarProperty Name="ProductLot" ColumnName="ProductLot" />
<ScalarProperty Name="Dispenser" ColumnName="Dispenser" />
<ScalarProperty Name="Enabled" ColumnName="Enabled" />
<ScalarProperty Name="No" ColumnName="No" />
<ScalarProperty Name="MinLimit" ColumnName="MinLimit" />
<ScalarProperty Name="MaxLimit" ColumnName="MaxLimit" />
<ScalarProperty Name="MinAction" ColumnName="MinAction" />
<ScalarProperty Name="MaxAction" ColumnName="MaxAction" />
<ScalarProperty Name="Conc" ColumnName="Conc" />
<ScalarProperty Name="Gravity" ColumnName="Gravity" />
<ScalarProperty Name="Alarm" ColumnName="Alarm" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="ProductLocation">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.ProductLocation">
<MappingFragment StoreEntitySet="ProductLocation">
<ScalarProperty Name="ProductCode" ColumnName="ProductCode" />
<ScalarProperty Name="ProductName" ColumnName="ProductName" />
<ScalarProperty Name="Type" ColumnName="Type" />
<ScalarProperty Name="Dispenser" ColumnName="Dispenser" />
<ScalarProperty Name="Position" ColumnName="Position" />
<ScalarProperty Name="TablePosition" ColumnName="TablePosition" />
<ScalarProperty Name="StockDate" ColumnName="StockDate" />
<ScalarProperty Name="StockUsage" ColumnName="StockUsage" />
<ScalarProperty Name="StockOnHand" ColumnName="StockOnHand" />
<ScalarProperty Name="Alarm" ColumnName="Alarm" />
<ScalarProperty Name="AlarmTime" ColumnName="AlarmTime" />
<ScalarProperty Name="Enabled" ColumnName="Enabled" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="ProductLocationHistory">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.ProductLocationHistory">
<MappingFragment StoreEntitySet="ProductLocationHistory">
<ScalarProperty Name="ProductCode" ColumnName="ProductCode" />
<ScalarProperty Name="ProductName" ColumnName="ProductName" />
<ScalarProperty Name="Type" ColumnName="Type" />
<ScalarProperty Name="Dispenser" ColumnName="Dispenser" />
<ScalarProperty Name="Position" ColumnName="Position" />
<ScalarProperty Name="TablePosition" ColumnName="TablePosition" />
<ScalarProperty Name="StockDate" ColumnName="StockDate" />
<ScalarProperty Name="StockUsage" ColumnName="StockUsage" />
<ScalarProperty Name="StockOnHand" ColumnName="StockOnHand" />
<ScalarProperty Name="Alarm" ColumnName="Alarm" />
<ScalarProperty Name="AlarmTime" ColumnName="AlarmTime" />
<ScalarProperty Name="Enabled" ColumnName="Enabled" />
<ScalarProperty Name="Updated" ColumnName="Updated" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="RecipeDeduct">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.RecipeDeduct">
<MappingFragment StoreEntitySet="RecipeDeduct">
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="StepNumber" ColumnName="StepNumber" />
<ScalarProperty Name="Station" ColumnName="Station" />
<ScalarProperty Name="ShotNo" ColumnName="ShotNo" />
<ScalarProperty Name="ProductCode" ColumnName="ProductCode" />
<ScalarProperty Name="DeductTime" ColumnName="DeductTime" />
<ScalarProperty Name="DeductGrams" ColumnName="DeductGrams" />
<ScalarProperty Name="BucketNo" ColumnName="BucketNo" />
<ScalarProperty Name="DID" ColumnName="DID" />
<ScalarProperty Name="UserAccount" ColumnName="UserAccount" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="RecipeDeductHistory">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.RecipeDeductHistory">
<MappingFragment StoreEntitySet="RecipeDeductHistory">
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="StepNumber" ColumnName="StepNumber" />
<ScalarProperty Name="Station" ColumnName="Station" />
<ScalarProperty Name="ShotNo" ColumnName="ShotNo" />
<ScalarProperty Name="ProductCode" ColumnName="ProductCode" />
<ScalarProperty Name="DeductTime" ColumnName="DeductTime" />
<ScalarProperty Name="DeductGrams" ColumnName="DeductGrams" />
<ScalarProperty Name="BucketNo" ColumnName="BucketNo" />
<ScalarProperty Name="DID" ColumnName="DID" />
<ScalarProperty Name="UserAccount" ColumnName="UserAccount" />
<ScalarProperty Name="Updated" ColumnName="Updated" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="RecipeDetail">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.RecipeDetail">
<MappingFragment StoreEntitySet="RecipeDetail">
<ScalarProperty Name="RcpCode" ColumnName="RcpCode" />
<ScalarProperty Name="ProductCode" ColumnName="ProductCode" />
<ScalarProperty Name="ProductName" ColumnName="ProductName" />
<ScalarProperty Name="Conc" ColumnName="Conc" />
<ScalarProperty Name="HostRead" ColumnName="HostRead" />
<ScalarProperty Name="Created" ColumnName="Created" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Recipes">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.Recipes">
<MappingFragment StoreEntitySet="Recipes">
<ScalarProperty Name="RcpCode" ColumnName="RcpCode" />
<ScalarProperty Name="RcpName" ColumnName="RcpName" />
<ScalarProperty Name="Unit" ColumnName="Unit" />
<ScalarProperty Name="Created" ColumnName="Created" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="RFIDRecordQueue">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.RFIDRecordQueue">
<MappingFragment StoreEntitySet="RFIDRecordQueue">
<ScalarProperty Name="Station" ColumnName="Station" />
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="StepNumber" ColumnName="StepNumber" />
<ScalarProperty Name="Machine" ColumnName="Machine" />
<ScalarProperty Name="DevideNo" ColumnName="DevideNo" />
<ScalarProperty Name="TotalBuckets" ColumnName="TotalBuckets" />
<ScalarProperty Name="State" ColumnName="State" />
<ScalarProperty Name="BucketNo" ColumnName="BucketNo" />
<ScalarProperty Name="DID" ColumnName="DID" />
<ScalarProperty Name="Source" ColumnName="Source" />
<ScalarProperty Name="Dest" ColumnName="Dest" />
<ScalarProperty Name="ProductCode" ColumnName="ProductCode" />
<ScalarProperty Name="Updated" ColumnName="Updated" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="RFIDRecordQueueHistory">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.RFIDRecordQueueHistory">
<MappingFragment StoreEntitySet="RFIDRecordQueueHistory">
<ScalarProperty Name="Station" ColumnName="Station" />
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="StepNumber" ColumnName="StepNumber" />
<ScalarProperty Name="Machine" ColumnName="Machine" />
<ScalarProperty Name="DevideNo" ColumnName="DevideNo" />
<ScalarProperty Name="TotalBuckets" ColumnName="TotalBuckets" />
<ScalarProperty Name="State" ColumnName="State" />
<ScalarProperty Name="BucketNo" ColumnName="BucketNo" />
<ScalarProperty Name="DID" ColumnName="DID" />
<ScalarProperty Name="ProductCode" ColumnName="ProductCode" />
<ScalarProperty Name="Created" ColumnName="Created" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="SampleDyeDslvQueue">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.SampleDyeDslvQueue">
<MappingFragment StoreEntitySet="SampleDyeDslvQueue">
<ScalarProperty Name="TankNo" ColumnName="TankNo" />
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="StepNumber" ColumnName="StepNumber" />
<ScalarProperty Name="State" ColumnName="State" />
<ScalarProperty Name="PassAuto" ColumnName="PassAuto" />
<ScalarProperty Name="ShelfID" ColumnName="ShelfID" />
<ScalarProperty Name="Machine" ColumnName="Machine" />
<ScalarProperty Name="SchDispenseTime" ColumnName="SchDispenseTime" />
<ScalarProperty Name="Updated" ColumnName="Updated" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="SampleDyeDslvQueueHistory">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.SampleDyeDslvQueueHistory">
<MappingFragment StoreEntitySet="SampleDyeDslvQueueHistory">
<ScalarProperty Name="TankNo" ColumnName="TankNo" />
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="StepNumber" ColumnName="StepNumber" />
<ScalarProperty Name="State" ColumnName="State" />
<ScalarProperty Name="PassAuto" ColumnName="PassAuto" />
<ScalarProperty Name="ShelfID" ColumnName="ShelfID" />
<ScalarProperty Name="Machine" ColumnName="Machine" />
<ScalarProperty Name="SchDispenseTime" ColumnName="SchDispenseTime" />
<ScalarProperty Name="Created" ColumnName="Created" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="ScheduledDyelot">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.ScheduledDyelot">
<MappingFragment StoreEntitySet="ScheduledDyelot">
<ScalarProperty Name="ID" ColumnName="ID" />
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="StepNumber" ColumnName="StepNumber" />
<ScalarProperty Name="Process" ColumnName="Process" />
<ScalarProperty Name="Dispenser" ColumnName="Dispenser" />
<ScalarProperty Name="Machine" ColumnName="Machine" />
<ScalarProperty Name="TankNo" ColumnName="TankNo" />
<ScalarProperty Name="ScheduledTime" ColumnName="ScheduledTime" />
<ScalarProperty Name="Checked" ColumnName="Checked" />
<ScalarProperty Name="UserAccount" ColumnName="UserAccount" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="ScheduledDyelotHistory">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.ScheduledDyelotHistory">
<MappingFragment StoreEntitySet="ScheduledDyelotHistory">
<ScalarProperty Name="ID" ColumnName="ID" />
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="StepNumber" ColumnName="StepNumber" />
<ScalarProperty Name="Process" ColumnName="Process" />
<ScalarProperty Name="Dispenser" ColumnName="Dispenser" />
<ScalarProperty Name="Machine" ColumnName="Machine" />
<ScalarProperty Name="TankNo" ColumnName="TankNo" />
<ScalarProperty Name="ScheduledTime" ColumnName="ScheduledTime" />
<ScalarProperty Name="Checked" ColumnName="Checked" />
<ScalarProperty Name="UserAccount" ColumnName="UserAccount" />
<ScalarProperty Name="Updated" ColumnName="Updated" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Shelf">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.Shelf">
<MappingFragment StoreEntitySet="Shelf">
<ScalarProperty Name="ShelfID" ColumnName="ShelfID" />
<ScalarProperty Name="MaxLayer" ColumnName="MaxLayer" />
<ScalarProperty Name="MaxPosition" ColumnName="MaxPosition" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TagShelf">
<EntityTypeMapping TypeName="BatchDyeingCentralModel.TagShelf">
<MappingFragment StoreEntitySet="TagShelf">
<ScalarProperty Name="BucketNo" ColumnName="BucketNo" />
<ScalarProperty Name="Dyelot" ColumnName="Dyelot" />
<ScalarProperty Name="Machines" ColumnName="Machines" />
<ScalarProperty Name="TagManagerNo" ColumnName="TagManagerNo" />
<ScalarProperty Name="ReDye" ColumnName="ReDye" />
<ScalarProperty Name="StepNumber" ColumnName="StepNumber" />
<ScalarProperty Name="DID" ColumnName="DID" />
<ScalarProperty Name="TotalBuckets" ColumnName="TotalBuckets" />
<ScalarProperty Name="DevideNo" ColumnName="DevideNo" />
<ScalarProperty Name="OnShelfTime" ColumnName="OnShelfTime" />
</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>