Initial commit

This commit is contained in:
ChiKyun Kim
2025-07-17 16:11:46 +09:00
parent 4865711adc
commit 4a1b1924ba
743 changed files with 230954 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
namespace ResultView
{
public class CSetting : arUtil.Setting
{
public string MCName { get; set; }
[DisplayName("프린터이름")]
public string PrinterName { get; set; }
[DisplayName("프린트 테두리 그림")]
public Boolean DrawBorder { get; set; }
[DisplayName("라벨포맷 7자리 사용")]
public Boolean PrinterForm7 { get; set; }
public override void AfterLoad()
{
if (PrinterName.isEmpty()) PrinterName = "PrinterL";
}
public override void AfterSave()
{
//throw new NotImplementedException();
}
}
}

3371
Handler/ResultView/DataSet1.Designer.cs generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--<autogenerated>
This code was generated by a tool.
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DataSetUISetting Version="1.00" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TableUISettings />
</DataSetUISetting>

View File

@@ -0,0 +1,360 @@
<?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" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<Connections>
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="cs" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="cs (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.ResultView.Properties.Settings.GlobalReference.Default.cs" Provider="System.Data.SqlClient" />
</Connections>
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Component_Reel_ResultTableAdapter" GeneratorDataComponentClassName="Component_Reel_ResultTableAdapter" Name="Component_Reel_Result" UserDataComponentName="Component_Reel_ResultTableAdapter">
<MainSource>
<DbSource ConnectionRef="cs (Settings)" DbObjectName="EE.dbo.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 ((@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 ([wdate] = @Original_wdate) AND ((@IsNull_VLOT = 1 AND [VLOT] IS NULL) OR ([VLOT] = @Original_VLOT)) AND ((@IsNull_BATCH = 1 AND [BATCH] IS NULL) OR ([BATCH] = @Original_BATCH)) AND ((@IsNull_qtymax = 1 AND [qtymax] IS NULL) OR ([qtymax] = @Original_qtymax)))</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="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="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_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_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" />
</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], [VNAME], [PRNATTACH], [PRNVALID], [wdate], [VLOT], [BATCH], [qtymax]) VALUES (@STIME, @ETIME, @PDATE, @JTYPE, @JGUID, @SID, @SID0, @RID, @RID0, @RSN, @QR, @ZPL, @POS, @LOC, @ANGLE, @QTY, @QTY0, @VNAME, @PRNATTACH, @PRNVALID, @wdate, @VLOT, @BATCH, @qtymax);
SELECT idx, STIME, ETIME, PDATE, JTYPE, JGUID, SID, SID0, RID, RID0, RSN, QR, ZPL, POS, LOC, ANGLE, QTY, QTY0, VNAME, PRNATTACH, PRNVALID, wdate, VLOT, BATCH, qtymax FROM Component_Reel_Result WHERE (idx = SCOPE_IDENTITY()) ORDER BY wdate DESC</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="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="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="@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="@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" />
</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, VNAME, PRNATTACH, PRNVALID, wdate, VLOT, BATCH, qtymax
FROM Component_Reel_Result
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="true" AutogeneratedName="mc" ColumnName="MC" DataSourceName="EE.dbo.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>
<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, [VNAME] = @VNAME, [PRNATTACH] = @PRNATTACH, [PRNVALID] = @PRNVALID, [wdate] = @wdate, [VLOT] = @VLOT, [BATCH] = @BATCH, [qtymax] = @qtymax 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 ((@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 ([wdate] = @Original_wdate) AND ((@IsNull_VLOT = 1 AND [VLOT] IS NULL) OR ([VLOT] = @Original_VLOT)) AND ((@IsNull_BATCH = 1 AND [BATCH] IS NULL) OR ([BATCH] = @Original_BATCH)) AND ((@IsNull_qtymax = 1 AND [qtymax] IS NULL) OR ([qtymax] = @Original_qtymax)));
SELECT idx, STIME, ETIME, PDATE, JTYPE, JGUID, SID, SID0, RID, RID0, RSN, QR, ZPL, POS, LOC, ANGLE, QTY, QTY0, VNAME, PRNATTACH, PRNVALID, wdate, VLOT, BATCH, qtymax FROM Component_Reel_Result WHERE (idx = @idx) ORDER BY wdate DESC</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="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="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="@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="@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="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="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="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_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_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="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.Component_Reel_Result" 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="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="VNAME" DataSetColumn="VNAME" />
<Mapping SourceColumn="PRNATTACH" DataSetColumn="PRNATTACH" />
<Mapping SourceColumn="PRNVALID" DataSetColumn="PRNVALID" />
<Mapping SourceColumn="wdate" DataSetColumn="wdate" />
<Mapping SourceColumn="VLOT" DataSetColumn="VLOT" />
<Mapping SourceColumn="BATCH" DataSetColumn="BATCH" />
<Mapping SourceColumn="-1" DataSetColumn="qtymax" />
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<Sources />
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="DataSet1" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DataSet1" msprop:Generator_UserDSName="DataSet1">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Component_Reel_Result" msprop:Generator_TableClassName="Component_Reel_ResultDataTable" msprop:Generator_TableVarName="tableComponent_Reel_Result" msprop:Generator_RowChangedName="Component_Reel_ResultRowChanged" msprop:Generator_TablePropName="Component_Reel_Result" msprop:Generator_RowDeletingName="Component_Reel_ResultRowDeleting" msprop:Generator_RowChangingName="Component_Reel_ResultRowChanging" msprop:Generator_RowEvHandlerName="Component_Reel_ResultRowChangeEventHandler" msprop:Generator_RowDeletedName="Component_Reel_ResultRowDeleted" msprop:Generator_RowClassName="Component_Reel_ResultRow" msprop:Generator_UserTableName="Component_Reel_Result" msprop:Generator_RowEvArgName="Component_Reel_ResultRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" />
<xs:element name="STIME" msprop:Generator_ColumnVarNameInTable="columnSTIME" msprop:Generator_ColumnPropNameInRow="STIME" msprop:Generator_ColumnPropNameInTable="STIMEColumn" msprop:Generator_UserColumnName="STIME" type="xs:dateTime" />
<xs:element name="ETIME" msprop:Generator_ColumnVarNameInTable="columnETIME" msprop:Generator_ColumnPropNameInRow="ETIME" msprop:Generator_ColumnPropNameInTable="ETIMEColumn" msprop:Generator_UserColumnName="ETIME" type="xs:dateTime" minOccurs="0" />
<xs:element name="PDATE" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="PDATE" msprop:Generator_ColumnVarNameInTable="columnPDATE" msprop:Generator_ColumnPropNameInTable="PDATEColumn" msprop:Generator_UserColumnName="PDATE" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="JTYPE" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="JTYPE" msprop:Generator_ColumnVarNameInTable="columnJTYPE" msprop:Generator_ColumnPropNameInTable="JTYPEColumn" msprop:Generator_UserColumnName="JTYPE" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="JGUID" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="JGUID" msprop:Generator_ColumnVarNameInTable="columnJGUID" msprop:Generator_ColumnPropNameInTable="JGUIDColumn" msprop:Generator_UserColumnName="JGUID" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SID" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="SID" msprop:Generator_ColumnVarNameInTable="columnSID" msprop:Generator_ColumnPropNameInTable="SIDColumn" msprop:Generator_UserColumnName="SID" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SID0" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="SID0" msprop:Generator_ColumnVarNameInTable="columnSID0" msprop:Generator_ColumnPropNameInTable="SID0Column" msprop:Generator_UserColumnName="SID0" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="RID" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="RID" msprop:Generator_ColumnVarNameInTable="columnRID" msprop:Generator_ColumnPropNameInTable="RIDColumn" msprop:Generator_UserColumnName="RID" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="RID0" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="RID0" msprop:Generator_ColumnVarNameInTable="columnRID0" msprop:Generator_ColumnPropNameInTable="RID0Column" msprop:Generator_UserColumnName="RID0" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="RSN" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="RSN" msprop:Generator_ColumnVarNameInTable="columnRSN" msprop:Generator_ColumnPropNameInTable="RSNColumn" msprop:Generator_UserColumnName="RSN" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="QR" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="QR" msprop:Generator_ColumnVarNameInTable="columnQR" msprop:Generator_ColumnPropNameInTable="QRColumn" msprop:Generator_UserColumnName="QR" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ZPL" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="ZPL" msprop:Generator_ColumnVarNameInTable="columnZPL" msprop:Generator_ColumnPropNameInTable="ZPLColumn" msprop:Generator_UserColumnName="ZPL" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1000" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="POS" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="POS" msprop:Generator_ColumnVarNameInTable="columnPOS" msprop:Generator_ColumnPropNameInTable="POSColumn" msprop:Generator_UserColumnName="POS" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="LOC" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="LOC" msprop:Generator_ColumnVarNameInTable="columnLOC" msprop:Generator_ColumnPropNameInTable="LOCColumn" msprop:Generator_UserColumnName="LOC" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ANGLE" msprop:nullValue="-1" msprop:Generator_ColumnPropNameInRow="ANGLE" msprop:Generator_ColumnVarNameInTable="columnANGLE" msprop:Generator_ColumnPropNameInTable="ANGLEColumn" msprop:Generator_UserColumnName="ANGLE" type="xs:double" minOccurs="0" />
<xs:element name="QTY" msprop:nullValue="-1" msprop:Generator_ColumnPropNameInRow="QTY" msprop:Generator_ColumnVarNameInTable="columnQTY" msprop:Generator_ColumnPropNameInTable="QTYColumn" msprop:Generator_UserColumnName="QTY" type="xs:int" minOccurs="0" />
<xs:element name="QTY0" msprop:nullValue="-1" msprop:Generator_ColumnPropNameInRow="QTY0" msprop:Generator_ColumnVarNameInTable="columnQTY0" msprop:Generator_ColumnPropNameInTable="QTY0Column" msprop:Generator_UserColumnName="QTY0" type="xs:int" minOccurs="0" />
<xs:element name="VNAME" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="VNAME" msprop:Generator_ColumnVarNameInTable="columnVNAME" msprop:Generator_ColumnPropNameInTable="VNAMEColumn" msprop:Generator_UserColumnName="VNAME" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PRNATTACH" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="PRNATTACH" msprop:Generator_ColumnVarNameInTable="columnPRNATTACH" msprop:Generator_ColumnPropNameInTable="PRNATTACHColumn" msprop:Generator_UserColumnName="PRNATTACH" type="xs:boolean" minOccurs="0" />
<xs:element name="PRNVALID" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="PRNVALID" msprop:Generator_ColumnVarNameInTable="columnPRNVALID" msprop:Generator_ColumnPropNameInTable="PRNVALIDColumn" msprop:Generator_UserColumnName="PRNVALID" type="xs:boolean" minOccurs="0" />
<xs:element name="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" />
<xs:element name="VLOT" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="VLOT" msprop:Generator_ColumnVarNameInTable="columnVLOT" msprop:Generator_ColumnPropNameInTable="VLOTColumn" msprop:Generator_UserColumnName="VLOT" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BATCH" msprop:Generator_ColumnVarNameInTable="columnBATCH" msprop:Generator_ColumnPropNameInRow="BATCH" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInTable="BATCHColumn" msprop:Generator_UserColumnName="BATCH" 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_ColumnVarNameInTable="columnqtymax" msprop:Generator_ColumnPropNameInRow="qtymax" msprop:Generator_ColumnPropNameInTable="qtymaxColumn" msprop:Generator_UserColumnName="qtymax" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Component_Reel_Result" />
<xs:field xpath="mstns:idx" />
</xs:unique>
</xs:element>
</xs:schema>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!--<autogenerated>
This code was generated by a tool to store the dataset designer's layout information.
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="205" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:Component_Reel_Result" ZOrder="1" X="360" Y="58" Height="685" Width="270" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="617" />
</Shapes>
<Connectors />
</DiagramLayout>

View File

@@ -0,0 +1,114 @@

using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace ResultView
{
/// <summary>
/// generic method Extension
/// </summary>
public static class MethodExtensions
{
public static string ToString(this System.Drawing.Rectangle rect)
{
return string.Format("X={0},Y={1},W={2},H={3}", rect.X, rect.Y, rect.Width, rect.Height);
}
public static string ToString(this System.Drawing.RectangleF rect)
{
return string.Format("X={0},Y={1},W={2},H={3}", rect.X, rect.Y, rect.Width, rect.Height);
}
//public static void SetBGColor(this System.Windows.Forms.Label ctl,System.Drawing.Color color1)
//{
// ctl.BackColor = System.Drawing.Color.Red;
//}
/// <summary>
/// 0101이 반복되는 문자열 형태로 전환합니다.
/// </summary>
/// <param name="arr"></param>
/// <returns></returns>
public static string BitString(this System.Collections.BitArray arr)
{
System.Text.StringBuilder sb = new System.Text.StringBuilder();
for (int i = arr.Length; i > 0; i--)
sb.Append(arr[i - 1] ? "1" : "0");
return sb.ToString();
}
/// <summary>
/// int 값으로 변환합니다.
/// </summary>
/// <param name="arr"></param>
/// <returns></returns>
public static int ValueI(this System.Collections.BitArray arr)
{
byte[] buf = new byte[4];
arr.CopyTo(buf, 0);
return BitConverter.ToInt32(buf, 0);
}
/// <summary>
/// 숫자인지 검사합니다.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public static bool IsNumeric(this string input)
{
double data;
return double.TryParse(input, out data);
//return Regex.IsMatch(input, @"^\d+$");
}
/// <summary>
/// isnullorempty 를 수행합니다.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public static Boolean isEmpty(this string input)
{
return string.IsNullOrEmpty(input);
}
/// <summary>
/// default 인코딩을 사용하여 문자열로 반환합니다.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public static string GetString(this Byte[] input)
{
return System.Text.Encoding.Default.GetString(input);
}
/// <summary>
/// 16진수 문자열 형태로 반환합니다.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public static string GetHexString(this Byte[] input)
{
System.Text.StringBuilder sb = new System.Text.StringBuilder();
foreach (byte b in input)
sb.Append(" " + b.ToString("X2"));
return sb.ToString();
}
public static string Base64Encode(this string src)
{
string base64enc = Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(src));
return base64enc;
}
public static string Base64Decode(this string src)
{
var base64dec = Convert.FromBase64String(src);
return System.Text.Encoding.UTF8.GetString(base64dec);
}
}
}

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace ResultView
{
static class Program
{
/// <summary>
/// 해당 응용 프로그램의 주 진입점입니다.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new fHistory());
}
}
}

View File

@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 어셈블리의 일반 정보는 다음 특성 집합을 통해 제어됩니다.
// 어셈블리와 관련된 정보를 수정하려면
// 이 특성 값을 변경하십시오.
[assembly: AssemblyTitle("Amkor STD Label Attach Result Viewer (x64)")]
[assembly: AssemblyDescription("Amkor STD Label Attach Result Viewer (x64)")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("ATK4-EET")]
[assembly: AssemblyProduct("Amkor STD Label Attach Result Viewer (x64)")]
[assembly: AssemblyCopyright("Copyright ©ATK4-EET 2021")]
[assembly: AssemblyTrademark("Amkor STD Label Attach Result Viewer (x64)")]
[assembly: AssemblyCulture("")]
// ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에
// 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면
// 해당 형식에 대해 ComVisible 특성을 true로 설정하십시오.
[assembly: ComVisible(false)]
// 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다.
[assembly: Guid("d15c03ae-e7ab-489f-8cad-343a40e4668b")]
// 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다.
//
// 주 버전
// 부 버전
// 빌드 번호
// 수정 버전
//
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 버전이 자동으로
// 지정되도록 할 수 있습니다.
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("25.05.21.1530")]
[assembly: AssemblyFileVersion("25.05.21.1530")]

View File

@@ -0,0 +1,63 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 이 코드는 도구를 사용하여 생성되었습니다.
// 런타임 버전:4.0.30319.42000
//
// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면
// 이러한 변경 내용이 손실됩니다.
// </auto-generated>
//------------------------------------------------------------------------------
namespace ResultView.Properties {
using System;
/// <summary>
/// 지역화된 문자열 등을 찾기 위한 강력한 형식의 리소스 클래스입니다.
/// </summary>
// 이 클래스는 ResGen 또는 Visual Studio와 같은 도구를 통해 StronglyTypedResourceBuilder
// 클래스에서 자동으로 생성되었습니다.
// 멤버를 추가하거나 제거하려면 .ResX 파일을 편집한 다음 /str 옵션을 사용하여 ResGen을
// 다시 실행하거나 VS 프로젝트를 다시 빌드하십시오.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources() {
}
/// <summary>
/// 이 클래스에서 사용하는 캐시된 ResourceManager 인스턴스를 반환합니다.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ResultView.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// 이 강력한 형식의 리소스 클래스를 사용하여 모든 리소스 조회에 대해 현재 스레드의 CurrentUICulture 속성을
/// 재정의합니다.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
}
}

View File

@@ -0,0 +1,117 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@@ -0,0 +1,135 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 이 코드는 도구를 사용하여 생성되었습니다.
// 런타임 버전:4.0.30319.42000
//
// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면
// 이러한 변경 내용이 손실됩니다.
// </auto-generated>
//------------------------------------------------------------------------------
namespace ResultView.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.9.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default {
get {
return defaultInstance;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute(@"^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR6,6~SD15^JUS^LRN^CI0^XZ
^XA
^MMT
^PW519
^LL0200
^LS25
^FO205,5^GB305,186,4^FS
^FT25,170^BQN,2,4
^FDLA,
{qrData}
^FS
^FO205,9^GB0,183,4^FS
^FO250,9^GB0,183,4^FS
^FO209,34^GB299,0,4^FS
^FO209,65^GB299,0,4^FS
^FO207,95^GB300,0,4^FS
^FO207,126^GB303,0,4^FS
^FT211,30^A0N,23,24^FDSID^FS
^FT210,59^A0N,23,24^FDLOT^FS
^FT215,91^A0N,23,24^FDPN^FS
^FT212,153^A0N,23,24^FDRID^FS
^FT210,120^A0N,23,24^FDQ'ty^FS
^FT260,31^A0N,23,24^FD
{sid}
^FS
^FT260,60^A0N,23,24^FD
{lot}
^FS
^FT258,93^A0N,27,16^FD
{partnum}
^FS
^FT256,150^A0N,21,19^FD
{rid}
^FS
^FT259,121^A0N,23,24^FD
{qty}
^FS
^FO207,157^GB303,0,4^FS
^FT212,182^A0N,20,19^FDDate^FS
^FT260,183^A0N,23,24^FD
{mfg}
^FS
^PQ1,0,1,Y^XZ
")]
public string ZPL {
get {
return ((string)(this["ZPL"]));
}
set {
this["ZPL"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute(@"^XA
^MMT
^PW519
^LL0200
^LS0
^FO207,5^GB303,186,4^FS
^FT10,190^BQN,2,4
^FH\^FDLA,{qrData}^FS
^FO250,8^GB0,183,4^FS
^FO209,29^GB299,0,4^FS
^FO209,56^GB299,0,4^FS
^FO207,81^GB300,0,4^FS
^FO207,108^GB303,0,4^FS
^FT212,27^A0N,20,19^FH\^FDSID^FS
^FT212,52^A0N,20,19^FH\^FDLOT^FS
^FT211,132^A0N,20,19^FH\^FDRID^FS
^FT212,104^A0N,20,19^FH\^FDQ'ty^FS
^FT256,27^A0N,20,19^FH\^FD{sid}^FS
^FT257,53^A0N,20,19^FH\^FD{lot}^FS
^FT257,184^A0N,17,16^FH\^FD{partnum}^FS
^FT258,131^A0N,20,19^FH\^FD{rid}^FS
^FT257,104^A0N,20,19^FH\^FD{qty}^FS
^FO207,162^GB303,0,4^FS
^FO207,135^GB303,0,4^FS
^FT211,158^A0N,20,19^FH\^FDDate^FS
^FT258,158^A0N,20,19^FH\^FD{mfg}^FS
^FT212,183^A0N,17,16^FH\^FDPN#^FS
^FT212,79^A0N,20,19^FH\^FDSPY^FS
^FT256,79^A0N,20,19^FH\^FDSupplier^FS
^PQ1,0,1,Y^XZ
")]
public string ZPL7 {
get {
return ((string)(this["ZPL7"]));
}
set {
this["ZPL7"] = value;
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)]
[global::System.Configuration.DefaultSettingValueAttribute("Data Source=K4FASQL.kr.ds.amkor.com,50150;Initial Catalog=EE;Persist Security Inf" +
"o=True;User ID=eeadm;Password=uJnU8a8q&DJ+ug-D;Encrypt=False;TrustServerCertific" +
"ate=True")]
public string cs {
get {
return ((string)(this["cs"]));
}
}
}
}

View File

@@ -0,0 +1,93 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="ResultView.Properties" GeneratedClassName="Settings">
<Profiles />
<Settings>
<Setting Name="ZPL" Type="System.String" Scope="User">
<Value Profile="(Default)">^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR6,6~SD15^JUS^LRN^CI0^XZ
^XA
^MMT
^PW519
^LL0200
^LS25
^FO205,5^GB305,186,4^FS
^FT25,170^BQN,2,4
^FDLA,
{qrData}
^FS
^FO205,9^GB0,183,4^FS
^FO250,9^GB0,183,4^FS
^FO209,34^GB299,0,4^FS
^FO209,65^GB299,0,4^FS
^FO207,95^GB300,0,4^FS
^FO207,126^GB303,0,4^FS
^FT211,30^A0N,23,24^FDSID^FS
^FT210,59^A0N,23,24^FDLOT^FS
^FT215,91^A0N,23,24^FDPN^FS
^FT212,153^A0N,23,24^FDRID^FS
^FT210,120^A0N,23,24^FDQ'ty^FS
^FT260,31^A0N,23,24^FD
{sid}
^FS
^FT260,60^A0N,23,24^FD
{lot}
^FS
^FT258,93^A0N,27,16^FD
{partnum}
^FS
^FT256,150^A0N,21,19^FD
{rid}
^FS
^FT259,121^A0N,23,24^FD
{qty}
^FS
^FO207,157^GB303,0,4^FS
^FT212,182^A0N,20,19^FDDate^FS
^FT260,183^A0N,23,24^FD
{mfg}
^FS
^PQ1,0,1,Y^XZ
</Value>
</Setting>
<Setting Name="ZPL7" Type="System.String" Scope="User">
<Value Profile="(Default)">^XA
^MMT
^PW519
^LL0200
^LS0
^FO207,5^GB303,186,4^FS
^FT10,190^BQN,2,4
^FH\^FDLA,{qrData}^FS
^FO250,8^GB0,183,4^FS
^FO209,29^GB299,0,4^FS
^FO209,56^GB299,0,4^FS
^FO207,81^GB300,0,4^FS
^FO207,108^GB303,0,4^FS
^FT212,27^A0N,20,19^FH\^FDSID^FS
^FT212,52^A0N,20,19^FH\^FDLOT^FS
^FT211,132^A0N,20,19^FH\^FDRID^FS
^FT212,104^A0N,20,19^FH\^FDQ'ty^FS
^FT256,27^A0N,20,19^FH\^FD{sid}^FS
^FT257,53^A0N,20,19^FH\^FD{lot}^FS
^FT257,184^A0N,17,16^FH\^FD{partnum}^FS
^FT258,131^A0N,20,19^FH\^FD{rid}^FS
^FT257,104^A0N,20,19^FH\^FD{qty}^FS
^FO207,162^GB303,0,4^FS
^FO207,135^GB303,0,4^FS
^FT211,158^A0N,20,19^FH\^FDDate^FS
^FT258,158^A0N,20,19^FH\^FD{mfg}^FS
^FT212,183^A0N,17,16^FH\^FDPN#^FS
^FT212,79^A0N,20,19^FH\^FDSPY^FS
^FT256,79^A0N,20,19^FH\^FDSupplier^FS
^PQ1,0,1,Y^XZ
</Value>
</Setting>
<Setting Name="cs" Type="(Connection string)" Scope="Application">
<DesignTimeValue Profile="(Default)">&lt;?xml version="1.0" encoding="utf-16"?&gt;
&lt;SerializableConnectionString xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
&lt;ConnectionString&gt;Data Source=K4FASQL.kr.ds.amkor.com,50150;Initial Catalog=EE;Persist Security Info=True;User ID=eeadm;Password=uJnU8a8q&amp;amp;DJ+ug-D;Encrypt=False;TrustServerCertificate=True&lt;/ConnectionString&gt;
&lt;ProviderName&gt;System.Data.SqlClient&lt;/ProviderName&gt;
&lt;/SerializableConnectionString&gt;</DesignTimeValue>
<Value Profile="(Default)">Data Source=K4FASQL.kr.ds.amkor.com,50150;Initial Catalog=EE;Persist Security Info=True;User ID=eeadm;Password=uJnU8a8q&amp;DJ+ug-D;Encrypt=False;TrustServerCertificate=True</Value>
</Setting>
</Settings>
</SettingsFile>

30
Handler/ResultView/Pub.cs Normal file
View File

@@ -0,0 +1,30 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ResultView
{
public static class Pub
{
public static arUtil.Log log;
public static CSetting setting;
public static void init()
{
//log
log = new arUtil.Log();
//setting
setting = new CSetting();
setting.Load();
}
}
}

View File

@@ -0,0 +1,155 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{4ED6F01A-0081-43E3-8EE5-7446BE0F2366}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ResultView</RootNamespace>
<AssemblyName>ResultView</AssemblyName>
<TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>x64</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\..\..\..\..\Amkor\STDLabelAttach%28Conv%29\ResultView\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="ArLog.Net4, Version=19.7.18.1730, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\DLL\ArLog.Net4.dll</HintPath>
</Reference>
<Reference Include="ArSetting.Net4, Version=19.7.3.2330, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\DLL\ArSetting.Net4.dll</HintPath>
</Reference>
<Reference Include="libxl.net, Version=3.8.1.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\DLL\libxl.net.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="DataSet1.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>DataSet1.xsd</DependentUpon>
</Compile>
<Compile Include="fHistory.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="fHistory.Designer.cs">
<DependentUpon>fHistory.cs</DependentUpon>
</Compile>
<Compile Include="fSetting.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="fSetting.Designer.cs">
<DependentUpon>fSetting.cs</DependentUpon>
</Compile>
<Compile Include="fTouchKeyFull.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="fTouchKeyFull.Designer.cs">
<DependentUpon>fTouchKeyFull.cs</DependentUpon>
</Compile>
<Compile Include="MethodExtentions.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Pub.cs" />
<Compile Include="CSetting.cs" />
<Compile Include="Util.cs" />
<EmbeddedResource Include="fHistory.resx">
<DependentUpon>fHistory.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="fSetting.resx">
<DependentUpon>fSetting.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="fTouchKeyFull.resx">
<DependentUpon>fTouchKeyFull.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<None Include="app.config" />
<None Include="DataSet1.xsc">
<DependentUpon>DataSet1.xsd</DependentUpon>
</None>
<None Include="DataSet1.xsd">
<SubType>Designer</SubType>
<Generator>MSDataSetGenerator</Generator>
<LastGenOutput>DataSet1.Designer.cs</LastGenOutput>
</None>
<None Include="DataSet1.xss">
<DependentUpon>DataSet1.xsd</DependentUpon>
</None>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Sub\arCtl\arControl.csproj">
<Project>{f31c242c-1b15-4518-9733-48558499fe4b}</Project>
<Name>arControl</Name>
</ProjectReference>
<ProjectReference Include="..\Sub\StdLabelPrint\StdLabelPrint.csproj">
<Project>{b18d3b96-2fdf-4ed9-9a49-d9b8cee4ed6d}</Project>
<Name>StdLabelPrint</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="libxl.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

366
Handler/ResultView/Util.cs Normal file
View File

@@ -0,0 +1,366 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Windows.Forms;
namespace ResultView
{
public static class Util
{
#region "MessageBox"
public static void MsgI(string m)
{
MessageBox.Show(m, "확인", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
public static void MsgE(string m)
{
MessageBox.Show(m, "오류", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
public static DialogResult MsgQ(string m)
{
DialogResult dlg = MessageBox.Show(m, "확인", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
return dlg;
}
#endregion
public static void SaveBugReport(string content, string subdirName = "BugReport")
{
try
{
var path = CurrentPath + subdirName;
if (!System.IO.Directory.Exists(path)) System.IO.Directory.CreateDirectory(path);
var file = path + "\\" + DateTime.Now.ToString("yyyyMMdd_HHmmss_fff") + ".txt";
System.IO.File.WriteAllText(file, content, System.Text.Encoding.UTF8);
}
catch
{
//nothing
}
}
public static void CopyData(System.Data.DataRow drSrc, System.Data.DataRow drDes)
{
if (drDes == null || drSrc == null) return;
foreach (System.Data.DataColumn col in drSrc.Table.Columns)
{
if (col.ColumnName.ToUpper() == "IDX") continue;
drDes[col.ColumnName] = drSrc[col.ColumnName];
}
}
/// <summary>
/// 현재실행중인폴더를 반환합니다.
/// </summary>
public static string CurrentPath
{
get
{
return AppDomain.CurrentDomain.BaseDirectory;
}
}
/// <summary>
/// 콤마와 줄바꿈등을 제거합니다.
/// </summary>
/// <returns></returns>
public static string ToCSVString(string src)
{
string retval = src.Replace("\r", "").Replace("\n", "").Replace(",", "");
return retval;
}
public static Boolean RunProcess(string file, string arg = "")
{
var fi = new System.IO.FileInfo(file);
if (!fi.Exists)
{
Pub.log.AddE("Run Error : " + file);
return false;
}
System.Diagnostics.Process prc = new System.Diagnostics.Process();
System.Diagnostics.ProcessStartInfo si = new System.Diagnostics.ProcessStartInfo(file);
si.Arguments = arg;
prc.StartInfo = si;
prc.Start();
return true;
}
#region "convert"
public static string RectToStr(Rectangle rect)
{
return string.Format("{0};{1};{2};{3}", rect.X, rect.Y, rect.Width, rect.Height);
}
public static string RectToStr(RectangleF rect)
{
return string.Format("{0};{1};{2};{3}", rect.X, rect.Y, rect.Width, rect.Height);
}
public static string PointToStr(Point pt)
{
return string.Format("{0};{1}", pt.X, pt.Y);
}
public static string PointToStr(PointF pt)
{
return string.Format("{0};{1}", pt.X, pt.Y);
}
public static Rectangle StrToRect(string str)
{
if (str.isEmpty() || str.Split(';').Length != 4) str = "0;0;0;0";
var roibuf1 = str.Split(';');
return new System.Drawing.Rectangle(
int.Parse(roibuf1[0]),
int.Parse(roibuf1[1]),
int.Parse(roibuf1[2]),
int.Parse(roibuf1[3]));
}
public static RectangleF StrToRectF(string str)
{
if (str.isEmpty() || str.Split(';').Length != 4) str = "0;0;0;0";
var roibuf1 = str.Split(';');
return new System.Drawing.RectangleF(
float.Parse(roibuf1[0]),
float.Parse(roibuf1[1]),
float.Parse(roibuf1[2]),
float.Parse(roibuf1[3]));
}
public static Point StrToPoint(string str)
{
if (str.isEmpty() || str.Split(';').Length != 2) str = "0;0";
var roibuf1 = str.Split(';');
return new System.Drawing.Point(
int.Parse(roibuf1[0]),
int.Parse(roibuf1[1]));
}
public static PointF StrToPointF(string str)
{
if (str.isEmpty() || str.Split(';').Length != 2) str = "0;0";
var roibuf1 = str.Split(';');
return new System.Drawing.PointF(
float.Parse(roibuf1[0]),
float.Parse(roibuf1[1]));
}
#endregion
#region "NIC"
/// <summary>
/// 지정된 nic카드가 현재 목록에 존재하는지 확인한다.
/// </summary>
/// <returns></returns>
public static Boolean ExistNIC(string NICName)
{
if (string.IsNullOrEmpty(NICName)) return false;
foreach (string NetName in NICCardList())
{
if (NetName.ToLower() == NICName.ToLower())
{
return true;
}
}
return false;
}
/// <summary>
/// Ehternet Card 를 사용안함으로 설정합니다.(관리자권한필요)
/// </summary>
/// <param name="NicName"></param>
public static Boolean NICDisable(string NICName)
{
//해당 nic 가 현재 목록에 존재하는지 확인한다.
string cmd = "interface set interface " + NICName + " disable";
Process prc = new Process();
ProcessStartInfo si = new ProcessStartInfo("netsh", cmd);
si.WindowStyle = ProcessWindowStyle.Hidden;
prc.StartInfo = si;
prc.Start();
////목록에서 사라질때까지 기다린다.
DateTime SD = DateTime.Now;
Boolean timeout = false;
while ((true))
{
bool FindNetwork = false;
foreach (string NetName in NICCardList())
{
if (NetName == NICName.ToLower())
{
FindNetwork = true;
break; // TODO: might not be correct. Was : Exit For
}
}
if (!FindNetwork)
break; // TODO: might not be correct. Was : Exit While
System.Threading.Thread.Sleep(1000);
TimeSpan ts = DateTime.Now - SD;
if (ts.TotalSeconds > 10)
{
timeout = true;
break; // TODO: might not be correct. Was : Exit While
}
}
return !timeout;
}
public static List<String> NICCardList()
{
List<String> Retval = new List<string>();
foreach (System.Net.NetworkInformation.NetworkInterface Net in System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces())
{
if (Net.NetworkInterfaceType == System.Net.NetworkInformation.NetworkInterfaceType.Ethernet)
{
Retval.Add(Net.Name.ToUpper());
}
}
return Retval;
}
/// <summary>
/// 이더넷카드를 사용함으로 설정합니다.
/// </summary>
/// <param name="NicName"></param>
public static Boolean NICEnable(string NICName)
{
string cmd = "interface set interface " + NICName + " enable";
System.Diagnostics.Process prc = new System.Diagnostics.Process();
System.Diagnostics.ProcessStartInfo si = new System.Diagnostics.ProcessStartInfo("netsh", cmd);
si.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
prc.StartInfo = si;
prc.Start();
////목록에생길떄까지 대기
DateTime SD = DateTime.Now;
while ((true))
{
bool FindNetwork = false;
foreach (string NetName in NICCardList())
{
if (NetName.ToLower() == NICName.ToLower())
{
FindNetwork = true;
break; // TODO: might not be correct. Was : Exit For
}
}
if (FindNetwork)
break; // TODO: might not be correct. Was : Exit While
System.Threading.Thread.Sleep(1000);
TimeSpan ts = DateTime.Now - SD;
if (ts.TotalSeconds > 10)
{
return false;
}
}
////결이 완료될떄까지 기다린다.
SD = DateTime.Now;
while ((true))
{
bool FindNetwork = false;
foreach (System.Net.NetworkInformation.NetworkInterface Net in System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces())
{
if (Net.NetworkInterfaceType != System.Net.NetworkInformation.NetworkInterfaceType.GigabitEthernet &&
Net.NetworkInterfaceType != System.Net.NetworkInformation.NetworkInterfaceType.Ethernet) continue;
if (Net.Name.ToLower() == NICName.ToLower())
{
//string data = Net.GetIPProperties().GatewayAddresses[0].ToString();
if (Net.OperationalStatus == System.Net.NetworkInformation.OperationalStatus.Up)
{
FindNetwork = true;
break; // TODO: might not be correct. Was : Exit For
}
}
}
if (FindNetwork)
return true;
System.Threading.Thread.Sleep(1000);
TimeSpan ts = DateTime.Now - SD;
if (ts.TotalSeconds > 10)
{
return false;
}
}
}
#endregion
public static void RunExplorer(string arg)
{
System.Diagnostics.ProcessStartInfo si = new ProcessStartInfo("explorer");
si.Arguments = arg;
System.Diagnostics.Process.Start(si);
}
#region "watchdog"
public static void WatchDog_Run()
{
System.IO.FileInfo fi = new FileInfo(AppDomain.CurrentDomain.BaseDirectory + "WatchCat.exe");
if (!fi.Exists) return;
var Exist = CheckExistProcess("watchcat");
if (Exist) return;
RunProcess(fi.FullName);
}
public static Boolean CheckExistProcess(string ProcessName)
{
foreach (var prc in System.Diagnostics.Process.GetProcesses())
{
if (prc.ProcessName.StartsWith("svchost")) continue;
if (prc.ProcessName.ToUpper() == ProcessName.ToUpper()) return true;
}
return false;
}
#endregion
#region "web function"
/// <summary>
/// URL로부터 문자열을 수신합니다.
/// </summary>
/// <param name="url"></param>
/// <param name="isError"></param>
/// <returns></returns>
public static string GetStrfromurl(string url, out Boolean isError)
{
isError = false;
string result = "";
try
{
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(new Uri(url));
request.Timeout = 60000;
request.ReadWriteTimeout = 60000;
request.MaximumAutomaticRedirections = 4;
request.MaximumResponseHeadersLength = 4;
request.Credentials = CredentialCache.DefaultCredentials;
var response = request.GetResponse() as HttpWebResponse;
var txtReader = new StreamReader(response.GetResponseStream(), Encoding.UTF8);
result = txtReader.ReadToEnd();
}
catch (Exception ex)
{
isError = true;
result = ex.Message.ToString();
}
return result;
}
#endregion
}
}

View File

@@ -0,0 +1,95 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="ResultView.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<connectionStrings>
<add name="ResultView.Properties.Settings.cs" connectionString="Data Source=K4FASQL.kr.ds.amkor.com,50150;Initial Catalog=EE;Persist Security Info=True;User ID=eeadm;Password=uJnU8a8q&amp;DJ+ug-D;Encrypt=False;TrustServerCertificate=True"
providerName="System.Data.SqlClient" />
</connectionStrings>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7"/></startup><userSettings>
<ResultView.Properties.Settings>
<setting name="ZPL" serializeAs="String">
<value>^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR6,6~SD15^JUS^LRN^CI0^XZ
^XA
^MMT
^PW519
^LL0200
^LS25
^FO205,5^GB305,186,4^FS
^FT25,170^BQN,2,4
^FDLA,
{qrData}
^FS
^FO205,9^GB0,183,4^FS
^FO250,9^GB0,183,4^FS
^FO209,34^GB299,0,4^FS
^FO209,65^GB299,0,4^FS
^FO207,95^GB300,0,4^FS
^FO207,126^GB303,0,4^FS
^FT211,30^A0N,23,24^FDSID^FS
^FT210,59^A0N,23,24^FDLOT^FS
^FT215,91^A0N,23,24^FDPN^FS
^FT212,153^A0N,23,24^FDRID^FS
^FT210,120^A0N,23,24^FDQ'ty^FS
^FT260,31^A0N,23,24^FD
{sid}
^FS
^FT260,60^A0N,23,24^FD
{lot}
^FS
^FT258,93^A0N,27,16^FD
{partnum}
^FS
^FT256,150^A0N,21,19^FD
{rid}
^FS
^FT259,121^A0N,23,24^FD
{qty}
^FS
^FO207,157^GB303,0,4^FS
^FT212,182^A0N,20,19^FDDate^FS
^FT260,183^A0N,23,24^FD
{mfg}
^FS
^PQ1,0,1,Y^XZ
</value>
</setting>
<setting name="ZPL7" serializeAs="String">
<value>^XA
^MMT
^PW519
^LL0200
^LS0
^FO207,5^GB303,186,4^FS
^FT10,190^BQN,2,4
^FH\^FDLA,{qrData}^FS
^FO250,8^GB0,183,4^FS
^FO209,29^GB299,0,4^FS
^FO209,56^GB299,0,4^FS
^FO207,81^GB300,0,4^FS
^FO207,108^GB303,0,4^FS
^FT212,27^A0N,20,19^FH\^FDSID^FS
^FT212,52^A0N,20,19^FH\^FDLOT^FS
^FT211,132^A0N,20,19^FH\^FDRID^FS
^FT212,104^A0N,20,19^FH\^FDQ'ty^FS
^FT256,27^A0N,20,19^FH\^FD{sid}^FS
^FT257,53^A0N,20,19^FH\^FD{lot}^FS
^FT257,184^A0N,17,16^FH\^FD{partnum}^FS
^FT258,131^A0N,20,19^FH\^FD{rid}^FS
^FT257,104^A0N,20,19^FH\^FD{qty}^FS
^FO207,162^GB303,0,4^FS
^FO207,135^GB303,0,4^FS
^FT211,158^A0N,20,19^FH\^FDDate^FS
^FT258,158^A0N,20,19^FH\^FD{mfg}^FS
^FT212,183^A0N,17,16^FH\^FDPN#^FS
^FT212,79^A0N,20,19^FH\^FDSPY^FS
^FT256,79^A0N,20,19^FH\^FDSupplier^FS
^PQ1,0,1,Y^XZ
</value>
</setting>
</ResultView.Properties.Settings>
</userSettings>
</configuration>

530
Handler/ResultView/fHistory.Designer.cs generated Normal file
View File

@@ -0,0 +1,530 @@
namespace ResultView
{
partial class fHistory
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fHistory));
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
this.panel1 = new System.Windows.Forms.Panel();
this.btSetting = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.btExport = new System.Windows.Forms.Button();
this.dtED = new System.Windows.Forms.DateTimePicker();
this.dtSD = new System.Windows.Forms.DateTimePicker();
this.tbSearch = new System.Windows.Forms.ComboBox();
this.btSearch = new System.Windows.Forms.Button();
this.cm = new System.Windows.Forms.ContextMenuStrip(this.components);
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.viewXMLToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
this.sendDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.tbFind = new System.Windows.Forms.TextBox();
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.dv = new arCtl.arDatagridView();
this.bs = new System.Windows.Forms.BindingSource(this.components);
this.dataSet1 = new ResultView.DataSet1();
this.ta = new ResultView.DataSet1TableAdapters.Component_Reel_ResultTableAdapter();
this.panel2 = new System.Windows.Forms.Panel();
this.button1 = new System.Windows.Forms.Button();
this.sTIMEDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ETIME = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.jTYPEDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.BATCH = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.sIDDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.SID0 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.rIDDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.rID0DataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.lOCDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.qTYDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.qtymax = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.vNAMEDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.VLOT = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewCheckBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.PRNVALID = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.panel1.SuspendLayout();
this.cm.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dv)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dataSet1)).BeginInit();
this.panel2.SuspendLayout();
this.SuspendLayout();
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.Gainsboro;
this.panel1.Controls.Add(this.btSetting);
this.panel1.Controls.Add(this.label1);
this.panel1.Controls.Add(this.btExport);
this.panel1.Controls.Add(this.dtED);
this.panel1.Controls.Add(this.dtSD);
this.panel1.Controls.Add(this.tbSearch);
this.panel1.Controls.Add(this.btSearch);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Padding = new System.Windows.Forms.Padding(5);
this.panel1.Size = new System.Drawing.Size(954, 73);
this.panel1.TabIndex = 0;
//
// btSetting
//
this.btSetting.Dock = System.Windows.Forms.DockStyle.Right;
this.btSetting.Font = new System.Drawing.Font("Calibri", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btSetting.Image = ((System.Drawing.Image)(resources.GetObject("btSetting.Image")));
this.btSetting.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btSetting.Location = new System.Drawing.Point(846, 5);
this.btSetting.Name = "btSetting";
this.btSetting.Padding = new System.Windows.Forms.Padding(10, 0, 5, 0);
this.btSetting.Size = new System.Drawing.Size(103, 63);
this.btSetting.TabIndex = 12;
this.btSetting.Tag = "0";
this.btSetting.Text = "설정";
this.btSetting.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.btSetting.UseVisualStyleBackColor = true;
this.btSetting.Click += new System.EventHandler(this.btSetting_Click);
//
// label1
//
this.label1.Location = new System.Drawing.Point(207, 13);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(149, 23);
this.label1.TabIndex = 11;
this.label1.Text = "검색어를 입력하세요";
//
// btExport
//
this.btExport.Font = new System.Drawing.Font("Calibri", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btExport.Image = ((System.Drawing.Image)(resources.GetObject("btExport.Image")));
this.btExport.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btExport.Location = new System.Drawing.Point(588, 9);
this.btExport.Name = "btExport";
this.btExport.Padding = new System.Windows.Forms.Padding(10, 0, 5, 0);
this.btExport.Size = new System.Drawing.Size(145, 56);
this.btExport.TabIndex = 10;
this.btExport.Tag = "0";
this.btExport.Text = "내보내기(&O)";
this.btExport.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.btExport.UseVisualStyleBackColor = true;
this.btExport.Click += new System.EventHandler(this.btExport_Click);
//
// dtED
//
this.dtED.Location = new System.Drawing.Point(8, 39);
this.dtED.Name = "dtED";
this.dtED.Size = new System.Drawing.Size(192, 26);
this.dtED.TabIndex = 2;
//
// dtSD
//
this.dtSD.Location = new System.Drawing.Point(8, 10);
this.dtSD.Name = "dtSD";
this.dtSD.Size = new System.Drawing.Size(192, 26);
this.dtSD.TabIndex = 1;
//
// tbSearch
//
this.tbSearch.Font = new System.Drawing.Font("Calibri", 12F);
this.tbSearch.FormattingEnabled = true;
this.tbSearch.Location = new System.Drawing.Point(207, 38);
this.tbSearch.Name = "tbSearch";
this.tbSearch.Size = new System.Drawing.Size(219, 27);
this.tbSearch.TabIndex = 0;
this.tbSearch.Tag = "0";
//
// btSearch
//
this.btSearch.Font = new System.Drawing.Font("Calibri", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btSearch.Image = ((System.Drawing.Image)(resources.GetObject("btSearch.Image")));
this.btSearch.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btSearch.Location = new System.Drawing.Point(430, 9);
this.btSearch.Name = "btSearch";
this.btSearch.Padding = new System.Windows.Forms.Padding(10, 0, 5, 0);
this.btSearch.Size = new System.Drawing.Size(155, 56);
this.btSearch.TabIndex = 9;
this.btSearch.Tag = "0";
this.btSearch.Text = "검색(F5)";
this.btSearch.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.btSearch.UseVisualStyleBackColor = true;
this.btSearch.Click += new System.EventHandler(this.btSearch_Click);
//
// cm
//
this.cm.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.ToolStripMenuItem,
this.viewXMLToolStripMenuItem,
this.toolStripMenuItem1,
this.sendDataToolStripMenuItem});
this.cm.Name = "cm";
this.cm.Size = new System.Drawing.Size(129, 76);
//
// 목록저장ToolStripMenuItem
//
this.ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("목록저장ToolStripMenuItem.Image")));
this.ToolStripMenuItem.Name = "목록저장ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(128, 22);
this.ToolStripMenuItem.Text = "Export";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// viewXMLToolStripMenuItem
//
this.viewXMLToolStripMenuItem.Name = "viewXMLToolStripMenuItem";
this.viewXMLToolStripMenuItem.Size = new System.Drawing.Size(128, 22);
this.viewXMLToolStripMenuItem.Text = "View XML";
this.viewXMLToolStripMenuItem.Click += new System.EventHandler(this.viewXMLToolStripMenuItem_Click);
//
// toolStripMenuItem1
//
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
this.toolStripMenuItem1.Size = new System.Drawing.Size(125, 6);
//
// sendDataToolStripMenuItem
//
this.sendDataToolStripMenuItem.ForeColor = System.Drawing.Color.Red;
this.sendDataToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("sendDataToolStripMenuItem.Image")));
this.sendDataToolStripMenuItem.Name = "sendDataToolStripMenuItem";
this.sendDataToolStripMenuItem.Size = new System.Drawing.Size(128, 22);
this.sendDataToolStripMenuItem.Text = "Print";
this.sendDataToolStripMenuItem.Visible = false;
this.sendDataToolStripMenuItem.Click += new System.EventHandler(this.sendDataToolStripMenuItem_Click);
//
// tbFind
//
this.tbFind.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
this.tbFind.Dock = System.Windows.Forms.DockStyle.Fill;
this.tbFind.Font = new System.Drawing.Font("Calibri", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tbFind.ImeMode = System.Windows.Forms.ImeMode.Alpha;
this.tbFind.Location = new System.Drawing.Point(0, 0);
this.tbFind.Name = "tbFind";
this.tbFind.Size = new System.Drawing.Size(898, 40);
this.tbFind.TabIndex = 3;
this.tbFind.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbiSearch_KeyDown);
//
// statusStrip1
//
this.statusStrip1.Location = new System.Drawing.Point(0, 583);
this.statusStrip1.Name = "statusStrip1";
this.statusStrip1.Size = new System.Drawing.Size(954, 22);
this.statusStrip1.TabIndex = 5;
this.statusStrip1.Text = "statusStrip1";
//
// dv
//
this.dv.A_DelCurrentCell = true;
this.dv.A_EnterToTab = true;
this.dv.A_KoreanField = null;
this.dv.A_UpperField = null;
this.dv.A_ViewRownumOnHeader = true;
this.dv.AllowUserToAddRows = false;
this.dv.AllowUserToDeleteRows = false;
this.dv.AutoGenerateColumns = false;
this.dv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dv.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.sTIMEDataGridViewTextBoxColumn,
this.ETIME,
this.jTYPEDataGridViewTextBoxColumn,
this.BATCH,
this.sIDDataGridViewTextBoxColumn,
this.SID0,
this.rIDDataGridViewTextBoxColumn,
this.rID0DataGridViewTextBoxColumn,
this.lOCDataGridViewTextBoxColumn,
this.qTYDataGridViewTextBoxColumn,
this.qtymax,
this.vNAMEDataGridViewTextBoxColumn,
this.VLOT,
this.dataGridViewCheckBoxColumn1,
this.PRNVALID,
this.Column1});
this.dv.ContextMenuStrip = this.cm;
this.dv.DataSource = this.bs;
dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle7.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle7.Padding = new System.Windows.Forms.Padding(3);
dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dv.DefaultCellStyle = dataGridViewCellStyle7;
this.dv.Dock = System.Windows.Forms.DockStyle.Fill;
this.dv.Location = new System.Drawing.Point(0, 73);
this.dv.Name = "dv";
this.dv.ReadOnly = true;
dataGridViewCellStyle8.Font = new System.Drawing.Font("Calibri", 9.75F);
this.dv.RowsDefaultCellStyle = dataGridViewCellStyle8;
this.dv.RowTemplate.DefaultCellStyle.Font = new System.Drawing.Font("Calibri", 9.75F);
this.dv.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dv.Size = new System.Drawing.Size(954, 470);
this.dv.TabIndex = 2;
this.dv.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dv_CellDoubleClick);
//
// bs
//
this.bs.DataMember = "Component_Reel_Result";
this.bs.DataSource = this.dataSet1;
this.bs.Sort = "wdate desc";
//
// dataSet1
//
this.dataSet1.DataSetName = "DataSet1";
this.dataSet1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
//
// ta
//
this.ta.ClearBeforeFill = true;
//
// panel2
//
this.panel2.Controls.Add(this.tbFind);
this.panel2.Controls.Add(this.button1);
this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panel2.Location = new System.Drawing.Point(0, 543);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(954, 40);
this.panel2.TabIndex = 6;
//
// button1
//
this.button1.Dock = System.Windows.Forms.DockStyle.Right;
this.button1.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.button1.Location = new System.Drawing.Point(898, 0);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(56, 40);
this.button1.TabIndex = 11;
this.button1.Tag = "0";
this.button1.Text = "KEY";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// sTIMEDataGridViewTextBoxColumn
//
this.sTIMEDataGridViewTextBoxColumn.DataPropertyName = "STIME";
dataGridViewCellStyle1.Format = "MM-dd HH:mm:ss";
this.sTIMEDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle1;
this.sTIMEDataGridViewTextBoxColumn.HeaderText = "시작";
this.sTIMEDataGridViewTextBoxColumn.Name = "sTIMEDataGridViewTextBoxColumn";
this.sTIMEDataGridViewTextBoxColumn.ReadOnly = true;
//
// ETIME
//
this.ETIME.DataPropertyName = "ETIME";
dataGridViewCellStyle2.Format = "MM-dd HH:mm:ss";
this.ETIME.DefaultCellStyle = dataGridViewCellStyle2;
this.ETIME.HeaderText = "종료";
this.ETIME.Name = "ETIME";
this.ETIME.ReadOnly = true;
//
// jTYPEDataGridViewTextBoxColumn
//
this.jTYPEDataGridViewTextBoxColumn.DataPropertyName = "JTYPE";
this.jTYPEDataGridViewTextBoxColumn.HeaderText = "형태";
this.jTYPEDataGridViewTextBoxColumn.Name = "jTYPEDataGridViewTextBoxColumn";
this.jTYPEDataGridViewTextBoxColumn.ReadOnly = true;
//
// BATCH
//
this.BATCH.DataPropertyName = "BATCH";
this.BATCH.HeaderText = "BATCH";
this.BATCH.Name = "BATCH";
this.BATCH.ReadOnly = true;
//
// sIDDataGridViewTextBoxColumn
//
this.sIDDataGridViewTextBoxColumn.DataPropertyName = "SID";
this.sIDDataGridViewTextBoxColumn.HeaderText = "SID";
this.sIDDataGridViewTextBoxColumn.Name = "sIDDataGridViewTextBoxColumn";
this.sIDDataGridViewTextBoxColumn.ReadOnly = true;
//
// SID0
//
this.SID0.DataPropertyName = "SID0";
dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.SID0.DefaultCellStyle = dataGridViewCellStyle3;
this.SID0.HeaderText = "*";
this.SID0.Name = "SID0";
this.SID0.ReadOnly = true;
//
// rIDDataGridViewTextBoxColumn
//
this.rIDDataGridViewTextBoxColumn.DataPropertyName = "RID";
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
this.rIDDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle4;
this.rIDDataGridViewTextBoxColumn.HeaderText = "RID";
this.rIDDataGridViewTextBoxColumn.Name = "rIDDataGridViewTextBoxColumn";
this.rIDDataGridViewTextBoxColumn.ReadOnly = true;
//
// rID0DataGridViewTextBoxColumn
//
this.rID0DataGridViewTextBoxColumn.DataPropertyName = "RID0";
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.rID0DataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle5;
this.rID0DataGridViewTextBoxColumn.HeaderText = "*";
this.rID0DataGridViewTextBoxColumn.Name = "rID0DataGridViewTextBoxColumn";
this.rID0DataGridViewTextBoxColumn.ReadOnly = true;
//
// lOCDataGridViewTextBoxColumn
//
this.lOCDataGridViewTextBoxColumn.DataPropertyName = "LOC";
this.lOCDataGridViewTextBoxColumn.HeaderText = "L/R";
this.lOCDataGridViewTextBoxColumn.Name = "lOCDataGridViewTextBoxColumn";
this.lOCDataGridViewTextBoxColumn.ReadOnly = true;
//
// qTYDataGridViewTextBoxColumn
//
this.qTYDataGridViewTextBoxColumn.DataPropertyName = "QTY";
this.qTYDataGridViewTextBoxColumn.HeaderText = "QTY";
this.qTYDataGridViewTextBoxColumn.Name = "qTYDataGridViewTextBoxColumn";
this.qTYDataGridViewTextBoxColumn.ReadOnly = true;
//
// qtymax
//
this.qtymax.DataPropertyName = "qtymax";
this.qtymax.HeaderText = "(MAX)";
this.qtymax.Name = "qtymax";
this.qtymax.ReadOnly = true;
//
// vNAMEDataGridViewTextBoxColumn
//
this.vNAMEDataGridViewTextBoxColumn.DataPropertyName = "VNAME";
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
this.vNAMEDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle6;
this.vNAMEDataGridViewTextBoxColumn.HeaderText = "Vender";
this.vNAMEDataGridViewTextBoxColumn.Name = "vNAMEDataGridViewTextBoxColumn";
this.vNAMEDataGridViewTextBoxColumn.ReadOnly = true;
//
// VLOT
//
this.VLOT.DataPropertyName = "VLOT";
this.VLOT.HeaderText = "Vendor #";
this.VLOT.Name = "VLOT";
this.VLOT.ReadOnly = true;
//
// dataGridViewCheckBoxColumn1
//
this.dataGridViewCheckBoxColumn1.DataPropertyName = "PRNATTACH";
this.dataGridViewCheckBoxColumn1.HeaderText = "부착";
this.dataGridViewCheckBoxColumn1.Name = "dataGridViewCheckBoxColumn1";
this.dataGridViewCheckBoxColumn1.ReadOnly = true;
this.dataGridViewCheckBoxColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewCheckBoxColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
//
// PRNVALID
//
this.PRNVALID.DataPropertyName = "PRNVALID";
this.PRNVALID.HeaderText = "검증";
this.PRNVALID.Name = "PRNVALID";
this.PRNVALID.ReadOnly = true;
this.PRNVALID.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.PRNVALID.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
//
// Column1
//
this.Column1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.Column1.HeaderText = "비고";
this.Column1.Name = "Column1";
this.Column1.ReadOnly = true;
//
// fHistory
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(954, 605);
this.Controls.Add(this.dv);
this.Controls.Add(this.panel2);
this.Controls.Add(this.panel1);
this.Controls.Add(this.statusStrip1);
this.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.KeyPreview = true;
this.Name = "fHistory";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Data History";
this.Load += new System.EventHandler(this.fHistory_Load);
this.panel1.ResumeLayout(false);
this.cm.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dv)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dataSet1)).EndInit();
this.panel2.ResumeLayout(false);
this.panel2.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
private System.Windows.Forms.Label label1;
#endregion
private System.Windows.Forms.Panel panel1;
private arCtl.arDatagridView dv;
private System.Windows.Forms.BindingSource bs;
private DataSet1 dataSet1;
private System.Windows.Forms.Button btSearch;
private System.Windows.Forms.ComboBox tbSearch;
private System.Windows.Forms.DateTimePicker dtSD;
private System.Windows.Forms.DateTimePicker dtED;
private System.Windows.Forms.TextBox tbFind;
private System.Windows.Forms.Button btExport;
private System.Windows.Forms.ContextMenuStrip cm;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
private System.Windows.Forms.ToolStripMenuItem sendDataToolStripMenuItem;
private System.Windows.Forms.StatusStrip statusStrip1;
private System.Windows.Forms.ToolStripMenuItem viewXMLToolStripMenuItem;
private DataSet1TableAdapters.Component_Reel_ResultTableAdapter ta;
private System.Windows.Forms.Button btSetting;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.DataGridViewTextBoxColumn sTIMEDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn ETIME;
private System.Windows.Forms.DataGridViewTextBoxColumn jTYPEDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn BATCH;
private System.Windows.Forms.DataGridViewTextBoxColumn sIDDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn SID0;
private System.Windows.Forms.DataGridViewTextBoxColumn rIDDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn rID0DataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn lOCDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn qTYDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn qtymax;
private System.Windows.Forms.DataGridViewTextBoxColumn vNAMEDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn VLOT;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewCheckBoxColumn1;
private System.Windows.Forms.DataGridViewTextBoxColumn PRNVALID;
private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
}
}

View File

@@ -0,0 +1,322 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace ResultView
{
public partial class fHistory : Form
{
public StdLabelPrint.LabelPrint PrinterL = null;
// public StdLabelPrint.LabelPrint PrinterR = null;
public fHistory()
{
InitializeComponent();
Pub.init();
this.KeyDown += (s1, e1) =>
{
if (e1.KeyCode == Keys.Escape) this.Close();
else if (e1.KeyCode == Keys.F5) btSearch.PerformClick();
};
this.tbSearch.KeyDown += (s1, e1) => { if (e1.KeyCode == Keys.Enter) btSearch.PerformClick(); };
this.dv.CellFormatting += (s1, e1) =>
{
if (e1.RowIndex >= 0 && e1.ColumnIndex >= 0)
{
var dv = s1 as DataGridView;
//var cell = dv.Rows[e1.RowIndex].Cells["dvc_upload"];
//if (cell.Value != null)
//{
// if (cell.Value.ToString() == "X")
// dv.Rows[e1.RowIndex].DefaultCellStyle.ForeColor = Color.Red;
// else
// dv.Rows[e1.RowIndex].DefaultCellStyle.ForeColor = Color.Black;
//}
//else dv.Rows[e1.RowIndex].DefaultCellStyle.ForeColor = Color.Black;
}
};
this.dv.DataError += dv_DataError;
this.Text = string.Format("{0} ver{1} - {2}", Application.ProductName, Application.ProductVersion,Pub.setting.MCName);
}
void dv_DataError(object sender, DataGridViewDataErrorEventArgs e)
{
}
private void fHistory_Load(object sender, EventArgs e)
{
dtSD.Value = DateTime.Now;
dtED.Value = DateTime.Now;
PrinterL = new StdLabelPrint.LabelPrint(Pub.setting.PrinterName);
//PrinterR = new StdLabelPrint.LabelPrint("PrinterR");
ApplyZplCode();
refreshList();
}
public void ApplyZplCode()
{
string zplfil = string.Empty;
var basedir = new System.IO.DirectoryInfo(Util.CurrentPath);
if (Pub.setting.PrinterForm7)
{
zplfil = System.IO.Path.Combine(basedir.Parent.FullName, "zpl7.txt");
}
else
{
zplfil = System.IO.Path.Combine(basedir.Parent.FullName, "zpl.txt");
}
if (System.IO.File.Exists(zplfil))
{
PrinterL.baseZPL = System.IO.File.ReadAllText(zplfil, System.Text.Encoding.Default);
}
else
{
Pub.log.AddAT("기본 ZPL파일이 없어 설정파일의 내용을 사용합니다");
if (Pub.setting.PrinterForm7)
{
PrinterL.baseZPL = Properties.Settings.Default.ZPL7;
}
else
{
PrinterL.baseZPL = Properties.Settings.Default.ZPL;
}
}
}
private void checkBox5_CheckedChanged(object sender, EventArgs e)
{
// cmbUser.Enabled = checkBox5.Checked;
// if(cmbUser.Enabled && cmbUser.Text.isEmpty())
// {
// cmbUser.Text = string.Format("{0}({1})", Pub.LoginName, Pub.LoginNo);
// }
}
void refreshList()
{
//검색일자 검색
if (dtED.Value < dtSD.Value)
{
Util.MsgE("검색종료일자가 시작일자보다 작습니다");
dtSD.Value = dtED.Value;
dtSD.Focus();
return;
}
//저장소초기화
this.dataSet1.Component_Reel_Result.Clear();
System.Diagnostics.Stopwatch wat = new System.Diagnostics.Stopwatch();
wat.Restart();
//자료를 검색한다.
var search = tbSearch.Text.Trim();
if (search.isEmpty()) search = "%";
else search = "%" + search + "%";
ta.Fill(this.dataSet1.Component_Reel_Result, Pub.setting.MCName, dtSD.Value.ToShortDateString(), dtED.Value.ToShortDateString(), search);
wat.Stop();
tbSearch.Focus();
tbSearch.SelectAll();
dv.AutoResizeColumns();
}
private void btSearch_Click(object sender, EventArgs e)
{
refreshList();
}
private void tbiSearch_KeyDown(object sender, KeyEventArgs e)
{
//내부검색기능
if (e.KeyCode == Keys.Enter)
{
FindData();
}
}
void FindData()
{
string searchkey = tbFind.Text.Trim();
if (searchkey.isEmpty())
{
bs.Filter = "";
tbFind.BackColor = SystemColors.Control;
}
else
{
string filter = "rid0 like '%{0}%' or sid0 like '%{0}%' or qr like '%{0}%' or vlot like '%{0}%'";
filter = string.Format(filter, searchkey);
try
{
bs.Filter = filter;
tbFind.BackColor = Color.Lime;
}
catch
{
bs.Filter = "";
tbFind.BackColor = Color.Pink;
}
}
tbFind.Focus();
tbFind.SelectAll();
}
private void btExport_Click(object sender, EventArgs e)
{
saveXLS();
}
void saveXLS()
{
var license = ("Amkor Technology/windows-242f240302c3e50d6cb1686ba2q4k0o9").Split('/');
var xls = new libxl.XmlBook();
xls.setKey(license[0], license[1]);
xls.addSheet("Result");
var Sheet = xls.getSheet(0);
int row = 0;
for (int i = 0; i < this.dv.Columns.Count; i++)
{
var col = this.dv.Columns[i];
Sheet.writeStr(row, i, col.HeaderText);
}
row += 1;
foreach (DataGridViewRow dr in this.dv.Rows)
{
for (int i = 0; i < this.dv.Columns.Count; i++)
{
var propertyName = dv.Columns[i].DataPropertyName;
if (propertyName.isEmpty())
{
Sheet.writeStr(row, i, dr.Cells[i].FormattedValue.ToString());// dr[colname].ToString());
}
else
{
var dType = this.dataSet1.Component_Reel_Result.Columns[propertyName].DataType;
if (dType == typeof(float)) Sheet.writeNum(row, i, (float)dr.Cells[i].Value);
else if (dType == typeof(double)) Sheet.writeNum(row, i, (double)dr.Cells[i].Value);
else if (dType == typeof(int)) Sheet.writeNum(row, i, (int)dr.Cells[i].Value);
else Sheet.writeStr(row, i, dr.Cells[i].FormattedValue.ToString());// dr[colname].ToString());
}
}
row += 1;
}
Sheet.setAutoFitArea(0, 0, row, dv.Columns.Count);
string filename = "export_{0}~{1}.xlsx";
filename = string.Format(filename, dtSD.Value.ToString("yyyyMMdd"), dtED.Value.ToString("yyyyMMdd"));
var sd = new SaveFileDialog();
sd.Filter = "xlsx|*.xlsx";
sd.FileName = filename;
sd.RestoreDirectory = true;
if (sd.ShowDialog() != System.Windows.Forms.DialogResult.OK) return;
try
{
xls.save(sd.FileName);
Pub.log.Add("Export Data : " + sd.FileName);
if (Util.MsgQ("다음 파일이 생성되었습니다.\n\n" + sd.FileName + "\n\n파일을 확인하시겠습니까?") == DialogResult.Yes)
Util.RunExplorer(sd.FileName);
}
catch (Exception ex)
{
Pub.log.AddE(ex.Message);
}
}
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{
saveXLS();
}
private void label2_Click(object sender, EventArgs e)
{
}
private void viewXMLToolStripMenuItem_Click(object sender, EventArgs e)
{
//var drv = this.bs.Current as DataRowView;
//if (drv == null) return;
//var dr = drv.Row as DataSet1.Component_Reel_ResultRow;
//var file = dr.info_filename;
//if (file == "") return;
//Util.RunExplorer(file);
}
private void dv_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
{
//var drv = this.bs.Current as DataRowView;
//if (drv == null) return;
//var dr = drv.Row as DataSet1.Component_Reel_ResultRow;
//var fi = new System.IO.FileInfo(dr.info_filename);
//if (fi.Exists == false)
//{
// Util.MsgE("결과 파일이 없습니다");
// return;
//}
//else
//{
// Util.RunExplorer(fi.Directory.FullName);
//}
}
private void sendDataToolStripMenuItem_Click(object sender, EventArgs e)
{
var drv = this.bs.Current as DataRowView;
if (drv == null) return;
var dr = drv.Row as DataSet1.Component_Reel_ResultRow;
var data = dr.QR;
var bcd = new StdLabelPrint.CAmkorSTDBarcode(data);
if (bcd.VENDERNAME.isEmpty() && dr.VNAME.isEmpty() == false)
bcd.VENDERNAME = dr.VNAME.Trim();
var reeldata = new StdLabelPrint.Reel();
reeldata.id = bcd.RID;
reeldata.manu = bcd.VENDERNAME;
reeldata.lot = bcd.VLOT;
reeldata.mfg = bcd.MFGDate;
reeldata.qty = bcd.QTY;
reeldata.sid = bcd.SID;
reeldata.partnum = bcd.PARTNO;
PrinterL.Print(reeldata, false, Pub.setting.DrawBorder, Pub.setting.PrinterForm7);
}
private void btSetting_Click(object sender, EventArgs e)
{
var f = new fSetting();
f.ShowDialog();
PrinterL.printerName = Pub.setting.PrinterName;
}
private void button1_Click(object sender, EventArgs e)
{
var str = tbFind.Text.Trim();
var f = new Dialog.fTouchKeyFull("검색어 입력", str);
if (f.ShowDialog() != DialogResult.OK) return;
tbFind.Text = f.tbInput.Text.Trim();
FindData();
}
}
}

File diff suppressed because it is too large Load Diff

76
Handler/ResultView/fSetting.Designer.cs generated Normal file
View File

@@ -0,0 +1,76 @@

namespace ResultView
{
partial class fSetting
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.button1 = new System.Windows.Forms.Button();
this.propertyGrid1 = new System.Windows.Forms.PropertyGrid();
this.SuspendLayout();
//
// button1
//
this.button1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.button1.Location = new System.Drawing.Point(0, 457);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(411, 58);
this.button1.TabIndex = 0;
this.button1.Text = "button1";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// propertyGrid1
//
this.propertyGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
this.propertyGrid1.Location = new System.Drawing.Point(0, 0);
this.propertyGrid1.Name = "propertyGrid1";
this.propertyGrid1.Size = new System.Drawing.Size(411, 457);
this.propertyGrid1.TabIndex = 1;
//
// fSetting
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(411, 515);
this.Controls.Add(this.propertyGrid1);
this.Controls.Add(this.button1);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "fSetting";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "fSetting";
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Button button1;
private System.Windows.Forms.PropertyGrid propertyGrid1;
}
}

View File

@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ResultView
{
public partial class fSetting : Form
{
public fSetting()
{
InitializeComponent();
this.propertyGrid1.SelectedObject = Pub.setting;
}
private void button1_Click(object sender, EventArgs e)
{
this.Validate();
Pub.setting.Save();
DialogResult = DialogResult.OK;
}
}
}

View File

@@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@@ -0,0 +1,187 @@
namespace ResultView.Dialog
{
partial class fTouchKeyFull
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.touchKeyFull1 = new arCtl.TouchKeyFull();
this.tbInput = new System.Windows.Forms.TextBox();
this.lbTitle = new arCtl.arLabel();
this.button1 = new System.Windows.Forms.Button();
this.panel1 = new System.Windows.Forms.Panel();
this.button3 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.panel1.SuspendLayout();
this.SuspendLayout();
//
// touchKeyFull1
//
this.touchKeyFull1.Dock = System.Windows.Forms.DockStyle.Fill;
this.touchKeyFull1.Font = new System.Drawing.Font("Consolas", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.touchKeyFull1.Location = new System.Drawing.Point(6, 96);
this.touchKeyFull1.Name = "touchKeyFull1";
this.touchKeyFull1.Size = new System.Drawing.Size(1088, 359);
this.touchKeyFull1.TabIndex = 0;
this.touchKeyFull1.keyClick += new arCtl.TouchKeyFull.KeyClickHandler(this.touchKeyFull1_keyClick);
//
// tbInput
//
this.tbInput.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.tbInput.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tbInput.Dock = System.Windows.Forms.DockStyle.Fill;
this.tbInput.Font = new System.Drawing.Font("맑은 고딕", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.tbInput.ForeColor = System.Drawing.Color.White;
this.tbInput.Location = new System.Drawing.Point(100, 0);
this.tbInput.Name = "tbInput";
this.tbInput.Size = new System.Drawing.Size(888, 46);
this.tbInput.TabIndex = 0;
this.tbInput.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// lbTitle
//
this.lbTitle.BackColor = System.Drawing.Color.Gray;
this.lbTitle.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
this.lbTitle.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.lbTitle.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
this.lbTitle.BorderColorOver = System.Drawing.Color.DarkBlue;
this.lbTitle.BorderSize = new System.Windows.Forms.Padding(1);
this.lbTitle.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.lbTitle.Cursor = System.Windows.Forms.Cursors.Arrow;
this.lbTitle.Dock = System.Windows.Forms.DockStyle.Top;
this.lbTitle.Font = new System.Drawing.Font("Consolas", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbTitle.ForeColor = System.Drawing.Color.White;
this.lbTitle.GradientEnable = true;
this.lbTitle.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
this.lbTitle.GradientRepeatBG = false;
this.lbTitle.isButton = false;
this.lbTitle.Location = new System.Drawing.Point(6, 5);
this.lbTitle.MouseDownColor = System.Drawing.Color.Yellow;
this.lbTitle.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.lbTitle.msg = null;
this.lbTitle.Name = "lbTitle";
this.lbTitle.ProgressBorderColor = System.Drawing.Color.Black;
this.lbTitle.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.lbTitle.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.lbTitle.ProgressEnable = false;
this.lbTitle.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.lbTitle.ProgressForeColor = System.Drawing.Color.Black;
this.lbTitle.ProgressMax = 100F;
this.lbTitle.ProgressMin = 0F;
this.lbTitle.ProgressPadding = new System.Windows.Forms.Padding(0);
this.lbTitle.ProgressValue = 0F;
this.lbTitle.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.lbTitle.Sign = "";
this.lbTitle.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.lbTitle.SignColor = System.Drawing.Color.Yellow;
this.lbTitle.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.lbTitle.Size = new System.Drawing.Size(1088, 44);
this.lbTitle.TabIndex = 2;
this.lbTitle.Text = "INPUT";
this.lbTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.lbTitle.TextShadow = true;
this.lbTitle.TextVisible = true;
//
// button1
//
this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.button1.Font = new System.Drawing.Font("Consolas", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button1.Location = new System.Drawing.Point(1028, 11);
this.button1.Margin = new System.Windows.Forms.Padding(0);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(60, 34);
this.button1.TabIndex = 3;
this.button1.Text = "닫기";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// panel1
//
this.panel1.Controls.Add(this.tbInput);
this.panel1.Controls.Add(this.button3);
this.panel1.Controls.Add(this.button2);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(6, 49);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(1088, 47);
this.panel1.TabIndex = 4;
//
// button3
//
this.button3.Dock = System.Windows.Forms.DockStyle.Right;
this.button3.Location = new System.Drawing.Point(988, 0);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(100, 47);
this.button3.TabIndex = 1;
this.button3.Text = "1문자 삭제";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.button3_Click);
//
// button2
//
this.button2.Dock = System.Windows.Forms.DockStyle.Left;
this.button2.Location = new System.Drawing.Point(0, 0);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(100, 47);
this.button2.TabIndex = 0;
this.button2.Text = "1문자 삭제";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// fTouchKeyFull
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(18)))), ((int)(((byte)(18)))));
this.ClientSize = new System.Drawing.Size(1100, 460);
this.Controls.Add(this.touchKeyFull1);
this.Controls.Add(this.panel1);
this.Controls.Add(this.button1);
this.Controls.Add(this.lbTitle);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.KeyPreview = true;
this.Name = "fTouchKeyFull";
this.Padding = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "fTouchKeyFull";
this.Load += new System.EventHandler(this.fTouchKeyFull_Load);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private arCtl.TouchKeyFull touchKeyFull1;
private arCtl.arLabel lbTitle;
public System.Windows.Forms.TextBox tbInput;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.Button button2;
}
}

View File

@@ -0,0 +1,142 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace ResultView.Dialog
{
public partial class fTouchKeyFull : Form
{
public fTouchKeyFull(string title, string value)
{
InitializeComponent();
this.lbTitle.Text = title;
this.tbInput.Text = value;
this.KeyDown += (s1, e1) =>
{
if (e1.KeyCode == Keys.Escape)
this.Close();
};
this.lbTitle.MouseMove += LbTitle_MouseMove;
this.lbTitle.MouseUp += LbTitle_MouseUp;
this.lbTitle.MouseDown += LbTitle_MouseDown;
}
private void fTouchKeyFull_Load(object sender, EventArgs e)
{
this.Show();
//'Application.DoEvents();
this.tbInput.SelectAll();
this.tbInput.Focus();
}
#region "Mouse Form Move"
private Boolean fMove = false;
private Point MDownPos;
private void LbTitle_MouseMove(object sender, MouseEventArgs e)
{
if (fMove)
{
Point offset = new Point(e.X - MDownPos.X, e.Y - MDownPos.Y);
this.Left += offset.X;
this.Top += offset.Y;
offset = new Point(0, 0);
}
}
private void LbTitle_MouseUp(object sender, MouseEventArgs e)
{
fMove = false;
}
private void LbTitle_MouseDown(object sender, MouseEventArgs e)
{
MDownPos = new Point(e.X, e.Y);
fMove = true;
}
#endregion
private void touchKeyFull1_keyClick(string key)
{
switch (key)
{
case "CLR":
this.tbInput.Text = string.Empty;
break;
case "BACK":
if (this.tbInput.SelectionLength > 0)
{
//특정영역이 선택되었다
var head = tbInput.Text.Substring(0, tbInput.SelectionStart);
var tail = tbInput.Text.Substring(tbInput.SelectionLength + tbInput.SelectionStart);
tbInput.Text = head + tail;
tbInput.SelectionStart = head.Length;
tbInput.SelectionLength = 0;
}
else
{
var si = this.tbInput.SelectionStart - 1;
var sl = this.tbInput.SelectionLength;
if(si >= 0)
{
var head = tbInput.Text.Substring(0, si);
var tail = tbInput.Text.Substring(si + 1);
tbInput.Text = head + tail;
tbInput.SelectionStart = head.Length;
tbInput.SelectionLength = 0;
}
}
break;
case "ENTER":
this.DialogResult = DialogResult.OK;
break;
default:
var si2 = this.tbInput.SelectionStart ;
var head2 = tbInput.Text.Substring(0, si2);
var tail2 = tbInput.Text.Substring(si2 );
tbInput.Text = head2 + key + tail2;
tbInput.SelectionStart = head2.Length+1;
tbInput.SelectionLength = 0;
//this.tbInput.Text += key;
//this.tbInput.SelectionStart = this.tbInput.TextLength;
break;
}
this.tbInput.Focus();
}
private void button1_Click(object sender, EventArgs e)
{
this.Close();
}
private void button2_Click(object sender, EventArgs e)
{
//앞에서 삭제
if (this.tbInput.Text.Length < 1) return;
if (this.tbInput.Text.Length < 2) tbInput.Text = string.Empty;
else tbInput.Text = tbInput.Text.Substring(1);
tbInput.SelectionStart = 0;// this.tbInput.TextLength;
tbInput.Focus();
}
private void button3_Click(object sender, EventArgs e)
{
//두에서 삭제
if (this.tbInput.Text.Length < 1) return;
if (this.tbInput.Text.Length < 2) tbInput.Text = string.Empty;
else tbInput.Text = tbInput.Text.Substring(0, tbInput.Text.Length - 1);
tbInput.SelectionStart = this.tbInput.TextLength;
tbInput.Focus();
}
}
}

View File

@@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

Binary file not shown.