<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DataSet1" targetNamespace="http://tempuri.org/DataSet1.xsd" xmlns:mstns="http://tempuri.org/DataSet1.xsd" xmlns="http://tempuri.org/DataSet1.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" GeneratorFunctionsComponentClassName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" UserFunctionsComponentName="QueriesTableAdapter" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="CS" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="CS (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Project.Properties.Settings.GlobalReference.Default.CS" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="K4EE_Component_Reel_ResultTableAdapter" GeneratorDataComponentClassName="K4EE_Component_Reel_ResultTableAdapter" Name="K4EE_Component_Reel_Result" UserDataComponentName="K4EE_Component_Reel_ResultTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CS (Settings)" DbObjectName="WMS.dbo.K4EE_Component_Reel_Result" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [Component_Reel_Result] WHERE (([idx] = @Original_idx) AND ([STIME] = @Original_STIME) AND ((@IsNull_ETIME = 1 AND [ETIME] IS NULL) OR ([ETIME] = @Original_ETIME)) AND ((@IsNull_PDATE = 1 AND [PDATE] IS NULL) OR ([PDATE] = @Original_PDATE)) AND ((@IsNull_JTYPE = 1 AND [JTYPE] IS NULL) OR ([JTYPE] = @Original_JTYPE)) AND ((@IsNull_JGUID = 1 AND [JGUID] IS NULL) OR ([JGUID] = @Original_JGUID)) AND ((@IsNull_SID = 1 AND [SID] IS NULL) OR ([SID] = @Original_SID)) AND ((@IsNull_SID0 = 1 AND [SID0] IS NULL) OR ([SID0] = @Original_SID0)) AND ((@IsNull_RID = 1 AND [RID] IS NULL) OR ([RID] = @Original_RID)) AND ((@IsNull_RID0 = 1 AND [RID0] IS NULL) OR ([RID0] = @Original_RID0)) AND ((@IsNull_RSN = 1 AND [RSN] IS NULL) OR ([RSN] = @Original_RSN)) AND ((@IsNull_QR = 1 AND [QR] IS NULL) OR ([QR] = @Original_QR)) AND ((@IsNull_ZPL = 1 AND [ZPL] IS NULL) OR ([ZPL] = @Original_ZPL)) AND ((@IsNull_POS = 1 AND [POS] IS NULL) OR ([POS] = @Original_POS)) AND ((@IsNull_LOC = 1 AND [LOC] IS NULL) OR ([LOC] = @Original_LOC)) AND ((@IsNull_ANGLE = 1 AND [ANGLE] IS NULL) OR ([ANGLE] = @Original_ANGLE)) AND ((@IsNull_QTY = 1 AND [QTY] IS NULL) OR ([QTY] = @Original_QTY)) AND ((@IsNull_QTY0 = 1 AND [QTY0] IS NULL) OR ([QTY0] = @Original_QTY0)) AND ([wdate] = @Original_wdate) AND ((@IsNull_VNAME = 1 AND [VNAME] IS NULL) OR ([VNAME] = @Original_VNAME)) AND ((@IsNull_PRNATTACH = 1 AND [PRNATTACH] IS NULL) OR ([PRNATTACH] = @Original_PRNATTACH)) AND ((@IsNull_PRNVALID = 1 AND [PRNVALID] IS NULL) OR ([PRNVALID] = @Original_PRNVALID)) AND ((@IsNull_PTIME = 1 AND [PTIME] IS NULL) OR ([PTIME] = @Original_PTIME)) AND ((@IsNull_MFGDATE = 1 AND [MFGDATE] IS NULL) OR ([MFGDATE] = @Original_MFGDATE)) AND ((@IsNull_VLOT = 1 AND [VLOT] IS NULL) OR ([VLOT] = @Original_VLOT)) AND ((@IsNull_REMARK = 1 AND [REMARK] IS NULL) OR ([REMARK] = @Original_REMARK)) AND ((@IsNull_MC = 1 AND [MC] IS NULL) OR ([MC] = @Original_MC)) AND ((@IsNull_PARTNO = 1 AND [PARTNO] IS NULL) OR ([PARTNO] = @Original_PARTNO)) AND ((@IsNull_CUSTCODE = 1 AND [CUSTCODE] IS NULL) OR ([CUSTCODE] = @Original_CUSTCODE)) AND ((@IsNull_ATIME = 1 AND [ATIME] IS NULL) OR ([ATIME] = @Original_ATIME)) AND ((@IsNull_BATCH = 1 AND [BATCH] IS NULL) OR ([BATCH] = @Original_BATCH)) AND ((@IsNull_qtymax = 1 AND [qtymax] IS NULL) OR ([qtymax] = @Original_qtymax)) AND ((@IsNull_GUID = 1 AND [GUID] IS NULL) OR ([GUID] = @Original_GUID)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_STIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="STIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ETIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ETIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ETIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ETIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PDATE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PDATE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PDATE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PDATE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_JTYPE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="JTYPE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_JTYPE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="JTYPE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_JGUID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="JGUID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_JGUID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="JGUID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SID0" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SID0" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SID0" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SID0" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_RID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_RID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="RID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_RID0" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RID0" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_RID0" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="RID0" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_RSN" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RSN" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_RSN" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="RSN" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_QR" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QR" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_QR" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="QR" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ZPL" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ZPL" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ZPL" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ZPL" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_POS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="POS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_POS" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="POS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LOC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LOC" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_LOC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LOC" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ANGLE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ANGLE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_ANGLE" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="ANGLE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_QTY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QTY" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_QTY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QTY" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_QTY0" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QTY0" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_QTY0" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QTY0" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_VNAME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VNAME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_VNAME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VNAME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PRNATTACH" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PRNATTACH" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_PRNATTACH" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="PRNATTACH" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PRNVALID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PRNVALID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_PRNVALID" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="PRNVALID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PTIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PTIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_PTIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="PTIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MFGDATE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MFGDATE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MFGDATE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MFGDATE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_VLOT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VLOT" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_VLOT" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VLOT" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_REMARK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="REMARK" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_REMARK" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="REMARK" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PARTNO" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PARTNO" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PARTNO" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PARTNO" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CUSTCODE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CUSTCODE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CUSTCODE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CUSTCODE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ATIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ATIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ATIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ATIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_BATCH" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BATCH" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_BATCH" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="BATCH" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_qtymax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qtymax" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_qtymax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qtymax" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_GUID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="GUID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_GUID" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="GUID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [Component_Reel_Result] ([STIME], [ETIME], [PDATE], [JTYPE], [JGUID], [SID], [SID0], [RID], [RID0], [RSN], [QR], [ZPL], [POS], [LOC], [ANGLE], [QTY], [QTY0], [wdate], [VNAME], [PRNATTACH], [PRNVALID], [PTIME], [MFGDATE], [VLOT], [REMARK], [MC], [PARTNO], [CUSTCODE], [ATIME], [BATCH], [qtymax], [GUID], [iNBOUND], [MCN], [target]) VALUES (@STIME, @ETIME, @PDATE, @JTYPE, @JGUID, @SID, @SID0, @RID, @RID0, @RSN, @QR, @ZPL, @POS, @LOC, @ANGLE, @QTY, @QTY0, @wdate, @VNAME, @PRNATTACH, @PRNVALID, @PTIME, @MFGDATE, @VLOT, @REMARK, @MC, @PARTNO, @CUSTCODE, @ATIME, @BATCH, @qtymax, @GUID, @iNBOUND, @MCN, @target)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@STIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="STIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ETIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ETIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PDATE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PDATE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@JTYPE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="JTYPE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@JGUID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="JGUID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SID0" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SID0" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@RID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="RID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@RID0" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="RID0" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@RSN" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="RSN" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@QR" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="QR" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ZPL" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ZPL" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@POS" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="POS" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@LOC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LOC" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@ANGLE" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="ANGLE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@QTY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QTY" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@QTY0" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QTY0" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@VNAME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VNAME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@PRNATTACH" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="PRNATTACH" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@PRNVALID" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="PRNVALID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@PTIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="PTIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MFGDATE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MFGDATE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@VLOT" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VLOT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@REMARK" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="REMARK" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PARTNO" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PARTNO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CUSTCODE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CUSTCODE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ATIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ATIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@BATCH" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="BATCH" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@qtymax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qtymax" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@GUID" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="GUID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@iNBOUND" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="iNBOUND" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MCN" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MCN" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@target" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="target" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT  idx, STIME, ETIME, PDATE, JTYPE, JGUID, SID, SID0, RID, RID0, RSN, QR, ZPL, POS, LOC, ANGLE, QTY, QTY0, wdate, VNAME, PRNATTACH, PRNVALID, PTIME, MFGDATE, VLOT, REMARK, 
               MC, PARTNO, CUSTCODE, ATIME, BATCH, qtymax, GUID, iNBOUND, MCN, target
FROM     K4EE_Component_Reel_Result WITH (NOLOCK)
WHERE  (CONVERT(varchar(10), wdate, 120) BETWEEN @sd AND @ed) AND (ISNULL(MC, '') = @mc)
ORDER BY wdate DESC, idx</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="sd" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ed" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="mc" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@mc" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE Component_Reel_Result
SET        STIME = @STIME, ETIME = @ETIME, PDATE = @PDATE, JTYPE = @JTYPE, JGUID = @JGUID, SID = @SID, SID0 = @SID0, RID = @RID, RID0 = @RID0, RSN = @RSN, QR = @QR, 
               ZPL = @ZPL, POS = @POS, LOC = @LOC, ANGLE = @ANGLE, QTY = @QTY, QTY0 = @QTY0, wdate = @wdate, VNAME = @VNAME, PRNATTACH = @PRNATTACH, PRNVALID = @PRNVALID, 
               PTIME = @PTIME, MFGDATE = @MFGDATE, VLOT = @VLOT, REMARK = @REMARK, MC = @MC, PARTNO = @PARTNO, CUSTCODE = @CUSTCODE, ATIME = @ATIME, BATCH = @BATCH, 
               qtymax = @qtymax, GUID = @GUID, iNBOUND = @iNBOUND, MCN = @MCN
WHERE  (STIME = @Original_STIME) AND (JGUID = @Original_JGUID) AND (GUID = @Original_GUID);   
SELECT idx, STIME, ETIME, PDATE, JTYPE, JGUID, SID, SID0, RID, RID0, RSN, QR, ZPL, POS, LOC, ANGLE, QTY, QTY0, wdate, VNAME, PRNATTACH, PRNVALID, PTIME, MFGDATE, VLOT, REMARK, MC, PARTNO, CUSTCODE, ATIME, BATCH, qtymax, GUID FROM Component_Reel_Result WHERE (idx = @idx) ORDER BY wdate DESC</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="STIME" ColumnName="STIME" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@STIME" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="STIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="ETIME" ColumnName="ETIME" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@ETIME" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="ETIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="PDATE" ColumnName="PDATE" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@PDATE" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="PDATE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="JTYPE" ColumnName="JTYPE" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@JTYPE" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="JTYPE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="JGUID" ColumnName="JGUID" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@JGUID" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="JGUID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="SID" ColumnName="SID" DataSourceName="" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@SID" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="SID0" ColumnName="SID0" DataSourceName="" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@SID0" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="SID0" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="RID" ColumnName="RID" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@RID" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="RID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="RID0" ColumnName="RID0" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@RID0" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="RID0" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="RSN" ColumnName="RSN" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@RSN" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="RSN" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="QR" ColumnName="QR" DataSourceName="" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@QR" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="QR" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="ZPL" ColumnName="ZPL" DataSourceName="" DataTypeServer="varchar(1000)" DbType="AnsiString" Direction="Input" ParameterName="@ZPL" Precision="0" ProviderType="VarChar" Scale="0" Size="1000" SourceColumn="ZPL" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="POS" ColumnName="POS" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@POS" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="POS" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="LOC" ColumnName="LOC" DataSourceName="" DataTypeServer="varchar(1)" DbType="AnsiString" Direction="Input" ParameterName="@LOC" Precision="0" ProviderType="VarChar" Scale="0" Size="1" SourceColumn="LOC" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="ANGLE" ColumnName="ANGLE" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@ANGLE" Precision="0" ProviderType="Float" Scale="0" Size="8" SourceColumn="ANGLE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="QTY" ColumnName="QTY" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@QTY" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="QTY" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="QTY0" ColumnName="QTY0" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@QTY0" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="QTY0" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="wdate" ColumnName="wdate" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="VNAME" ColumnName="VNAME" DataSourceName="" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@VNAME" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="VNAME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="PRNATTACH" ColumnName="PRNATTACH" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@PRNATTACH" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="PRNATTACH" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="PRNVALID" ColumnName="PRNVALID" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@PRNVALID" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="PRNVALID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="PTIME" ColumnName="PTIME" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@PTIME" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="PTIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="MFGDATE" ColumnName="MFGDATE" DataSourceName="" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@MFGDATE" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MFGDATE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="VLOT" ColumnName="VLOT" DataSourceName="" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@VLOT" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="VLOT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="REMARK" ColumnName="REMARK" DataSourceName="" DataTypeServer="varchar(200)" DbType="AnsiString" Direction="Input" ParameterName="@REMARK" Precision="0" ProviderType="VarChar" Scale="0" Size="200" SourceColumn="REMARK" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="MC" ColumnName="MC" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@MC" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="PARTNO" ColumnName="PARTNO" DataSourceName="" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@PARTNO" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="PARTNO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="CUSTCODE" ColumnName="CUSTCODE" DataSourceName="" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@CUSTCODE" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="CUSTCODE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="ATIME" ColumnName="ATIME" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@ATIME" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="ATIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="BATCH" ColumnName="BATCH" DataSourceName="" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@BATCH" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="BATCH" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="qtymax" ColumnName="qtymax" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@qtymax" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="qtymax" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="GUID" ColumnName="GUID" DataSourceName="" DataTypeServer="uniqueidentifier" DbType="Guid" Direction="Input" ParameterName="@GUID" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="GUID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="iNBOUND" ColumnName="iNBOUND" DataSourceName="" DataTypeServer="varchar(200)" DbType="AnsiString" Direction="Input" ParameterName="@iNBOUND" Precision="0" ProviderType="VarChar" Scale="0" Size="200" SourceColumn="iNBOUND" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="MCN" ColumnName="MCN" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@MCN" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="MCN" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="Original_STIME" ColumnName="STIME" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@Original_STIME" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="STIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="Original_JGUID" ColumnName="JGUID" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@Original_JGUID" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="JGUID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="Original_GUID" ColumnName="GUID" DataSourceName="" DataTypeServer="uniqueidentifier" DbType="Guid" Direction="Input" ParameterName="@Original_GUID" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="GUID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="idx" DataSetColumn="idx" />
              <Mapping SourceColumn="STIME" DataSetColumn="STIME" />
              <Mapping SourceColumn="ETIME" DataSetColumn="ETIME" />
              <Mapping SourceColumn="PDATE" DataSetColumn="PDATE" />
              <Mapping SourceColumn="JTYPE" DataSetColumn="JTYPE" />
              <Mapping SourceColumn="JGUID" DataSetColumn="JGUID" />
              <Mapping SourceColumn="SID" DataSetColumn="SID" />
              <Mapping SourceColumn="SID0" DataSetColumn="SID0" />
              <Mapping SourceColumn="RID" DataSetColumn="RID" />
              <Mapping SourceColumn="RID0" DataSetColumn="RID0" />
              <Mapping SourceColumn="RSN" DataSetColumn="RSN" />
              <Mapping SourceColumn="QR" DataSetColumn="QR" />
              <Mapping SourceColumn="ZPL" DataSetColumn="ZPL" />
              <Mapping SourceColumn="POS" DataSetColumn="POS" />
              <Mapping SourceColumn="LOC" DataSetColumn="LOC" />
              <Mapping SourceColumn="ANGLE" DataSetColumn="ANGLE" />
              <Mapping SourceColumn="QTY" DataSetColumn="QTY" />
              <Mapping SourceColumn="QTY0" DataSetColumn="QTY0" />
              <Mapping SourceColumn="wdate" DataSetColumn="wdate" />
              <Mapping SourceColumn="VNAME" DataSetColumn="VNAME" />
              <Mapping SourceColumn="PRNATTACH" DataSetColumn="PRNATTACH" />
              <Mapping SourceColumn="PRNVALID" DataSetColumn="PRNVALID" />
              <Mapping SourceColumn="PTIME" DataSetColumn="PTIME" />
              <Mapping SourceColumn="MFGDATE" DataSetColumn="MFGDATE" />
              <Mapping SourceColumn="VLOT" DataSetColumn="VLOT" />
              <Mapping SourceColumn="REMARK" DataSetColumn="REMARK" />
              <Mapping SourceColumn="MC" DataSetColumn="MC" />
              <Mapping SourceColumn="PARTNO" DataSetColumn="PARTNO" />
              <Mapping SourceColumn="CUSTCODE" DataSetColumn="CUSTCODE" />
              <Mapping SourceColumn="ATIME" DataSetColumn="ATIME" />
              <Mapping SourceColumn="BATCH" DataSetColumn="BATCH" />
              <Mapping SourceColumn="qtymax" DataSetColumn="qtymax" />
              <Mapping SourceColumn="GUID" DataSetColumn="GUID" />
              <Mapping SourceColumn="iNBOUND" DataSetColumn="iNBOUND" />
              <Mapping SourceColumn="MCN" DataSetColumn="MCN" />
              <Mapping SourceColumn="target" DataSetColumn="target" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_Result" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillBy50" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetBy50" GeneratorSourceName="FillBy50" GetMethodModifier="Public" GetMethodName="GetBy50" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetBy50" UserSourceName="FillBy50">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT  TOP (50) ANGLE, ATIME, BATCH, CUSTCODE, ETIME, GUID, JGUID, JTYPE, LOC, MC, MCN, MFGDATE, PARTNO, PDATE, POS, PRNATTACH, PRNVALID, PTIME, QR, QTY, QTY0, REMARK, RID, 
               RID0, RSN, SID, SID0, STIME, VLOT, VNAME, ZPL, iNBOUND, idx, qtymax, target, wdate
FROM     K4EE_Component_Reel_Result WITH (NOLOCK)
WHERE  (CONVERT(varchar(10), wdate, 120) BETWEEN @sd AND @ed) AND (ISNULL(MC, '') = @mc)
ORDER BY wdate DESC</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="sd" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ed" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="mc" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@mc" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_Result" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByAllGUID" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetByAllGUID" GeneratorSourceName="FillByAllGUID" GetMethodModifier="Public" GetMethodName="GetByAllGUID" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetByAllGUID" UserSourceName="FillByAllGUID">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT  ANGLE, ATIME, BATCH, CUSTCODE, ETIME, GUID, JGUID, JTYPE, LOC, MC, MCN, MFGDATE, PARTNO, PDATE, POS, PRNATTACH, PRNVALID, PTIME, QR, QTY, QTY0, REMARK, RID, RID0, 
               RSN, SID, SID0, STIME, VLOT, VNAME, ZPL, iNBOUND, idx, qtymax, target, wdate
FROM     K4EE_Component_Reel_Result WITH (NOLOCK)
WHERE  (GUID = @guid) AND (ISNULL(MC, '') = @mc) AND (PRNATTACH = 1) AND (PRNVALID = 1)
ORDER BY wdate DESC</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="guid" ColumnName="GUID" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="uniqueidentifier" DbType="Guid" Direction="Input" ParameterName="@guid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="GUID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="mc" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@mc" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_Result" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByJGUID" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetByJGUID" GeneratorSourceName="FillByJGUID" GetMethodModifier="Public" GetMethodName="GetByJGUID" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetByJGUID" UserSourceName="FillByJGUID">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT  ANGLE, ATIME, BATCH, CUSTCODE, ETIME, GUID, JGUID, JTYPE, LOC, MC, MCN, MFGDATE, PARTNO, PDATE, POS, PRNATTACH, PRNVALID, PTIME, QR, QTY, QTY0, REMARK, RID, RID0, 
               RSN, SID, SID0, STIME, VLOT, VNAME, ZPL, iNBOUND, idx, qtymax, target, wdate
FROM     K4EE_Component_Reel_Result WITH (NOLOCK)
WHERE  (JGUID = @jguid)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="jguid" ColumnName="JGUID" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@jguid" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="JGUID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_Result" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByLastVLotOne" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetByLastVLotOne" GeneratorSourceName="FillByLastVLotOne" GetMethodModifier="Public" GetMethodName="GetByLastVLotOne" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetByLastVLotOne" UserSourceName="FillByLastVLotOne">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT  TOP (1) ANGLE, ATIME, BATCH, CUSTCODE, ETIME, GUID, JGUID, JTYPE, LOC, MC, MCN, MFGDATE, PARTNO, PDATE, POS, PRNATTACH, PRNVALID, PTIME, QR, QTY, QTY0, REMARK, RID, 
               RID0, RSN, SID, SID0, STIME, VLOT, VNAME, ZPL, iNBOUND, idx, qtymax, target, wdate
FROM     K4EE_Component_Reel_Result WITH (NOLOCK)
WHERE  (MC = @mc) AND (VLOT = @vlot)
ORDER BY wdate DESC</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="mc" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@mc" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="vlot" ColumnName="VLOT" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@vlot" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="VLOT" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_Result" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByLen7" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetByLen7" GeneratorSourceName="FillByLen7" GetMethodModifier="Public" GetMethodName="GetByLen7" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetByLen7" UserSourceName="FillByLen7">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT  TOP (50) ANGLE, ATIME, BATCH, CUSTCODE, ETIME, GUID, JGUID, JTYPE, LOC, MC, MCN, MFGDATE, PARTNO, PDATE, POS, PRNATTACH, PRNVALID, PTIME, QR, QTY, QTY0, REMARK, RID, 
               RID0, RSN, SID, SID0, STIME, VLOT, VNAME, ZPL, iNBOUND, idx, qtymax, target, wdate
FROM     K4EE_Component_Reel_Result WITH (NOLOCK)
WHERE  (CONVERT(varchar(10), wdate, 120) BETWEEN @sd AND @ed) AND (ISNULL(MC, '') = @mc)
ORDER BY wdate DESC</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="sd" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ed" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="mc" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@mc" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_Result" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillBySearch" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetBySearch" GeneratorSourceName="FillBySearch" GetMethodModifier="Public" GetMethodName="GetBySearch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetBySearch" UserSourceName="FillBySearch">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT  idx, STIME, ETIME, PDATE, JTYPE, JGUID, SID, SID0, RID, RID0, RSN, QR, ZPL, POS, LOC, ANGLE, QTY, QTY0, wdate, VNAME, PRNATTACH, PRNVALID, PTIME, MFGDATE, VLOT, REMARK, 
               MC, PARTNO, CUSTCODE, ATIME, BATCH, qtymax, GUID, iNBOUND, MCN, target
FROM     K4EE_Component_Reel_Result WITH (NOLOCK)
WHERE  (MC = @mc) AND (CONVERT(varchar(10), wdate, 120) BETWEEN @sd AND @ed) AND (ISNULL(QR, '') LIKE @search)
ORDER BY wdate DESC</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="mc" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@mc" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="sd" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ed" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="search" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@search" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_Result" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByValid" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetByValid" GeneratorSourceName="FillByValid" GetMethodModifier="Public" GetMethodName="GetByValid" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetByValid" UserSourceName="FillByValid">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT  ANGLE, ATIME, BATCH, CUSTCODE, ETIME, GUID, JGUID, JTYPE, LOC, MC, MCN, MFGDATE, PARTNO, PDATE, POS, PRNATTACH, PRNVALID, PTIME, QR, QTY, QTY0, REMARK, RID, RID0, 
               RSN, SID, SID0, STIME, VLOT, VNAME, ZPL, iNBOUND, idx, qtymax, target, wdate
FROM     K4EE_Component_Reel_Result WITH (NOLOCK)
WHERE  (STIME BETWEEN @sd AND @ed) AND (MC = @mc) AND (ISNULL(PRNVALID, 0) = 1) AND (ISNULL(PRNATTACH, 0) = 1)
ORDER BY wdate DESC, idx</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="sd" ColumnName="STIME" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@sd" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="STIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ed" ColumnName="STIME" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@ed" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="STIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="mc" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@mc" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_Result" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByValidGuid" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetByValidGuid" GeneratorSourceName="FillByValidGuid" GetMethodModifier="Public" GetMethodName="GetByValidGuid" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetByValidGuid" UserSourceName="FillByValidGuid">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT  ANGLE, ATIME, BATCH, CUSTCODE, ETIME, GUID, JGUID, JTYPE, LOC, MC, MCN, MFGDATE, PARTNO, PDATE, POS, PRNATTACH, PRNVALID, PTIME, QR, QTY, QTY0, REMARK, RID, RID0, 
               RSN, SID, SID0, STIME, VLOT, VNAME, ZPL, iNBOUND, idx, qtymax, target, wdate
FROM     K4EE_Component_Reel_Result WITH (NOLOCK)
WHERE  (STIME BETWEEN @sd AND @ed) AND (MC = @mc) AND (ISNULL(PRNVALID, 0) = 1) AND (ISNULL(PRNATTACH, 0) = 1) AND (GUID = @guid)
ORDER BY wdate DESC, idx</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="sd" ColumnName="STIME" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@sd" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="STIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ed" ColumnName="STIME" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@ed" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="STIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="mc" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@mc" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="guid" ColumnName="GUID" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="uniqueidentifier" DbType="Guid" Direction="Input" ParameterName="@guid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="GUID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="CS (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="GetInboundCheckCount" Modifier="Public" Name="GetInboundCheckCount" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="GetInboundCheckCount">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT  COUNT(*) AS Expr1
FROM     K4EE_Component_Reel_Result WITH (no lock)
WHERE  (iNBOUND = 'OK') AND (SID = @sid) AND (BATCH = @batch) AND (MC &lt;&gt; 'R0')</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="sid" ColumnName="SID" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="batch" ColumnName="BATCH" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@batch" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="BATCH" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="CS (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="GetPrintPosition" Modifier="Public" Name="GetPrintPosition" QueryType="Scalar" ScalarCallRetval="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="GetPrintPosition">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT  TOP (1) ISNULL(POS, '') AS Expr1
FROM     K4EE_Component_Reel_Result WITH (no lock)
WHERE  (MC = @mc) AND (SID = @sid) AND (ISNULL(POS, '') &lt;&gt; '')
ORDER BY wdate DESC</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="mc" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@mc" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="sid" ColumnName="SID" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="K4EE_Component_Reel_RegExRuleTableAdapter" GeneratorDataComponentClassName="K4EE_Component_Reel_RegExRuleTableAdapter" Name="K4EE_Component_Reel_RegExRule" UserDataComponentName="K4EE_Component_Reel_RegExRuleTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CS (Settings)" DbObjectName="WMS.dbo.K4EE_Component_Reel_RegExRule" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [Component_Reel_RegExRule] WHERE (([Id] = @Original_Id) AND ((@IsNull_Seq = 1 AND [Seq] IS NULL) OR ([Seq] = @Original_Seq)) AND ((@IsNull_CustCode = 1 AND [CustCode] IS NULL) OR ([CustCode] = @Original_CustCode)) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)) AND ((@IsNull_Symbol = 1 AND [Symbol] IS NULL) OR ([Symbol] = @Original_Symbol)) AND ((@IsNull_Groups = 1 AND [Groups] IS NULL) OR ([Groups] = @Original_Groups)) AND ((@IsNull_IsEnable = 1 AND [IsEnable] IS NULL) OR ([IsEnable] = @Original_IsEnable)) AND ((@IsNull_IsTrust = 1 AND [IsTrust] IS NULL) OR ([IsTrust] = @Original_IsTrust)) AND ((@IsNull_IsAmkStd = 1 AND [IsAmkStd] IS NULL) OR ([IsAmkStd] = @Original_IsAmkStd)) AND ((@IsNull_IsIgnore = 1 AND [IsIgnore] IS NULL) OR ([IsIgnore] = @Original_IsIgnore)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Seq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Seq" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Seq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Seq" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CustCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustCode" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CustCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Symbol" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Symbol" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Symbol" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Symbol" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Groups" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Groups" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Groups" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Groups" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IsEnable" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IsEnable" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_IsEnable" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsEnable" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IsTrust" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IsTrust" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_IsTrust" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsTrust" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IsAmkStd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IsAmkStd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_IsAmkStd" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsAmkStd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IsIgnore" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IsIgnore" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_IsIgnore" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsIgnore" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [Component_Reel_RegExRule] ([Seq], [CustCode], [Description], [Symbol], [Pattern], [Groups], [IsEnable], [IsTrust], [IsAmkStd], [IsIgnore]) VALUES (@Seq, @CustCode, @Description, @Symbol, @Pattern, @Groups, @IsEnable, @IsTrust, @IsAmkStd, @IsIgnore);
SELECT Id, Seq, CustCode, Description, Symbol, Pattern, Groups, IsEnable, IsTrust, IsAmkStd, IsIgnore FROM Component_Reel_RegExRule WHERE (Id = SCOPE_IDENTITY()) ORDER BY CustCode, Seq, Description</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Seq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Seq" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Symbol" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Symbol" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Pattern" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Pattern" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Groups" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Groups" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsEnable" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsEnable" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsTrust" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsTrust" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsAmkStd" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsAmkStd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsIgnore" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsIgnore" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT  Id, Seq, CustCode, Description, Symbol, Pattern, Groups, IsEnable, IsTrust, IsAmkStd, IsIgnore
FROM     K4EE_Component_Reel_RegExRule
WHERE  (ISNULL(CustCode, '') LIKE @custcode)
ORDER BY CustCode, Seq, Description</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="custcode" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@custcode" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [Component_Reel_RegExRule] SET [Seq] = @Seq, [CustCode] = @CustCode, [Description] = @Description, [Symbol] = @Symbol, [Pattern] = @Pattern, [Groups] = @Groups, [IsEnable] = @IsEnable, [IsTrust] = @IsTrust, [IsAmkStd] = @IsAmkStd, [IsIgnore] = @IsIgnore WHERE (([Id] = @Original_Id) AND ((@IsNull_Seq = 1 AND [Seq] IS NULL) OR ([Seq] = @Original_Seq)) AND ((@IsNull_CustCode = 1 AND [CustCode] IS NULL) OR ([CustCode] = @Original_CustCode)) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)) AND ((@IsNull_Symbol = 1 AND [Symbol] IS NULL) OR ([Symbol] = @Original_Symbol)) AND ((@IsNull_Groups = 1 AND [Groups] IS NULL) OR ([Groups] = @Original_Groups)) AND ((@IsNull_IsEnable = 1 AND [IsEnable] IS NULL) OR ([IsEnable] = @Original_IsEnable)) AND ((@IsNull_IsTrust = 1 AND [IsTrust] IS NULL) OR ([IsTrust] = @Original_IsTrust)) AND ((@IsNull_IsAmkStd = 1 AND [IsAmkStd] IS NULL) OR ([IsAmkStd] = @Original_IsAmkStd)) AND ((@IsNull_IsIgnore = 1 AND [IsIgnore] IS NULL) OR ([IsIgnore] = @Original_IsIgnore)));
SELECT Id, Seq, CustCode, Description, Symbol, Pattern, Groups, IsEnable, IsTrust, IsAmkStd, IsIgnore FROM Component_Reel_RegExRule WHERE (Id = @Id) ORDER BY CustCode, Seq, Description</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Seq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Seq" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Symbol" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Symbol" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Pattern" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Pattern" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Groups" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Groups" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsEnable" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsEnable" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsTrust" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsTrust" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsAmkStd" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsAmkStd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsIgnore" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsIgnore" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Seq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Seq" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Seq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Seq" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CustCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustCode" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CustCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Symbol" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Symbol" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Symbol" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Symbol" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Groups" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Groups" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Groups" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Groups" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IsEnable" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IsEnable" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_IsEnable" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsEnable" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IsTrust" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IsTrust" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_IsTrust" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsTrust" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IsAmkStd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IsAmkStd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_IsAmkStd" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsAmkStd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IsIgnore" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IsIgnore" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_IsIgnore" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsIgnore" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="Id" ColumnName="Id" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Id" DataSetColumn="Id" />
              <Mapping SourceColumn="Seq" DataSetColumn="Seq" />
              <Mapping SourceColumn="CustCode" DataSetColumn="CustCode" />
              <Mapping SourceColumn="Description" DataSetColumn="Description" />
              <Mapping SourceColumn="Symbol" DataSetColumn="Symbol" />
              <Mapping SourceColumn="Pattern" DataSetColumn="Pattern" />
              <Mapping SourceColumn="Groups" DataSetColumn="Groups" />
              <Mapping SourceColumn="IsEnable" DataSetColumn="IsEnable" />
              <Mapping SourceColumn="IsTrust" DataSetColumn="IsTrust" />
              <Mapping SourceColumn="IsAmkStd" DataSetColumn="IsAmkStd" />
              <Mapping SourceColumn="IsIgnore" DataSetColumn="IsIgnore" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="CS (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="CheckExsist" Modifier="Public" Name="CheckExsist" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="CheckExsist">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT COUNT(*) FROM K4EE_Component_Reel_RegExRule where custcode = @custcode and description=@desc</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="custcode" ColumnName="CustCode" DataSourceName="WMS.dbo.K4EE_Component_Reel_RegExRule" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@custcode" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="CustCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="desc" ColumnName="Description" DataSourceName="WMS.dbo.K4EE_Component_Reel_RegExRule" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@desc" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_RegExRule" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillAll" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetAll" GeneratorSourceName="FillAll" GetMethodModifier="Public" GetMethodName="GetAll" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetAll" UserSourceName="FillAll">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT  CustCode, Description, Groups, Id, IsAmkStd, IsEnable, IsIgnore, IsTrust, Pattern, Seq, Symbol
FROM     K4EE_Component_Reel_RegExRule
ORDER BY CustCode, Seq, Description</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_RegExRule" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByWithSample" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetByWithSample" GeneratorSourceName="FillByWithSample" GetMethodModifier="Public" GetMethodName="GetByWithSample" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetByWithSample" UserSourceName="FillByWithSample">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT  CustCode, Description, Groups, Id, IsAmkStd, IsEnable, IsIgnore, IsTrust, Pattern, Seq, Symbol
FROM     K4EE_Component_Reel_RegExRule
WHERE  (ISNULL(CustCode, '') = '') OR
               (ISNULL(CustCode, '') LIKE @custcode)
ORDER BY CustCode, Seq, Description</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="custcode" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@custcode" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_RegExRule" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillIgnore" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetIgnore" GeneratorSourceName="FillIgnore" GetMethodModifier="Public" GetMethodName="GetIgnore" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetIgnore" UserSourceName="FillIgnore">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT  CustCode, Description, Groups, Id, IsAmkStd, IsEnable, IsIgnore, IsTrust, Pattern, Seq, Symbol
FROM     K4EE_Component_Reel_RegExRule
WHERE  (ISNULL(CustCode, '') LIKE @custcode) AND (ISNULL(IsIgnore, 0) = 1)
ORDER BY CustCode, Seq, Description</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="custcode" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@custcode" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="K4EE_Component_Reel_SID_ConvertTableAdapter" GeneratorDataComponentClassName="K4EE_Component_Reel_SID_ConvertTableAdapter" Name="K4EE_Component_Reel_SID_Convert" UserDataComponentName="K4EE_Component_Reel_SID_ConvertTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CS (Settings)" DbObjectName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [Component_Reel_SID_Convert] WHERE (([idx] = @Original_idx) AND ((@IsNull_MC = 1 AND [MC] IS NULL) OR ([MC] = @Original_MC)) AND ((@IsNull_Chk = 1 AND [Chk] IS NULL) OR ([Chk] = @Original_Chk)) AND ((@IsNull_SIDFrom = 1 AND [SIDFrom] IS NULL) OR ([SIDFrom] = @Original_SIDFrom)) AND ((@IsNull_SIDTo = 1 AND [SIDTo] IS NULL) OR ([SIDTo] = @Original_SIDTo)) AND ((@IsNull_Remark = 1 AND [Remark] IS NULL) OR ([Remark] = @Original_Remark)) AND ((@IsNull_wdate = 1 AND [wdate] IS NULL) OR ([wdate] = @Original_wdate)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Chk" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Chk" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Chk" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Chk" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SIDFrom" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SIDFrom" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SIDFrom" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SIDFrom" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SIDTo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SIDTo" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SIDTo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SIDTo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Remark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_wdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [Component_Reel_SID_Convert] ([MC], [Chk], [SIDFrom], [SIDTo], [Remark], [wdate]) VALUES (@MC, @Chk, @SIDFrom, @SIDTo, @Remark, @wdate);
SELECT idx, MC, Chk, SIDFrom, SIDTo, Remark, wdate FROM Component_Reel_SID_Convert WHERE (idx = SCOPE_IDENTITY()) ORDER BY SIDFrom</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Chk" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Chk" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SIDFrom" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SIDFrom" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SIDTo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SIDTo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT  idx, MC, Chk, SIDFrom, SIDTo, Remark, wdate
FROM     K4EE_Component_Reel_SID_Convert WITH (NOLOCK)
WHERE  (ISNULL(SIDFrom, '') &lt;&gt; '') AND (ISNULL(SIDTo, '') &lt;&gt; '') AND (ISNULL(SIDFrom, '') &lt;&gt; ISNULL(SIDTo, ''))
ORDER BY SIDFrom</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [Component_Reel_SID_Convert] SET [MC] = @MC, [Chk] = @Chk, [SIDFrom] = @SIDFrom, [SIDTo] = @SIDTo, [Remark] = @Remark, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ((@IsNull_MC = 1 AND [MC] IS NULL) OR ([MC] = @Original_MC)) AND ((@IsNull_Chk = 1 AND [Chk] IS NULL) OR ([Chk] = @Original_Chk)) AND ((@IsNull_SIDFrom = 1 AND [SIDFrom] IS NULL) OR ([SIDFrom] = @Original_SIDFrom)) AND ((@IsNull_SIDTo = 1 AND [SIDTo] IS NULL) OR ([SIDTo] = @Original_SIDTo)) AND ((@IsNull_Remark = 1 AND [Remark] IS NULL) OR ([Remark] = @Original_Remark)) AND ((@IsNull_wdate = 1 AND [wdate] IS NULL) OR ([wdate] = @Original_wdate)));
SELECT idx, MC, Chk, SIDFrom, SIDTo, Remark, wdate FROM Component_Reel_SID_Convert WHERE (idx = @idx) ORDER BY SIDFrom</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Chk" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Chk" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SIDFrom" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SIDFrom" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SIDTo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SIDTo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Chk" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Chk" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Chk" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Chk" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SIDFrom" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SIDFrom" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SIDFrom" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SIDFrom" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SIDTo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SIDTo" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SIDTo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SIDTo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Remark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_wdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="idx" DataSetColumn="idx" />
              <Mapping SourceColumn="Chk" DataSetColumn="Chk" />
              <Mapping SourceColumn="SIDFrom" DataSetColumn="SIDFrom" />
              <Mapping SourceColumn="SIDTo" DataSetColumn="SIDTo" />
              <Mapping SourceColumn="Remark" DataSetColumn="Remark" />
              <Mapping SourceColumn="wdate" DataSetColumn="wdate" />
              <Mapping SourceColumn="MC" DataSetColumn="MC" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="K4EE_Component_Reel_SID_InformationTableAdapter" GeneratorDataComponentClassName="K4EE_Component_Reel_SID_InformationTableAdapter" Name="K4EE_Component_Reel_SID_Information" UserDataComponentName="K4EE_Component_Reel_SID_InformationTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CS (Settings)" DbObjectName="WMS.dbo.K4EE_Component_Reel_SID_Information" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [Component_Reel_SID_Information] WHERE (([idx] = @Original_idx) AND ((@IsNull_MC = 1 AND [MC] IS NULL) OR ([MC] = @Original_MC)) AND ([SID] = @Original_SID) AND ([CustCode] = @Original_CustCode) AND ([PartNo] = @Original_PartNo) AND ((@IsNull_CustName = 1 AND [CustName] IS NULL) OR ([CustName] = @Original_CustName)) AND ((@IsNull_VenderName = 1 AND [VenderName] IS NULL) OR ([VenderName] = @Original_VenderName)) AND ((@IsNull_Remark = 1 AND [Remark] IS NULL) OR ([Remark] = @Original_Remark)) AND ((@IsNull_wdate = 1 AND [wdate] IS NULL) OR ([wdate] = @Original_wdate)) AND ((@IsNull_batch = 1 AND [batch] IS NULL) OR ([batch] = @Original_batch)) AND ((@IsNull_qtymax = 1 AND [qtymax] IS NULL) OR ([qtymax] = @Original_qtymax)) AND ((@IsNull_VenderLot = 1 AND [VenderLot] IS NULL) OR ([VenderLot] = @Original_VenderLot)) AND ((@IsNull_attach = 1 AND [attach] IS NULL) OR ([attach] = @Original_attach)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CustCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PartNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PartNo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CustName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CustName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_VenderName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VenderName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_VenderName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VenderName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Remark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_wdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_batch" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="batch" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_batch" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="batch" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_qtymax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qtymax" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_qtymax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qtymax" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_VenderLot" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VenderLot" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_VenderLot" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VenderLot" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_attach" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="attach" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_attach" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="attach" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [Component_Reel_SID_Information] ([MC], [SID], [CustCode], [PartNo], [CustName], [VenderName], [Remark], [wdate], [batch], [qtymax], [VenderLot], [attach]) VALUES (@MC, @SID, @CustCode, @PartNo, @CustName, @VenderName, @Remark, @wdate, @batch, @qtymax, @VenderLot, @attach);
SELECT idx, MC, SID, CustCode, PartNo, CustName, VenderName, Remark, wdate, batch, qtymax, VenderLot, attach FROM Component_Reel_SID_Information WITH (NOLOCK) WHERE (idx = SCOPE_IDENTITY()) ORDER BY idx</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PartNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PartNo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@VenderName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VenderName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@batch" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="batch" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@qtymax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qtymax" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@VenderLot" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VenderLot" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@attach" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="attach" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT  idx, MC, SID, CustCode, PartNo, CustName, VenderName, Remark, wdate, batch, qtymax, VenderLot, attach
FROM     K4EE_Component_Reel_SID_Information WITH (NOLOCK)
WHERE  (MC = @mcname)
ORDER BY idx</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="mcname" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@mcname" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [Component_Reel_SID_Information] SET [MC] = @MC, [SID] = @SID, [CustCode] = @CustCode, [PartNo] = @PartNo, [CustName] = @CustName, [VenderName] = @VenderName, [Remark] = @Remark, [wdate] = @wdate, [batch] = @batch, [qtymax] = @qtymax, [VenderLot] = @VenderLot, [attach] = @attach WHERE (([idx] = @Original_idx) AND ((@IsNull_MC = 1 AND [MC] IS NULL) OR ([MC] = @Original_MC)) AND ([SID] = @Original_SID) AND ([CustCode] = @Original_CustCode) AND ([PartNo] = @Original_PartNo) AND ((@IsNull_CustName = 1 AND [CustName] IS NULL) OR ([CustName] = @Original_CustName)) AND ((@IsNull_VenderName = 1 AND [VenderName] IS NULL) OR ([VenderName] = @Original_VenderName)) AND ((@IsNull_Remark = 1 AND [Remark] IS NULL) OR ([Remark] = @Original_Remark)) AND ((@IsNull_wdate = 1 AND [wdate] IS NULL) OR ([wdate] = @Original_wdate)) AND ((@IsNull_batch = 1 AND [batch] IS NULL) OR ([batch] = @Original_batch)) AND ((@IsNull_qtymax = 1 AND [qtymax] IS NULL) OR ([qtymax] = @Original_qtymax)) AND ((@IsNull_VenderLot = 1 AND [VenderLot] IS NULL) OR ([VenderLot] = @Original_VenderLot)) AND ((@IsNull_attach = 1 AND [attach] IS NULL) OR ([attach] = @Original_attach)));
SELECT idx, MC, SID, CustCode, PartNo, CustName, VenderName, Remark, wdate, batch, qtymax, VenderLot, attach FROM Component_Reel_SID_Information WITH (NOLOCK) WHERE (idx = @idx) ORDER BY idx</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PartNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PartNo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@VenderName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VenderName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@batch" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="batch" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@qtymax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qtymax" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@VenderLot" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VenderLot" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@attach" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="attach" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CustCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PartNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PartNo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CustName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CustName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_VenderName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VenderName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_VenderName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VenderName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Remark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_wdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_batch" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="batch" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_batch" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="batch" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_qtymax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qtymax" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_qtymax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qtymax" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_VenderLot" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VenderLot" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_VenderLot" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VenderLot" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_attach" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="attach" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_attach" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="attach" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="idx" DataSetColumn="idx" />
              <Mapping SourceColumn="SID" DataSetColumn="SID" />
              <Mapping SourceColumn="CustCode" DataSetColumn="CustCode" />
              <Mapping SourceColumn="PartNo" DataSetColumn="PartNo" />
              <Mapping SourceColumn="CustName" DataSetColumn="CustName" />
              <Mapping SourceColumn="VenderName" DataSetColumn="VenderName" />
              <Mapping SourceColumn="Remark" DataSetColumn="Remark" />
              <Mapping SourceColumn="wdate" DataSetColumn="wdate" />
              <Mapping SourceColumn="MC" DataSetColumn="MC" />
              <Mapping SourceColumn="batch" DataSetColumn="batch" />
              <Mapping SourceColumn="qtymax" DataSetColumn="qtymax" />
              <Mapping SourceColumn="VenderLot" DataSetColumn="VenderLot" />
              <Mapping SourceColumn="attach" DataSetColumn="attach" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="CS (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="DeleteAll" Modifier="Public" Name="DeleteAll" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="DeleteAll">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>DELETE FROM [Component_Reel_SID_Information] WHERE mc = @mcname</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="mcname" ColumnName="MC" DataSourceName="EE.dbo.Component_Reel_SID_Information" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@mcname" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>DELETE FROM K4EE_Component_Reel_SID_Information
WHERE  (MC = @mcname)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="mcname" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@mcname" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_SID_Information" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillBySID" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetBySID" GeneratorSourceName="FillBySID" GetMethodModifier="Public" GetMethodName="GetBySID" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetBySID" UserSourceName="FillBySID">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT  CustCode, CustName, MC, PartNo, Remark, SID, VenderLot, VenderName, attach, batch, idx, qtymax, wdate
FROM     K4EE_Component_Reel_SID_Information WITH (NOLOCK)
WHERE  (MC = @mcname) AND (SID = @sid)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="mcname" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@mcname" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="sid" ColumnName="SID" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_SID_Information" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillBySIDNoCustCode" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetbySIDNoCustCode" GeneratorSourceName="FillBySIDNoCustCode" GetMethodModifier="Public" GetMethodName="GetbySIDNoCustCode" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetbySIDNoCustCode" UserSourceName="FillBySIDNoCustCode">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT  CustCode, CustName, MC, PartNo, Remark, SID, VenderLot, VenderName, attach, batch, idx, qtymax, wdate
FROM     K4EE_Component_Reel_SID_Information WITH (NOLOCK)
WHERE  (MC = @mcname) AND (SID = @sid) AND (ISNULL(CustCode, '') &lt;&gt; '')</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="mcname" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@mcname" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="sid" ColumnName="SID" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="CS (Settings)" DbObjectName="WMS.dbo.K4EE_Component_Reel_SID_Information" DbObjectType="Table" GenerateShortCommands="true" GeneratorSourceName="MakeIBData" Modifier="Public" Name="MakeIBData" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="MakeIBData">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>insert into Component_Reel_SID_Information(mc,sid,custcode,partno,custname,vendername,venderlot,printposition,remark,mfg,qtymax,batch,wdate)
select 'IB',sid,custcode,partno,custname,vendername,venderlot,printposition,'disable ECS',mfg,qtymax,batch,wdate 
from Component_Reel_SID_Information
where mc = @mcname</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="mcname" ColumnName="MC" DataSourceName="EE.dbo.Component_Reel_SID_Information" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@mcname" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>INSERT INTO K4EE_Component_Reel_SID_Information
               (MC, SID, CustCode, PartNo, CustName, VenderName, VenderLot, PrintPosition, Remark, MFG, qtymax, batch, wdate)
SELECT  'IB' AS Expr1, SID, CustCode, PartNo, CustName, VenderName, VenderLot, PrintPosition, 'disable ECS' AS Expr2, MFG, qtymax, batch, wdate
FROM     K4EE_Component_Reel_SID_Information AS Component_Reel_SID_Information_1
WHERE  (MC = @mcname)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="mcname" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@mcname" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="K4EE_Component_Reel_PreSetTableAdapter" GeneratorDataComponentClassName="K4EE_Component_Reel_PreSetTableAdapter" Name="K4EE_Component_Reel_PreSet" UserDataComponentName="K4EE_Component_Reel_PreSetTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CS (Settings)" DbObjectName="WMS.dbo.K4EE_Component_Reel_PreSet" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [Component_Reel_PreSet] WHERE (([idx] = @Original_idx) AND ((@IsNull_MC = 1 AND [MC] IS NULL) OR ([MC] = @Original_MC)) AND ([Title] = @Original_Title) AND ((@IsNull_Remark = 1 AND [Remark] IS NULL) OR ([Remark] = @Original_Remark)) AND ((@IsNull_wdate = 1 AND [wdate] IS NULL) OR ([wdate] = @Original_wdate)) AND ((@IsNull_vOption = 1 AND [vOption] IS NULL) OR ([vOption] = @Original_vOption)) AND ((@IsNull_vJobInfo = 1 AND [vJobInfo] IS NULL) OR ([vJobInfo] = @Original_vJobInfo)) AND ((@IsNull_vSidInfo = 1 AND [vSidInfo] IS NULL) OR ([vSidInfo] = @Original_vSidInfo)) AND ((@IsNull_vServerWrite = 1 AND [vServerWrite] IS NULL) OR ([vServerWrite] = @Original_vServerWrite)) AND ((@IsNull_jobtype = 1 AND [jobtype] IS NULL) OR ([jobtype] = @Original_jobtype)) AND ((@IsNull_bypasssid = 1 AND [bypasssid] IS NULL) OR ([bypasssid] = @Original_bypasssid)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Title" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Remark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_wdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_vOption" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vOption" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_vOption" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vOption" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_vJobInfo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vJobInfo" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_vJobInfo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vJobInfo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_vSidInfo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vSidInfo" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_vSidInfo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vSidInfo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_vServerWrite" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vServerWrite" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_vServerWrite" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vServerWrite" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_jobtype" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="jobtype" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_jobtype" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="jobtype" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_bypasssid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="bypasssid" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_bypasssid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="bypasssid" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [Component_Reel_PreSet] ([MC], [Title], [Remark], [wdate], [vOption], [vJobInfo], [vSidInfo], [vServerWrite], [jobtype], [bypasssid]) VALUES (@MC, @Title, @Remark, @wdate, @vOption, @vJobInfo, @vSidInfo, @vServerWrite, @jobtype, @bypasssid);
SELECT idx, MC, Title, Remark, wdate, vOption, vJobInfo, vSidInfo, vServerWrite, jobtype, bypasssid FROM Component_Reel_PreSet WHERE (idx = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@vOption" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vOption" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@vJobInfo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vJobInfo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@vSidInfo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vSidInfo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@vServerWrite" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vServerWrite" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@jobtype" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="jobtype" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@bypasssid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="bypasssid" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT  idx, MC, Title, Remark, wdate, vOption, vJobInfo, vSidInfo, vServerWrite, jobtype, bypasssid
FROM     K4EE_Component_Reel_PreSet
WHERE  (ISNULL(MC, '') = @mc)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="mc" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@mc" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [Component_Reel_PreSet] SET [MC] = @MC, [Title] = @Title, [Remark] = @Remark, [wdate] = @wdate, [vOption] = @vOption, [vJobInfo] = @vJobInfo, [vSidInfo] = @vSidInfo, [vServerWrite] = @vServerWrite, [jobtype] = @jobtype, [bypasssid] = @bypasssid WHERE (([idx] = @Original_idx) AND ((@IsNull_MC = 1 AND [MC] IS NULL) OR ([MC] = @Original_MC)) AND ([Title] = @Original_Title) AND ((@IsNull_Remark = 1 AND [Remark] IS NULL) OR ([Remark] = @Original_Remark)) AND ((@IsNull_wdate = 1 AND [wdate] IS NULL) OR ([wdate] = @Original_wdate)) AND ((@IsNull_vOption = 1 AND [vOption] IS NULL) OR ([vOption] = @Original_vOption)) AND ((@IsNull_vJobInfo = 1 AND [vJobInfo] IS NULL) OR ([vJobInfo] = @Original_vJobInfo)) AND ((@IsNull_vSidInfo = 1 AND [vSidInfo] IS NULL) OR ([vSidInfo] = @Original_vSidInfo)) AND ((@IsNull_vServerWrite = 1 AND [vServerWrite] IS NULL) OR ([vServerWrite] = @Original_vServerWrite)) AND ((@IsNull_jobtype = 1 AND [jobtype] IS NULL) OR ([jobtype] = @Original_jobtype)) AND ((@IsNull_bypasssid = 1 AND [bypasssid] IS NULL) OR ([bypasssid] = @Original_bypasssid)));
SELECT idx, MC, Title, Remark, wdate, vOption, vJobInfo, vSidInfo, vServerWrite, jobtype, bypasssid FROM Component_Reel_PreSet WHERE (idx = @idx)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@vOption" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vOption" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@vJobInfo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vJobInfo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@vSidInfo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vSidInfo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@vServerWrite" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vServerWrite" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@jobtype" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="jobtype" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@bypasssid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="bypasssid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Title" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Remark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_wdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_vOption" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vOption" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_vOption" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vOption" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_vJobInfo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vJobInfo" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_vJobInfo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vJobInfo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_vSidInfo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vSidInfo" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_vSidInfo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vSidInfo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_vServerWrite" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vServerWrite" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_vServerWrite" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vServerWrite" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_jobtype" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="jobtype" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_jobtype" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="jobtype" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_bypasssid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="bypasssid" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_bypasssid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="bypasssid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="idx" DataSetColumn="idx" />
              <Mapping SourceColumn="MC" DataSetColumn="MC" />
              <Mapping SourceColumn="Title" DataSetColumn="Title" />
              <Mapping SourceColumn="Remark" DataSetColumn="Remark" />
              <Mapping SourceColumn="wdate" DataSetColumn="wdate" />
              <Mapping SourceColumn="vOption" DataSetColumn="vOption" />
              <Mapping SourceColumn="vJobInfo" DataSetColumn="vJobInfo" />
              <Mapping SourceColumn="vSidInfo" DataSetColumn="vSidInfo" />
              <Mapping SourceColumn="vServerWrite" DataSetColumn="vServerWrite" />
              <Mapping SourceColumn="jobtype" DataSetColumn="jobtype" />
              <Mapping SourceColumn="bypasssid" DataSetColumn="bypasssid" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="K4EE_Component_Reel_CustInfoTableAdapter" GeneratorDataComponentClassName="K4EE_Component_Reel_CustInfoTableAdapter" Name="K4EE_Component_Reel_CustInfo" UserDataComponentName="K4EE_Component_Reel_CustInfoTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CS (Settings)" DbObjectName="WMS.dbo.K4EE_Component_Reel_CustInfo" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [Component_Reel_CustInfo] WHERE (([code] = @Original_code) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_code" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [Component_Reel_CustInfo] ([code], [name]) VALUES (@code, @name);
SELECT code, name FROM Component_Reel_CustInfo WHERE (code = @code)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@code" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT  code, name
FROM     K4EE_Component_Reel_CustInfo WITH (NOLOCK)</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [Component_Reel_CustInfo] SET [code] = @code, [name] = @name WHERE (([code] = @Original_code) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)));
SELECT code, name FROM Component_Reel_CustInfo WHERE (code = @code)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@code" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_code" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="code" DataSetColumn="code" />
              <Mapping SourceColumn="name" DataSetColumn="name" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ResultSummaryTableAdapter" GeneratorDataComponentClassName="ResultSummaryTableAdapter" Name="ResultSummary" UserDataComponentName="ResultSummaryTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CS (Settings)" DbObjectName="WMS.dbo.K4EE_Component_Reel_Result" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT  PARTNO, VLOT, COUNT(*) AS QTY, SUM(QTY) / 1000 AS KPC
FROM     K4EE_Component_Reel_Result
WHERE  (ISNULL(MC, '') = @mc) AND (PRNATTACH = 1) AND (CONVERT(varchar(10), STIME, 120) BETWEEN @sd AND @ed)
GROUP BY PARTNO, VLOT
ORDER BY PARTNO, VLOT</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="mc" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@mc" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="sd" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ed" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="PARTNO" DataSetColumn="PARTNO" />
              <Mapping SourceColumn="VLOT" DataSetColumn="VLOT" />
              <Mapping SourceColumn="QTY" DataSetColumn="QTY" />
              <Mapping SourceColumn="KPC" DataSetColumn="KPC" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="K4EE_Component_Reel_Print_InformationTableAdapter" GeneratorDataComponentClassName="K4EE_Component_Reel_Print_InformationTableAdapter" Name="K4EE_Component_Reel_Print_Information" UserDataComponentName="K4EE_Component_Reel_Print_InformationTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CS (Settings)" DbObjectName="WMS.dbo.K4EE_Component_Reel_Print_Information" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [Component_Reel_Print_Information] WHERE (([idx] = @Original_idx) AND ((@IsNull_MC = 1 AND [MC] IS NULL) OR ([MC] = @Original_MC)) AND ([SID] = @Original_SID) AND ((@IsNull_PrintPosition = 1 AND [PrintPosition] IS NULL) OR ([PrintPosition] = @Original_PrintPosition)) AND ((@IsNull_Remark = 1 AND [Remark] IS NULL) OR ([Remark] = @Original_Remark)) AND ((@IsNull_wdate = 1 AND [wdate] IS NULL) OR ([wdate] = @Original_wdate)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PrintPosition" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PrintPosition" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PrintPosition" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PrintPosition" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Remark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_wdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [Component_Reel_Print_Information] ([MC], [SID], [PrintPosition], [Remark], [wdate]) VALUES (@MC, @SID, @PrintPosition, @Remark, @wdate);
SELECT idx, MC, SID, PrintPosition, Remark, wdate FROM Component_Reel_Print_Information WHERE (idx = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PrintPosition" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PrintPosition" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT  idx, MC, SID, PrintPosition, Remark, wdate
FROM     K4EE_Component_Reel_Print_Information WITH (NOLOCK)
WHERE  (MC = @mc)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="mc" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_Print_Information" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@mc" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [Component_Reel_Print_Information] SET [MC] = @MC, [SID] = @SID, [PrintPosition] = @PrintPosition, [Remark] = @Remark, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ((@IsNull_MC = 1 AND [MC] IS NULL) OR ([MC] = @Original_MC)) AND ([SID] = @Original_SID) AND ((@IsNull_PrintPosition = 1 AND [PrintPosition] IS NULL) OR ([PrintPosition] = @Original_PrintPosition)) AND ((@IsNull_Remark = 1 AND [Remark] IS NULL) OR ([Remark] = @Original_Remark)) AND ((@IsNull_wdate = 1 AND [wdate] IS NULL) OR ([wdate] = @Original_wdate)));
SELECT idx, MC, SID, PrintPosition, Remark, wdate FROM Component_Reel_Print_Information WHERE (idx = @idx)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PrintPosition" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PrintPosition" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PrintPosition" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PrintPosition" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PrintPosition" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PrintPosition" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Remark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_wdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="idx" DataSetColumn="idx" />
              <Mapping SourceColumn="MC" DataSetColumn="MC" />
              <Mapping SourceColumn="SID" DataSetColumn="SID" />
              <Mapping SourceColumn="PrintPosition" DataSetColumn="PrintPosition" />
              <Mapping SourceColumn="Remark" DataSetColumn="Remark" />
              <Mapping SourceColumn="wdate" DataSetColumn="wdate" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_Print_Information" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillBySID" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetBySID" GeneratorSourceName="FillBySID" GetMethodModifier="Public" GetMethodName="GetBySID" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetBySID" UserSourceName="FillBySID">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT  idx, MC, SID, PrintPosition, Remark, wdate
FROM     K4EE_Component_Reel_Print_Information WITH (NOLOCK)
WHERE  (MC = @mc) AND (SID = @sid)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="mc" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_Print_Information" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@mc" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="sid" ColumnName="SID" DataSourceName="WMS.dbo.K4EE_Component_Reel_Print_Information" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="K4EE_Component_Reel_PrintRegExRuleTableAdapter" GeneratorDataComponentClassName="K4EE_Component_Reel_PrintRegExRuleTableAdapter" Name="K4EE_Component_Reel_PrintRegExRule" UserDataComponentName="K4EE_Component_Reel_PrintRegExRuleTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CS (Settings)" DbObjectName="WMS.dbo.K4EE_Component_Reel_PrintRegExRule" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [K4EE_Component_Reel_PrintRegExRule] WHERE (([Id] = @Original_Id) AND ((@IsNull_Seq = 1 AND [Seq] IS NULL) OR ([Seq] = @Original_Seq)) AND ((@IsNull_CustCode = 1 AND [CustCode] IS NULL) OR ([CustCode] = @Original_CustCode)) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)) AND ((@IsNull_Symbol = 1 AND [Symbol] IS NULL) OR ([Symbol] = @Original_Symbol)) AND ((@IsNull_Groups = 1 AND [Groups] IS NULL) OR ([Groups] = @Original_Groups)) AND ((@IsNull_IsEnable = 1 AND [IsEnable] IS NULL) OR ([IsEnable] = @Original_IsEnable)) AND ((@IsNull_IsTrust = 1 AND [IsTrust] IS NULL) OR ([IsTrust] = @Original_IsTrust)) AND ((@IsNull_IsAmkStd = 1 AND [IsAmkStd] IS NULL) OR ([IsAmkStd] = @Original_IsAmkStd)) AND ((@IsNull_IsIgnore = 1 AND [IsIgnore] IS NULL) OR ([IsIgnore] = @Original_IsIgnore)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Seq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Seq" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Seq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Seq" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CustCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustCode" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CustCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Symbol" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Symbol" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Symbol" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Symbol" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Groups" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Groups" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Groups" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Groups" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IsEnable" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IsEnable" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_IsEnable" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsEnable" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IsTrust" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IsTrust" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_IsTrust" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsTrust" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IsAmkStd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IsAmkStd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_IsAmkStd" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsAmkStd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IsIgnore" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IsIgnore" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_IsIgnore" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsIgnore" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [K4EE_Component_Reel_PrintRegExRule] ([Seq], [CustCode], [Description], [Symbol], [Pattern], [Groups], [IsEnable], [IsTrust], [IsAmkStd], [IsIgnore]) VALUES (@Seq, @CustCode, @Description, @Symbol, @Pattern, @Groups, @IsEnable, @IsTrust, @IsAmkStd, @IsIgnore);
SELECT Id, Seq, CustCode, Description, Symbol, Pattern, Groups, IsEnable, IsTrust, IsAmkStd, IsIgnore FROM K4EE_Component_Reel_PrintRegExRule WHERE (Id = SCOPE_IDENTITY()) ORDER BY Id</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Seq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Seq" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Symbol" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Symbol" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Pattern" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Pattern" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Groups" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Groups" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsEnable" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsEnable" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsTrust" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsTrust" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsAmkStd" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsAmkStd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsIgnore" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsIgnore" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT  Id, Seq, CustCode, Description, Symbol, Pattern, Groups, IsEnable, IsTrust, IsAmkStd, IsIgnore
FROM     K4EE_Component_Reel_PrintRegExRule
ORDER BY Id</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [K4EE_Component_Reel_PrintRegExRule] SET [Seq] = @Seq, [CustCode] = @CustCode, [Description] = @Description, [Symbol] = @Symbol, [Pattern] = @Pattern, [Groups] = @Groups, [IsEnable] = @IsEnable, [IsTrust] = @IsTrust, [IsAmkStd] = @IsAmkStd, [IsIgnore] = @IsIgnore WHERE (([Id] = @Original_Id) AND ((@IsNull_Seq = 1 AND [Seq] IS NULL) OR ([Seq] = @Original_Seq)) AND ((@IsNull_CustCode = 1 AND [CustCode] IS NULL) OR ([CustCode] = @Original_CustCode)) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)) AND ((@IsNull_Symbol = 1 AND [Symbol] IS NULL) OR ([Symbol] = @Original_Symbol)) AND ((@IsNull_Groups = 1 AND [Groups] IS NULL) OR ([Groups] = @Original_Groups)) AND ((@IsNull_IsEnable = 1 AND [IsEnable] IS NULL) OR ([IsEnable] = @Original_IsEnable)) AND ((@IsNull_IsTrust = 1 AND [IsTrust] IS NULL) OR ([IsTrust] = @Original_IsTrust)) AND ((@IsNull_IsAmkStd = 1 AND [IsAmkStd] IS NULL) OR ([IsAmkStd] = @Original_IsAmkStd)) AND ((@IsNull_IsIgnore = 1 AND [IsIgnore] IS NULL) OR ([IsIgnore] = @Original_IsIgnore)));
SELECT Id, Seq, CustCode, Description, Symbol, Pattern, Groups, IsEnable, IsTrust, IsAmkStd, IsIgnore FROM K4EE_Component_Reel_PrintRegExRule WHERE (Id = @Id) ORDER BY Id</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Seq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Seq" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Symbol" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Symbol" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Pattern" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Pattern" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Groups" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Groups" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsEnable" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsEnable" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsTrust" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsTrust" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsAmkStd" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsAmkStd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsIgnore" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsIgnore" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Seq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Seq" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Seq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Seq" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CustCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustCode" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CustCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Symbol" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Symbol" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Symbol" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Symbol" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Groups" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Groups" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Groups" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Groups" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IsEnable" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IsEnable" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_IsEnable" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsEnable" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IsTrust" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IsTrust" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_IsTrust" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsTrust" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IsAmkStd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IsAmkStd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_IsAmkStd" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsAmkStd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IsIgnore" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IsIgnore" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_IsIgnore" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsIgnore" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="Id" ColumnName="Id" DataSourceName="WMS.dbo.K4EE_Component_Reel_PrintRegExRule" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Id" DataSetColumn="Id" />
              <Mapping SourceColumn="Seq" DataSetColumn="Seq" />
              <Mapping SourceColumn="CustCode" DataSetColumn="CustCode" />
              <Mapping SourceColumn="Description" DataSetColumn="Description" />
              <Mapping SourceColumn="Symbol" DataSetColumn="Symbol" />
              <Mapping SourceColumn="Pattern" DataSetColumn="Pattern" />
              <Mapping SourceColumn="Groups" DataSetColumn="Groups" />
              <Mapping SourceColumn="IsEnable" DataSetColumn="IsEnable" />
              <Mapping SourceColumn="IsTrust" DataSetColumn="IsTrust" />
              <Mapping SourceColumn="IsAmkStd" DataSetColumn="IsAmkStd" />
              <Mapping SourceColumn="IsIgnore" DataSetColumn="IsIgnore" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CustCodeListTableAdapter" GeneratorDataComponentClassName="CustCodeListTableAdapter" Name="CustCodeList" UserDataComponentName="CustCodeListTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CS (Settings)" DbObjectName="WMS.dbo.K4EE_Component_Reel_SID_Information" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT  CustCode
FROM     K4EE_Component_Reel_SID_Information WITH (NOLOCK)
WHERE  (MC = @mcname)
GROUP BY CustCode
ORDER BY CustCode</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="mcname" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@mcname" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CustCode" DataSetColumn="CustCode" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SidinfoCustGroupTableAdapter" GeneratorDataComponentClassName="SidinfoCustGroupTableAdapter" Name="SidinfoCustGroup" UserDataComponentName="SidinfoCustGroupTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CS (Settings)" DbObjectName="WMS.dbo.VW_GET_MAX_QTY_VENDOR_LOT" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT  CUST_CODE AS CustCode
FROM     VW_GET_MAX_QTY_VENDOR_LOT WITH (NOLOCK)
WHERE  (ISNULL(CUST_CODE, '') &lt;&gt; '')
GROUP BY CUST_CODE
ORDER BY CustCode</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CustCode" DataSetColumn="CustCode" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources>
          <DbSource ConnectionRef="CS (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="GetCustName" MethodsParameterType="CLR" Modifier="Public" Name="GetCustName" QueryType="Scalar" ScalarCallRetval="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="GetCustName">
            <SelectCommand>
              <DbCommand CommandType="Text" ModifiedByUser="true">
                <CommandText>SELECT  ISNULL(name, '') AS Expr1
FROM     K4EE_Component_Reel_CustInfo WITH (no lock)
WHERE  (code = @code)</CommandText>
                <Parameters>
                  <Parameter AllowDbNull="false" AutogeneratedName="code" ColumnName="code" DataSourceName="WMS.dbo.K4EE_Component_Reel_CustInfo" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@code" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Current" />
                </Parameters>
              </DbCommand>
            </SelectCommand>
          </DbSource>
          <DbSource ConnectionRef="CS (Settings)" DbObjectName="WMS.dbo.K4EE_Component_Reel_CustInfo" DbObjectType="Table" GenerateShortCommands="true" GeneratorSourceName="SetCustName" MethodsParameterType="CLR" Modifier="Public" Name="SetCustName" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="SetCustName">
            <SelectCommand>
              <DbCommand CommandType="Text" ModifiedByUser="true">
                <CommandText>UPDATE K4EE_Component_Reel_CustInfo
SET        name = @newname
WHERE  (code = @custcode)</CommandText>
                <Parameters>
                  <Parameter AllowDbNull="true" AutogeneratedName="newname" ColumnName="name" DataSourceName="WMS.dbo.K4EE_Component_Reel_CustInfo" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@newname" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
                  <Parameter AllowDbNull="false" AutogeneratedName="custcode" ColumnName="code" DataSourceName="WMS.dbo.K4EE_Component_Reel_CustInfo" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@custcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Original" />
                </Parameters>
              </DbCommand>
            </SelectCommand>
            <UpdateCommand>
              <DbCommand CommandType="Text" ModifiedByUser="true">
                <CommandText>UPDATE [Component_Reel_CustInfo] set name = @newname
where code = @custcode</CommandText>
                <Parameters>
                  <Parameter AllowDbNull="true" AutogeneratedName="newname" ColumnName="name" DataSourceName="EE.dbo.Component_Reel_CustInfo" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@newname" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
                  <Parameter AllowDbNull="false" AutogeneratedName="custcode" ColumnName="code" DataSourceName="EE.dbo.Component_Reel_CustInfo" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@custcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Original" />
                </Parameters>
              </DbCommand>
            </UpdateCommand>
          </DbSource>
          <DbSource ConnectionRef="CS (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="GetSIDFromCustAndPart" MethodsParameterType="CLR" Modifier="Public" Name="GetSIDFromCustAndPart" QueryType="Scalar" ScalarCallRetval="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="GetSIDFromCustAndPart">
            <SelectCommand>
              <DbCommand CommandType="Text" ModifiedByUser="true">
                <CommandText>SELECT  ISNULL(SID, '') AS Expr1
FROM     K4EE_Component_Reel_SID_Information WITH (no lock)
WHERE  (CustCode = @custcode) AND (PartNo = @partno)</CommandText>
                <Parameters>
                  <Parameter AllowDbNull="false" AutogeneratedName="custcode" ColumnName="CustCode" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@custcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="CustCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                  <Parameter AllowDbNull="false" AutogeneratedName="partno" ColumnName="PartNo" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@partno" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="PartNo" SourceColumnNullMapping="false" SourceVersion="Current" />
                </Parameters>
              </DbCommand>
            </SelectCommand>
          </DbSource>
          <DbSource ConnectionRef="CS (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="GetLastVLotFromSID" MethodsParameterType="CLR" Modifier="Public" Name="GetLastVLotFromSID" QueryType="Scalar" ScalarCallRetval="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="GetLastVLotFromSID">
            <SelectCommand>
              <DbCommand CommandType="Text" ModifiedByUser="true">
                <CommandText>SELECT  TOP (1) ISNULL(VLOT, '') AS Expr1
FROM     K4EE_Component_Reel_Result WITH (no lock)
WHERE  (SID = @isd)
ORDER BY wdate DESC</CommandText>
                <Parameters>
                  <Parameter AllowDbNull="true" AutogeneratedName="isd" ColumnName="SID" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@isd" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" />
                </Parameters>
              </DbCommand>
            </SelectCommand>
          </DbSource>
          <DbSource ConnectionRef="CS (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="CheckSIDExist" MethodsParameterType="CLR" Modifier="Public" Name="CheckSIDExist" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="CheckSIDExist">
            <SelectCommand>
              <DbCommand CommandType="Text" ModifiedByUser="true">
                <CommandText>SELECT  COUNT(*) AS Expr1
FROM     VW_GET_MAX_QTY_VENDOR_LOT WITH (nolock)
WHERE  (SID = @sid)</CommandText>
                <Parameters>
                  <Parameter AllowDbNull="false" AutogeneratedName="sid" ColumnName="SID" DataSourceName="WMS.dbo.VW_GET_MAX_QTY_VENDOR_LOT" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" />
                </Parameters>
              </DbCommand>
            </SelectCommand>
          </DbSource>
          <DbSource ConnectionRef="CS (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="GetIBResultCountBySIDBatch" MethodsParameterType="CLR" Modifier="Public" Name="GetIBResultCountBySIDBatch" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy5" UserSourceName="GetIBResultCountBySIDBatch">
            <SelectCommand>
              <DbCommand CommandType="Text" ModifiedByUser="true">
                <CommandText>SELECT  COUNT(*) AS Expr1
FROM     K4EE_Component_Reel_Result WITH (no lock)
WHERE  (iNBOUND = 'OK') AND (STIME &gt;= @stime) AND (SID = @sid) AND (BATCH = @batch)</CommandText>
                <Parameters>
                  <Parameter AllowDbNull="false" AutogeneratedName="stime" ColumnName="STIME" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@stime" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="STIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                  <Parameter AllowDbNull="true" AutogeneratedName="sid" ColumnName="SID" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" />
                  <Parameter AllowDbNull="true" AutogeneratedName="batch" ColumnName="BATCH" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@batch" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="BATCH" SourceColumnNullMapping="false" SourceVersion="Current" />
                </Parameters>
              </DbCommand>
            </SelectCommand>
          </DbSource>
        </Sources>
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="DataSet1" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="DataSet1" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DataSet1">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Users" msprop:Generator_RowEvHandlerName="UsersRowChangeEventHandler" msprop:Generator_RowDeletedName="UsersRowDeleted" msprop:Generator_RowDeletingName="UsersRowDeleting" msprop:Generator_RowEvArgName="UsersRowChangeEvent" msprop:Generator_TablePropName="Users" msprop:Generator_RowChangedName="UsersRowChanged" msprop:Generator_UserTableName="Users" msprop:Generator_RowChangingName="UsersRowChanging" msprop:Generator_RowClassName="UsersRow" msprop:Generator_TableClassName="UsersDataTable" msprop:Generator_TableVarName="tableUsers">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="idx" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" />
              <xs:element name="No" msprop:Generator_ColumnPropNameInTable="NoColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="No" msprop:Generator_UserColumnName="No" msprop:Generator_ColumnVarNameInTable="columnNo" type="xs:string" minOccurs="0" />
              <xs:element name="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" type="xs:string" minOccurs="0" />
              <xs:element name="Memo" msprop:Generator_ColumnPropNameInTable="MemoColumn" msprop:nullValue="" msprop:Generator_ColumnPropNameInRow="Memo" msprop:Generator_UserColumnName="Memo" msprop:Generator_ColumnVarNameInTable="columnMemo" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="MCModel" msprop:Generator_RowEvHandlerName="MCModelRowChangeEventHandler" msprop:Generator_RowDeletedName="MCModelRowDeleted" msprop:Generator_RowDeletingName="MCModelRowDeleting" msprop:Generator_RowEvArgName="MCModelRowChangeEvent" msprop:Generator_TablePropName="MCModel" msprop:Generator_RowChangedName="MCModelRowChanged" msprop:Generator_UserTableName="MCModel" msprop:Generator_RowChangingName="MCModelRowChanging" msprop:Generator_RowClassName="MCModelRow" msprop:Generator_TableClassName="MCModelDataTable" msprop:Generator_TableVarName="tableMCModel">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="idx" msdata:AutoIncrementSeed="1" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" />
              <xs:element name="Title" msprop:Generator_ColumnPropNameInTable="TitleColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Title" msprop:Generator_UserColumnName="Title" msprop:Generator_ColumnVarNameInTable="columnTitle" type="xs:string" minOccurs="0" />
              <xs:element name="pidx" msprop:Generator_ColumnPropNameInTable="pidxColumn" msprop:nullValue="-1" msprop:Generator_ColumnPropNameInRow="pidx" msprop:Generator_UserColumnName="pidx" msprop:Generator_ColumnVarNameInTable="columnpidx" type="xs:int" minOccurs="0" />
              <xs:element name="MotIndex" msprop:Generator_ColumnPropNameInTable="MotIndexColumn" msprop:nullValue="-1" msprop:Generator_ColumnPropNameInRow="MotIndex" msprop:Generator_UserColumnName="MotIndex" msprop:Generator_ColumnVarNameInTable="columnMotIndex" type="xs:short" minOccurs="0" />
              <xs:element name="PosIndex" msprop:Generator_ColumnPropNameInTable="PosIndexColumn" msprop:nullValue="-1" msprop:Generator_ColumnPropNameInRow="PosIndex" msprop:Generator_UserColumnName="PosIndex" msprop:Generator_ColumnVarNameInTable="columnPosIndex" type="xs:short" minOccurs="0" />
              <xs:element name="PosTitle" msprop:Generator_ColumnPropNameInTable="PosTitleColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="PosTitle" msprop:Generator_UserColumnName="PosTitle" msprop:Generator_ColumnVarNameInTable="columnPosTitle" type="xs:string" minOccurs="0" />
              <xs:element name="Position" msprop:Generator_ColumnPropNameInTable="PositionColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="Position" msprop:Generator_UserColumnName="Position" msprop:Generator_ColumnVarNameInTable="columnPosition" type="xs:double" minOccurs="0" />
              <xs:element name="SpdTitle" msprop:Generator_ColumnPropNameInTable="SpdTitleColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="SpdTitle" msprop:Generator_UserColumnName="SpdTitle" msprop:Generator_ColumnVarNameInTable="columnSpdTitle" type="xs:string" minOccurs="0" />
              <xs:element name="Speed" msprop:Generator_ColumnPropNameInTable="SpeedColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="Speed" msprop:Generator_UserColumnName="Speed" msprop:Generator_ColumnVarNameInTable="columnSpeed" type="xs:double" minOccurs="0" />
              <xs:element name="SpeedAcc" msprop:Generator_ColumnPropNameInTable="SpeedAccColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="SpeedAcc" msprop:Generator_UserColumnName="SpeedAcc" msprop:Generator_ColumnVarNameInTable="columnSpeedAcc" type="xs:double" minOccurs="0" />
              <xs:element name="Check" msprop:Generator_ColumnPropNameInTable="CheckColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="Check" msprop:Generator_UserColumnName="Check" msprop:Generator_ColumnVarNameInTable="columnCheck" type="xs:boolean" minOccurs="0" />
              <xs:element name="SpeedDcc" msprop:Generator_ColumnPropNameInTable="SpeedDccColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="SpeedDcc" msprop:Generator_UserColumnName="SpeedDcc" msprop:Generator_ColumnVarNameInTable="columnSpeedDcc" type="xs:double" minOccurs="0" />
              <xs:element name="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_UserColumnName="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" type="xs:string" minOccurs="0" />
              <xs:element name="Category" msprop:Generator_ColumnPropNameInTable="CategoryColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Category" msprop:Generator_UserColumnName="Category" msprop:Generator_ColumnVarNameInTable="columnCategory" type="xs:string" minOccurs="0" />
              <xs:element name="MotName" msprop:Generator_ColumnPropNameInTable="MotNameColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="MotName" msprop:Generator_UserColumnName="MotName" msprop:Generator_ColumnVarNameInTable="columnMotName" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="language" msprop:Generator_RowEvHandlerName="languageRowChangeEventHandler" msprop:Generator_RowDeletedName="languageRowDeleted" msprop:Generator_RowDeletingName="languageRowDeleting" msprop:Generator_RowEvArgName="languageRowChangeEvent" msprop:Generator_TablePropName="language" msprop:Generator_RowChangedName="languageRowChanged" msprop:Generator_UserTableName="language" msprop:Generator_RowChangingName="languageRowChanging" msprop:Generator_RowClassName="languageRow" msprop:Generator_TableClassName="languageDataTable" msprop:Generator_TableVarName="tablelanguage">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Section" msprop:Generator_ColumnPropNameInTable="SectionColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Section" msprop:Generator_UserColumnName="Section" msprop:Generator_ColumnVarNameInTable="columnSection" type="xs:string" />
              <xs:element name="Key" msprop:Generator_ColumnPropNameInTable="KeyColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Key" msprop:Generator_UserColumnName="Key" msprop:Generator_ColumnVarNameInTable="columnKey" type="xs:string" />
              <xs:element name="Value" msprop:Generator_ColumnPropNameInTable="ValueColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Value" msprop:Generator_UserColumnName="Value" msprop:Generator_ColumnVarNameInTable="columnValue" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="OPModel" msprop:Generator_RowEvHandlerName="OPModelRowChangeEventHandler" msprop:Generator_RowDeletedName="OPModelRowDeleted" msprop:Generator_RowDeletingName="OPModelRowDeleting" msprop:Generator_RowEvArgName="OPModelRowChangeEvent" msprop:Generator_TablePropName="OPModel" msprop:Generator_RowChangedName="OPModelRowChanged" msprop:Generator_UserTableName="OPModel" msprop:Generator_RowChangingName="OPModelRowChanging" msprop:Generator_RowClassName="OPModelRow" msprop:Generator_TableClassName="OPModelDataTable" msprop:Generator_TableVarName="tableOPModel">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="idx" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" />
              <xs:element name="Midx" msprop:Generator_ColumnPropNameInTable="MidxColumn" msprop:nullValue="-1" msprop:Generator_ColumnPropNameInRow="Midx" msprop:Generator_UserColumnName="Midx" msprop:Generator_ColumnVarNameInTable="columnMidx" type="xs:int" minOccurs="0" />
              <xs:element name="Title" msprop:Generator_ColumnPropNameInTable="TitleColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Title" msprop:Generator_UserColumnName="Title" msprop:Generator_ColumnVarNameInTable="columnTitle" type="xs:string" minOccurs="0" />
              <xs:element name="Memo" msprop:Generator_ColumnPropNameInTable="MemoColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Memo" msprop:Generator_UserColumnName="Memo" msprop:Generator_ColumnVarNameInTable="columnMemo" type="xs:string" minOccurs="0" />
              <xs:element name="Code" msprop:Generator_ColumnPropNameInTable="CodeColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Code" msprop:Generator_UserColumnName="Code" msprop:Generator_ColumnVarNameInTable="columnCode" type="xs:string" minOccurs="0" />
              <xs:element name="Motion" msprop:Generator_ColumnPropNameInTable="MotionColumn" msprop:nullValue="Default" msprop:Generator_ColumnPropNameInRow="Motion" msprop:Generator_UserColumnName="Motion" msprop:Generator_ColumnVarNameInTable="columnMotion" type="xs:string" minOccurs="0" />
              <xs:element name="BCD_1D" msprop:Generator_ColumnPropNameInTable="BCD_1DColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="BCD_1D" msprop:Generator_UserColumnName="BCD_1D" msprop:Generator_ColumnVarNameInTable="columnBCD_1D" type="xs:boolean" minOccurs="0" />
              <xs:element name="BCD_QR" msprop:Generator_ColumnPropNameInTable="BCD_QRColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="BCD_QR" msprop:Generator_UserColumnName="BCD_QR" msprop:Generator_ColumnVarNameInTable="columnBCD_QR" type="xs:boolean" minOccurs="0" />
              <xs:element name="BCD_DM" msprop:Generator_ColumnPropNameInTable="BCD_DMColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="BCD_DM" msprop:Generator_UserColumnName="BCD_DM" msprop:Generator_ColumnVarNameInTable="columnBCD_DM" type="xs:boolean" minOccurs="0" />
              <xs:element name="vOption" msprop:Generator_ColumnPropNameInTable="vOptionColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="vOption" msprop:Generator_UserColumnName="vOption" msprop:Generator_ColumnVarNameInTable="columnvOption" type="xs:unsignedShort" minOccurs="0" />
              <xs:element name="vSIDInfo" msprop:Generator_ColumnPropNameInTable="vSIDInfoColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="vSIDInfo" msprop:Generator_UserColumnName="vSIDInfo" msprop:Generator_ColumnVarNameInTable="columnvSIDInfo" type="xs:unsignedShort" minOccurs="0" />
              <xs:element name="vJobInfo" msprop:Generator_ColumnPropNameInTable="vJobInfoColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="vJobInfo" msprop:Generator_UserColumnName="vJobInfo" msprop:Generator_ColumnVarNameInTable="columnvJobInfo" type="xs:unsignedShort" minOccurs="0" />
              <xs:element name="vSIDConv" msprop:Generator_ColumnPropNameInTable="vSIDConvColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="vSIDConv" msprop:Generator_UserColumnName="vSIDConv" msprop:Generator_ColumnVarNameInTable="columnvSIDConv" type="xs:unsignedShort" minOccurs="0" />
              <xs:element name="Def_VName" msprop:Generator_ColumnPropNameInTable="Def_VNameColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Def_VName" msprop:Generator_UserColumnName="Def_VName" msprop:Generator_ColumnVarNameInTable="columnDef_VName" type="xs:string" minOccurs="0" />
              <xs:element name="Def_MFG" msprop:Generator_ColumnPropNameInTable="Def_MFGColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Def_MFG" msprop:Generator_UserColumnName="Def_MFG" msprop:Generator_ColumnVarNameInTable="columnDef_MFG" type="xs:string" minOccurs="0" />
              <xs:element name="IgnoreOtherBarcode" msprop:Generator_ColumnPropNameInTable="IgnoreOtherBarcodeColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="IgnoreOtherBarcode" msprop:Generator_UserColumnName="IgnoreOtherBarcode" msprop:Generator_ColumnVarNameInTable="columnIgnoreOtherBarcode" type="xs:boolean" minOccurs="0" />
              <xs:element name="bConv" msprop:Generator_ColumnPropNameInTable="bConvColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="bConv" msprop:Generator_UserColumnName="bConv" msprop:Generator_ColumnVarNameInTable="columnbConv" type="xs:boolean" minOccurs="0" />
              <xs:element name="BSave" msprop:Generator_ColumnPropNameInTable="BSaveColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="BSave" msprop:Generator_UserColumnName="BSave" msprop:Generator_ColumnVarNameInTable="columnBSave" type="xs:int" minOccurs="0" />
              <xs:element name="DisableCamera" msprop:Generator_ColumnPropNameInTable="DisableCameraColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="DisableCamera" msprop:Generator_UserColumnName="DisableCamera" msprop:Generator_ColumnVarNameInTable="columnDisableCamera" type="xs:boolean" minOccurs="0" />
              <xs:element name="DisablePrinter" msprop:Generator_ColumnPropNameInTable="DisablePrinterColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="DisablePrinter" msprop:Generator_UserColumnName="DisablePrinter" msprop:Generator_ColumnVarNameInTable="columnDisablePrinter" type="xs:boolean" minOccurs="0" />
              <xs:element name="CheckSIDExsit" msprop:Generator_ColumnPropNameInTable="CheckSIDExsitColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="CheckSIDExsit" msprop:Generator_UserColumnName="CheckSIDExsit" msprop:Generator_ColumnVarNameInTable="columnCheckSIDExsit" type="xs:boolean" minOccurs="0" />
              <xs:element name="bOwnZPL" msprop:Generator_ColumnPropNameInTable="bOwnZPLColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="bOwnZPL" msprop:Generator_UserColumnName="bOwnZPL" msprop:Generator_ColumnVarNameInTable="columnbOwnZPL" type="xs:boolean" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="BCDData" msprop:Generator_RowEvHandlerName="BCDDataRowChangeEventHandler" msprop:Generator_RowDeletedName="BCDDataRowDeleted" msprop:Generator_RowDeletingName="BCDDataRowDeleting" msprop:Generator_RowEvArgName="BCDDataRowChangeEvent" msprop:Generator_TablePropName="BCDData" msprop:Generator_RowChangedName="BCDDataRowChanged" msprop:Generator_UserTableName="BCDData" msprop:Generator_RowChangingName="BCDDataRowChanging" msprop:Generator_RowClassName="BCDDataRow" msprop:Generator_TableClassName="BCDDataDataTable" msprop:Generator_TableVarName="tableBCDData">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Start" msprop:Generator_ColumnPropNameInTable="StartColumn" msprop:Generator_ColumnPropNameInRow="Start" msprop:Generator_UserColumnName="Start" msprop:Generator_ColumnVarNameInTable="columnStart" type="xs:dateTime" />
              <xs:element name="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_UserColumnName="ID" msprop:Generator_ColumnVarNameInTable="columnID" type="xs:string" minOccurs="0" />
              <xs:element name="SID" msprop:Generator_ColumnPropNameInTable="SIDColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="SID" msprop:Generator_UserColumnName="SID" msprop:Generator_ColumnVarNameInTable="columnSID" type="xs:string" minOccurs="0" />
              <xs:element name="RAW" msprop:Generator_ColumnPropNameInTable="RAWColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="RAW" msprop:Generator_UserColumnName="RAW" msprop:Generator_ColumnVarNameInTable="columnRAW" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="UserSID" msprop:Generator_RowEvHandlerName="UserSIDRowChangeEventHandler" msprop:Generator_RowDeletedName="UserSIDRowDeleted" msprop:Generator_RowDeletingName="UserSIDRowDeleting" msprop:Generator_RowEvArgName="UserSIDRowChangeEvent" msprop:Generator_TablePropName="UserSID" msprop:Generator_RowChangedName="UserSIDRowChanged" msprop:Generator_UserTableName="UserSID" msprop:Generator_RowChangingName="UserSIDRowChanging" msprop:Generator_RowClassName="UserSIDRow" msprop:Generator_TableClassName="UserSIDDataTable" msprop:Generator_TableVarName="tableUserSID">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="idx" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" />
              <xs:element name="Port" msprop:Generator_ColumnPropNameInTable="PortColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Port" msprop:Generator_UserColumnName="Port" msprop:Generator_ColumnVarNameInTable="columnPort" type="xs:string" minOccurs="0" />
              <xs:element name="SID" msprop:Generator_ColumnPropNameInTable="SIDColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="SID" msprop:Generator_UserColumnName="SID" msprop:Generator_ColumnVarNameInTable="columnSID" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="MailFormat" msprop:Generator_RowEvHandlerName="MailFormatRowChangeEventHandler" msprop:Generator_RowDeletedName="MailFormatRowDeleted" msprop:Generator_RowDeletingName="MailFormatRowDeleting" msprop:Generator_RowEvArgName="MailFormatRowChangeEvent" msprop:Generator_TablePropName="MailFormat" msprop:Generator_RowChangedName="MailFormatRowChanged" msprop:Generator_UserTableName="MailFormat" msprop:Generator_RowChangingName="MailFormatRowChanging" msprop:Generator_RowClassName="MailFormatRow" msprop:Generator_TableClassName="MailFormatDataTable" msprop:Generator_TableVarName="tableMailFormat">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="subject" msprop:Generator_ColumnPropNameInTable="subjectColumn" msprop:Generator_ColumnPropNameInRow="subject" msprop:Generator_UserColumnName="subject" msprop:Generator_ColumnVarNameInTable="columnsubject" type="xs:string" minOccurs="0" />
              <xs:element name="content" msprop:Generator_ColumnPropNameInTable="contentColumn" msprop:Generator_ColumnPropNameInRow="content" msprop:Generator_UserColumnName="content" msprop:Generator_ColumnVarNameInTable="columncontent" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="MailRecipient" msprop:Generator_RowEvHandlerName="MailRecipientRowChangeEventHandler" msprop:Generator_RowDeletedName="MailRecipientRowDeleted" msprop:Generator_RowDeletingName="MailRecipientRowDeleting" msprop:Generator_RowEvArgName="MailRecipientRowChangeEvent" msprop:Generator_TablePropName="MailRecipient" msprop:Generator_RowChangedName="MailRecipientRowChanged" msprop:Generator_UserTableName="MailRecipient" msprop:Generator_RowChangingName="MailRecipientRowChanging" msprop:Generator_RowClassName="MailRecipientRow" msprop:Generator_TableClassName="MailRecipientDataTable" msprop:Generator_TableVarName="tableMailRecipient">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="idx" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" />
              <xs:element name="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" type="xs:string" minOccurs="0" />
              <xs:element name="Address" msprop:Generator_ColumnPropNameInTable="AddressColumn" msprop:Generator_ColumnPropNameInRow="Address" msprop:Generator_UserColumnName="Address" msprop:Generator_ColumnVarNameInTable="columnAddress" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="SIDHistory" msprop:Generator_RowEvHandlerName="SIDHistoryRowChangeEventHandler" msprop:Generator_RowDeletedName="SIDHistoryRowDeleted" msprop:Generator_RowDeletingName="SIDHistoryRowDeleting" msprop:Generator_RowEvArgName="SIDHistoryRowChangeEvent" msprop:Generator_TablePropName="SIDHistory" msprop:Generator_RowChangedName="SIDHistoryRowChanged" msprop:Generator_UserTableName="SIDHistory" msprop:Generator_RowChangingName="SIDHistoryRowChanging" msprop:Generator_RowClassName="SIDHistoryRow" msprop:Generator_TableClassName="SIDHistoryDataTable" msprop:Generator_TableVarName="tableSIDHistory">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="idx" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" />
              <xs:element name="time" msprop:Generator_ColumnPropNameInTable="timeColumn" msprop:Generator_ColumnPropNameInRow="time" msprop:Generator_UserColumnName="time" msprop:Generator_ColumnVarNameInTable="columntime" type="xs:dateTime" minOccurs="0" />
              <xs:element name="seqdate" msprop:Generator_ColumnPropNameInTable="seqdateColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="seqdate" msprop:Generator_UserColumnName="seqdate" msprop:Generator_ColumnVarNameInTable="columnseqdate" type="xs:string" minOccurs="0" />
              <xs:element name="seqno" msprop:Generator_ColumnPropNameInTable="seqnoColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="seqno" msprop:Generator_UserColumnName="seqno" msprop:Generator_ColumnVarNameInTable="columnseqno" type="xs:string" minOccurs="0" />
              <xs:element name="sid" msdata:Caption="info_filename" msprop:Generator_ColumnPropNameInTable="sidColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="sid" msprop:Generator_UserColumnName="sid" msprop:Generator_ColumnVarNameInTable="columnsid" type="xs:string" minOccurs="0" />
              <xs:element name="rid" msprop:Generator_ColumnPropNameInTable="ridColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="rid" msprop:Generator_UserColumnName="rid" msprop:Generator_ColumnVarNameInTable="columnrid" type="xs:string" minOccurs="0" />
              <xs:element name="qty" msprop:Generator_ColumnPropNameInTable="qtyColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="qty" msprop:Generator_UserColumnName="qty" msprop:Generator_ColumnVarNameInTable="columnqty" type="xs:int" minOccurs="0" />
              <xs:element name="rev" msprop:Generator_ColumnPropNameInTable="revColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="rev" msprop:Generator_UserColumnName="rev" msprop:Generator_ColumnVarNameInTable="columnrev" type="xs:int" minOccurs="0" />
              <xs:element name="acc" msprop:Generator_ColumnPropNameInTable="accColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="acc" msprop:Generator_UserColumnName="acc" msprop:Generator_ColumnVarNameInTable="columnacc" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="K4EE_Component_Reel_Result" msprop:Generator_RowEvHandlerName="K4EE_Component_Reel_ResultRowChangeEventHandler" msprop:Generator_RowDeletedName="K4EE_Component_Reel_ResultRowDeleted" msprop:Generator_RowDeletingName="K4EE_Component_Reel_ResultRowDeleting" msprop:Generator_RowEvArgName="K4EE_Component_Reel_ResultRowChangeEvent" msprop:Generator_TablePropName="K4EE_Component_Reel_Result" msprop:Generator_RowChangedName="K4EE_Component_Reel_ResultRowChanged" msprop:Generator_UserTableName="K4EE_Component_Reel_Result" msprop:Generator_RowChangingName="K4EE_Component_Reel_ResultRowChanging" msprop:Generator_RowClassName="K4EE_Component_Reel_ResultRow" msprop:Generator_TableClassName="K4EE_Component_Reel_ResultDataTable" msprop:Generator_TableVarName="tableK4EE_Component_Reel_Result">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" />
              <xs:element name="STIME" msprop:Generator_ColumnPropNameInTable="STIMEColumn" msprop:Generator_ColumnPropNameInRow="STIME" msprop:Generator_UserColumnName="STIME" msprop:Generator_ColumnVarNameInTable="columnSTIME" type="xs:dateTime" />
              <xs:element name="ETIME" msprop:Generator_ColumnPropNameInTable="ETIMEColumn" msprop:Generator_ColumnPropNameInRow="ETIME" msprop:Generator_UserColumnName="ETIME" msprop:Generator_ColumnVarNameInTable="columnETIME" type="xs:dateTime" minOccurs="0" />
              <xs:element name="PDATE" msprop:Generator_ColumnPropNameInTable="PDATEColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="PDATE" msprop:Generator_UserColumnName="PDATE" msprop:Generator_ColumnVarNameInTable="columnPDATE" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="JTYPE" msprop:Generator_ColumnPropNameInTable="JTYPEColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="JTYPE" msprop:Generator_UserColumnName="JTYPE" msprop:Generator_ColumnVarNameInTable="columnJTYPE" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="JGUID" msprop:Generator_ColumnPropNameInTable="JGUIDColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="JGUID" msprop:Generator_UserColumnName="JGUID" msprop:Generator_ColumnVarNameInTable="columnJGUID" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="SID" msprop:Generator_ColumnPropNameInTable="SIDColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="SID" msprop:Generator_UserColumnName="SID" msprop:Generator_ColumnVarNameInTable="columnSID" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="SID0" msprop:Generator_ColumnPropNameInTable="SID0Column" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="SID0" msprop:Generator_UserColumnName="SID0" msprop:Generator_ColumnVarNameInTable="columnSID0" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="RID" msprop:Generator_ColumnPropNameInTable="RIDColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="RID" msprop:Generator_UserColumnName="RID" msprop:Generator_ColumnVarNameInTable="columnRID" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="RID0" msprop:Generator_ColumnPropNameInTable="RID0Column" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="RID0" msprop:Generator_UserColumnName="RID0" msprop:Generator_ColumnVarNameInTable="columnRID0" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="RSN" msprop:Generator_ColumnPropNameInTable="RSNColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="RSN" msprop:Generator_UserColumnName="RSN" msprop:Generator_ColumnVarNameInTable="columnRSN" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="QR" msprop:Generator_ColumnPropNameInTable="QRColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="QR" msprop:Generator_UserColumnName="QR" msprop:Generator_ColumnVarNameInTable="columnQR" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ZPL" msprop:Generator_ColumnPropNameInTable="ZPLColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="ZPL" msprop:Generator_UserColumnName="ZPL" msprop:Generator_ColumnVarNameInTable="columnZPL" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="POS" msprop:Generator_ColumnPropNameInTable="POSColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="POS" msprop:Generator_UserColumnName="POS" msprop:Generator_ColumnVarNameInTable="columnPOS" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="LOC" msprop:Generator_ColumnPropNameInTable="LOCColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="LOC" msprop:Generator_UserColumnName="LOC" msprop:Generator_ColumnVarNameInTable="columnLOC" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ANGLE" msprop:Generator_ColumnPropNameInTable="ANGLEColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="ANGLE" msprop:Generator_UserColumnName="ANGLE" msprop:Generator_ColumnVarNameInTable="columnANGLE" type="xs:double" minOccurs="0" />
              <xs:element name="QTY" msprop:Generator_ColumnPropNameInTable="QTYColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="QTY" msprop:Generator_UserColumnName="QTY" msprop:Generator_ColumnVarNameInTable="columnQTY" type="xs:int" minOccurs="0" />
              <xs:element name="QTY0" msprop:Generator_ColumnPropNameInTable="QTY0Column" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="QTY0" msprop:Generator_UserColumnName="QTY0" msprop:Generator_ColumnVarNameInTable="columnQTY0" type="xs:int" minOccurs="0" />
              <xs:element name="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_UserColumnName="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" type="xs:dateTime" />
              <xs:element name="VNAME" msprop:Generator_ColumnPropNameInTable="VNAMEColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="VNAME" msprop:Generator_UserColumnName="VNAME" msprop:Generator_ColumnVarNameInTable="columnVNAME" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PRNATTACH" msprop:Generator_ColumnPropNameInTable="PRNATTACHColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="PRNATTACH" msprop:Generator_UserColumnName="PRNATTACH" msprop:Generator_ColumnVarNameInTable="columnPRNATTACH" type="xs:boolean" minOccurs="0" />
              <xs:element name="PRNVALID" msprop:Generator_ColumnPropNameInTable="PRNVALIDColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="PRNVALID" msprop:Generator_UserColumnName="PRNVALID" msprop:Generator_ColumnVarNameInTable="columnPRNVALID" type="xs:boolean" minOccurs="0" />
              <xs:element name="PTIME" msprop:Generator_ColumnPropNameInTable="PTIMEColumn" msprop:Generator_ColumnPropNameInRow="PTIME" msprop:Generator_UserColumnName="PTIME" msprop:Generator_ColumnVarNameInTable="columnPTIME" type="xs:dateTime" minOccurs="0" />
              <xs:element name="MFGDATE" msprop:Generator_ColumnPropNameInTable="MFGDATEColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="MFGDATE" msprop:Generator_UserColumnName="MFGDATE" msprop:Generator_ColumnVarNameInTable="columnMFGDATE" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="VLOT" msprop:Generator_ColumnPropNameInTable="VLOTColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="VLOT" msprop:Generator_UserColumnName="VLOT" msprop:Generator_ColumnVarNameInTable="columnVLOT" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="REMARK" msprop:Generator_ColumnPropNameInTable="REMARKColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="REMARK" msprop:Generator_UserColumnName="REMARK" msprop:Generator_ColumnVarNameInTable="columnREMARK" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MC" msprop:Generator_ColumnPropNameInTable="MCColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="MC" msprop:Generator_UserColumnName="MC" msprop:Generator_ColumnVarNameInTable="columnMC">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PARTNO" msprop:Generator_ColumnPropNameInTable="PARTNOColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="PARTNO" msprop:Generator_UserColumnName="PARTNO" msprop:Generator_ColumnVarNameInTable="columnPARTNO" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CUSTCODE" msprop:Generator_ColumnPropNameInTable="CUSTCODEColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="CUSTCODE" msprop:Generator_UserColumnName="CUSTCODE" msprop:Generator_ColumnVarNameInTable="columnCUSTCODE" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ATIME" msprop:Generator_ColumnPropNameInTable="ATIMEColumn" msprop:Generator_ColumnPropNameInRow="ATIME" msprop:Generator_UserColumnName="ATIME" msprop:Generator_ColumnVarNameInTable="columnATIME" type="xs:dateTime" minOccurs="0" />
              <xs:element name="BATCH" msprop:Generator_ColumnPropNameInTable="BATCHColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="BATCH" msprop:Generator_UserColumnName="BATCH" msprop:Generator_ColumnVarNameInTable="columnBATCH" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="qtymax" msprop:Generator_ColumnPropNameInTable="qtymaxColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="qtymax" msprop:Generator_UserColumnName="qtymax" msprop:Generator_ColumnVarNameInTable="columnqtymax" type="xs:int" minOccurs="0" />
              <xs:element name="GUID" msdata:DataType="System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_ColumnPropNameInTable="GUIDColumn" msprop:Generator_ColumnPropNameInRow="GUID" msprop:Generator_UserColumnName="GUID" msprop:Generator_ColumnVarNameInTable="columnGUID" type="xs:string" minOccurs="0" />
              <xs:element name="iNBOUND" msprop:Generator_ColumnPropNameInTable="iNBOUNDColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="iNBOUND" msprop:Generator_UserColumnName="iNBOUND" msprop:Generator_ColumnVarNameInTable="columniNBOUND" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MCN" msprop:Generator_ColumnPropNameInTable="MCNColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="MCN" msprop:Generator_UserColumnName="MCN" msprop:Generator_ColumnVarNameInTable="columnMCN" type="xs:string" minOccurs="0" />
              <xs:element name="target" msprop:Generator_ColumnPropNameInTable="targetColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="target" msprop:Generator_UserColumnName="target" msprop:Generator_ColumnVarNameInTable="columntarget" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="InputDescription" msprop:Generator_RowEvHandlerName="InputDescriptionRowChangeEventHandler" msprop:Generator_RowDeletedName="InputDescriptionRowDeleted" msprop:Generator_RowDeletingName="InputDescriptionRowDeleting" msprop:Generator_RowEvArgName="InputDescriptionRowChangeEvent" msprop:Generator_TablePropName="InputDescription" msprop:Generator_RowChangedName="InputDescriptionRowChanged" msprop:Generator_UserTableName="InputDescription" msprop:Generator_RowChangingName="InputDescriptionRowChanging" msprop:Generator_RowClassName="InputDescriptionRow" msprop:Generator_TableClassName="InputDescriptionDataTable" msprop:Generator_TableVarName="tableInputDescription">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Idx" msprop:Generator_ColumnPropNameInTable="IdxColumn" msprop:Generator_ColumnPropNameInRow="Idx" msprop:Generator_UserColumnName="Idx" msprop:Generator_ColumnVarNameInTable="columnIdx" type="xs:short" />
              <xs:element name="Title" msprop:Generator_ColumnPropNameInTable="TitleColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Title" msprop:Generator_UserColumnName="Title" msprop:Generator_ColumnVarNameInTable="columnTitle" type="xs:string" minOccurs="0" />
              <xs:element name="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_UserColumnName="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" type="xs:string" minOccurs="0" />
              <xs:element name="TerminalNo" msprop:Generator_ColumnPropNameInTable="TerminalNoColumn" msprop:Generator_ColumnPropNameInRow="TerminalNo" msprop:Generator_UserColumnName="TerminalNo" msprop:Generator_ColumnVarNameInTable="columnTerminalNo" type="xs:int" minOccurs="0" />
              <xs:element name="Invert" msprop:Generator_ColumnPropNameInTable="InvertColumn" msprop:Generator_ColumnPropNameInRow="Invert" msprop:Generator_UserColumnName="Invert" msprop:Generator_ColumnVarNameInTable="columnInvert" type="xs:boolean" minOccurs="0" />
              <xs:element name="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="OutputDescription" msprop:Generator_RowEvHandlerName="OutputDescriptionRowChangeEventHandler" msprop:Generator_RowDeletedName="OutputDescriptionRowDeleted" msprop:Generator_RowDeletingName="OutputDescriptionRowDeleting" msprop:Generator_RowEvArgName="OutputDescriptionRowChangeEvent" msprop:Generator_TablePropName="OutputDescription" msprop:Generator_RowChangedName="OutputDescriptionRowChanged" msprop:Generator_UserTableName="OutputDescription" msprop:Generator_RowChangingName="OutputDescriptionRowChanging" msprop:Generator_RowClassName="OutputDescriptionRow" msprop:Generator_TableClassName="OutputDescriptionDataTable" msprop:Generator_TableVarName="tableOutputDescription">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Idx" msprop:Generator_ColumnPropNameInTable="IdxColumn" msprop:Generator_ColumnPropNameInRow="Idx" msprop:Generator_UserColumnName="Idx" msprop:Generator_ColumnVarNameInTable="columnIdx" type="xs:short" />
              <xs:element name="Title" msprop:Generator_ColumnPropNameInTable="TitleColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Title" msprop:Generator_UserColumnName="Title" msprop:Generator_ColumnVarNameInTable="columnTitle" type="xs:string" minOccurs="0" />
              <xs:element name="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_UserColumnName="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" type="xs:string" minOccurs="0" />
              <xs:element name="TerminalNo" msprop:Generator_ColumnPropNameInTable="TerminalNoColumn" msprop:Generator_ColumnPropNameInRow="TerminalNo" msprop:Generator_UserColumnName="TerminalNo" msprop:Generator_ColumnVarNameInTable="columnTerminalNo" type="xs:int" minOccurs="0" />
              <xs:element name="Invert" msprop:Generator_ColumnPropNameInTable="InvertColumn" msprop:Generator_ColumnPropNameInRow="Invert" msprop:Generator_UserColumnName="Invert" msprop:Generator_ColumnVarNameInTable="columnInvert" type="xs:boolean" minOccurs="0" />
              <xs:element name="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="UserTable" msprop:Generator_RowEvHandlerName="UserTableRowChangeEventHandler" msprop:Generator_RowDeletedName="UserTableRowDeleted" msprop:Generator_RowDeletingName="UserTableRowDeleting" msprop:Generator_RowEvArgName="UserTableRowChangeEvent" msprop:Generator_TablePropName="UserTable" msprop:Generator_RowChangedName="UserTableRowChanged" msprop:Generator_UserTableName="UserTable" msprop:Generator_RowChangingName="UserTableRowChanging" msprop:Generator_RowClassName="UserTableRow" msprop:Generator_TableClassName="UserTableDataTable" msprop:Generator_TableVarName="tableUserTable">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_UserColumnName="ID" msprop:Generator_ColumnVarNameInTable="columnID" type="xs:string" />
              <xs:element name="PASS" msprop:Generator_ColumnPropNameInTable="PASSColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="PASS" msprop:Generator_UserColumnName="PASS" msprop:Generator_ColumnVarNameInTable="columnPASS" type="xs:string" minOccurs="0" />
              <xs:element name="LEVEL" msprop:Generator_ColumnPropNameInTable="LEVELColumn" msprop:nullValue="O" msprop:Generator_ColumnPropNameInRow="LEVEL" msprop:Generator_UserColumnName="LEVEL" msprop:Generator_ColumnVarNameInTable="columnLEVEL" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ErrorDescription" msprop:Generator_RowEvHandlerName="ErrorDescriptionRowChangeEventHandler" msprop:Generator_RowDeletedName="ErrorDescriptionRowDeleted" msprop:Generator_RowDeletingName="ErrorDescriptionRowDeleting" msprop:Generator_RowEvArgName="ErrorDescriptionRowChangeEvent" msprop:Generator_TablePropName="ErrorDescription" msprop:Generator_RowChangedName="ErrorDescriptionRowChanged" msprop:Generator_UserTableName="ErrorDescription" msprop:Generator_RowChangingName="ErrorDescriptionRowChanging" msprop:Generator_RowClassName="ErrorDescriptionRow" msprop:Generator_TableClassName="ErrorDescriptionDataTable" msprop:Generator_TableVarName="tableErrorDescription">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Idx" msprop:Generator_ColumnPropNameInTable="IdxColumn" msprop:Generator_ColumnPropNameInRow="Idx" msprop:Generator_UserColumnName="Idx" msprop:Generator_ColumnVarNameInTable="columnIdx" type="xs:short" />
              <xs:element name="Title" msprop:Generator_ColumnPropNameInTable="TitleColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Title" msprop:Generator_UserColumnName="Title" msprop:Generator_ColumnVarNameInTable="columnTitle" type="xs:string" minOccurs="0" />
              <xs:element name="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_UserColumnName="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" type="xs:string" minOccurs="0" />
              <xs:element name="Shorts" msprop:Generator_ColumnPropNameInTable="ShortsColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Shorts" msprop:Generator_UserColumnName="Shorts" msprop:Generator_ColumnVarNameInTable="columnShorts" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ModelList" msprop:Generator_RowEvHandlerName="ModelListRowChangeEventHandler" msprop:Generator_RowDeletedName="ModelListRowDeleted" msprop:Generator_RowDeletingName="ModelListRowDeleting" msprop:Generator_RowEvArgName="ModelListRowChangeEvent" msprop:Generator_TablePropName="ModelList" msprop:Generator_RowChangedName="ModelListRowChanged" msprop:Generator_UserTableName="ModelList" msprop:Generator_RowChangingName="ModelListRowChanging" msprop:Generator_RowClassName="ModelListRow" msprop:Generator_TableClassName="ModelListDataTable" msprop:Generator_TableVarName="tableModelList">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Title" msprop:Generator_ColumnPropNameInTable="TitleColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Title" msprop:Generator_UserColumnName="Title" msprop:Generator_ColumnVarNameInTable="columnTitle" type="xs:string" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="K4EE_Component_Reel_RegExRule" msprop:Generator_RowEvHandlerName="K4EE_Component_Reel_RegExRuleRowChangeEventHandler" msprop:Generator_RowDeletedName="K4EE_Component_Reel_RegExRuleRowDeleted" msprop:Generator_RowDeletingName="K4EE_Component_Reel_RegExRuleRowDeleting" msprop:Generator_RowEvArgName="K4EE_Component_Reel_RegExRuleRowChangeEvent" msprop:Generator_TablePropName="K4EE_Component_Reel_RegExRule" msprop:Generator_RowChangedName="K4EE_Component_Reel_RegExRuleRowChanged" msprop:Generator_UserTableName="K4EE_Component_Reel_RegExRule" msprop:Generator_RowChangingName="K4EE_Component_Reel_RegExRuleRowChanging" msprop:Generator_RowClassName="K4EE_Component_Reel_RegExRuleRow" msprop:Generator_TableClassName="K4EE_Component_Reel_RegExRuleDataTable" msprop:Generator_TableVarName="tableK4EE_Component_Reel_RegExRule">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="IdColumn" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_UserColumnName="Id" msprop:Generator_ColumnVarNameInTable="columnId" type="xs:int" />
              <xs:element name="Seq" msprop:Generator_ColumnPropNameInTable="SeqColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="Seq" msprop:Generator_UserColumnName="Seq" msprop:Generator_ColumnVarNameInTable="columnSeq" type="xs:int" minOccurs="0" />
              <xs:element name="CustCode" msprop:Generator_ColumnPropNameInTable="CustCodeColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="CustCode" msprop:Generator_UserColumnName="CustCode" msprop:Generator_ColumnVarNameInTable="columnCustCode" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_UserColumnName="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Symbol" msprop:Generator_ColumnPropNameInTable="SymbolColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Symbol" msprop:Generator_UserColumnName="Symbol" msprop:Generator_ColumnVarNameInTable="columnSymbol" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="3" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Pattern" msprop:Generator_ColumnPropNameInTable="PatternColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Pattern" msprop:Generator_UserColumnName="Pattern" msprop:Generator_ColumnVarNameInTable="columnPattern" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Groups" msprop:Generator_ColumnPropNameInTable="GroupsColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Groups" msprop:Generator_UserColumnName="Groups" msprop:Generator_ColumnVarNameInTable="columnGroups" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="IsEnable" msprop:Generator_ColumnPropNameInTable="IsEnableColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="IsEnable" msprop:Generator_UserColumnName="IsEnable" msprop:Generator_ColumnVarNameInTable="columnIsEnable" type="xs:boolean" minOccurs="0" />
              <xs:element name="IsTrust" msprop:Generator_ColumnPropNameInTable="IsTrustColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="IsTrust" msprop:Generator_UserColumnName="IsTrust" msprop:Generator_ColumnVarNameInTable="columnIsTrust" type="xs:boolean" minOccurs="0" />
              <xs:element name="IsAmkStd" msprop:Generator_ColumnPropNameInTable="IsAmkStdColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="IsAmkStd" msprop:Generator_UserColumnName="IsAmkStd" msprop:Generator_ColumnVarNameInTable="columnIsAmkStd" type="xs:boolean" minOccurs="0" />
              <xs:element name="IsIgnore" msprop:Generator_ColumnPropNameInTable="IsIgnoreColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="IsIgnore" msprop:Generator_UserColumnName="IsIgnore" msprop:Generator_ColumnVarNameInTable="columnIsIgnore" type="xs:boolean" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="K4EE_Component_Reel_SID_Convert" msprop:Generator_RowEvHandlerName="K4EE_Component_Reel_SID_ConvertRowChangeEventHandler" msprop:Generator_RowDeletedName="K4EE_Component_Reel_SID_ConvertRowDeleted" msprop:Generator_RowDeletingName="K4EE_Component_Reel_SID_ConvertRowDeleting" msprop:Generator_RowEvArgName="K4EE_Component_Reel_SID_ConvertRowChangeEvent" msprop:Generator_TablePropName="K4EE_Component_Reel_SID_Convert" msprop:Generator_RowChangedName="K4EE_Component_Reel_SID_ConvertRowChanged" msprop:Generator_UserTableName="K4EE_Component_Reel_SID_Convert" msprop:Generator_RowChangingName="K4EE_Component_Reel_SID_ConvertRowChanging" msprop:Generator_RowClassName="K4EE_Component_Reel_SID_ConvertRow" msprop:Generator_TableClassName="K4EE_Component_Reel_SID_ConvertDataTable" msprop:Generator_TableVarName="tableK4EE_Component_Reel_SID_Convert">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" />
              <xs:element name="Chk" msprop:Generator_ColumnPropNameInTable="ChkColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="Chk" msprop:Generator_UserColumnName="Chk" msprop:Generator_ColumnVarNameInTable="columnChk" type="xs:boolean" minOccurs="0" />
              <xs:element name="SIDFrom" msprop:Generator_ColumnPropNameInTable="SIDFromColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="SIDFrom" msprop:Generator_UserColumnName="SIDFrom" msprop:Generator_ColumnVarNameInTable="columnSIDFrom" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="SIDTo" msprop:Generator_ColumnPropNameInTable="SIDToColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="SIDTo" msprop:Generator_UserColumnName="SIDTo" msprop:Generator_ColumnVarNameInTable="columnSIDTo" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Remark" msprop:Generator_ColumnPropNameInTable="RemarkColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Remark" msprop:Generator_UserColumnName="Remark" msprop:Generator_ColumnVarNameInTable="columnRemark" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_UserColumnName="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" type="xs:dateTime" minOccurs="0" />
              <xs:element name="MC" msprop:Generator_ColumnPropNameInTable="MCColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="MC" msprop:Generator_UserColumnName="MC" msprop:Generator_ColumnVarNameInTable="columnMC" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="K4EE_Component_Reel_SID_Information" msprop:Generator_RowEvHandlerName="K4EE_Component_Reel_SID_InformationRowChangeEventHandler" msprop:Generator_RowDeletedName="K4EE_Component_Reel_SID_InformationRowDeleted" msprop:Generator_RowDeletingName="K4EE_Component_Reel_SID_InformationRowDeleting" msprop:Generator_RowEvArgName="K4EE_Component_Reel_SID_InformationRowChangeEvent" msprop:Generator_TablePropName="K4EE_Component_Reel_SID_Information" msprop:Generator_RowChangedName="K4EE_Component_Reel_SID_InformationRowChanged" msprop:Generator_UserTableName="K4EE_Component_Reel_SID_Information" msprop:Generator_RowChangingName="K4EE_Component_Reel_SID_InformationRowChanging" msprop:Generator_RowClassName="K4EE_Component_Reel_SID_InformationRow" msprop:Generator_TableClassName="K4EE_Component_Reel_SID_InformationDataTable" msprop:Generator_TableVarName="tableK4EE_Component_Reel_SID_Information">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" />
              <xs:element name="SID" msprop:Generator_ColumnPropNameInTable="SIDColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="SID" msprop:Generator_UserColumnName="SID" msprop:Generator_ColumnVarNameInTable="columnSID">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CustCode" msprop:Generator_ColumnPropNameInTable="CustCodeColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="CustCode" msprop:Generator_UserColumnName="CustCode" msprop:Generator_ColumnVarNameInTable="columnCustCode">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PartNo" msprop:Generator_ColumnPropNameInTable="PartNoColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="PartNo" msprop:Generator_UserColumnName="PartNo" msprop:Generator_ColumnVarNameInTable="columnPartNo">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CustName" msprop:Generator_ColumnPropNameInTable="CustNameColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="CustName" msprop:Generator_UserColumnName="CustName" msprop:Generator_ColumnVarNameInTable="columnCustName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="VenderName" msprop:Generator_ColumnPropNameInTable="VenderNameColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="VenderName" msprop:Generator_UserColumnName="VenderName" msprop:Generator_ColumnVarNameInTable="columnVenderName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Remark" msprop:Generator_ColumnPropNameInTable="RemarkColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Remark" msprop:Generator_UserColumnName="Remark" msprop:Generator_ColumnVarNameInTable="columnRemark" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_UserColumnName="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" type="xs:dateTime" minOccurs="0" />
              <xs:element name="MC" msprop:Generator_ColumnPropNameInTable="MCColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="MC" msprop:Generator_UserColumnName="MC" msprop:Generator_ColumnVarNameInTable="columnMC" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="batch" msprop:Generator_ColumnPropNameInTable="batchColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="batch" msprop:Generator_UserColumnName="batch" msprop:Generator_ColumnVarNameInTable="columnbatch" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="qtymax" msprop:Generator_ColumnPropNameInTable="qtymaxColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="qtymax" msprop:Generator_UserColumnName="qtymax" msprop:Generator_ColumnVarNameInTable="columnqtymax" type="xs:int" minOccurs="0" />
              <xs:element name="VenderLot" msprop:Generator_ColumnPropNameInTable="VenderLotColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="VenderLot" msprop:Generator_UserColumnName="VenderLot" msprop:Generator_ColumnVarNameInTable="columnVenderLot" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="attach" msprop:Generator_ColumnPropNameInTable="attachColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="attach" msprop:Generator_UserColumnName="attach" msprop:Generator_ColumnVarNameInTable="columnattach" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="K4EE_Component_Reel_PreSet" msprop:Generator_RowEvHandlerName="K4EE_Component_Reel_PreSetRowChangeEventHandler" msprop:Generator_RowDeletedName="K4EE_Component_Reel_PreSetRowDeleted" msprop:Generator_RowDeletingName="K4EE_Component_Reel_PreSetRowDeleting" msprop:Generator_RowEvArgName="K4EE_Component_Reel_PreSetRowChangeEvent" msprop:Generator_TablePropName="K4EE_Component_Reel_PreSet" msprop:Generator_RowChangedName="K4EE_Component_Reel_PreSetRowChanged" msprop:Generator_UserTableName="K4EE_Component_Reel_PreSet" msprop:Generator_RowChangingName="K4EE_Component_Reel_PreSetRowChanging" msprop:Generator_RowClassName="K4EE_Component_Reel_PreSetRow" msprop:Generator_TableClassName="K4EE_Component_Reel_PreSetDataTable" msprop:Generator_TableVarName="tableK4EE_Component_Reel_PreSet">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" />
              <xs:element name="MC" msprop:Generator_ColumnPropNameInTable="MCColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="MC" msprop:Generator_UserColumnName="MC" msprop:Generator_ColumnVarNameInTable="columnMC" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Title" msprop:Generator_ColumnPropNameInTable="TitleColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Title" msprop:Generator_UserColumnName="Title" msprop:Generator_ColumnVarNameInTable="columnTitle">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Remark" msprop:Generator_ColumnPropNameInTable="RemarkColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Remark" msprop:Generator_UserColumnName="Remark" msprop:Generator_ColumnVarNameInTable="columnRemark" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_UserColumnName="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" type="xs:dateTime" minOccurs="0" />
              <xs:element name="vOption" msprop:Generator_ColumnPropNameInTable="vOptionColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="vOption" msprop:Generator_UserColumnName="vOption" msprop:Generator_ColumnVarNameInTable="columnvOption" type="xs:int" minOccurs="0" />
              <xs:element name="vJobInfo" msprop:Generator_ColumnPropNameInTable="vJobInfoColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="vJobInfo" msprop:Generator_UserColumnName="vJobInfo" msprop:Generator_ColumnVarNameInTable="columnvJobInfo" type="xs:int" minOccurs="0" />
              <xs:element name="vSidInfo" msprop:Generator_ColumnPropNameInTable="vSidInfoColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="vSidInfo" msprop:Generator_UserColumnName="vSidInfo" msprop:Generator_ColumnVarNameInTable="columnvSidInfo" type="xs:int" minOccurs="0" />
              <xs:element name="vServerWrite" msprop:Generator_ColumnPropNameInTable="vServerWriteColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="vServerWrite" msprop:Generator_UserColumnName="vServerWrite" msprop:Generator_ColumnVarNameInTable="columnvServerWrite" type="xs:int" minOccurs="0" />
              <xs:element name="jobtype" msprop:Generator_ColumnPropNameInTable="jobtypeColumn" msprop:nullValue="ㅡ" msprop:Generator_ColumnPropNameInRow="jobtype" msprop:Generator_UserColumnName="jobtype" msprop:Generator_ColumnVarNameInTable="columnjobtype" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="bypasssid" msprop:Generator_ColumnPropNameInTable="bypasssidColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="bypasssid" msprop:Generator_UserColumnName="bypasssid" msprop:Generator_ColumnVarNameInTable="columnbypasssid" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="K4EE_Component_Reel_CustInfo" msprop:Generator_RowEvHandlerName="K4EE_Component_Reel_CustInfoRowChangeEventHandler" msprop:Generator_RowDeletedName="K4EE_Component_Reel_CustInfoRowDeleted" msprop:Generator_RowDeletingName="K4EE_Component_Reel_CustInfoRowDeleting" msprop:Generator_RowEvArgName="K4EE_Component_Reel_CustInfoRowChangeEvent" msprop:Generator_TablePropName="K4EE_Component_Reel_CustInfo" msprop:Generator_RowChangedName="K4EE_Component_Reel_CustInfoRowChanged" msprop:Generator_UserTableName="K4EE_Component_Reel_CustInfo" msprop:Generator_RowChangingName="K4EE_Component_Reel_CustInfoRowChanging" msprop:Generator_RowClassName="K4EE_Component_Reel_CustInfoRow" msprop:Generator_TableClassName="K4EE_Component_Reel_CustInfoDataTable" msprop:Generator_TableVarName="tableK4EE_Component_Reel_CustInfo">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="code" msprop:Generator_ColumnPropNameInTable="codeColumn" msprop:Generator_ColumnPropNameInRow="code" msprop:Generator_UserColumnName="code" msprop:Generator_ColumnVarNameInTable="columncode">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="name" msprop:Generator_ColumnPropNameInTable="nameColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_UserColumnName="name" msprop:Generator_ColumnVarNameInTable="columnname" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ResultSummary" msprop:Generator_RowEvHandlerName="ResultSummaryRowChangeEventHandler" msprop:Generator_RowDeletedName="ResultSummaryRowDeleted" msprop:Generator_RowDeletingName="ResultSummaryRowDeleting" msprop:Generator_RowEvArgName="ResultSummaryRowChangeEvent" msprop:Generator_TablePropName="ResultSummary" msprop:Generator_RowChangedName="ResultSummaryRowChanged" msprop:Generator_UserTableName="ResultSummary" msprop:Generator_RowChangingName="ResultSummaryRowChanging" msprop:Generator_RowClassName="ResultSummaryRow" msprop:Generator_TableClassName="ResultSummaryDataTable" msprop:Generator_TableVarName="tableResultSummary">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="PARTNO" msprop:Generator_ColumnPropNameInTable="PARTNOColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="PARTNO" msprop:Generator_UserColumnName="PARTNO" msprop:Generator_ColumnVarNameInTable="columnPARTNO">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="VLOT" msprop:Generator_ColumnPropNameInTable="VLOTColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="VLOT" msprop:Generator_UserColumnName="VLOT" msprop:Generator_ColumnVarNameInTable="columnVLOT">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="QTY" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="QTYColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="QTY" msprop:Generator_UserColumnName="QTY" msprop:Generator_ColumnVarNameInTable="columnQTY" type="xs:int" minOccurs="0" />
              <xs:element name="KPC" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="KPCColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="KPC" msprop:Generator_UserColumnName="KPC" msprop:Generator_ColumnVarNameInTable="columnKPC" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="K4EE_Component_Reel_Print_Information" msprop:Generator_RowEvHandlerName="K4EE_Component_Reel_Print_InformationRowChangeEventHandler" msprop:Generator_RowDeletedName="K4EE_Component_Reel_Print_InformationRowDeleted" msprop:Generator_RowDeletingName="K4EE_Component_Reel_Print_InformationRowDeleting" msprop:Generator_RowEvArgName="K4EE_Component_Reel_Print_InformationRowChangeEvent" msprop:Generator_TablePropName="K4EE_Component_Reel_Print_Information" msprop:Generator_RowChangedName="K4EE_Component_Reel_Print_InformationRowChanged" msprop:Generator_UserTableName="K4EE_Component_Reel_Print_Information" msprop:Generator_RowChangingName="K4EE_Component_Reel_Print_InformationRowChanging" msprop:Generator_RowClassName="K4EE_Component_Reel_Print_InformationRow" msprop:Generator_TableClassName="K4EE_Component_Reel_Print_InformationDataTable" msprop:Generator_TableVarName="tableK4EE_Component_Reel_Print_Information">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" />
              <xs:element name="MC" msprop:Generator_ColumnPropNameInTable="MCColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="MC" msprop:Generator_UserColumnName="MC" msprop:Generator_ColumnVarNameInTable="columnMC" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="SID" msprop:Generator_ColumnPropNameInTable="SIDColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="SID" msprop:Generator_UserColumnName="SID" msprop:Generator_ColumnVarNameInTable="columnSID">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PrintPosition" msprop:Generator_ColumnPropNameInTable="PrintPositionColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="PrintPosition" msprop:Generator_UserColumnName="PrintPosition" msprop:Generator_ColumnVarNameInTable="columnPrintPosition" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Remark" msprop:Generator_ColumnPropNameInTable="RemarkColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Remark" msprop:Generator_UserColumnName="Remark" msprop:Generator_ColumnVarNameInTable="columnRemark" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_UserColumnName="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" type="xs:dateTime" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="K4EE_Component_Reel_PrintRegExRule" msprop:Generator_RowEvHandlerName="K4EE_Component_Reel_PrintRegExRuleRowChangeEventHandler" msprop:Generator_RowDeletedName="K4EE_Component_Reel_PrintRegExRuleRowDeleted" msprop:Generator_RowDeletingName="K4EE_Component_Reel_PrintRegExRuleRowDeleting" msprop:Generator_RowEvArgName="K4EE_Component_Reel_PrintRegExRuleRowChangeEvent" msprop:Generator_TablePropName="K4EE_Component_Reel_PrintRegExRule" msprop:Generator_RowChangedName="K4EE_Component_Reel_PrintRegExRuleRowChanged" msprop:Generator_UserTableName="K4EE_Component_Reel_PrintRegExRule" msprop:Generator_RowChangingName="K4EE_Component_Reel_PrintRegExRuleRowChanging" msprop:Generator_RowClassName="K4EE_Component_Reel_PrintRegExRuleRow" msprop:Generator_TableClassName="K4EE_Component_Reel_PrintRegExRuleDataTable" msprop:Generator_TableVarName="tableK4EE_Component_Reel_PrintRegExRule">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="IdColumn" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_UserColumnName="Id" msprop:Generator_ColumnVarNameInTable="columnId" type="xs:int" />
              <xs:element name="Seq" msprop:Generator_ColumnPropNameInTable="SeqColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="Seq" msprop:Generator_UserColumnName="Seq" msprop:Generator_ColumnVarNameInTable="columnSeq" type="xs:int" minOccurs="0" />
              <xs:element name="CustCode" msprop:Generator_ColumnPropNameInTable="CustCodeColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="CustCode" msprop:Generator_UserColumnName="CustCode" msprop:Generator_ColumnVarNameInTable="columnCustCode" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_UserColumnName="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Symbol" msprop:Generator_ColumnPropNameInTable="SymbolColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Symbol" msprop:Generator_UserColumnName="Symbol" msprop:Generator_ColumnVarNameInTable="columnSymbol" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="3" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Pattern" msprop:Generator_ColumnPropNameInTable="PatternColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Pattern" msprop:Generator_UserColumnName="Pattern" msprop:Generator_ColumnVarNameInTable="columnPattern" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Groups" msprop:Generator_ColumnPropNameInTable="GroupsColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Groups" msprop:Generator_UserColumnName="Groups" msprop:Generator_ColumnVarNameInTable="columnGroups" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="IsEnable" msprop:Generator_ColumnPropNameInTable="IsEnableColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="IsEnable" msprop:Generator_UserColumnName="IsEnable" msprop:Generator_ColumnVarNameInTable="columnIsEnable" type="xs:boolean" minOccurs="0" />
              <xs:element name="IsTrust" msprop:Generator_ColumnPropNameInTable="IsTrustColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="IsTrust" msprop:Generator_UserColumnName="IsTrust" msprop:Generator_ColumnVarNameInTable="columnIsTrust" type="xs:boolean" minOccurs="0" />
              <xs:element name="IsAmkStd" msprop:Generator_ColumnPropNameInTable="IsAmkStdColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="IsAmkStd" msprop:Generator_UserColumnName="IsAmkStd" msprop:Generator_ColumnVarNameInTable="columnIsAmkStd" type="xs:boolean" minOccurs="0" />
              <xs:element name="IsIgnore" msprop:Generator_ColumnPropNameInTable="IsIgnoreColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="IsIgnore" msprop:Generator_UserColumnName="IsIgnore" msprop:Generator_ColumnVarNameInTable="columnIsIgnore" type="xs:boolean" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="CustCodeList" msprop:Generator_RowEvHandlerName="CustCodeListRowChangeEventHandler" msprop:Generator_RowDeletedName="CustCodeListRowDeleted" msprop:Generator_RowDeletingName="CustCodeListRowDeleting" msprop:Generator_RowEvArgName="CustCodeListRowChangeEvent" msprop:Generator_TablePropName="CustCodeList" msprop:Generator_RowChangedName="CustCodeListRowChanged" msprop:Generator_UserTableName="CustCodeList" msprop:Generator_RowChangingName="CustCodeListRowChanging" msprop:Generator_RowClassName="CustCodeListRow" msprop:Generator_TableClassName="CustCodeListDataTable" msprop:Generator_TableVarName="tableCustCodeList">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CustCode" msprop:Generator_ColumnPropNameInTable="CustCodeColumn" msprop:Generator_ColumnPropNameInRow="CustCode" msprop:Generator_UserColumnName="CustCode" msprop:Generator_ColumnVarNameInTable="columnCustCode">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="SidinfoCustGroup" msprop:Generator_RowEvHandlerName="SidinfoCustGroupRowChangeEventHandler" msprop:Generator_RowDeletedName="SidinfoCustGroupRowDeleted" msprop:Generator_RowDeletingName="SidinfoCustGroupRowDeleting" msprop:Generator_RowEvArgName="SidinfoCustGroupRowChangeEvent" msprop:Generator_TablePropName="SidinfoCustGroup" msprop:Generator_RowChangedName="SidinfoCustGroupRowChanged" msprop:Generator_UserTableName="SidinfoCustGroup" msprop:Generator_RowChangingName="SidinfoCustGroupRowChanging" msprop:Generator_RowClassName="SidinfoCustGroupRow" msprop:Generator_TableClassName="SidinfoCustGroupDataTable" msprop:Generator_TableVarName="tableSidinfoCustGroup">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CustCode" msprop:Generator_ColumnPropNameInTable="CustCodeColumn" msprop:Generator_ColumnPropNameInRow="CustCode" msprop:Generator_UserColumnName="CustCode" msprop:Generator_ColumnVarNameInTable="columnCustCode">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Users" />
      <xs:field xpath="mstns:idx" />
    </xs:unique>
    <xs:unique name="MCModel_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:MCModel" />
      <xs:field xpath="mstns:idx" />
    </xs:unique>
    <xs:unique name="language_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:language" />
      <xs:field xpath="mstns:Key" />
      <xs:field xpath="mstns:Section" />
    </xs:unique>
    <xs:unique name="OPModel_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:OPModel" />
      <xs:field xpath="mstns:idx" />
    </xs:unique>
    <xs:unique name="BCDData_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:BCDData" />
      <xs:field xpath="mstns:Start" />
    </xs:unique>
    <xs:unique name="UserSID_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:UserSID" />
      <xs:field xpath="mstns:idx" />
    </xs:unique>
    <xs:unique name="MailRecipient_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:MailRecipient" />
      <xs:field xpath="mstns:idx" />
    </xs:unique>
    <xs:unique name="Constraint11">
      <xs:selector xpath=".//mstns:SIDHistory" />
      <xs:field xpath="mstns:idx" />
    </xs:unique>
    <xs:unique name="K4EE_Component_Reel_Result_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:K4EE_Component_Reel_Result" />
      <xs:field xpath="mstns:idx" />
    </xs:unique>
    <xs:unique name="InputDescription_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:InputDescription" />
      <xs:field xpath="mstns:Idx" />
    </xs:unique>
    <xs:unique name="OutputDescription_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:OutputDescription" />
      <xs:field xpath="mstns:Idx" />
    </xs:unique>
    <xs:unique name="UserTable_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:UserTable" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="ErrorDescription_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ErrorDescription" />
      <xs:field xpath="mstns:Idx" />
    </xs:unique>
    <xs:unique name="ModelList_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ModelList" />
      <xs:field xpath="mstns:Title" />
    </xs:unique>
    <xs:unique name="K4EE_Component_Reel_RegExRule_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:K4EE_Component_Reel_RegExRule" />
      <xs:field xpath="mstns:Id" />
    </xs:unique>
    <xs:unique name="K4EE_Component_Reel_SID_Convert_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:K4EE_Component_Reel_SID_Convert" />
      <xs:field xpath="mstns:idx" />
    </xs:unique>
    <xs:unique name="K4EE_Component_Reel_SID_Information_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:K4EE_Component_Reel_SID_Information" />
      <xs:field xpath="mstns:idx" />
    </xs:unique>
    <xs:unique name="K4EE_Component_Reel_PreSet_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:K4EE_Component_Reel_PreSet" />
      <xs:field xpath="mstns:idx" />
    </xs:unique>
    <xs:unique name="K4EE_Component_Reel_CustInfo_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:K4EE_Component_Reel_CustInfo" />
      <xs:field xpath="mstns:code" />
    </xs:unique>
    <xs:unique name="ResultSummary_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ResultSummary" />
      <xs:field xpath="mstns:PARTNO" />
      <xs:field xpath="mstns:VLOT" />
    </xs:unique>
    <xs:unique name="K4EE_Component_Reel_Print_Information_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:K4EE_Component_Reel_Print_Information" />
      <xs:field xpath="mstns:idx" />
    </xs:unique>
    <xs:unique name="K4EE_Component_Reel_PrintRegExRule_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:K4EE_Component_Reel_PrintRegExRule" />
      <xs:field xpath="mstns:Id" />
    </xs:unique>
    <xs:unique name="CustCodeList_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:CustCodeList" />
      <xs:field xpath="mstns:CustCode" />
    </xs:unique>
    <xs:unique name="SidinfoCustGroup_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:SidinfoCustGroup" />
      <xs:field xpath="mstns:CustCode" />
    </xs:unique>
  </xs:element>
</xs:schema>