From da458077fb008ba91b5552130ce78ae0c0caa30f Mon Sep 17 00:00:00 2001 From: duhe <226547893@qq.com> Date: 星期一, 09 十二月 2024 16:50:29 +0800 Subject: [PATCH] 四维尔工业二期:根据plc采集信息,使用MQTT通讯,实现接收信息后打印条码 --- PayM/bin/x86/Debug/SQLHelper.dll | 0 PayM/obj/x86/Debug/PayM.csproj.GenerateResource.cache | 0 LMES/ClsShowMod.cs | 7 NETERPNoWin/obj/x86/Debug/NETERPNoWin.csproj.AssemblyReference.cache | 0 PayM/bin/x86/Debug/DAL.dll | 0 PayM/obj/x86/Debug/PayM.csproj.ResolveComReference.cache | 0 WarM/条码打印/Gy_BarCodeBill_automaticallyByPLC_New_Change.resx | 769 ++++++++ PayM/bin/x86/Debug/DBUtility.pdb | 0 PayM/bin/x86/Debug/Pub_Control.pdb | 0 PayM/obj/x86/Debug/PayM.csproj.CoreCompileInputs.cache | 2 WarM/packages.config | 4 PayM/obj/x86/Debug/Interop.gregn6Lib.dll | 0 PayM/bin/x86/Debug/Pub_Class.pdb | 0 PayM/obj/x86/Debug/PayM.pdb | 0 WarM/条码打印/Gy_BarCodeBill_automaticallyByPLC_New_Change.cs | 2639 +++++++++++++++++++++++++++++ PayM/bin/x86/Debug/Pub_Control.dll | 0 PayM/obj/x86/Debug/PayM.dll | 0 WarM/WarM.csproj | 18 PayM/bin/x86/Debug/Model.dll | 0 PayM/bin/x86/Debug/Pub_Class.dll | 0 PayM/bin/x86/Debug/SQLHelper.pdb | 0 NETERPNoWin/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache | 0 PayM/bin/x86/Debug/Interop.gregn6Lib.dll | 0 PayM/bin/x86/Debug/Model.pdb | 0 WarM/dll/Newtonsoft.Json.dll | 0 PayM/bin/x86/Debug/BLL.dll | 0 PayM/bin/x86/Debug/BLL.pdb | 0 PayM/bin/x86/Debug/DAL.pdb | 0 PayM/bin/x86/Debug/PayM.dll | 0 PayM/bin/x86/Debug/PayM.pdb | 0 WarM/条码打印/Gy_BarCodeBill_automaticallyByPLC_New_Change.designer.cs | 1837 ++++++++++++++++++++ PayM/bin/x86/Debug/DBUtility.dll | 0 32 files changed, 5,275 insertions(+), 1 deletions(-) diff --git a/LMES/ClsShowMod.cs b/LMES/ClsShowMod.cs index d8797f5..49ef19e 100644 --- a/LMES/ClsShowMod.cs +++ b/LMES/ClsShowMod.cs @@ -4044,6 +4044,13 @@ oGy_PackBarCodeBill_automaticallyByPLC.Show(); oMainForm.AddTabPage(oGy_PackBarCodeBill_automaticallyByPLC); break; + case "gy_barcodebill_automaticallybyplc_new_change": + //权限 + Gy_BarCodeBill_automaticallyByPLC_New_Change oGy_BarCodeBill_automaticallyByPLC_New_Change = new Gy_BarCodeBill_automaticallyByPLC_New_Change(); + oGy_BarCodeBill_automaticallyByPLC_New_Change.MdiParent = oMain; + oGy_BarCodeBill_automaticallyByPLC_New_Change.Show(); + oMainForm.AddTabPage(oGy_BarCodeBill_automaticallyByPLC_New_Change); + break; default: break; } diff --git a/NETERPNoWin/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/NETERPNoWin/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache index 3e9def8..1a738a1 100644 --- a/NETERPNoWin/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache +++ b/NETERPNoWin/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache Binary files differ diff --git a/NETERPNoWin/obj/x86/Debug/NETERPNoWin.csproj.AssemblyReference.cache b/NETERPNoWin/obj/x86/Debug/NETERPNoWin.csproj.AssemblyReference.cache index 4b582c6..6fcb71d 100644 --- a/NETERPNoWin/obj/x86/Debug/NETERPNoWin.csproj.AssemblyReference.cache +++ b/NETERPNoWin/obj/x86/Debug/NETERPNoWin.csproj.AssemblyReference.cache Binary files differ diff --git a/PayM/bin/x86/Debug/BLL.dll b/PayM/bin/x86/Debug/BLL.dll index 4484c48..4aae9ff 100644 --- a/PayM/bin/x86/Debug/BLL.dll +++ b/PayM/bin/x86/Debug/BLL.dll Binary files differ diff --git a/PayM/bin/x86/Debug/BLL.pdb b/PayM/bin/x86/Debug/BLL.pdb index f5f0985..40b29e5 100644 --- a/PayM/bin/x86/Debug/BLL.pdb +++ b/PayM/bin/x86/Debug/BLL.pdb Binary files differ diff --git a/PayM/bin/x86/Debug/DAL.dll b/PayM/bin/x86/Debug/DAL.dll index e6092cf..b6ef7a0 100644 --- a/PayM/bin/x86/Debug/DAL.dll +++ b/PayM/bin/x86/Debug/DAL.dll Binary files differ diff --git a/PayM/bin/x86/Debug/DAL.pdb b/PayM/bin/x86/Debug/DAL.pdb index 34f7d1d..a168e19 100644 --- a/PayM/bin/x86/Debug/DAL.pdb +++ b/PayM/bin/x86/Debug/DAL.pdb Binary files differ diff --git a/PayM/bin/x86/Debug/DBUtility.dll b/PayM/bin/x86/Debug/DBUtility.dll index 32b731b..aa58ede 100644 --- a/PayM/bin/x86/Debug/DBUtility.dll +++ b/PayM/bin/x86/Debug/DBUtility.dll Binary files differ diff --git a/PayM/bin/x86/Debug/DBUtility.pdb b/PayM/bin/x86/Debug/DBUtility.pdb index 8a85e32..83ad0cd 100644 --- a/PayM/bin/x86/Debug/DBUtility.pdb +++ b/PayM/bin/x86/Debug/DBUtility.pdb Binary files differ diff --git a/PayM/bin/x86/Debug/Interop.gregn6Lib.dll b/PayM/bin/x86/Debug/Interop.gregn6Lib.dll index c78d0ae..ccb2e64 100644 --- a/PayM/bin/x86/Debug/Interop.gregn6Lib.dll +++ b/PayM/bin/x86/Debug/Interop.gregn6Lib.dll Binary files differ diff --git a/PayM/bin/x86/Debug/Model.dll b/PayM/bin/x86/Debug/Model.dll index a0d3db6..31bd848 100644 --- a/PayM/bin/x86/Debug/Model.dll +++ b/PayM/bin/x86/Debug/Model.dll Binary files differ diff --git a/PayM/bin/x86/Debug/Model.pdb b/PayM/bin/x86/Debug/Model.pdb index 5bcfab9..8c157fd 100644 --- a/PayM/bin/x86/Debug/Model.pdb +++ b/PayM/bin/x86/Debug/Model.pdb Binary files differ diff --git a/PayM/bin/x86/Debug/PayM.dll b/PayM/bin/x86/Debug/PayM.dll index 969ff2f..be37781 100644 --- a/PayM/bin/x86/Debug/PayM.dll +++ b/PayM/bin/x86/Debug/PayM.dll Binary files differ diff --git a/PayM/bin/x86/Debug/PayM.pdb b/PayM/bin/x86/Debug/PayM.pdb index 73ac4b7..fae0448 100644 --- a/PayM/bin/x86/Debug/PayM.pdb +++ b/PayM/bin/x86/Debug/PayM.pdb Binary files differ diff --git a/PayM/bin/x86/Debug/Pub_Class.dll b/PayM/bin/x86/Debug/Pub_Class.dll index 33c892e..ec93df4 100644 --- a/PayM/bin/x86/Debug/Pub_Class.dll +++ b/PayM/bin/x86/Debug/Pub_Class.dll Binary files differ diff --git a/PayM/bin/x86/Debug/Pub_Class.pdb b/PayM/bin/x86/Debug/Pub_Class.pdb index d62aaad..df51ad6 100644 --- a/PayM/bin/x86/Debug/Pub_Class.pdb +++ b/PayM/bin/x86/Debug/Pub_Class.pdb Binary files differ diff --git a/PayM/bin/x86/Debug/Pub_Control.dll b/PayM/bin/x86/Debug/Pub_Control.dll index bbdfb6c..116673f 100644 --- a/PayM/bin/x86/Debug/Pub_Control.dll +++ b/PayM/bin/x86/Debug/Pub_Control.dll Binary files differ diff --git a/PayM/bin/x86/Debug/Pub_Control.pdb b/PayM/bin/x86/Debug/Pub_Control.pdb index e1e3ada..dd7f668 100644 --- a/PayM/bin/x86/Debug/Pub_Control.pdb +++ b/PayM/bin/x86/Debug/Pub_Control.pdb Binary files differ diff --git a/PayM/bin/x86/Debug/SQLHelper.dll b/PayM/bin/x86/Debug/SQLHelper.dll index 6626b6b..d89ee30 100644 --- a/PayM/bin/x86/Debug/SQLHelper.dll +++ b/PayM/bin/x86/Debug/SQLHelper.dll Binary files differ diff --git a/PayM/bin/x86/Debug/SQLHelper.pdb b/PayM/bin/x86/Debug/SQLHelper.pdb index e6e4736..d69f371 100644 --- a/PayM/bin/x86/Debug/SQLHelper.pdb +++ b/PayM/bin/x86/Debug/SQLHelper.pdb Binary files differ diff --git a/PayM/obj/x86/Debug/Interop.gregn6Lib.dll b/PayM/obj/x86/Debug/Interop.gregn6Lib.dll index c78d0ae..ccb2e64 100644 --- a/PayM/obj/x86/Debug/Interop.gregn6Lib.dll +++ b/PayM/obj/x86/Debug/Interop.gregn6Lib.dll Binary files differ diff --git a/PayM/obj/x86/Debug/PayM.csproj.CoreCompileInputs.cache b/PayM/obj/x86/Debug/PayM.csproj.CoreCompileInputs.cache index 5f7efcb..3362526 100644 --- a/PayM/obj/x86/Debug/PayM.csproj.CoreCompileInputs.cache +++ b/PayM/obj/x86/Debug/PayM.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -4af767f9af5d42f2c393c62e78567bbdb3e4f775 +76d6e649eaf418858fb80b047dbac5a1964f90f8 diff --git a/PayM/obj/x86/Debug/PayM.csproj.GenerateResource.cache b/PayM/obj/x86/Debug/PayM.csproj.GenerateResource.cache index 0158f6a..e9384f8 100644 --- a/PayM/obj/x86/Debug/PayM.csproj.GenerateResource.cache +++ b/PayM/obj/x86/Debug/PayM.csproj.GenerateResource.cache Binary files differ diff --git a/PayM/obj/x86/Debug/PayM.csproj.ResolveComReference.cache b/PayM/obj/x86/Debug/PayM.csproj.ResolveComReference.cache index 4c5dee8..9b052d7 100644 --- a/PayM/obj/x86/Debug/PayM.csproj.ResolveComReference.cache +++ b/PayM/obj/x86/Debug/PayM.csproj.ResolveComReference.cache Binary files differ diff --git a/PayM/obj/x86/Debug/PayM.dll b/PayM/obj/x86/Debug/PayM.dll index 969ff2f..be37781 100644 --- a/PayM/obj/x86/Debug/PayM.dll +++ b/PayM/obj/x86/Debug/PayM.dll Binary files differ diff --git a/PayM/obj/x86/Debug/PayM.pdb b/PayM/obj/x86/Debug/PayM.pdb index 73ac4b7..fae0448 100644 --- a/PayM/obj/x86/Debug/PayM.pdb +++ b/PayM/obj/x86/Debug/PayM.pdb Binary files differ diff --git a/WarM/WarM.csproj b/WarM/WarM.csproj index 0bdfff6..fcb5a72 100644 --- a/WarM/WarM.csproj +++ b/WarM/WarM.csproj @@ -78,7 +78,14 @@ <HintPath>..\OCX\Interop.gregn6Lib.dll</HintPath> <EmbedInteropTypes>True</EmbedInteropTypes> </Reference> + <Reference Include="M2Mqtt.Net, Version=4.3.0.0, Culture=neutral, processorArchitecture=MSIL"> + <HintPath>..\packages\M2Mqtt.4.3.0.0\lib\net45\M2Mqtt.Net.dll</HintPath> + </Reference> <Reference Include="Microsoft.VisualBasic" /> + <Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> + <SpecificVersion>False</SpecificVersion> + <HintPath>dll\Newtonsoft.Json.dll</HintPath> + </Reference> <Reference Include="NPOI, Version=2.1.3.1, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL"> <SpecificVersion>False</SpecificVersion> <HintPath>..\OCX\NPOI.dll</HintPath> @@ -700,6 +707,12 @@ <Compile Include="鏉$爜鎵撳嵃\Frm_Split.Designer.cs"> <DependentUpon>Frm_Split.cs</DependentUpon> </Compile> + <Compile Include="鏉$爜鎵撳嵃\Gy_BarCodeBill_automaticallyByPLC_New_Change.cs"> + <SubType>Form</SubType> + </Compile> + <Compile Include="鏉$爜鎵撳嵃\Gy_BarCodeBill_automaticallyByPLC_New_Change.designer.cs"> + <DependentUpon>Gy_BarCodeBill_automaticallyByPLC_New_Change.cs</DependentUpon> + </Compile> <Compile Include="鏉$爜鎵撳嵃\Gy_CusBarCodeBillList.cs"> <SubType>Form</SubType> </Compile> @@ -1181,6 +1194,10 @@ <EmbeddedResource Include="鏉$爜鎵撳嵃\Frm_Split.resx"> <DependentUpon>Frm_Split.cs</DependentUpon> </EmbeddedResource> + <EmbeddedResource Include="鏉$爜鎵撳嵃\Gy_BarCodeBill_automaticallyByPLC_New_Change.resx"> + <DependentUpon>Gy_BarCodeBill_automaticallyByPLC_New_Change.cs</DependentUpon> + <SubType>Designer</SubType> + </EmbeddedResource> <EmbeddedResource Include="鏉$爜鎵撳嵃\Gy_CusBarCodeBillList.resx"> <DependentUpon>Gy_CusBarCodeBillList.cs</DependentUpon> <SubType>Designer</SubType> @@ -1238,6 +1255,7 @@ </ItemGroup> <ItemGroup> <None Include="app.config" /> + <None Include="packages.config" /> <None Include="Properties\Settings.settings"> <Generator>SettingsSingleFileGenerator</Generator> <LastGenOutput>Settings.Designer.cs</LastGenOutput> diff --git a/WarM/dll/Newtonsoft.Json.dll b/WarM/dll/Newtonsoft.Json.dll new file mode 100644 index 0000000..341d08f --- /dev/null +++ b/WarM/dll/Newtonsoft.Json.dll Binary files differ diff --git a/WarM/packages.config b/WarM/packages.config new file mode 100644 index 0000000..b00e0c5 --- /dev/null +++ b/WarM/packages.config @@ -0,0 +1,4 @@ +锘�<?xml version="1.0" encoding="utf-8"?> +<packages> + <package id="M2Mqtt" version="4.3.0.0" targetFramework="net45" /> +</packages> \ No newline at end of file diff --git "a/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_BarCodeBill_automaticallyByPLC_New_Change.cs" "b/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_BarCodeBill_automaticallyByPLC_New_Change.cs" new file mode 100644 index 0000000..37845bc --- /dev/null +++ "b/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_BarCodeBill_automaticallyByPLC_New_Change.cs" @@ -0,0 +1,2639 @@ +锘縰sing System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Text; +using System.Windows.Forms; +using gregn6Lib; +using Pub_Class; +using System.Threading; +using System.Net.Sockets; +using System.Net; +using System.Drawing.Printing; +using System.IO; +using System.Management; +using System.Net.NetworkInformation; +using System.Printing; +using uPLibrary.Networking.M2Mqtt; +using uPLibrary.Networking.M2Mqtt.Messages; + +namespace WarM +{ + public partial class Gy_BarCodeBill_automaticallyByPLC_New_Change : Form + { + public Gy_BarCodeBill_automaticallyByPLC_New_Change() + { + InitializeComponent(); + } + //瀹氫箟 + public const Int16 HTagCol = 0; + public const Int16 HSnoCol = 1; + public const Int16 HMainIDCol = 2; + public const Int16 HSubIDCol = 3; + public const Int16 HBillNoCol = 4; + public const Int16 HBillTypeCol = 5; + public const Int16 HMaterIDCol = 6; + public const Int16 HMaterNumberCol = 7; + public const Int16 HMaterNameCol = 8; + public const Int16 HPinfanCol = 9;// + public const Int16 HMaterModelCol = 10;// + public const Int16 HModelCol = 11; + public const Int16 HAuxPropIDCol = 12; + public const Int16 HAuxPropNumberCol = 13; + public const Int16 HAuxPropNameCol = 14; + public const Int16 HUnitIDCol = 15; + public const Int16 HUnitNumberCol = 16; + public const Int16 HUnitNameCol = 17; + public const Int16 HBarCodeTypeCol = 18; + public const Int16 HBatchManagerCol = 19; + public const Int16 HBatchNoCol = 20; + public const Int16 HGiveAwayFlagCol = 21; + public const Int16 HQtyCol = 22; + public const Int16 HMinQtyCol = 23; + public const Int16 HBQtyCol = 24; + public const Int16 HPackQtyCol = 25; + public const Int16 HProduceDateCol = 26; + public const Int16 HExpiryDateCol = 27; + public const Int16 HDeptIDCol = 28; + public const Int16 HDeptNumberCol = 29; + public const Int16 HDeptNameCol = 30; + public const Int16 HSourceIDCol = 31; + public const Int16 HSourceNumberCol = 32; + public const Int16 HSourceNameCol = 33; + public const Int16 HDateCol = 34; + public const Int16 HEndDateCol = 35; + public const Int16 HSupIDCol = 36; + public const Int16 HSupNumberCol = 37; + public const Int16 HSupNameCol = 38; + public const Int16 HCusIDCol = 39; + public const Int16 HCusNumberCol = 40; + public const Int16 HCusNameCol = 41; + public const Int16 HCusTypeCol = 42; + public const Int16 HSourceInterIDCol = 43; + public const Int16 HSourceEntryIDCol = 44; + public const Int16 HSourceBillNoCol = 45; + public const Int16 HSourceBillTypeCol = 46; + public const Int16 HInstructIDCol = 47; + public const Int16 HInstructNoCol = 48; + public const Int16 HSeOrderBillIDCol = 49; + public const Int16 HSeOrderBillNoCol = 50; + public const Int16 HSeOrderSEQCol = 51; + public const Int16 HWhIDCol = 52; + public const Int16 HWhNumberCol = 53; + public const Int16 HWhNameCol = 54; + public const Int16 HSPIDCol = 55; + public const Int16 HSPNumberCol = 56; + public const Int16 HSPNameCol = 57; + public const Int16 HinitQtyCol = 58; + public const Int16 HRemarkCol = 59; + public const Int16 HPinfanBarCodeCol = 60; + public const Int16 HMTONoCol = 61; + public const Int16 HShowDateCol = 62; + public const Int16 HInnerBillNoCol = 63; + public const Int16 HMakerCol = 64; + public const Int16 HISKFPERIODCol = 65; + public const Int16 HEXPUNITCol = 66; + public const Int16 HEXPPERIODCol = 67; + + public Int16 HSelectCol = 0; + public Int16 HSno2Col = 1; + public Int16 HTMCol = 2; + public Int16 HBarCodeType2Col = 3; + public Int16 HMaterID2Col = 4; + public Int16 HMaterNumber2Col = 5; + public Int16 HMaterName2Col = 6; + public Int16 HPinfan2Col = 7; + public Int16 HMaterModel2Col = 8; + public Int16 HModel2Col = 9; + public Int16 HAuxPropID2Col = 10; + public Int16 HAuxPropNumber2Col = 11; + public Int16 HAuxPropName2Col = 12; + public Int16 HBatchNo2Col = 13; + public Int16 HGiveAwayFlag2Col = 14; + public Int16 HUnitID2Col = 15; + public Int16 HUnitNumber2Col = 16; + public Int16 HUnitName2Col = 17; + public Int16 HQty2Col = 18; + public Int16 HWeiCol = 19; + public Int16 HPrintCol = 20; + public Int16 HDeptID2Col = 21; + public Int16 HDeptNumber2Col = 22; + public Int16 HDeptName2Col = 23; + public Int16 HSourceID2Col = 24; + public Int16 HSourceNumber2Col = 25; + public Int16 HSourceName2Col = 26; + public Int16 HDate2Col = 27; + public Int16 HEndDate2Col = 28; + public Int16 HBarcodeNoCol = 29; + public Int16 HBarcodeQtysCol = 30; + public Int16 HSupID2Col = 31; + public Int16 HSupNumber2Col = 32; + public Int16 HSupName2Col = 33; + public Int16 HCusID2Col = 34; + public Int16 HCusNumber2Col = 35; + public Int16 HCusName2Col = 36; + public Int16 HCusType2Col = 37; + public Int16 HSourceInterID2Col = 38; + public Int16 HSourceEntryID2Col = 39; + public Int16 HSourceBillNo2Col = 40; + public Int16 HSourceBillType2Col = 41; + public Int16 HInstructID2Col = 42; + public Int16 HInstructNo2Col = 43; + public Int16 HSeOrderBillID2Col = 44; + public Int16 HSeOrderBillNo2Col = 45; + public Int16 HSeOrderSEQ2Col = 46; + public Int16 HWhID2Col = 47; + public Int16 HWhNumber2Col = 48; + public Int16 HWhName2Col = 49; + public Int16 HSPID2Col = 50; + public Int16 HSPNumber2Col = 51; + public Int16 HSPName2Col = 52; + public Int16 HRemark2Col = 53; + public Int16 HPinfanBarCode2Col = 54; + public Int16 HMTONo2Col = 55; + public Int16 HShowDate2Col = 56; + public Int16 HInnerBillNo2Col = 57; + public Int16 HMaker2Col = 58; + public Int16 HEntryID2Col = 59; + public Int16 HProduceDate2Col = 60; + public Int16 HExpiryDate2Col = 61; + public Int16 HISKFPERIOD2Col = 62; + public Int16 HEXPUNIT2Col = 63; + public Int16 HEXPPERIOD2Col = 64; + // + public string ModName = "85"; + public string ModCaption = "鏉$爜鐢熸垚"; + public const string ModRightName = "Gy_BarCodeBill"; + public const string ModRightNameSourceQty = ModRightName + "_SourceQty"; //瓒呮簮鍗曟暟閲忔帶鍒� + public bool BillChange; // + + public DBUtility.ClsPub.Enum_BillStatus BillStatus; + public DBUtility.ClsXt_BaseBill BaseBill; + //public WarM.WMSWeb.WebService1 oWeb = new WarM.WMSWeb.WebService1(); + public Int64 KeyID; + public bool grdStatus; + //public DAL.ClsGy_BarCodeBill BillNew =new DAL.ClsGy_BarCodeBill(); + //public DAL.ClsGy_BarCodeBill BillOld = new DAL.ClsGy_BarCodeBill(); + public DAL.ClsGy_BarCodeBill_Ctl oBar = new DAL.ClsGy_BarCodeBill_Ctl(); + ClsGridViewSum oSumGrid = new ClsGridViewSum(); + SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); + public int selectRow = 0; + public int selectRow2 = 0; + public Int64 HInterID = 0; //鍐呯爜 + public Int64 HOrgID = -1; + public string HOrgNumber = ""; + public string ERPMode = ""; //ERP妯″紡锛圵ISE銆丆LOUD锛� + public string CampanyName = ""; //瀹㈡埛瀹氬埗鍖栧悕绉� + public string SourceQtyCtl = ""; //瓒呮簮鍗曟暟閲忔帶鍒� + public long PrintQty = 0; //鍏佽鏉$爜鎵撳嵃娆℃暟 + public string PrintQtyCtl = ""; //鏉$爜鎵撳嵃娆℃暟鎺у埗 + public string UpdatePrintQtyCtl = ""; //鏉$爜鎵撳嵃娆℃暟鏇存柊 + //------------------------------------------------------------------------- + + // + //Socket閫氳 + Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); + long produceQty = 0; //鎺ユ敹閫氳锛岄渶瑕佺敓鎴愬嚑涓潯鐮� + + //MQTT閫氳 + public MqttClient client = null; + + GridppReport Report; + + + #region 涓昏鏂规硶 + #region 閫夋嫨婧愬崟 + //閫夋嫨婧愬崟鎺т欢鐐瑰嚮鏂规硶 + private void cmdSourceBillNo_Click_1(object sender, EventArgs e) + { + cmdSourceBillNo_Click(sender, e); + } + + //閫夊師鍗� + private void cmdSourceBillNo_Click(object sender, EventArgs e) + { + DAL.ClsGy_ORGANIZATIONS_View oClsGy_ORGANIZATIONS_View = new DAL.ClsGy_ORGANIZATIONS_View(); + if (oClsGy_ORGANIZATIONS_View.GetInfoByName(cmbHOrgID.Text)) + { + HOrgID = oClsGy_ORGANIZATIONS_View.omodel.HItemID; + } + if (HOrgID == -1) + { + MessageBox.Show("閫夋嫨缁勭粐鏈夐敊璇紒"); + return; + } + + if (cmbSourceBillType.Text.Trim() == "鐢熶骇璁㈠崟") + { + string sWhere = ""; + //绯荤粺鍙傛暟锛岀敓鎴愭潯鐮佹暟閲忓彲鍚﹁秴婧愬崟鏁伴噺鎺у埗锛圢涓轰笉鍙秴婧愬崟鏁伴噺锛� + if (SourceQtyCtl == "N") + { + sWhere = " and HOrgID =" + HOrgID.ToString() + " and 浠诲姟鏁伴噺>0 and 鐘舵�� = '寮�宸�' and 鐢熶骇绾�='" + comboBox_SourceNameParams.Text + "' "; + } + else + { + sWhere = " and HOrgID =" + HOrgID.ToString() + " and 鐘舵�� = '寮�宸�' and 鐢熶骇绾�='" + comboBox_SourceNameParams.Text + "' "; ; + } + + DAL.Cls_S_IFCLD_ICMOList1 oIFCLD_ICMOList = new DAL.Cls_S_IFCLD_ICMOList1(); + if (oIFCLD_ICMOList.Refresh(sWhere)) //閫夋嫨鍘熷崟 + { + FillSelectData(oIFCLD_ICMOList.oBillSelectColl); + } + } + else + { + + } + + //閫夋嫨婧愬崟鍚庯紝鍔犺浇璇ユ簮鍗曡褰曠墿鏂欏湪褰撳墠鏃ユ湡鐨勬潯鐮佸垪琛� + Display4(); + } + + // + private void FillSelectData(List<DBUtility.BillSelect> oList) + { + if (oList.Count != 1) + { + MessageBox.Show("璇烽�夋嫨涓�鏉℃暟鎹�!"); + return; + } + + + DataSet Ds; + oSumGrid.Changelock = true; + initGrid(); + int i = -1; + foreach (DBUtility.BillSelect oSelectRow in oList) + { + i = i + 1; + //鐢熶骇璁㈠崟 + if (oSelectRow.BillType == "3710") + { + grdMain.Rows.Add(); + grdMain.Rows[i].Cells[HTagCol].Value = "*"; + //寰楀埌淇℃伅 + Ds = oCn.RunProcReturn("exec h_p_Gy_BarCodeBill_ICMOBillList " + oSelectRow.BillMainID.ToString() + "," + oSelectRow.BillSubID.ToString() + ",'" + SourceQtyCtl + "'", "h_p_Gy_BarCodeBill_ICMOBillList"); + //Ds = oCn.RunProcReturn("select * from h_v_IFCLD_ICMOList where hmainid=" + oSelectRow.BillMainID + " and hsubid=" + oSelectRow.BillSubID, "h_v_IFCLD_ICMOList"); + //鍐欏叆淇℃伅 + Sub_WriteInForm(Ds.Tables[0], i); + } + } + // + oSumGrid.Changelock = false; + DBUtility.Xt_BaseBillFun.SetSumGrid(oSumGrid); + + if (grdMain.Rows.Count > 0) + { + //鏍规嵁婧愬崟璁剧疆琛ㄥご + textBox_HMaterNumber.Text = grdMain.Rows[0].Cells[HMaterNumberCol].Value.ToString(); + textBox_HMaterName.Text = grdMain.Rows[0].Cells[HMaterNameCol].Value.ToString(); + textBox_HMaterModel.Text = grdMain.Rows[0].Cells[HMaterModelCol].Value.ToString(); + long HMaterID = ClsPub.isLong(grdMain.Rows[i].Cells[HMaterIDCol].Value.ToString()); + Ds = oCn.RunProcReturn("select * from Gy_Material where HItemID = " + HMaterID + " and HUSEORGID =" + HOrgID, "Gy_Material"); + if (Ds != null && Ds.Tables[0].Rows.Count > 0) + { + string HBatchManager = Ds.Tables[0].Rows[0]["HBatchManager"].ToString(); + if (HBatchManager == "False") + { + radioButton_HIsUsingBatchNo.Checked = false; + } + else + { + radioButton_HIsUsingBatchNo.Checked = true; + } + } + //璁剧疆鎵瑰彿 + if (radioButton_HIsUsingBatchNo.Checked) + { + grdMain.Rows[0].Cells[HBatchNoCol].Value = getBatchNo(); + } + } + } + + //鏍规嵁TABLE鍐欏叆鐣岄潰(鐢熶骇浠诲姟鍗�) + private void Sub_WriteInForm(DataTable oTable, int i) + { + ////鍔犺浇琛ㄥご + //this.txtHDeptID.Tag = oTable.Rows[0]["HDeptID"].ToString(); + //this.txtHDeptID.Text = oTable.Rows[0]["閮ㄩ棬鍚嶇О"].ToString(); + ////鍔犺浇琛ㄤ綋 + grdMain.Rows[i].Cells[HTagCol].Value = "*"; + grdMain.Rows[i].Cells[HQtyCol].Value = ClsPub.isDoule(oTable.Rows[0]["鏈敓鎴愭潯鐮佹暟閲�"]); + grdMain.Rows[i].Cells[HinitQtyCol].Value = ClsPub.isDoule(oTable.Rows[0]["鏈敓鎴愭潯鐮佹暟閲�"]); + // + grdMain.Rows[i].Cells[HMainIDCol].Value = oTable.Rows[0]["hmainid"].ToString(); + grdMain.Rows[i].Cells[HSubIDCol].Value = oTable.Rows[0]["hsubid"].ToString(); + grdMain.Rows[i].Cells[HBillNoCol].Value = oTable.Rows[0]["鍗曟嵁鍙�"].ToString(); + grdMain.Rows[i].Cells[HSourceBillNoCol].Value = oTable.Rows[0]["鍗曟嵁鍙�"].ToString(); + grdMain.Rows[i].Cells[HBillTypeCol].Value = oTable.Rows[0]["HBillType"].ToString(); + grdMain.Rows[i].Cells[HDateCol].Value = oTable.Rows[0]["鏃ユ湡"].ToString(); //鍗氭棩 鏀舵枡鍗曟嵁鏃ユ湡 + grdMain.Rows[i].Cells[HShowDateCol].Value = dtpHDate.Value.ToShortDateString(); + grdMain.Rows[i].Cells[HSupIDCol].Value = oTable.Rows[0]["hsupid"].ToString(); + grdMain.Rows[i].Cells[HSupNumberCol].Value = oTable.Rows[0]["渚涘簲鍟嗕唬鐮�"].ToString(); + grdMain.Rows[i].Cells[HSupNameCol].Value = oTable.Rows[0]["渚涘簲鍟�"].ToString(); + grdMain.Rows[i].Cells[HDeptIDCol].Value = oTable.Rows[0]["HDeptID"].ToString(); + grdMain.Rows[i].Cells[HDeptNumberCol].Value = oTable.Rows[0]["閮ㄩ棬浠g爜"].ToString(); + grdMain.Rows[i].Cells[HDeptNameCol].Value = oTable.Rows[0]["閮ㄩ棬"].ToString(); + grdMain.Rows[i].Cells[HMaterIDCol].Value = oTable.Rows[0]["HMaterID"].ToString(); + grdMain.Rows[i].Cells[HMaterNumberCol].Value = oTable.Rows[0]["鐗╂枡浠g爜"].ToString(); + grdMain.Rows[i].Cells[HMaterNameCol].Value = oTable.Rows[0]["鐗╂枡鍚嶇О"].ToString(); + grdMain.Rows[i].Cells[HMaterModelCol].Value = oTable.Rows[0]["瑙勬牸鍨嬪彿"].ToString(); + //grdMain.Rows[i].Cells[HBatchManagerCol].Value = oTable.Rows[0]["鏄惁鍚敤鎵规"].ToString(); + grdMain.Rows[i].Cells[HBatchNoCol].Value = oTable.Rows[0]["鎵规"].ToString(); + grdMain.Rows[i].Cells[HUnitIDCol].Value = oTable.Rows[0]["HUnitID"].ToString(); + grdMain.Rows[i].Cells[HUnitNumberCol].Value = oTable.Rows[0]["璁¢噺鍗曚綅浠g爜"].ToString(); + grdMain.Rows[i].Cells[HUnitNameCol].Value = oTable.Rows[0]["璁¢噺鍗曚綅"].ToString(); + grdMain.Rows[i].Cells[HRemarkCol].Value = oTable.Rows[0]["澶囨敞"].ToString(); + grdMain.Rows[i].Cells[HMTONoCol].Value = oTable.Rows[0]["璁″垝璺熻釜鍙�"].ToString(); + grdMain.Rows[i].Cells[HCusIDCol].Value = oTable.Rows[0]["HCusID"].ToString(); + grdMain.Rows[i].Cells[HCusNumberCol].Value = oTable.Rows[0]["瀹㈡埛浠g爜"].ToString(); + grdMain.Rows[i].Cells[HCusNameCol].Value = oTable.Rows[0]["瀹㈡埛"].ToString(); + grdMain.Rows[i].Cells[HCusTypeCol].Value = oTable.Rows[0]["瀹㈡埛鍨嬪彿"].ToString(); + grdMain.Rows[i].Cells[HPinfanBarCodeCol].Value = oTable.Rows[0]["HPinfanBarCode"].ToString(); + grdMain.Rows[i].Cells[HPinfanCol].Value = oTable.Rows[0]["HPinfan"].ToString(); + //grdMain.Rows[i].Cells[HSourceIDCol].Value = oTable.Rows[0]["HSourceID"].ToString(); + //grdMain.Rows[i].Cells[HSourceNumberCol].Value = oTable.Rows[0]["鐢熶骇绾夸唬鐮�"].ToString(); + grdMain.Rows[i].Cells[HSourceNameCol].Value = oTable.Rows[0]["鐢熶骇绾�"].ToString(); + grdMain.Rows[i].Cells[HEndDateCol].Value = oTable.Rows[0]["璁″垝瀹屽伐鏃ユ湡"].ToString();//鍗氭棩 鐢熶骇璁㈠崟 澶辨晥鏃ユ湡 + + grdMain.Rows[i].Cells[HAuxPropIDCol].Value = oTable.Rows[0]["HAuxPropID"].ToString(); + + if (cmbHBarCodeType.Text == "浠櫒澶栬喘浠舵潯鐮佸鍣ㄨ鍒�") + { + grdMain.Rows[i].Cells[HMinQtyCol].Value = ClsPub.isDoule(oTable.Rows[0]["鏈敓鎴愭潯鐮佹暟閲�"]); + } + else if (cmbHBarCodeType.Text == "浠櫒澶栬喘浠舵潯鐮佹櫘閫氳鍒�" + || cmbHBarCodeType.Text == "浠櫒鎴愬搧鏉$爜瑙勫垯" + || cmbHBarCodeType.Text == "璇曞墏鎴愬搧鏉$爜瑙勫垯") + { + grdMain.Rows[i].Cells[HMinQtyCol].Value = "1"; + } + else + { + grdMain.Rows[i].Cells[HMinQtyCol].Value = oTable.Rows[0]["鏈�灏忓寘瑁呮暟"].ToString(); + } + grdMain.Rows[i].Cells[HProduceDateCol].Value = oTable.Rows[0]["HProduceDate"].ToString(); + grdMain.Rows[i].Cells[HExpiryDateCol].Value = oTable.Rows[0]["HExpiryDate"].ToString(); + grdMain.Rows[i].Cells[HISKFPERIODCol].Value = oTable.Rows[0]["HISKFPERIOD"].ToString(); + grdMain.Rows[i].Cells[HEXPUNITCol].Value = oTable.Rows[0]["HEXPUNIT"].ToString(); + grdMain.Rows[i].Cells[HEXPPERIODCol].Value = oTable.Rows[0]["HEXPPERIOD"].ToString(); + + + //鑷姩鐢熸垚-璁剧疆鏁伴噺銆佹渶灏忓寘瑁呮暟銆佺鏁颁负1 + grdMain.Rows[i].Cells[HQtyCol].Value = 1; + grdMain.Rows[i].Cells[HMinQtyCol].Value = 1; + grdMain.Rows[i].Cells[HBQtyCol].Value = 1; + + + + + //-- + //璁剧疆鍙紪杈戝垪 + string sAllowCol = HQtyCol.ToString() + + "," + HMinQtyCol.ToString() + + "," + HAuxPropNumberCol.ToString() + + "," + HBatchNoCol.ToString() + + "," + HPackQtyCol.ToString() + + "," + HRemarkCol.ToString(); + grdMain.Columns[HBillNoCol].ReadOnly = true; + //璁剧疆鍚堣鍒� + string sTotalCol = HQtyCol.ToString(); + // + DBUtility.Xt_BaseBillFun.initGridLast(sAllowCol, sTotalCol, oSumGrid); + tabControl1.SelectedIndex = 3; + bc.Enabled = true; + // + RowCount(i, 0); + } + #endregion + + #region 鐢熸垚鎸夐挳 + private void bc_Click(object sender, EventArgs e) + { + //瀹℃牳鏉冮檺 + if (!DBUtility.ClsPub.Security_Log_second("Gy_BarCodeBill_automaticallyByPLC_ProduceByHand", 1, false, DBUtility.ClsPub.CurUserName)) + { + MessageBox.Show("鐢熸垚澶辫触锛屾棤鏉冮檺锛�"); + return; + } + + //娓呴櫎鎵撳嵃浠诲姟 + string msg = ""; + if (!clearPrinterTask(ref msg)) + { + MessageBox.Show(msg); + return; + } + + this.Sub_SaveBill(); + Display(); + + if (radioButton_IsPrint_Yes.Checked == true) + { + //璁剧疆鎵撳嵃妯℃澘锛屾墦鍗� + grdList.Rows[0].Cells[0].Value = "*"; + Report = new GridppReport(); + Report.LoadFromFile(DBUtility.ClsPub.AppPath + @"\" + textBox_PrintModelParams.Text + ".grf"); //here . + Report.BeforePostRecord += new _IGridppReportEvents_BeforePostRecordEventHandler(ReportBeforePostRecord); + Report.FetchRecord += new _IGridppReportEvents_FetchRecordEventHandler(ReportFetchRecordByDataTable); + Report.PrintEnd += new _IGridppReportEvents_PrintEndEventHandler(ReportPrintEnd); + if (comboBox_PrinterParams.Text != "") + { + Report.Printer.PrinterName = comboBox_PrinterParams.Text.Replace("(榛樿)", ""); + } + Report.Print(false); + } + + Display4(); + } + //淇濆瓨鍗曟嵁 + private bool Sub_SaveBill() + { + //鑾峰彇鍐呯爜 + HInterID = DBUtility.ClsPub.CreateBillID_Prod(ModName, ref DBUtility.ClsPub.sExeReturnInfo); + ////鑻AINDI閲嶅鍒欓噸鏂拌幏鍙� + //if (BaseBill.IsExistMainID(ref DBUtility.ClsPub.sExeReturnInfo, HInterID, Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew)) + //{ + // HInterID = DBUtility.ClsPub.CreateBillID(ModName, ref DBUtility.ClsPub.sExeReturnInfo); + //} + // + + + DAL.ClsGy_ORGANIZATIONS_View oClsGy_ORGANIZATIONS_View = new DAL.ClsGy_ORGANIZATIONS_View(); + HOrgNumber = ""; + if (oClsGy_ORGANIZATIONS_View.GetInfoByName(cmbHOrgID.Text)) + { + HOrgID = oClsGy_ORGANIZATIONS_View.omodel.HItemID; + HOrgNumber = DBUtility.ClsPub.isStrNull(oClsGy_ORGANIZATIONS_View.omodel.HNumber); + } + if (HOrgID == -1) + { + MessageBox.Show("閫夋嫨缁勭粐鏈夐敊璇紒"); + return false; + } + + + lblCaption.Focus(); + if (!Sub_AllowSave())//鍗曟嵁瀹屾暣鎬у垽鏂� + { + return false; + } + + SaveBarCode(); + return true; + } + + //鍗曟嵁瀹屾暣鎬у垽鏂� 鏈畬鎴� + private bool Sub_AllowSave() + { + //鏄庣粏琛ㄦ槸鍚︿负闆惰 + bool b = false; + for (int i = 0; i < grdMain.RowCount; i++) + { + if (!IsNullRow(i)) + { + b = true; + break; + } + } + if (b == false) + { + MessageBox.Show("鏄庣粏琛屼笉瀛樺湪锛�", "鎻愮ず"); + return false; + } + + string sHRemark = ""; + for (int j = 0; j < grdMain.Rows.Count; j++) + { + long HSno = DBUtility.ClsPub.isLong(grdMain.Rows[j].Cells[HSnoCol].Value); // 搴忓彿 + string HBarCodeType = cmbHBarCodeType.Text; // 鏉$爜绫诲瀷 + string HSourceBillNo = DBUtility.ClsPub.isStrNull(grdMain.Rows[j].Cells[HBillNoCol].Value); // 婧愬崟鍗曞彿 + long HMaterID = DBUtility.ClsPub.isLong(grdMain.Rows[j].Cells[HMaterIDCol].Value); // 鐗╂枡鍐呯爜 + string HBatchNo = DBUtility.ClsPub.isStrNull(grdMain.Rows[j].Cells[HBatchNoCol].Value); // 鎵瑰彿 + long HAuxPropID = DBUtility.ClsPub.isLong(grdMain.Rows[j].Cells[HAuxPropIDCol].Value); // 杈呭姪灞炴�D + double HSourceQty = DBUtility.ClsPub.isDoule(grdMain.Rows[j].Cells[HinitQtyCol].Value); // 婧愬崟鏁伴噺 + double HQty = DBUtility.ClsPub.isDoule(grdMain.Rows[j].Cells[HQtyCol].Value); // 鏁伴噺 + double HMinQty = DBUtility.ClsPub.isDoule(grdMain.Rows[j].Cells[HMinQtyCol].Value); // 鏈�灏忓寘瑁呮暟 + + if (HMaterID != 0) + { + DataSet oDsCheck = oCn.RunProcReturn("exec h_p_Gy_BarCodeBill_AddCheck " + HSno.ToString() + ",'" + HBarCodeType + "','" + HSourceBillNo + "'," + HMaterID.ToString() + ",'" + HBatchNo + "'," + HAuxPropID.ToString() + "," + HSourceQty.ToString() + "," + HQty.ToString() + "," + HMinQty.ToString() + "," + HOrgID.ToString() + ",'" + SourceQtyCtl + "'", "h_p_Gy_BarCodeBill_AddCheck"); + // + if (oDsCheck == null && oDsCheck.Tables[0].Rows.Count == 0) + { + MessageBox.Show("鏉$爜鐢熸垚瀹屾暣鎬у垽鏂敊璇紒"); + return false; + } + else if (DBUtility.ClsPub.isStrNull(oDsCheck.Tables[0].Rows[0][0]) == "1") + { + sHRemark = sHRemark + DBUtility.ClsPub.isStrNull(oDsCheck.Tables[0].Rows[0]["HRemark"]); + } + else if (DBUtility.ClsPub.isStrNull(grdMain.Rows[j].Cells[HExpiryDateCol].Value) == "") + { + if (DBUtility.ClsPub.isBool(oDsCheck.Tables[0].Rows[0]["HISKFPERIOD"])) + { + DateTime HProduceDate; //鐢熶骇鏃ユ湡 + string HEXPUNIT; //淇濊川鏈熷崟浣� + int HEXPPERIOD; //淇濊川鏈� + + HProduceDate = dtpHDate.Value; + HEXPUNIT = DBUtility.ClsPub.isStrNull(oDsCheck.Tables[0].Rows[0]["HEXPUNIT"]); + HEXPPERIOD = DBUtility.ClsPub.isInt(oDsCheck.Tables[0].Rows[0]["HEXPPERIOD"]); + + grdMain.Rows[j].Cells[HISKFPERIODCol].Value = 1; + grdMain.Rows[j].Cells[HEXPUNITCol].Value = HEXPUNIT; + grdMain.Rows[j].Cells[HEXPPERIODCol].Value = HEXPPERIOD.ToString(); + grdMain.Rows[j].Cells[HProduceDateCol].Value = HProduceDate.ToShortDateString(); + + if (HEXPUNIT == "Y") + { + grdMain.Rows[j].Cells[HExpiryDateCol].Value = HProduceDate.AddYears(HEXPPERIOD).ToShortDateString(); + } + else if (HEXPUNIT == "M") + { + grdMain.Rows[j].Cells[HExpiryDateCol].Value = HProduceDate.AddMonths(HEXPPERIOD).ToShortDateString(); + } + else + { + grdMain.Rows[j].Cells[HExpiryDateCol].Value = HProduceDate.AddDays(HEXPPERIOD).ToShortDateString(); + } + } + else + { + grdMain.Rows[j].Cells[HISKFPERIODCol].Value = 0; + grdMain.Rows[j].Cells[HEXPUNITCol].Value = ""; + grdMain.Rows[j].Cells[HEXPPERIODCol].Value = 0; + grdMain.Rows[j].Cells[HProduceDateCol].Value = ""; + grdMain.Rows[j].Cells[HExpiryDateCol].Value = ""; + } + } + } + } + if (sHRemark != "") + { + MessageBox.Show(sHRemark); + return false; + } + return true; + } + + //鐢熸垚鏉$爜 + private void SaveBarCode() + { + grdSub.Rows.Clear(); + int LSHlen = 6; //娴佹按鍙烽暱搴� + int SumLen = 10; //鎬婚暱搴� + string TM = ""; //鏉$爜 + string HNumber = ""; //鐗╂枡鍐呯爜 + string HMaterNumber = ""; //鐗╂枡浠g爜 + double HSumQty = 0; //浜у搧鏁伴噺 + double HMinQty = 0; //鏈�灏忓寘瑁呮暟 + Int64 HBQty = 0; //绠辨暟 + double HQty = 0; //鏁伴噺 + string WeiShu = ""; //灏炬暟 + Int64 LSH = 0; //娴佹按鍙� + string LSH2 = ""; //娴佹按鍙疯浆鎹㈡垚瀛楃 + string sDate = ""; //鏃ユ湡 + string sYear = ""; //骞� + string sPeriod = ""; //鏈� + string sDay = ""; //鏃� + string HBatchNo = ""; //鎵规 + string HYasuoji = ""; //鍘嬬缉鏈� + string HModelName = ""; //鏈哄瀷 + string HICMOBillNo = ""; //婧愬崟鍙� + string HBarCodeBatchNo = ""; //鏉$爜鎵规鍙� + string HBarCodeDate = ""; //鏉$爜鏃ユ湡 + int k = 0; + Int64 n = 0; //鍚屼竴鎵圭敓鎴愭潯鐮佷腑鐨勭鍑犳潯 + string sTMNumber = ""; //鏉$爜鑷畾涔夊墠缂� + string sSourceBillNo = ""; //婧愬崟鍙� + string sSourceEntryID = ""; //琛屽彿锛堟簮鍗曞瓙ID锛� + DataSet Ds; + //Ds = oCn.RunProcReturn("exec GetLSH '" + ClsPub.GetServerDate(0) + "'", "GetLSH"); + //LSH = ClsPub.isInt(Ds.Tables[0].Rows[0][0]); + for (int j = 0; j < grdMain.Rows.Count; j++) + { + if (ClsPub.isLong(grdMain.Rows[j].Cells[HMaterIDCol].Value) != 0) + { + HNumber = DBUtility.ClsPub.isStrNull(grdMain.Rows[j].Cells[HMaterIDCol].Value); + HMaterNumber = DBUtility.ClsPub.isStrNull(grdMain.Rows[j].Cells[HMaterNumberCol].Value); + HBatchNo = ClsPub.isStrNull(grdMain.Rows[j].Cells[HBatchNoCol].Value); + //鏃ユ湡鑾峰彇鏂瑰紡 + sDate = dtpHDate.Value.ToShortDateString(); + + HYasuoji = DBUtility.ClsPub.isStrNull(grdMain.Rows[j].Cells[HPinfanCol].Value); //鍘嬬缉鏈轰唬鐮侊紙澶忓疂鐢靛櫒锛� + HModelName = DBUtility.ClsPub.isStrNull(grdMain.Rows[j].Cells[HCusTypeCol].Value); //鏈哄瀷锛堝瀹濈數鍣級 + HICMOBillNo = DBUtility.ClsPub.isStrNull(grdMain.Rows[j].Cells[HSourceBillNoCol].Value); //鐢熶骇璁㈠崟鍙凤紙澶忓疂鐢靛櫒锛� + HBarCodeBatchNo = DBUtility.ClsPub.isStrNull(grdMain.Rows[j].Cells[HPinfanBarCodeCol].Value); //鏉$爜鎵规鍙凤紙澶忓疂鐢靛櫒锛� + HBarCodeDate = DBUtility.ClsPub.isStrNull(grdMain.Rows[j].Cells[HSupNumberCol].Value); //鏉$爜鏃ユ湡锛堝瀹濈數鍣級 + // + sYear = ClsPub.isDate(sDate).Year.ToString().Substring(2, 2); + sPeriod = "0" + ClsPub.isDate(sDate).Month.ToString(); + sPeriod = sPeriod.Substring(sPeriod.Length - 2, 2); + sDay = "0" + ClsPub.isDate(sDate).Day.ToString(); + sDay = sDay.Substring(sDay.Length - 2, 2); + //================================== + if (cmbHBarCodeType.Text == "鍞竴鏉$爜") + { + + //鏉$爜鍓嶇紑 = 缁勭粐浠g爜 + 鐗╂枡浠g爜 + 骞� + 鏈� + 鏃� + sTMNumber = HOrgNumber + HNumber + sYear + sPeriod + sDay; + Ds = oCn.RunProcReturn("exec h_p_WMS_GetMaxNo '" + sTMNumber + "'", "h_p_WMS_GetMaxNo"); //鑾峰彇鏈�澶ф祦姘村彿 + //oCn.RunProc("exec h_p_WMS_SetMaxNo '" + sTMNumber + "'"); + LSH = ClsPub.isLong(Ds.Tables[0].Rows[0][0]); + } + else + { + MessageBox.Show("閿欒鐨勬潯鐮佺被鍨嬶紝涓嶈兘鐢熸垚鏉$爜锛�"); + return; + } + + Int64 HBQty2 = 0; //绠辨暟 + HBQty2 = ClsPub.isLong(grdMain.Rows[j].Cells[HBQtyCol].Value); + HBQty = HBQty + ClsPub.isLong(grdMain.Rows[j].Cells[HBQtyCol].Value); + HMinQty = ClsPub.isDoule(grdMain.Rows[j].Cells[HMinQtyCol].Value); + HSumQty = ClsPub.isDoule(grdMain.Rows[j].Cells[HQtyCol].Value); + n = 0; + int nn = 0; + for (int i = k; i < HBQty; i++) + { + if (HSumQty - HMinQty > 0) + { + WeiShu = ""; + HSumQty = HSumQty - HMinQty; + } + else + { + if (HSumQty == HMinQty) + { + WeiShu = ""; + } + else + { + WeiShu = "灏炬暟"; + } + HMinQty = HSumQty; + } + // + LSH = LSH + 1; + LSH2 = LSH.ToString(); + while (LSH2.Length < LSHlen) //濡傛灉娴佹按鍙峰皬浜�6浣嶆暟鍓嶉潰琛�0 + { + LSH2 = "0" + LSH2; + } + if (cmbHBarCodeType.Text == "鍞竴鏉$爜") + { + //鏉$爜缂栧彿 = 鏉$爜鍓嶇紑 + 娴佹按鍙� + TM = sTMNumber + LSH2; + } + + // + if (i + 1 > grdSub.Rows.Count) + { + grdSub.RowCount = grdSub.RowCount + 1; + } + grdSub.Rows[i].Cells[HSno2Col].Value = ClsPub.isStrNull(i + 1); + if (TM.Trim() == "") + { + MessageBox.Show("鏉″舰鐮佷笉鑳戒负绌猴紝涓嶈兘鐢熸垚鏉$爜锛�"); + return; + } + grdSub.Rows[i].Cells[HTMCol].Value = TM; + grdSub.Rows[i].Cells[HEntryID2Col].Value = j + 1; + grdSub.Rows[i].Cells[HMaterID2Col].Value = grdMain.Rows[j].Cells[HMaterIDCol].Value; + grdSub.Rows[i].Cells[HMaterNumber2Col].Value = grdMain.Rows[j].Cells[HMaterNumberCol].Value; + grdSub.Rows[i].Cells[HMaterName2Col].Value = grdMain.Rows[j].Cells[HMaterNameCol].Value; + grdSub.Rows[i].Cells[HMaterModel2Col].Value = grdMain.Rows[j].Cells[HMaterModelCol].Value; + grdSub.Rows[i].Cells[HPinfan2Col].Value = grdMain.Rows[j].Cells[HPinfanCol].Value; + grdSub.Rows[i].Cells[HPinfanBarCode2Col].Value = grdMain.Rows[j].Cells[HPinfanBarCodeCol].Value; + + grdSub.Rows[i].Cells[HAuxPropID2Col].Value = grdMain.Rows[j].Cells[HAuxPropIDCol].Value; + grdSub.Rows[i].Cells[HAuxPropNumber2Col].Value = grdMain.Rows[j].Cells[HAuxPropNumberCol].Value; + grdSub.Rows[i].Cells[HAuxPropName2Col].Value = grdMain.Rows[j].Cells[HAuxPropNameCol].Value; + + grdSub.Rows[i].Cells[HUnitID2Col].Value = grdMain.Rows[j].Cells[HUnitIDCol].Value; + grdSub.Rows[i].Cells[HUnitNumber2Col].Value = grdMain.Rows[j].Cells[HUnitNumberCol].Value; + grdSub.Rows[i].Cells[HUnitName2Col].Value = grdMain.Rows[j].Cells[HUnitNameCol].Value; + + grdSub.Rows[i].Cells[HQty2Col].Value = HMinQty; + grdSub.Rows[i].Cells[HBatchNo2Col].Value = grdMain.Rows[j].Cells[HBatchNoCol].Value; + grdSub.Rows[i].Cells[HSourceInterID2Col].Value = grdMain.Rows[j].Cells[HMainIDCol].Value; + grdSub.Rows[i].Cells[HSourceEntryID2Col].Value = grdMain.Rows[j].Cells[HSubIDCol].Value; + grdSub.Rows[i].Cells[HSourceBillNo2Col].Value = grdMain.Rows[j].Cells[HBillNoCol].Value; + grdSub.Rows[i].Cells[HSourceBillType2Col].Value = grdMain.Rows[j].Cells[HBillTypeCol].Value; + grdSub.Rows[i].Cells[HPrintCol].Value = "0"; + grdSub.Rows[i].Cells[HWeiCol].Value = WeiShu; + grdSub.Rows[i].Cells[HBarcodeNoCol].Value = n + 1; + grdSub.Rows[i].Cells[HBarcodeQtysCol].Value = grdMain.Rows[j].Cells[HBQtyCol].Value; + grdSub.Rows[i].Cells[HSupID2Col].Value = grdMain.Rows[j].Cells[HSupIDCol].Value; + grdSub.Rows[i].Cells[HSupNumber2Col].Value = grdMain.Rows[j].Cells[HSupNumberCol].Value; + grdSub.Rows[i].Cells[HSupName2Col].Value = grdMain.Rows[j].Cells[HSupNameCol].Value; + grdSub.Rows[i].Cells[HDeptID2Col].Value = grdMain.Rows[j].Cells[HDeptIDCol].Value; + grdSub.Rows[i].Cells[HDeptNumber2Col].Value = grdMain.Rows[j].Cells[HDeptNumberCol].Value; + grdSub.Rows[i].Cells[HDeptName2Col].Value = grdMain.Rows[j].Cells[HDeptNameCol].Value; + grdSub.Rows[i].Cells[HRemark2Col].Value = grdMain.Rows[j].Cells[HRemarkCol].Value; + grdSub.Rows[i].Cells[HDate2Col].Value = grdMain.Rows[j].Cells[HDateCol].Value; + grdSub.Rows[i].Cells[HShowDate2Col].Value = grdMain.Rows[j].Cells[HShowDateCol].Value; + grdSub.Rows[i].Cells[HWhID2Col].Value = grdMain.Rows[j].Cells[HWhIDCol].Value; + grdSub.Rows[i].Cells[HWhNumber2Col].Value = grdMain.Rows[j].Cells[HWhNumberCol].Value; + grdSub.Rows[i].Cells[HWhName2Col].Value = grdMain.Rows[j].Cells[HWhNameCol].Value; + grdSub.Rows[i].Cells[HSPID2Col].Value = grdMain.Rows[j].Cells[HSPIDCol].Value; + grdSub.Rows[i].Cells[HSPNumber2Col].Value = grdMain.Rows[j].Cells[HSPNumberCol].Value; + grdSub.Rows[i].Cells[HSPName2Col].Value = grdMain.Rows[j].Cells[HSPNameCol].Value; + grdSub.Rows[i].Cells[HMTONo2Col].Value = grdMain.Rows[j].Cells[HMTONoCol].Value; + grdSub.Rows[i].Cells[HCusID2Col].Value = grdMain.Rows[j].Cells[HCusIDCol].Value; + grdSub.Rows[i].Cells[HCusNumber2Col].Value = grdMain.Rows[j].Cells[HCusNumberCol].Value; + grdSub.Rows[i].Cells[HCusName2Col].Value = grdMain.Rows[j].Cells[HCusNameCol].Value; + grdSub.Rows[i].Cells[HCusType2Col].Value = grdMain.Rows[j].Cells[HCusTypeCol].Value; + grdSub.Rows[i].Cells[HSourceID2Col].Value = grdMain.Rows[j].Cells[HSourceIDCol].Value; + grdSub.Rows[i].Cells[HSourceNumber2Col].Value = grdMain.Rows[j].Cells[HSourceNumberCol].Value; + grdSub.Rows[i].Cells[HSourceName2Col].Value = grdMain.Rows[j].Cells[HSourceNameCol].Value; + grdSub.Rows[i].Cells[HEndDate2Col].Value = grdMain.Rows[j].Cells[HEndDateCol].Value; + grdSub.Rows[i].Cells[HSeOrderBillNo2Col].Value = grdMain.Rows[j].Cells[HSeOrderBillNoCol].Value; + grdSub.Rows[i].Cells[HSeOrderSEQ2Col].Value = grdMain.Rows[j].Cells[HSeOrderSEQCol].Value; + grdSub.Rows[i].Cells[HInnerBillNo2Col].Value = grdMain.Rows[j].Cells[HInnerBillNoCol].Value; + grdSub.Rows[i].Cells[HMaker2Col].Value = grdMain.Rows[j].Cells[HMakerCol].Value; + grdSub.Rows[i].Cells[HGiveAwayFlag2Col].Value = grdMain.Rows[j].Cells[HGiveAwayFlagCol].Value; + grdSub.Rows[i].Cells[HProduceDate2Col].Value = grdMain.Rows[j].Cells[HProduceDateCol].Value; + grdSub.Rows[i].Cells[HExpiryDate2Col].Value = grdMain.Rows[j].Cells[HExpiryDateCol].Value; + grdSub.Rows[i].Cells[HISKFPERIOD2Col].Value = grdMain.Rows[j].Cells[HISKFPERIODCol].Value; + grdSub.Rows[i].Cells[HEXPUNIT2Col].Value = grdMain.Rows[j].Cells[HEXPUNITCol].Value; + grdSub.Rows[i].Cells[HEXPPERIOD2Col].Value = grdMain.Rows[j].Cells[HEXPPERIODCol].Value; + //缃戞牸鎵撳嬀 + //鏄惁璧犲搧 + DataGridViewCheckBoxCell oCell = new DataGridViewCheckBoxCell(); + oCell.ThreeState = false; + oCell.Value = grdSub.Rows[i].Cells[HGiveAwayFlag2Col].Value; + oCell.Style.Alignment = DataGridViewContentAlignment.MiddleCenter; + grdSub.Rows[i].Cells[HGiveAwayFlag2Col] = oCell; + //鏄惁鍚敤淇濊川鏈� + DataGridViewCheckBoxCell oCell2 = new DataGridViewCheckBoxCell(); + oCell2.ThreeState = false; + oCell2.Value = grdSub.Rows[i].Cells[HISKFPERIOD2Col].Value; + oCell2.Style.Alignment = DataGridViewContentAlignment.MiddleCenter; + grdSub.Rows[i].Cells[HISKFPERIOD2Col] = oCell2; + k = k + 1; + n = n + 1; + //oCn.RunProc("exec h_p_WMS_SetMaxNo '" + sTMNumber + "'"); + nn = nn + 1; + } + //鍚庡彴鎵归噺鎵ц璇彞 + oCn.RunProc("exec h_p_WMS_SetMaxNo_QTY '" + sTMNumber + "'," + nn.ToString() + " "); + } + } + string HWei = ""; //灏炬暟 + string HBarCode = ""; + string HBarCodeType = ""; + Int64 HMaterID = 0; + Int64 HAuxPropID = 0; + Int64 HUnitID = 0; + double HQty2 = 0; + string HBatchNo2 = ""; + Int64 HSupID = 0; + Int64 HGroupID = 0; + int HPrintQty = 0; + Int64 HSourceInterID = 0; + Int64 HSourceEntryID = 0; + string HSourceBillNo = ""; + string HSourceBillType = ""; + Int64 HBarcodeNo = 0; //鎵樺彿 + Int64 HBarcodeQtys = 0; //鎬绘墭鏁� + Int64 HDeptID = 0; + Int64 HWhID = 0; + Int64 HSPID = 0; + string HRemark = ""; + string HMaterName = ""; + string HMaterModel = ""; + string HPinfan = ""; + string HMTONo = ""; + Int64 HCusID = 0; + string HCusType = ""; + DateTime HEndDate; + string HWorkLineName = ""; + string HSeOrderBillNo = ""; + Int64 HSeOrderSEQ = 0; + string HInnerBillNo = ""; + bool HGiveAwayFlag = false; + Int64 HEntryID = 0; + string HProduceDate; + string HExpiryDate; + bool HISKFPERIOD = false; + string HEXPUNIT = ""; + double HEXPPERIOD = 0; + try + { + oCn.BeginTran(); + for (int i = 0; i < grdSub.Rows.Count; i++) + { + if (ClsPub.isLong(grdSub.Rows[i].Cells[HMaterID2Col].Value) != 0) + { + HWei = ClsPub.isStrNull(grdSub.Rows[i].Cells[HWeiCol].Value); + HBarCode = ClsPub.isStrNull(grdSub.Rows[i].Cells[HTMCol].Value); + // + HBarCodeType = ClsPub.isStrNull(cmbHBarCodeType.Text); + HMaterID = ClsPub.isLong(grdSub.Rows[i].Cells[HMaterID2Col].Value); + HEntryID = ClsPub.isLong(grdSub.Rows[i].Cells[HEntryID2Col].Value); + HAuxPropID = ClsPub.isLong(grdSub.Rows[i].Cells[HAuxPropID2Col].Value); + HUnitID = ClsPub.isLong(grdSub.Rows[i].Cells[HUnitID2Col].Value); + HQty2 = ClsPub.isDoule(grdSub.Rows[i].Cells[HQty2Col].Value); + HBatchNo2 = ClsPub.isStrNull(grdSub.Rows[i].Cells[HBatchNo2Col].Value); + HSourceInterID = ClsPub.isLong(grdSub.Rows[i].Cells[HSourceInterID2Col].Value); + HSourceEntryID = ClsPub.isLong(grdSub.Rows[i].Cells[HSourceEntryID2Col].Value); + HSourceBillNo = ClsPub.isStrNull(grdSub.Rows[i].Cells[HSourceBillNo2Col].Value); + HSourceBillType = ClsPub.isStrNull(grdSub.Rows[i].Cells[HSourceBillType2Col].Value); + HBarcodeQtys = ClsPub.isLong(grdSub.Rows[i].Cells[HBarcodeQtysCol].Value); + HBarcodeNo = ClsPub.isLong(grdSub.Rows[i].Cells[HBarcodeNoCol].Value); + HSupID = ClsPub.isLong(grdSub.Rows[i].Cells[HSupID2Col].Value); + HDeptID = ClsPub.isLong(grdSub.Rows[i].Cells[HDeptID2Col].Value); + HWhID = ClsPub.isLong(grdSub.Rows[i].Cells[HWhID2Col].Value); + HSPID = ClsPub.isLong(grdSub.Rows[i].Cells[HSPID2Col].Value); + HRemark = ClsPub.isStrNull(grdSub.Rows[i].Cells[HRemark2Col].Value); + HMaterName = ClsPub.isStrNull(grdSub.Rows[i].Cells[HMaterName2Col].Value); + HMaterModel = ClsPub.isStrNull(grdSub.Rows[i].Cells[HMaterModel2Col].Value); + HPinfan = ClsPub.isStrNull(grdSub.Rows[i].Cells[HPinfan2Col].Value); + HMTONo = ClsPub.isStrNull(grdSub.Rows[i].Cells[HMTONo2Col].Value); + HCusID = ClsPub.isLong(grdSub.Rows[i].Cells[HCusID2Col].Value); + HCusType = ClsPub.isStrNull(grdSub.Rows[i].Cells[HCusType2Col].Value); + HEndDate = ClsPub.isDate(grdSub.Rows[i].Cells[HEndDate2Col].Value); + HWorkLineName = ClsPub.isStrNull(grdSub.Rows[i].Cells[HSourceName2Col].Value); + HSeOrderBillNo = ClsPub.isStrNull(grdSub.Rows[i].Cells[HSeOrderBillNo2Col].Value); + HSeOrderSEQ = ClsPub.isLong(grdSub.Rows[i].Cells[HSeOrderSEQ2Col].Value); + HInnerBillNo = ClsPub.isStrNull(grdSub.Rows[i].Cells[HInnerBillNo2Col].Value); + HGiveAwayFlag = ClsPub.isBool(grdSub.Rows[i].Cells[HGiveAwayFlag2Col].Value); + if (ClsPub.isDate(grdSub.Rows[i].Cells[HProduceDate2Col].Value) < Convert.ToDateTime("1950-01-01")) + { + HProduceDate = ""; + } + else + { + HProduceDate = ClsPub.isStrNull(grdSub.Rows[i].Cells[HProduceDate2Col].Value); + } + if (ClsPub.isDate(grdSub.Rows[i].Cells[HExpiryDate2Col].Value) < Convert.ToDateTime("1950-01-01")) + { + HExpiryDate = ""; + } + else + { + HExpiryDate = ClsPub.isStrNull(grdSub.Rows[i].Cells[HExpiryDate2Col].Value); + } + HISKFPERIOD = ClsPub.isBool(grdSub.Rows[i].Cells[HISKFPERIOD2Col].Value); + HEXPUNIT = ClsPub.isStrNull(grdSub.Rows[i].Cells[HEXPUNIT2Col].Value); + HEXPPERIOD = ClsPub.isDoule(grdSub.Rows[i].Cells[HEXPPERIOD2Col].Value); + + if (radioButton_HIsUsingBatchNo.Checked) + { + HBatchNo2 = getBatchNo(); + } + + HBarCode = ClsPub.isStrNull(grdSub.Rows[i].Cells[HMaterModel2Col].Value) + getHBarCode_MaxNo(); + + long HSourceID = 0; + string sql = "select * from Gy_Source where HName = '" + comboBox_SourceNameParams.Text + "' "; + DataSet ds = oCn.RunProcReturn(sql, "Gy_Source"); + if (ds != null && ds.Tables[0].Rows.Count > 0) + { + HSourceID = DBUtility.ClsPub.isLong(ds.Tables[0].Rows[0]["HItemID"].ToString()); + } + + oCn.RunProc("insert into Gy_BarCodeBill (HBarCode,HBarCodeType,HMaterID,HUnitID,HQty" + + ",HBatchNo,HSupID,HGroupID,HMaker,HMakeDate,HPrintQty,HinitQty" + + ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HEndQty " + + ",HBarcodeQtys,HBarcodeNo,HDeptID,HWhID,HSPID,HRemark " + + ",HCusID,HCusType,HEndDate,HWorkLineName,HBarCodeDate " + + ",HSTOCKORGID,HOWNERID,HSeOrderBillNo,HInterID,HEntryID " + + ",HGiveAwayFlag,HSeOrderSEQ,HInitSourceEntryID " + + ",HProduceDate,HExpiryDate " + + ",HISKFPERIOD,HEXPUNIT,HEXPPERIOD " + + ",HMaterName,HMaterModel,HPinfan,HAuxPropID,HMTONo,HInnerBillNo,HSourceID " + + ") values (" + + "'" + HBarCode + "','" + HBarCodeType + "'," + HMaterID.ToString() + "," + HUnitID.ToString() + "," + HQty2.ToString() + + ",'" + HBatchNo2 + "'," + HSupID.ToString() + "," + HGroupID.ToString() + ",'" + ClsPub.CurUserName + "',getdate()," + HPrintQty.ToString() + "," + HQty2.ToString() + + ", " + HSourceInterID.ToString() + "," + HSourceEntryID.ToString() + ",'" + HSourceBillNo + "','" + HSourceBillType + "','" + HWei + "'" + + ", " + HBarcodeQtys.ToString() + "," + HBarcodeNo.ToString() + "," + HDeptID.ToString() + "," + HWhID.ToString() + "," + HSPID.ToString() + ",'" + HRemark + "'" + + ", " + HCusID.ToString() + ",'" + HCusType + "','" + HEndDate.ToShortDateString() + "','" + HWorkLineName + "','" + sDate + "'" + + ", " + HOrgID.ToString() + "," + HOrgID.ToString() + ",'" + HSeOrderBillNo + "'," + HInterID.ToString() + "," + HEntryID.ToString() + + ", " + DBUtility.ClsPub.BoolToString(HGiveAwayFlag) + "," + HSeOrderSEQ.ToString() + "," + HSourceEntryID.ToString() + + ", " + (HProduceDate == "" ? "NULL" : "'" + HProduceDate + "'") + "," + (HExpiryDate == "" ? "NULL" : "'" + HExpiryDate + "'") + + ", " + DBUtility.ClsPub.BoolToString(HISKFPERIOD) + ",'" + HEXPUNIT + "'," + HEXPPERIOD.ToString() + + ",'" + HMaterName + "','" + HMaterModel + "','" + HPinfan + "'," + HAuxPropID.ToString() + ",'" + HMTONo + "','" + HInnerBillNo + "'," + HSourceID + + ")"); + } + } + //澧炲姞 鏉$爜瓒呰繃鏈敓鎴愬姛鑳芥帶鍒� + + // + oCn.Commit(); + tabControl1.SelectedIndex = 3; + } + catch (Exception e) + { + oCn.RollBack(); + MessageBox.Show("鏉$爜鐢熸垚澶辫触锛�" + e.Message); + grdSub.RowCount = 0; + } + } + + //鐢熸垚褰撳ぉ鐗╂枡鐨勬壒鍙� + private string getBatchNo() + { + string HBatchNo = ""; + + if (radioButton_HIsUsingBatchNo.Checked) + { + //鏃ユ湡鑾峰彇鏂瑰紡 + string sDate = dtpHDate.Value.ToShortDateString(); // + string sYear = ClsPub.isDate(sDate).Year.ToString().Substring(2, 2); + string sPeriod = "0" + ClsPub.isDate(sDate).Month.ToString(); + sPeriod = sPeriod.Substring(sPeriod.Length - 2, 2); + string sDay = "0" + ClsPub.isDate(sDate).Day.ToString(); + sDay = sDay.Substring(sDay.Length - 2, 2); + + string HDate = "20" + sYear + "-" + sPeriod + "-" + sDay; + + //鑾峰彇娴佹按鍙凤細鍥涗綅锛岃鐗╂枡褰撳ぉ鐢熸垚鐨勬潯鐮佹暟 + string LIU = ""; + int LEN = 4; + DataSet ds; + string sql = "select * from h_v_IF_BarCodeBillList Where HMaterID = " + grdMain.Rows[0].Cells[HMaterIDCol].Value + " and HSTOCKORGID = " + HOrgID + " and CONVERT(varchar(100),鏉$爜鏃ユ湡, 23) = '" + HDate + "' order by 鎵瑰彿 desc"; + ds = oCn.RunProcReturn(sql, "h_v_IF_BarCodeBillList"); + if (ds != null) + { + long count = 0; + if (ds.Tables[0].Rows.Count > 0) + { + count = ClsPub.isLong(ds.Tables[0].Rows[0]["鎵瑰彿"].ToString().Replace(sYear + sPeriod + sDay, "")); + } + LIU += count + 1; + while (LIU.Length < LEN) //濡傛灉娴佹按鍙峰皬浜�6浣嶆暟鍓嶉潰琛�0 + { + LIU = "0" + LIU; + } + } + else + { + return ""; + } + + //鎷兼帴鎵瑰彿 + HBatchNo = sYear + sPeriod + sDay + LIU; + } + + + return HBatchNo; + } + + //鐢熸垚褰撳ぉ浜у搧鏉$爜鐨勬祦姘村彿 + private string getHBarCode_MaxNo() + { + string HBarCode_MaxNo = ""; + + //鏃ユ湡鑾峰彇鏂瑰紡 + string sDate = dtpHDate.Value.ToShortDateString(); // + string sYear = ClsPub.isDate(sDate).Year.ToString().Substring(2, 2); + string sPeriod = "0" + ClsPub.isDate(sDate).Month.ToString(); + sPeriod = sPeriod.Substring(sPeriod.Length - 2, 2); + string sDay = "0" + ClsPub.isDate(sDate).Day.ToString(); + sDay = sDay.Substring(sDay.Length - 2, 2); + + string HDate = "20" + sYear + "-" + sPeriod + "-" + sDay; + + //鑾峰彇娴佹按鍙凤細鍥涗綅锛岃鐗╂枡褰撳ぉ鐢熸垚鐨勬潯鐮佹暟 + string LIU = ""; + int LEN = 4; + + //鑾峰彇浜у搧鏉$爜澶囦唤琛ㄤ腑褰撴棩鏈骇鍝佹潯鐮佺紪鍙锋渶澶х殑璁板綍 + long HMaxNo_Bak = 0; //璁板綍浜у搧鏉$爜澶囦唤琛ㄤ腑褰撴棩鏈骇鍝佹潯鐮佺紪鍙锋渶澶х殑璁板綍鐨勬潯鐮佺紪鍙风殑娴佹按鍙� + DataSet ds1; + string sql1 = "select * from Gy_BarCodeBill_SWELL_SubBarCodeBill Where HMaterID = " + grdMain.Rows[0].Cells[HMaterIDCol].Value + " and HSTOCKORGID = " + HOrgID + " and CONVERT(varchar(100),HBarCodeDate, 23) = '" + HDate + "' and HInterID <>0 order by HBarCode desc"; + ds1 = oCn.RunProcReturn(sql1, "Gy_BarCodeBill_SWELL_SubBarCodeBill"); + if (ds1 != null && ds1.Tables[0].Rows.Count>0) + { + string HBarCodeMaxNo = ds1.Tables[0].Rows[0]["HBarCode"].ToString(); + HBarCodeMaxNo = HBarCodeMaxNo.Substring(HBarCodeMaxNo.Length - LEN, LEN); + HMaxNo_Bak = ClsPub.isLong(HBarCodeMaxNo); + } + + ////鑾峰彇鏉$爜妗f涓綋鏃ユ湰浜у搧鏉$爜缂栧彿鏈�澶х殑璁板綍 + long HMaxNo = 0; //璁板綍鏉$爜妗f涓綋鏃ユ湰浜у搧鏉$爜缂栧彿鏈�澶х殑璁板綍鐨勬潯鐮佺紪鍙风殑娴佹按鍙� + DataSet ds; + string sql = "select * from h_v_IF_BarCodeBillList Where HMaterID = " + grdMain.Rows[0].Cells[HMaterIDCol].Value + " and HSTOCKORGID = " + HOrgID + " and CONVERT(varchar(100),鏉$爜鏃ユ湡, 23) = '" + HDate + "' and HInterID <> 0 order by 鏉$爜缂栧彿 desc"; + ds = oCn.RunProcReturn(sql, "h_v_IF_BarCodeBillList"); + if (ds != null && ds.Tables[0].Rows.Count > 0) + { + string HBarCodeMaxNo = ds.Tables[0].Rows[0]["鏉$爜缂栧彿"].ToString(); + HBarCodeMaxNo = HBarCodeMaxNo.Substring(HBarCodeMaxNo.Length - LEN, LEN); + HMaxNo = ClsPub.isLong(HBarCodeMaxNo); + } + + + //鑾峰彇褰撴棩鏈骇鍝� 鍦ㄦ潯鐮佹。妗堝拰浜у搧鏉$爜澶囦唤琛ㄤ腑 鏈�澶х殑娴佹按鍙� + long count = 0; + count = HMaxNo >= HMaxNo_Bak ? HMaxNo : HMaxNo_Bak; + + //涓烘祦姘村彿鍓嶉潰琛ラ浂 + LIU += count + 1; + while (LIU.Length < LEN) //濡傛灉娴佹按鍙峰皬浜�6浣嶆暟鍓嶉潰琛�0 + { + LIU = "0" + LIU; + } + + //鎷兼帴鎵瑰彿 + HBarCode_MaxNo = sYear + sPeriod + sDay + LIU; + + long HBarCode_MaxNo_long = long.Parse(HBarCode_MaxNo); + + while (true) + { + int HCount_BarCodeBillList = 0; + int HCount_SubBarCodeBill = 0; + string sql_confirm = "select * from h_v_IF_BarCodeBillList where 鏉$爜缂栧彿 = '" + (ClsPub.isStrNull(grdSub.Rows[0].Cells[HMaterModel2Col].Value) + HBarCode_MaxNo_long.ToString()) + "' and 鏉$爜绫诲瀷 = '鍞竴鏉$爜'" + " and CONVERT(varchar(100),鏉$爜鏃ユ湡, 23) = '" + HDate + "'"; + ds = oCn.RunProcReturn(sql_confirm, "h_v_IF_BarCodeBillList"); + HCount_BarCodeBillList = ds.Tables[0].Rows.Count; + sql_confirm = "select * from Gy_BarCodeBill_SWELL_SubBarCodeBill Where HBarCode = '" + (ClsPub.isStrNull(grdSub.Rows[0].Cells[HMaterModel2Col].Value) + HBarCode_MaxNo_long.ToString()) + "' and HBarCodeType = '鍞竴鏉$爜'" + " and CONVERT(varchar(100),HMakeDate, 23) = '" + HDate + "'"; + ds = oCn.RunProcReturn(sql_confirm, "Gy_BarCodeBill_SWELL_SubBarCodeBill"); + HCount_SubBarCodeBill = ds.Tables[0].Rows.Count; + if (HCount_BarCodeBillList + HCount_SubBarCodeBill > 0) + { + HBarCode_MaxNo_long += 1; + } + else + { + break; + } + } + + return HBarCode_MaxNo_long.ToString(); + } + #endregion + + #endregion + + #region 鐩戝惉閫氳 + //寮�濮嬬洃鍚寜閽� 鐐瑰嚮浜嬩欢 + private void button_startListen_Click(object sender, EventArgs e) + { + string msg = ""; + if(connect(ref msg)==true) + { + MessageBox.Show(msg); + } + else + { + MessageBox.Show(msg); + } + } + + //鍒ゆ柇鎵撳嵃鏈烘槸鍚﹀彲鐢� + private bool judgePrinterIsConnected() + { + //鑾峰彇鐢佃剳杩炴帴鐨勬墦鍗版満鍒楄〃 + ManagementObjectSearcher searcher = new + ManagementObjectSearcher("SELECT * FROM Win32_Printer"); + + //鍖归厤璁剧疆鐨勬墦鍗版満锛屽苟鍒ゆ柇鏄惁鍙敤 + string printerName = ""; + foreach (ManagementObject printer in searcher.Get()) + { + printerName = printer["Name"].ToString().ToLower(); + if (printerName.Equals(comboBox_PrinterParams.Text.Replace("(榛樿)", "").ToLower())) + { + string HPrinterName = printer.Properties["Name"].Value.ToString(); //鑾峰彇鎵撳嵃鏈哄悕绉� + string HPrinterPort = printer.Properties["PortName"].Value.ToString(); //鑾峰彇鎵撳嵃鏈虹鍙e彿 + string HPrinterDefault = printer.Properties["Default"].Value.ToString(); //鑾峰彇鎵撳嵃鏈烘槸鍚︽槸榛樿鎵撳嵃鏈� + string HPrinterWorkStatus = printer.Properties["PrinterStatus"].Value.ToString(); //鑾峰彇鎵撳嵃鏈哄伐浣滅姸鎬�(1:鍏朵粬锛�2:鏈煡锛�3:绌洪棽锛�4:鎵撳嵃锛�5:棰勭儹锛�6:鍋滄鎵撳嵃锛�7:鑴辨満) + string HIsOffOnline = printer.Properties["WorkOffline"].Value.ToString(); //鑾峰彇鎵撳嵃鏈烘槸鍚︾绾� + + + string isConnected = printer["WorkOffline"].ToString().ToLower(); + + if (isConnected.Equals("true")) + { + return false; + } + else + { + return true; + } + } + } + return false; + } + + //娓呴櫎鎸囧畾鎵撳嵃鏈轰换鍔� + private bool clearPrinterTask(ref string msg) + { + try + { + PrintServer localPrintServer = new LocalPrintServer(); + PrintQueue pq = localPrintServer.GetPrintQueue(comboBox_PrinterParams.Text.Replace("(榛樿)", "").ToLower()); + pq.Refresh(); + PrintJobInfoCollection allPrintJobs = pq.GetPrintJobInfoCollection(); + foreach (PrintSystemJobInfo printJob in allPrintJobs) + { + printJob.Cancel(); + + } + return true; + } + catch(Exception ex) + { + msg = ex.Message; + return false; + } + } + + //鏍规嵁閫氳淇℃伅鐢熸垚鏉$爜骞舵墦鍗� + private void timer2_Tick(object sender, EventArgs e) + { + if (produceQty > 0) + { + //娓呴櫎鎵撳嵃浠诲姟 + string msg = ""; + if (!clearPrinterTask(ref msg)) + { + MessageBox.Show(msg); + produceQty = 0; + } + } + + for (int i = 0; i < produceQty; i++) + { + //鐢熸垚鏉$爜 + this.Sub_SaveBill(); + + //鑾峰彇闇�瑕佹墦鍗扮殑鏁版嵁 + Display(); + + if (radioButton_IsPrint_Yes.Checked == true) + { + //璁剧疆鎵撳嵃妯℃澘锛屾墦鍗� + grdList.Rows[0].Cells[0].Value = "*"; + Report = new GridppReport(); + Report.LoadFromFile(DBUtility.ClsPub.AppPath + @"\" + textBox_PrintModelParams.Text + ".grf"); //here . + Report.BeforePostRecord += new _IGridppReportEvents_BeforePostRecordEventHandler(ReportBeforePostRecord); + Report.FetchRecord += new _IGridppReportEvents_FetchRecordEventHandler(ReportFetchRecordByDataTable); + Report.PrintEnd += new _IGridppReportEvents_PrintEndEventHandler(ReportPrintEnd); + if (comboBox_PrinterParams.Text != "") + { + Report.Printer.PrinterName = comboBox_PrinterParams.Text.Replace("(榛樿)", ""); + } + Report.Print(false); + } + + if (i == produceQty - 1) + { + //閲嶆柊鍔犺浇璇ョ墿鏂欏綋澶╃敓鎴愮殑鏉$爜 + Display4(); + } + } + + produceQty = 0; + } + + //鑾峰彇闇�瑕佹墦鍗扮殑鏁版嵁骞跺瓨鏀惧湪瀛愯〃grdList + private void Display() + { + //璁剧疆妗f鍒楄〃閫夐」鍗¤〃鏍兼暟鎹� + DataSet DSet = oCn.RunProcReturn("select * from h_v_IF_BarCodeBillList Where HinterID=" + HInterID.ToString() + " order by HItemID", "h_v_IF_BarCodeBillList", ref DBUtility.ClsPub.sExeReturnInfo); + //鐢熸垚棣栬鏍囬 + if (DSet == null) + { + MessageBox.Show("娌℃湁杩斿洖浠讳綍缁撴灉,鏉$爜涓嶅瓨鍦紒" + DBUtility.ClsPub.sExeReturnInfo); + return; + } + // + grdList.DataSource = DSet.Tables[0].DefaultView; + //鍐荤粨 + int FrCol = 0; + string s = "鏄�"; + DBUtility.Xt_BaseBillFun.DisplayGrid(grdList, this.Name + "grdList", s, FrCol); + //鐢荤嚎 + //GraphLine(); + } + + //鑾峰彇宸ュ崟褰撳ぉ鐗╂枡鐢熸垚鐨勬潯鐮佽褰� + private void Display4() + { + if (grdMain.Rows.Count > 0) + { + //鏃ユ湡鑾峰彇鏂瑰紡 + string sDate = dtpHDate.Value.ToShortDateString(); // + string sYear = ClsPub.isDate(sDate).Year.ToString().Substring(2, 2); + string sPeriod = "0" + ClsPub.isDate(sDate).Month.ToString(); + sPeriod = sPeriod.Substring(sPeriod.Length - 2, 2); + string sDay = "0" + ClsPub.isDate(sDate).Day.ToString(); + sDay = sDay.Substring(sDay.Length - 2, 2); + + sDate = "20" + sYear + "-" + sPeriod + "-" + sDay; + + //璁剧疆宸ュ崟鏉$爜閫夐」鍗¤〃鏍兼暟鎹� + //string sql = "select * from h_v_IF_BarCodeBillList Where 婧愬崟鍗曞彿 = '" + grdMain.Rows[0].Cells[HBillNoCol].Value + "' and HMaterID = " + grdMain.Rows[0].Cells[HMaterIDCol].Value + " and HSTOCKORGID = " + HOrgID + " and CONVERT(varchar(100),鏉$爜鏃ユ湡, 23) = '" + sDate + "' order by 鏉$爜缂栧彿"; + string sql = "select * from h_v_IF_BarCodeBillList Where 婧愬崟鍗曞彿 = '" + grdMain.Rows[0].Cells[HBillNoCol].Value + "' and HMaterID = " + grdMain.Rows[0].Cells[HMaterIDCol].Value + " and CONVERT(varchar(100),鏉$爜鏃ユ湡, 23) = '" + sDate + "' order by 鏉$爜缂栧彿"; + DataSet DSet1 = oCn.RunProcReturn(sql, "h_v_IF_BarCodeBillList", ref DBUtility.ClsPub.sExeReturnInfo); + //鐢熸垚棣栬鏍囬 + if (DSet1 == null) + { + return; + } + // + grdBillBarCodeList.DataSource = DSet1.Tables[0].DefaultView; + //鍐荤粨 + int FrCol = 0; + string s = "鏄�"; + DBUtility.Xt_BaseBillFun.DisplayGrid(grdBillBarCodeList, this.Name + "grdBillBarCodeList", s, FrCol); + //鐢荤嚎 + //GraphLine(); + // + } + } + + #endregion + + #region 鍋滄鐩戝惉 + //鍋滄鐩戝惉鎸夐挳 鐐瑰嚮浜嬩欢 + private void button_stopListen_Click(object sender, EventArgs e) + { + string msg = ""; + if(disConnect(ref msg) == true) + { + MessageBox.Show(msg); + } + else + { + MessageBox.Show(msg); + } + } + #endregion + + #region MQTT閫氳鐩稿叧鏂规硶 + #region 寤虹珛杩炴帴 + public bool connect(ref string err) + { + + try + { + if (client != null && client.IsConnected) + { + err = "宸插缓绔嬭繛鎺ワ紝涓嶅彲閲嶅寤虹珛杩炴帴锛�"; + return false; + } + + if (grdMain.Rows.Count == 0 || grdMain.Rows[0].Cells[HMaterIDCol].Value == null || grdMain.Rows[0].Cells[HMaterIDCol].Value.ToString() == "" || grdMain.Rows[0].Cells[HMaterIDCol].Value.ToString() == "0") + { + err = "璇烽�夋嫨婧愬崟锛�"; + return false; + } + + if (textBox_IPParams.Text == "") + { + err = "璇疯缃甀P鍦板潃锛�"; + return false; + } + //if (textBox_PortParams.Text == "") + //{ + // err = "璇疯缃鍙e彿锛�"; + // return false; + //} + + if (comboBox_PrinterParams.Text == "") + { + err = "璇烽�夋嫨鎵撳嵃鏈猴紒"; + return false; + } + + if (textBox_PrintModelParams.Text == "") + { + err = "璇疯缃墦鍗版ā鏉匡紒"; + return false; + } + + if (textBox_UserParams.Text == "") + { + err = "璇疯缃�怣QTT鐢ㄦ埛鍚嶃�戯紒"; + return false; + } + + if (textBox_PasswordParams.Text == "") + { + err = "璇疯缃�怣QTT瀵嗙爜銆戯紒"; + return false; + } + + if (!judgePrinterIsConnected()) + { + err = "鎵撳嵃鏈哄浜庣绾跨姸鎬侊紝璇锋鏌ワ紒"; + return false; + } + + //寤虹珛杩炴帴 + client = new MqttClient(textBox_IPParams.Text); + //璁剧疆鎺ユ敹鍒版秷鎭悗鐨勫洖璋冨嚱鏁� + client.MqttMsgPublishReceived += client_MqttMsgPublishReceived; + //璁剧疆杩炴帴鏂紑鐨勫洖璋冨嚱鏁� + client.ConnectionClosed += client_ConnectionClosed; + client.Connect(textBox_ClientIDParams.Text, textBox_UserParams.Text, textBox_PasswordParams.Text); + err = "杩炴帴鎴愬姛锛�"; + // 璁㈤槄涓婚 + client.Subscribe(new string[] { textBox_TopicParams.Text }, new byte[] { MqttMsgBase.QOS_LEVEL_EXACTLY_ONCE }); + + timer3.Enabled = true; + button_startListen.Enabled = false; + button_stopListen.Enabled = true; + return true; + } + catch (Exception ex) + { + err = "杩炴帴澶辫触锛�" + ex.Message; + if (client != null) + { + client = null; + } + return false; + } + } + #endregion + + #region MQTT鎺ユ敹鍒颁俊鎭悗鐨勫洖璋冩柟娉� + public void client_MqttMsgPublishReceived(object sender, MqttMsgPublishEventArgs e) + { + try + { + string message = Encoding.UTF8.GetString(e.Message); + List<MQTT_MainEntity> mQTT_MainEntity = getObjectByJson_Xs_OutDoorBillMain(message); + for(int i = 0; i < mQTT_MainEntity[0].values.Count; i++) + { + if (mQTT_MainEntity[0].values[i].id == textBox_WorkPositionParams.Text && mQTT_MainEntity[0].values[i].v == true) + { + produceQty += 1; + } + } + }catch(Exception ex) + { + MessageBox.Show(ex.Message); + + string msg = ""; + if (disConnect(ref msg) == true) + { + MessageBox.Show(msg); + } + else + { + MessageBox.Show(msg); + } + } + } + #endregion + + #region MQTT杩炴帴鏂紑鍚庣殑鍥炶皟鏂规硶 + public void client_ConnectionClosed(object sender, EventArgs e) + { + if (button_stopListen.Enabled == true) + { + timer3.Enabled = true; + } + } + #endregion + + #region 鏂紑杩炴帴 + public bool disConnect(ref string msg) + { + try + { + if (client != null && client.IsConnected == true) + { + client.Disconnect(); + } + timer3.Enabled = false; + button_startListen.Enabled = true; + button_stopListen.Enabled = false; + msg = "杩炴帴宸茬粡鎴愬姛鏂紑锛�"; + return true; + }catch(Exception e) + { + msg = "杩炴帴鏂紑澶辫触锛�" + e.Message; + return false; + } + } + #endregion + #endregion + + #region 淇濆瓨閰嶇疆淇℃伅鎸夐挳 + //閰嶇疆淇℃伅淇濆瓨鎸夐挳 鐐瑰嚮浜嬩欢 + private void button_saveParams_Click(object sender, EventArgs e) + { + saveParams(); + } + + //鍐欏叆閰嶇疆鍙傛暟 + private void saveParams() + { + //鍒ゆ柇鏂囦欢鏄惁瀛樺湪 + if (!File.Exists(Application.StartupPath + "//Gy_BarCodeBill_automaticallyByPLC_New_Change.txt")) + { + FileStream fs1 = new FileStream(Application.StartupPath + "//Gy_BarCodeBill_automaticallyByPLC_New_Change.txt", FileMode.Create, FileAccess.Write);//鍒涘缓鍐欏叆鏂囦欢 + StreamWriter sw = new StreamWriter(fs1); + sw.WriteLine(textBox_IPParams.Text);//寮�濮嬪啓鍏ュ�� + sw.WriteLine(textBox_PortParams.Text); + sw.WriteLine(comboBox_SourceNameParams.Text); + sw.WriteLine(comboBox_PrinterParams.Text.Replace("(榛樿)", "")); + sw.WriteLine(textBox_PrintModelParams.Text); + sw.WriteLine(textBox_UserParams.Text); + sw.WriteLine(textBox_PasswordParams.Text); + sw.WriteLine(textBox_TopicParams.Text); + sw.WriteLine(textBox_ClientIDParams.Text); + sw.WriteLine(textBox_WorkPositionParams.Text); + sw.Close(); + fs1.Close(); + } + else + { + FileStream fs1 = new FileStream(Application.StartupPath + "//Gy_BarCodeBill_automaticallyByPLC_New_Change.txt", FileMode.Create, FileAccess.Write);//鍒涘缓鍐欏叆鏂囦欢 + StreamWriter sw = new StreamWriter(fs1); + sw.WriteLine(textBox_IPParams.Text);//寮�濮嬪啓鍏ュ�� + sw.WriteLine(textBox_PortParams.Text); + sw.WriteLine(comboBox_SourceNameParams.Text); + sw.WriteLine(comboBox_PrinterParams.Text); + sw.WriteLine(textBox_PrintModelParams.Text); + sw.WriteLine(textBox_UserParams.Text); + sw.WriteLine(textBox_PasswordParams.Text); + sw.WriteLine(textBox_TopicParams.Text); + sw.WriteLine(textBox_ClientIDParams.Text); + sw.WriteLine(textBox_WorkPositionParams.Text); + sw.Close(); + fs1.Close(); + } + + MessageBox.Show("淇濆瓨鎴愬姛锛�"); + } + + #endregion + + #region 閰嶇疆淇℃伅閲嶇疆 + //閰嶇疆淇℃伅閲嶇疆鎸夐挳鐐瑰嚮 浜嬩欢 + private void button_resetParams_Click(object sender, EventArgs e) + { + + } + #endregion + + #region 鐣岄潰鍒濆鍖栦唬鐮� + //娓呯┖鐣岄潰 + public void Sub_ClearBill() + { + ////琛ㄤ綋娓呯┖ + //grdMain.Rows.Clear(); + //grdSub.Rows.Clear(); + + //璁剧疆鏉$爜绫诲瀷 涓嬫媺鍒楄〃 + cmbHBarCodeType.Items.Clear(); + cmbHBarCodeType.Items.Add("鍞竴鏉$爜"); + + //璁剧疆婧愬崟绫诲瀷 涓嬫媺鍒楄〃 + cmbSourceBillType.Items.Clear(); + cmbSourceBillType.Items.Add("鐢熶骇璁㈠崟"); + + //鍒濆鍖栨帶浠� + DBUtility.Xt_BaseBillFun.Sub_ClearBill(gbUp); + + //璁剧疆缁勭粐 涓嬫媺鍒楄〃 骞惰缃�� + DataSet Ds1 = oCn.RunProcReturn("select * from Xt_ORGANIZATIONS with(nolock) where HItemID=" + ClsPub.HOrgID, "Xt_ORGANIZATIONS", ref DBUtility.ClsPub.sExeReturnInfo); + if (Ds1.Tables[0].Rows.Count != 0) + { + cmbHOrgID.Text = DBUtility.ClsPub.isStrNull(Ds1.Tables[0].Rows[0]["HName"]); + } + + //璁剧疆鎵撳嵃鏈� 涓嬫媺鍒楄〃 + PrintDocument fPrintDocument = new PrintDocument(); + string defaultPrinter = fPrintDocument.PrinterSettings.PrinterName; + comboBox_PrinterParams.Items.Clear(); + for (int i = 0; i < PrinterSettings.InstalledPrinters.Count; i++) + { + string tmp = PrinterSettings.InstalledPrinters[i]; + if (tmp == defaultPrinter) + { + //tmp = tmp + "(榛樿)"; + } + comboBox_PrinterParams.Items.Add(tmp); + } + + + //璁剧疆浜х嚎 涓嬫媺鍒楄〃 + DataSet DsSource = oCn.RunProcReturn("select * from Gy_Source", "Gy_Source"); + comboBox_SourceNameParams.Items.Add(""); + if (DsSource != null) + { + comboBox_SourceNameParams.Items.Clear(); + comboBox_SourceNameParams.Items.Add(""); + for (int i = 0; i < DsSource.Tables[0].Rows.Count; i++) + { + comboBox_SourceNameParams.Items.Add(DsSource.Tables[0].Rows[i]["HName"]); + } + } + + + //璇诲彇閰嶇疆鏂囦欢璁剧疆閰嶇疆 + readParams(); + //璁剧疆宸ュ崟淇℃伅 + textBox_SourceName.Text = comboBox_SourceNameParams.Text; + //璁剧疆鍒跺崟淇℃伅 + txtHMaker.Text = ClsPub.CurUserName; + txtHMakeDate.Text = ""; + txtHChecker.Text = ""; + txtHCheckDate.Text = ""; + txtHCloseMan.Text = ""; + txtHCloseDate.Text = ""; + txtHDeleteMan.Text = ""; + txtHDeleteDate.Text = ""; + txtHUpDater.Text = ""; + txtHUpDateDate.Text = ""; + + //璁剧疆瀛愯〃 + initGrid(); + grdList.DataSource = null; + grdBillBarCodeList.DataSource = null; + tabControl1.SelectedIndex = 3; + } + + //璇诲彇閰嶇疆鏂囦欢 + private void readParams() + { + if (File.Exists(Application.StartupPath + "//Gy_BarCodeBill_automaticallyByPLC_New_Change.txt")) + { + //璇诲彇鏂囦欢鍊煎苟鏄剧ず鍒扮獥浣� + FileStream fs = new FileStream(Application.StartupPath + "//Gy_BarCodeBill_automaticallyByPLC_New_Change.txt", FileMode.Open, FileAccess.ReadWrite); + StreamReader sr = new StreamReader(fs); + string line = sr.ReadLine(); + int curLine = 0; + while (line != null) + { + if (++curLine == 1) + { + textBox_IPParams.Text = line; + } + else if (curLine == 2) + { + textBox_PortParams.Text = line; + } + else if (curLine == 3) + { + for (int i = 0; i < comboBox_SourceNameParams.Items.Count; i++) + { + if (comboBox_SourceNameParams.Items[i].ToString() == line) + { + comboBox_SourceNameParams.Text = line; + } + } + + if (comboBox_SourceNameParams.Text == "") + { + comboBox_SourceNameParams.Items.Add(line); + comboBox_SourceNameParams.Text = line; + } + } + else if (curLine == 4) + { + for (int i = 0; i < comboBox_PrinterParams.Items.Count; i++) + { + if (comboBox_PrinterParams.Items[i].ToString() == line) + { + comboBox_PrinterParams.Text = line; + } + } + } + else if (curLine == 5) + { + textBox_PrintModelParams.Text = line; + } + else if(curLine == 6){ + textBox_UserParams.Text = line; + } + else if (curLine == 7) + { + textBox_PasswordParams.Text = line; + } + else if (curLine == 8) + { + textBox_TopicParams.Text = line; + } + else if (curLine == 9) + { + textBox_ClientIDParams.Text = line; + } + else if (curLine == 10) + { + textBox_WorkPositionParams.Text = line; + } + else + { + + } + line = sr.ReadLine(); + } + sr.Close(); + fs.Close(); + } + } + + //鍒濆鍖朑RID + private void initGrid() + { + // + grdMain.RowCount = 0; + grdSub.RowCount = 0; + grdMain.ColumnCount = 68; //鎬诲垪鏁� + DBUtility.Xt_BaseBillFun.initGridFst(grdMain, this.Name); + grdMain.Columns[HSnoCol].HeaderText = "搴忓彿"; + grdMain.Columns[HMainIDCol].HeaderText = "婧愬崟涓籌D"; + grdMain.Columns[HSubIDCol].HeaderText = "婧愬崟瀛怚D"; + grdMain.Columns[HBillNoCol].HeaderText = "婧愬崟鍗曞彿"; + grdMain.Columns[HBillTypeCol].HeaderText = "鍗曟嵁绫诲瀷"; + grdMain.Columns[HMaterIDCol].HeaderText = "鐗╂枡ID"; + grdMain.Columns[HMaterNumberCol].HeaderText = "鐗╂枡浠g爜"; + grdMain.Columns[HMaterNameCol].HeaderText = "鐗╂枡鍚嶇О"; + grdMain.Columns[HMaterModelCol].HeaderText = "瑙勬牸鍨嬪彿"; + grdMain.Columns[HModelCol].HeaderText = "鑷畾涔夎鏍�"; + grdMain.Columns[HPinfanCol].HeaderText = "鍝佺暘"; + grdMain.Columns[HPinfanBarCodeCol].HeaderText = "HPinfanBarCode"; + grdMain.Columns[HAuxPropIDCol].HeaderText = "杈呭姪灞炴�D"; + grdMain.Columns[HAuxPropNumberCol].HeaderText = "杈呭姪灞炴�т唬鐮�"; + grdMain.Columns[HAuxPropNameCol].HeaderText = "杈呭姪灞炴�у悕绉�"; + grdMain.Columns[HUnitIDCol].HeaderText = "璁¢噺鍗曚綅ID"; + grdMain.Columns[HUnitNumberCol].HeaderText = "璁¢噺鍗曚綅浠g爜"; + grdMain.Columns[HUnitNameCol].HeaderText = "璁¢噺鍗曚綅鍚嶇О"; + grdMain.Columns[HBarCodeTypeCol].HeaderText = "鏉$爜绫诲瀷"; + grdMain.Columns[HBatchManagerCol].HeaderText = "鏄惁鍚敤鎵规"; + grdMain.Columns[HBatchNoCol].HeaderText = "鎵瑰彿"; + grdMain.Columns[HGiveAwayFlagCol].HeaderText = "鏄惁璧犲搧"; + grdMain.Columns[HQtyCol].HeaderText = "鏁伴噺"; + grdMain.Columns[HMinQtyCol].HeaderText = "鏈�灏忓寘瑁呮暟"; + grdMain.Columns[HPackQtyCol].HeaderText = "澶栫鏁�"; + grdMain.Columns[HBQtyCol].HeaderText = "绠辨暟"; + grdMain.Columns[HSupIDCol].HeaderText = "渚涘簲鍟咺D"; + grdMain.Columns[HSupNumberCol].HeaderText = "渚涘簲鍟嗕唬鐮�"; + grdMain.Columns[HSupNameCol].HeaderText = "渚涘簲鍟�"; + grdMain.Columns[HDeptIDCol].HeaderText = "杞﹂棿ID"; + grdMain.Columns[HDeptNumberCol].HeaderText = "杞﹂棿浠g爜"; + grdMain.Columns[HDeptNameCol].HeaderText = "杞﹂棿"; + grdMain.Columns[HWhIDCol].HeaderText = "浠撳簱ID"; + grdMain.Columns[HWhNumberCol].HeaderText = "浠撳簱浠g爜"; + grdMain.Columns[HWhNameCol].HeaderText = "浠撳簱"; + grdMain.Columns[HSPIDCol].HeaderText = "浠撲綅ID"; + grdMain.Columns[HSPNumberCol].HeaderText = "浠撲綅浠g爜"; + grdMain.Columns[HSPNameCol].HeaderText = "浠撲綅"; + grdMain.Columns[HInstructNoCol].HeaderText = "鎸囦护鍗曞彿"; + grdMain.Columns[HSeOrderBillNoCol].HeaderText = "閿�鍞鍗曞彿"; + grdMain.Columns[HSeOrderSEQCol].HeaderText = "閿�鍞鍗曡鍙�"; + grdMain.Columns[HDateCol].HeaderText = "杩涙枡鏃ユ湡"; + grdMain.Columns[HRemarkCol].HeaderText = "澶囨敞"; + grdMain.Columns[HMTONoCol].HeaderText = "璁″垝璺熻釜鍙�"; + grdMain.Columns[HCusIDCol].HeaderText = "瀹㈡埛ID"; + grdMain.Columns[HCusNumberCol].HeaderText = "瀹㈡埛浠g爜"; + grdMain.Columns[HCusNameCol].HeaderText = "瀹㈡埛"; + grdMain.Columns[HCusTypeCol].HeaderText = "瀹㈡埛鍨嬪彿"; + grdMain.Columns[HEndDateCol].HeaderText = "璁″垝瀹屽伐鏃ユ湡"; + grdMain.Columns[HSourceIDCol].HeaderText = "鐢熶骇绾縄D"; + grdMain.Columns[HSourceNumberCol].HeaderText = "鐢熶骇绾夸唬鐮�"; + grdMain.Columns[HSourceNameCol].HeaderText = "鐢熶骇绾�"; + grdMain.Columns[HShowDateCol].HeaderText = "鏃ユ湡"; + grdMain.Columns[HInnerBillNoCol].HeaderText = "鍐呴儴閲囪喘璁㈠崟鍙�"; + grdMain.Columns[HMakerCol].HeaderText = "鍒跺崟浜�"; + grdMain.Columns[HProduceDateCol].HeaderText = "鐢熶骇鏃ユ湡"; + grdMain.Columns[HExpiryDateCol].HeaderText = "鏈夋晥鏈熻嚦"; + grdMain.Columns[HISKFPERIODCol].HeaderText = "鏄惁鍚敤淇濊川鏈�"; + grdMain.Columns[HEXPUNITCol].HeaderText = "淇濊川鏈熷崟浣�"; + grdMain.Columns[HEXPPERIODCol].HeaderText = "淇濊川鏈�"; + //// + //鏍煎紡鍖� + grdMain.Columns[HTagCol].Visible = false; //闅愯棌鍒� + grdMain.Columns[HMainIDCol].Visible = false; + grdMain.Columns[HSubIDCol].Visible = false; + grdMain.Columns[HBillTypeCol].Visible = false; + grdMain.Columns[HMaterIDCol].Visible = false; + grdMain.Columns[HModelCol].Visible = false; + //grdMain.Columns[HBatchNoCol].Visible = false; + grdMain.Columns[HAuxPropIDCol].Visible = false; + //grdMain.Columns[HAuxPropNumberCol].Visible = false; + //grdMain.Columns[HAuxPropNameCol].Visible = false; + grdMain.Columns[HUnitIDCol].Visible = false; + grdMain.Columns[HinitQtyCol].Visible = false; + grdMain.Columns[HSupIDCol].Visible = false; + grdMain.Columns[HSupNumberCol].Visible = false; + grdMain.Columns[HSupNameCol].Visible = false; + grdMain.Columns[HDeptIDCol].Visible = false; + grdMain.Columns[HDeptNumberCol].Visible = false; + grdMain.Columns[HDeptNameCol].Visible = false; + grdMain.Columns[HWhIDCol].Visible = false; + grdMain.Columns[HWhNumberCol].Visible = false; + grdMain.Columns[HWhNameCol].Visible = false; + grdMain.Columns[HSPIDCol].Visible = false; + grdMain.Columns[HSPNumberCol].Visible = false; + grdMain.Columns[HSPNameCol].Visible = false; + grdMain.Columns[HSourceInterIDCol].Visible = false; + grdMain.Columns[HSourceEntryIDCol].Visible = false; + grdMain.Columns[HSourceBillNoCol].Visible = false; + grdMain.Columns[HSourceBillTypeCol].Visible = false; + grdMain.Columns[HInstructIDCol].Visible = false; + grdMain.Columns[HInstructNoCol].Visible = false; + grdMain.Columns[HSeOrderBillIDCol].Visible = false; + //grdMain.Columns[HSeOrderBillNoCol].Visible = false; + grdMain.Columns[HBarCodeTypeCol].Visible = false; + grdMain.Columns[HBatchManagerCol].Visible = false; + //grdMain.Columns[HDateCol].Visible = false; + grdMain.Columns[HPinfanCol].Visible = false; + grdMain.Columns[HPinfanBarCodeCol].Visible = false; + grdMain.Columns[HCusIDCol].Visible = false; + //grdMain.Columns[HCusNumberCol].Visible = false; + //grdMain.Columns[HCusNameCol].Visible = false; + grdMain.Columns[HCusTypeCol].Visible = false; + grdMain.Columns[HEndDateCol].Visible = false; + grdMain.Columns[HSourceIDCol].Visible = false; + grdMain.Columns[HSourceNumberCol].Visible = false; + grdMain.Columns[HSourceNameCol].Visible = false; + //grdMain.Columns[HProduceDateCol].Visible = false; + //grdMain.Columns[HExpiryDateCol].Visible = false; + grdMain.Columns[HISKFPERIODCol].Visible = false; + grdMain.Columns[HEXPUNITCol].Visible = false; + grdMain.Columns[HEXPPERIODCol].Visible = false; + + //璁剧疆鍙紪杈戝垪 + string sAllowCol = HQtyCol.ToString() + + "," + HMinQtyCol.ToString() + + "," + HMaterNumberCol.ToString() + + "," + HAuxPropNumberCol.ToString() + + "," + HUnitNumberCol.ToString() + + "," + HSeOrderBillNoCol.ToString() + + "," + HBatchNoCol.ToString() + + "," + HCusNumberCol.ToString() + + "," + HPackQtyCol.ToString() + + "," + HRemarkCol.ToString(); + //璁剧疆鍚堣鍒� + string sTotalCol = HQtyCol.ToString(); + + //璁剧疆鐗规畩鍒� + for (int i = 0; i < grdMain.Rows.Count; i++) + { + //缃戞牸鎵撳嬀 + DataGridViewCheckBoxCell oCell = new DataGridViewCheckBoxCell(); + oCell.ThreeState = false; + oCell.Value = 0; + oCell.Style.Alignment = DataGridViewContentAlignment.MiddleCenter; + grdMain.Rows[i].Cells[HGiveAwayFlagCol] = oCell; + } + // + + DBUtility.Xt_BaseBillFun.initGridLast(sAllowCol, sTotalCol, oSumGrid); + //---------------------------- + + grdSub.ColumnCount = 65; //鎬诲垪鏁� + DBUtility.Xt_BaseBillFun.initGridFst(grdSub, this.Name); + grdSub.Columns[HSelectCol].HeaderText = "閫夋嫨"; + grdSub.Columns[HTMCol].HeaderText = "鏉$爜缂栧彿"; + grdSub.Columns[HBarCodeType2Col].HeaderText = "鏉$爜绫诲瀷"; + grdSub.Columns[HSno2Col].HeaderText = "搴忓彿"; + grdSub.Columns[HMaterID2Col].HeaderText = "鐗╂枡ID"; + grdSub.Columns[HMaterNumber2Col].HeaderText = "鐗╂枡浠g爜"; + grdSub.Columns[HMaterName2Col].HeaderText = "鐗╂枡鍚嶇О"; + grdSub.Columns[HMaterModel2Col].HeaderText = "瑙勬牸鍨嬪彿"; + grdSub.Columns[HModel2Col].HeaderText = "鑷畾涔夎鏍�"; + grdSub.Columns[HAuxPropID2Col].HeaderText = "杈呭姪灞炴�D"; + grdSub.Columns[HAuxPropNumber2Col].HeaderText = "杈呭姪灞炴�т唬鐮�"; + grdSub.Columns[HAuxPropName2Col].HeaderText = "杈呭姪灞炴��"; + grdSub.Columns[HPinfan2Col].HeaderText = "鍝佺暘"; + grdSub.Columns[HPinfanBarCode2Col].HeaderText = "HPinfanBarCode"; + grdSub.Columns[HBatchNo2Col].HeaderText = "鎵瑰彿"; + grdSub.Columns[HGiveAwayFlag2Col].HeaderText = "鏄惁璧犲搧"; + grdSub.Columns[HUnitID2Col].HeaderText = "璁¢噺鍗曚綅ID"; + grdSub.Columns[HUnitNumber2Col].HeaderText = "璁¢噺鍗曚綅浠g爜"; + grdSub.Columns[HUnitName2Col].HeaderText = "璁¢噺鍗曚綅"; + grdSub.Columns[HQty2Col].HeaderText = "鏁伴噺"; + grdSub.Columns[HWeiCol].HeaderText = "灏炬暟"; + grdSub.Columns[HPrintCol].HeaderText = "鎵撳嵃娆℃暟"; + grdSub.Columns[HSourceInterID2Col].HeaderText = "婧愬崟涓籌D"; + grdSub.Columns[HSourceEntryID2Col].HeaderText = "婧愬崟瀛怚D"; + grdSub.Columns[HSourceBillNo2Col].HeaderText = "婧愬崟鍗曞彿"; + grdSub.Columns[HSourceBillType2Col].HeaderText = "婧愬崟绫诲瀷"; + grdSub.Columns[HSeOrderBillNo2Col].HeaderText = "閿�鍞鍗曞彿"; + grdSub.Columns[HSeOrderSEQ2Col].HeaderText = "閿�鍞鍗曡鍙�"; + grdSub.Columns[HBarcodeNoCol].HeaderText = "鎵樺彿"; + grdSub.Columns[HBarcodeQtysCol].HeaderText = "鎬绘墭鏁�"; + grdSub.Columns[HSupID2Col].HeaderText = "渚涘簲鍟咺D"; + grdSub.Columns[HSupNumber2Col].HeaderText = "渚涘簲鍟嗕唬鐮�"; + grdSub.Columns[HSupName2Col].HeaderText = "渚涘簲鍟�"; + grdSub.Columns[HDeptID2Col].HeaderText = "杞﹂棿ID"; + grdSub.Columns[HDeptNumber2Col].HeaderText = "杞﹂棿浠g爜"; + grdSub.Columns[HDeptName2Col].HeaderText = "杞﹂棿"; + grdSub.Columns[HWhID2Col].HeaderText = "浠撳簱ID"; + grdSub.Columns[HWhNumber2Col].HeaderText = "浠撳簱浠g爜"; + grdSub.Columns[HWhName2Col].HeaderText = "浠撳簱"; + grdSub.Columns[HSPID2Col].HeaderText = "浠撲綅ID"; + grdSub.Columns[HSPNumber2Col].HeaderText = "浠撲綅浠g爜"; + grdSub.Columns[HSPName2Col].HeaderText = "浠撲綅"; + grdSub.Columns[HInstructNo2Col].HeaderText = "鎸囦护鍗曞彿"; + grdSub.Columns[HDate2Col].HeaderText = "杩涙枡鏃ユ湡"; + grdSub.Columns[HRemark2Col].HeaderText = "澶囨敞"; + grdSub.Columns[HMTONo2Col].HeaderText = "璁″垝璺熻釜鍙�"; + grdSub.Columns[HCusID2Col].HeaderText = "瀹㈡埛ID"; + grdSub.Columns[HCusNumber2Col].HeaderText = "瀹㈡埛浠g爜"; + grdSub.Columns[HCusName2Col].HeaderText = "瀹㈡埛"; + grdSub.Columns[HCusType2Col].HeaderText = "瀹㈡埛鍨嬪彿"; + grdSub.Columns[HEndDate2Col].HeaderText = "璁″垝瀹屽伐鏃ユ湡"; + grdSub.Columns[HSourceID2Col].HeaderText = "鐢熶骇绾縄D"; + grdSub.Columns[HSourceNumber2Col].HeaderText = "鐢熶骇绾夸唬鐮�"; + grdSub.Columns[HSourceName2Col].HeaderText = "鐢熶骇绾�"; + grdSub.Columns[HShowDate2Col].HeaderText = "鏃ユ湡"; + grdSub.Columns[HInnerBillNo2Col].HeaderText = "鍐呴儴閲囪喘璁㈠崟鍙�"; + grdSub.Columns[HMaker2Col].HeaderText = "鍒跺崟浜�"; + grdSub.Columns[HEntryID2Col].HeaderText = "琛屽彿"; + grdSub.Columns[HProduceDate2Col].HeaderText = "鐢熶骇鏃ユ湡"; + grdSub.Columns[HExpiryDate2Col].HeaderText = "鏈夋晥鏈熻嚦"; + grdSub.Columns[HISKFPERIOD2Col].HeaderText = "鏄惁鍚敤淇濊川鏈�"; + grdSub.Columns[HEXPUNIT2Col].HeaderText = "淇濊川鏈熷崟浣�"; + grdSub.Columns[HEXPPERIOD2Col].HeaderText = "淇濊川鏈�"; + //鏍煎紡鍖� + grdSub.Columns[HMaterID2Col].Visible = false; + grdSub.Columns[HModel2Col].Visible = false; + grdSub.Columns[HAuxPropID2Col].Visible = false; + //grdSub.Columns[HAuxPropNumber2Col].Visible = false; + //grdSub.Columns[HAuxPropName2Col].Visible = false; + grdSub.Columns[HUnitID2Col].Visible = false; + grdSub.Columns[HPrintCol].Visible = false; + grdSub.Columns[HSourceInterID2Col].Visible = false; + grdSub.Columns[HSourceEntryID2Col].Visible = false; + grdSub.Columns[HSourceBillType2Col].Visible = false; + grdSub.Columns[HDeptID2Col].Visible = false; + grdSub.Columns[HDeptNumber2Col].Visible = false; + grdSub.Columns[HDeptName2Col].Visible = false; + //grdSub.Columns[HDate2Col].Visible = false; + grdSub.Columns[HBarCodeType2Col].Visible = false; + //grdSub.Columns[HBatchNo2Col].Visible = false; + grdSub.Columns[HWeiCol].Visible = false; + grdSub.Columns[HBarcodeNoCol].Visible = false; + grdSub.Columns[HBarcodeQtysCol].Visible = false; + grdSub.Columns[HSupID2Col].Visible = false; + grdSub.Columns[HSupNumber2Col].Visible = false; + grdSub.Columns[HSupName2Col].Visible = false; + grdSub.Columns[HWhID2Col].Visible = false; + grdSub.Columns[HWhNumber2Col].Visible = false; + grdSub.Columns[HWhName2Col].Visible = false; + grdSub.Columns[HSPID2Col].Visible = false; + grdSub.Columns[HSPNumber2Col].Visible = false; + grdSub.Columns[HSPName2Col].Visible = false; + grdSub.Columns[HInstructID2Col].Visible = false; + grdSub.Columns[HInstructNo2Col].Visible = false; + grdSub.Columns[HSeOrderBillID2Col].Visible = false; + //grdSub.Columns[HSeOrderBillNo2Col].Visible = false; + grdSub.Columns[HPinfan2Col].Visible = false; + grdSub.Columns[HPinfanBarCode2Col].Visible = false; + grdSub.Columns[HCusID2Col].Visible = false; + //grdSub.Columns[HCusNumber2Col].Visible = false; + //grdSub.Columns[HCusName2Col].Visible = false; + grdSub.Columns[HCusType2Col].Visible = false; + grdSub.Columns[HEndDate2Col].Visible = false; + grdSub.Columns[HSourceID2Col].Visible = false; + grdSub.Columns[HSourceNumber2Col].Visible = false; + grdSub.Columns[HSourceName2Col].Visible = false; + + //璁剧疆鐗规畩鍒� + for (int i = 0; i < grdSub.Rows.Count; i++) + { + //缃戞牸鎵撳嬀 + //鏄惁璧犲搧 + DataGridViewCheckBoxCell oCell = new DataGridViewCheckBoxCell(); + oCell.ThreeState = false; + oCell.Value = 0; + oCell.Style.Alignment = DataGridViewContentAlignment.MiddleCenter; + grdSub.Rows[i].Cells[HGiveAwayFlag2Col] = oCell; + //鏄惁鍚敤淇濊川鏈� + DataGridViewCheckBoxCell oCell2 = new DataGridViewCheckBoxCell(); + oCell2.ThreeState = false; + oCell2.Value = 0; + oCell2.Style.Alignment = DataGridViewContentAlignment.MiddleCenter; + grdSub.Rows[i].Cells[HISKFPERIOD2Col] = oCell2; + } + + DBUtility.Xt_BaseBillFun.GetGrid(grdMain, this.Name); + DBUtility.Xt_BaseBillFun.GetGrid(grdSub, this.Name + "grdSub"); + grdSub.SelectionMode = DataGridViewSelectionMode.FullRowSelect; //閫夎妯″紡 + + //// + DBUtility.Xt_BaseBillFun.initGridList(grdList, this.Name + "grdList"); + DBUtility.Xt_BaseBillFun.initGridList(grdBillBarCodeList, this.Name + "grdBillBarCodeList"); + //// + } + #endregion + + #region 鎵撳嵃鐩稿叧 + //鎵撳嵃缁撴潫鍚庡洖濉潯鐮佹墦鍗版鏁� + private void ReportPrintEnd() + { + if (UpdatePrintQtyCtl == "Y") + { + oBar.Set_UpdatePrintQty_SD(HInterID); + } + } + + //濉叆鍗曟嵁琛ㄥご淇℃伅 + private void ReportBeforePostRecord()// + { + try + { + //Report.FieldByName("鐗╂枡浠g爜").AsString = ClsPub.isStrNull(grdSub.Rows[CurRows].Cells[HMaterNumber2Col].Value); + //Report.FieldByName("鐗╂枡鍚嶇О").AsString = ClsPub.isStrNull(grdSub.Rows[CurRows].Cells[HMaterName2Col].Value); + //Report.FieldByName("瑙勬牸鍨嬪彿").AsString = ClsPub.isStrNull(grdSub.Rows[CurRows].Cells[HMaterModel2Col].Value); + ////Report.FieldByName("鑷畾涔夎鏍�").AsString = ClsPub.isStrNull(grdSub.Rows[CurRows].Cells[HModel2Col].Value); + //Report.FieldByName("鏉$爜缂栧彿").AsString = ClsPub.isStrNull(grdSub.Rows[CurRows].Cells[HTMCol].Value); + //Report.FieldByName("鏁伴噺").AsString = ClsPub.isStrNull(grdSub.Rows[CurRows].Cells[HQty2Col].Value); + //Report.FieldByName("婧愬崟鍗曞彿").AsString = ClsPub.isStrNull(grdSub.Rows[CurRows].Cells[HSourceBillNoCol].Value); + //Report.FieldByName("閿�鍞鍗曞彿").AsString = ClsPub.isStrNull(grdSub.Rows[CurRows].Cells[HSeOrderBillNo2Col].Value); + //Report.FieldByName("鐢熶骇杞﹂棿").AsString = ClsPub.isStrNull(grdSub.Rows[CurRows].Cells[HDeptName2Col].Value); + //Report.FieldByName("澶囨敞").AsString = ClsPub.isStrNull(grdSub.Rows[CurRows].Cells[HRemark2Col].Value); + } + catch (Exception e) + { + MessageBox.Show("鎵撳嵃澶辫触!琛ㄥご锛�" + e.Message); + } + } + + //濉叆鍗曟嵁琛ㄤ綋淇℃伅 + private void ReportFetchRecordByDataTable() + { + try + { + DataTable ds = new DataTable(); + BLL.Utility.FillRecordToReport_Sel(Report, grdList, ds, Fun_GetCol("閫夋嫨")); + } + catch (Exception e) + { + MessageBox.Show("鎵撳嵃澶辫触!琛ㄤ綋锛�" + e.Message); + } + } + + private Int32 Fun_GetCol(string sCol) + { + return DBUtility.Xt_BaseBillFun.Fun_GetCol(sCol, grdList); + } + #endregion + + #region 鍥哄畾浠g爜 + + + + //淇濆瓨鍒楀 + private void bclk_Click(object sender, EventArgs e) + { + DBUtility.Xt_BaseBillFun.SaveGrid(grdMain, this.Name); + DBUtility.Xt_BaseBillFun.SaveGrid(grdSub, this.Name + "grdSub"); + DBUtility.Xt_BaseBillFun.SaveGrid(grdList, this.Name + "grdList"); + } + + //榛樿鍒楀 + private void mrlk_Click(object sender, EventArgs e) + { + DBUtility.Xt_BaseBillFun.DefaultGridView(grdMain, this.Name); + DBUtility.Xt_BaseBillFun.DefaultGridView(grdSub, this.Name + "grdSub"); + DBUtility.Xt_BaseBillFun.DefaultGridView(grdList, this.Name + "grdList"); + } + + //澧炶鎸夐挳 + private void AddRow_Click(object sender, EventArgs e) + { + DBUtility.Xt_BaseBillFun.AddRow(oSumGrid); + } + + //鍒犺鎸夌航 + private void DelRow_Click(object sender, EventArgs e) + { + DBUtility.Xt_BaseBillFun.DelRow(oSumGrid); + } + + + + //閲嶇疆鎸夌航 + private void cz_Click(object sender, EventArgs e) + { + if (BillStatus == DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew || BillStatus == DBUtility.ClsPub.Enum_BillStatus.BillStatus_Modify) + { + if (MessageBox.Show("纭畾瑕佹竻绌哄綋鍓嶇晫闈俊鎭紝閲嶇疆鐣岄潰锛�", "鎻愮ず", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) == DialogResult.OK) + { + this.Sub_AddBill(); + } + } + grdMain.Columns[HBillNoCol].ReadOnly = false; + tabControl1.SelectedIndex = 3; + } + + //鏂板鍗曟嵁 + private void Sub_AddBill() + { + this.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; + this.Sub_OperStatus();//璁剧疆TOOLBAR + this.Sub_ClearBill();//娓呯┖鐣岄潰 + } + + //閫�鍑烘寜閽� + private void tc_Click(object sender, EventArgs e) + { + this.Close(); + } + + //绂诲紑鍗曞厓鏍� + private void grdMain_LeaveCell(object sender, EventArgs e) + { + oSumGrid.LeaveCell(); + } + + //缃戞牸鍗曞厓鏍煎彉鍖栦簨浠� + private void grdMain_RowColChange(object sender, EventArgs e) + { + if (!grdStatus) + { + return; + } + DBUtility.Xt_BaseBillFun.SetSumGrid(oSumGrid); + // + //if (oSumGrid.Changelock) + // return; + //if(oSumGrid.EditStatus) + //{ + if (!CheckGridRow(oSumGrid.OldCell.Row)) + return; + //} + } + + private void Gy_BarCodeBill_Paint(object sender, PaintEventArgs e)//鐢荤嚎 + { + Graphics g = this.panel2.CreateGraphics(); + Pen p = new Pen(Color.Gray); + p.Width = 1; + g.DrawLine(p, new Point(txtHMaker.Left, txtHMaker.Top + txtHMaker.Height), new Point(txtHMaker.Left + txtHMaker.Width, txtHMaker.Top + txtHMaker.Height)); + g.DrawLine(p, new Point(txtHMakeDate.Left, txtHMakeDate.Top + txtHMakeDate.Height), new Point(txtHMakeDate.Left + txtHMakeDate.Width, txtHMakeDate.Top + txtHMakeDate.Height)); + // + g.DrawLine(p, new Point(txtHChecker.Left, txtHChecker.Top + txtHChecker.Height), new Point(txtHChecker.Left + txtHChecker.Width, txtHChecker.Top + txtHChecker.Height)); + g.DrawLine(p, new Point(txtHCheckDate.Left, txtHCheckDate.Top + txtHCheckDate.Height), new Point(txtHCheckDate.Left + txtHCheckDate.Width, txtHCheckDate.Top + txtHCheckDate.Height)); + // + g.DrawLine(p, new Point(txtHCloseMan.Left, txtHCloseMan.Top + txtHCloseMan.Height), new Point(txtHCloseMan.Left + txtHCloseMan.Width, txtHCloseMan.Top + txtHCloseMan.Height)); + g.DrawLine(p, new Point(txtHCloseDate.Left, txtHCloseDate.Top + txtHCloseDate.Height), new Point(txtHCloseDate.Left + txtHCloseDate.Width, txtHCloseDate.Top + txtHCloseDate.Height)); + // + g.DrawLine(p, new Point(this.txtHDeleteMan.Left, txtHDeleteMan.Top + txtHDeleteMan.Height), new Point(txtHDeleteMan.Left + txtHDeleteMan.Width, txtHDeleteMan.Top + txtHDeleteMan.Height)); + g.DrawLine(p, new Point(txtHDeleteDate.Left, txtHDeleteDate.Top + txtHDeleteDate.Height), new Point(txtHDeleteDate.Left + txtHDeleteDate.Width, txtHDeleteDate.Top + txtHDeleteDate.Height)); + // + g.DrawLine(p, new Point(this.txtHUpDater.Left, txtHUpDater.Top + txtHUpDater.Height), new Point(txtHUpDater.Left + txtHUpDater.Width, txtHUpDater.Top + txtHUpDater.Height)); + g.DrawLine(p, new Point(txtHUpDateDate.Left, txtHUpDateDate.Top + txtHUpDateDate.Height), new Point(txtHUpDateDate.Left + txtHUpDateDate.Width, txtHUpDateDate.Top + txtHUpDateDate.Height)); + //鎺т欢浣嶇疆璁剧疆 + + } + + //鎺т欢浣嶇疆 + private void Sub_ControlLocation() + { + //gbUp.Width = P1.Width - 20; + //gbUp.Left = 10; + //gbUp.Height = P1.Height - 35; + //gbUp.Top = 30; + } + + //绐椾綋鍔犺浇 + private void Gy_BarCodeBill_Load(object sender, EventArgs e) + { + //鎵撳嵃鍒濆鍖� + oSumGrid.NoCol = HSnoCol; + oSumGrid.ogrdMain = grdMain; + oSumGrid.oGridsum = grdSum; + this.Text = ModCaption; + this.lblCaption.Text = ModCaption; + //鍔犺浇缁勭粐淇℃伅 + Sub_AddOrdList(); + //鍔犺浇宸ュ巶浠g爜淇℃伅 + Sub_AddWorksNumberList(); + } + + //鍔犺浇缁勭粐淇℃伅 + private void Sub_AddOrdList() + { + DataSet ds; + DAL.ClsGy_ORGANIZATIONS_View oClsGy_ORGANIZATIONS_View = new DAL.ClsGy_ORGANIZATIONS_View(); + ds = oClsGy_ORGANIZATIONS_View.GetList(); + if (ds == null || ds.Tables[0].Rows.Count == 0) + { + MessageBox.Show("鑾峰彇缁勭粐澶辫触"); + return; + } + cmbHOrgID.Items.Clear(); + for (int i = 0; i < ds.Tables[0].Rows.Count; i++) + { + cmbHOrgID.Items.Add(DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[i]["HName"])); + } + } + + //鍔犺浇宸ュ巶浠g爜淇℃伅 + private void Sub_AddWorksNumberList() + { + //鑾峰彇绯荤粺鍙傛暟 + ClsXt_SystemParameter oSystemParameter = new ClsXt_SystemParameter(); + if (oSystemParameter.ShowBill(ref DBUtility.ClsPub.sExeReturnInfo) == false) + { + MessageBox.Show("鑾峰彇绯荤粺鍙傛暟澶辫触锛佸師鍥�:" + DBUtility.ClsPub.sExeReturnInfo, "鎻愮ず"); + return; + } + else + { + ERPMode = oSystemParameter.omodel.WMS_WMSStockCtl_ERPMode; + CampanyName = oSystemParameter.omodel.WMS_CampanyName; + SourceQtyCtl = oSystemParameter.omodel.BarCode_SourceQtyCtl; + PrintQty = oSystemParameter.omodel.BarCode_PrintQty; + PrintQtyCtl = oSystemParameter.omodel.BarCode_PrintQtyCtl; + UpdatePrintQtyCtl = oSystemParameter.omodel.BarCode_UpdatePrintQtyCtl; + } + //绯荤粺鍙傛暟锛屾湁婧愬崟鐢熸垚鏉$爜锛岀敓鎴愭潯鐮佹暟閲忓彲鍚﹁秴婧愬崟鏁伴噺鎺у埗锛圢涓轰笉鍙秴婧愬崟鏁伴噺锛� + if (SourceQtyCtl == "N") + { + //绯荤粺鍙傛暟涓轰笉鍙秴婧愬崟鏁伴噺鏃讹紝鍐嶆鍒ゆ柇鐢ㄦ埛鏉冮檺鏄惁鍙秴婧愬崟鏁伴噺 + //鍒ゆ柇鏉冮檺 + if (ClsPub.Security_Log(ModRightNameSourceQty, 3, false, ClsPub.CurUserName)) + { + SourceQtyCtl = "Y"; + } + } + + cmbHWorksNumber.Items.Clear(); + if (CampanyName == "椋為緳") //绯荤粺鍙傛暟 瀹㈡埛瀹氬埗鍖栧悕绉� + { + cmbHWorksNumber.Items.Add("ZL"); + cmbHWorksNumber.Items.Add("ST"); + cmbHWorksNumber.Items.Add("SQ"); + cmbHWorksNumber.Items.Add("MQ"); + } + else + { + cmbHWorksNumber.Items.Add(""); + } + } + + //绐椾綋灏哄鍙樺寲鏃� + private void Gy_BarCodeBill_Resize(object sender, EventArgs e) + { + //Sub_ControlLocation(); + } + + //鏍规嵁缂栬緫鐘舵�� 璁剧疆 鎺т欢鏄惁鍏佽褰曞叆 + private void Sub_LrtextStatus(bool TextEnabled) + { + if (TextEnabled == true) + { + //鎺т欢鍏ㄩ儴鏈夋晥 + gbUp.Enabled = true; + grdMain.BackColor = ClsPub.EditColor; + } + else + { //鎺т欢鍏ㄩ儴鏃犳晥 + gbUp.Enabled = false; + grdMain.BackColor = ClsPub.ViewColor; + } + } + + //timer + private void timer1_Tick(object sender, EventArgs e) + { + timer1.Enabled = false; + Sub_ControlLocation(); + if (BillStatus == DBUtility.ClsPub.Enum_BillStatus.BillStatus_View) + { + //this.Sub_ShowBill(); + } + else + { + this.Sub_AddBill(); + } + DBUtility.Xt_BaseBillFun.SetSumGrid(oSumGrid); + } + + //绐椾綋鍗歌浇 + private void Gy_BarCodeBill_FormClosing(object sender, FormClosingEventArgs e) + { + BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; + DBUtility.Xt_BaseBillFun.SaveGrid(grdMain, this.Name); + } + + //TOOLBAR鐘舵�� 鎸夐挳鏄惁鐏板害 + public void Sub_OperStatus() + { + switch (BillStatus) + { + case DBUtility.ClsPub.Enum_BillStatus.BillStatus_View: + //娴忚鐘舵�� + yl.Enabled = true; + AddRow.Enabled = false; + DelRow.Enabled = false; + bc.Enabled = false; + cz.Enabled = false; + tc.Enabled = true; + //鏈鏍� + if (txtHChecker.Text.Trim() == "") + { + //鏈鏍� + pic1.Visible = false; + pic1.Image = null; + // + } + else if (txtHCloseMan.Text.Trim() == "" && txtHChecker.Text.Trim() != "")//瀹℃牳鏈叧闂� + { + // + pic1.Visible = true; + pic1.Image = System.Drawing.Image.FromFile(ClsPub.AppPath + @"/Pic/Checked.jpg"); + // + } + else//宸插叧闂� + { + // + pic1.Visible = true; + pic1.Image = System.Drawing.Image.FromFile(ClsPub.AppPath + @"/Pic/Closed.jpg"); + // + } + if (txtHDeleteMan.Text.Trim() == "") + { + } + else //宸蹭綔搴� + { + AddRow.Enabled = false; + DelRow.Enabled = false; + bc.Enabled = false; + cz.Enabled = false; + // + pic1.Visible = true; + pic1.Image = System.Drawing.Image.FromFile(ClsPub.AppPath + @"/Pic/Deleted.jpg"); + // + } + Sub_LrtextStatus(false); + grdStatus = false; + break; + case DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew: + //鏂板鐘舵�� + yl.Enabled = true; + AddRow.Enabled = true; + DelRow.Enabled = true; + bc.Enabled = true; + cz.Enabled = true; + tc.Enabled = true; + Sub_LrtextStatus(true); + grdStatus = true; + //鏈鏍� + pic1.Visible = false; + pic1.Image = null; + // + break; + case DBUtility.ClsPub.Enum_BillStatus.BillStatus_Modify: + //淇敼鐘舵�� + yl.Enabled = true; + AddRow.Enabled = true; + DelRow.Enabled = true; + bc.Enabled = true; + cz.Enabled = true; + tc.Enabled = true; + Sub_LrtextStatus(true); + grdStatus = true; + //鏈鏍� + pic1.Visible = false; + pic1.Image = null; + // + break; + } + + } + + #endregion + + #region 绐椾綋澶勭悊鏂规硶 + + + //鍏紡閲嶇畻 + private void RowCount(int sRow, int sTag) + { + if (sTag == 0) + { + //绠辨暟鍒�=鏁伴噺/鏈�灏忓寘瑁呮暟 + double sMoney = 0; + if (ClsPub.isDoule(grdMain.Rows[sRow].Cells[HMinQtyCol].Value) == 0) + { + sMoney = 0; + } + else + { + sMoney = ClsPub.isDoule(grdMain.Rows[sRow].Cells[HQtyCol].Value) / ClsPub.isDoule(grdMain.Rows[sRow].Cells[HMinQtyCol].Value); + } + sMoney = Math.Ceiling(sMoney); + grdMain.Rows[sRow].Cells[HBQtyCol].Value = sMoney; + } + else + { + + } + //if (ClsPub.isDoule(grdMain.Rows[sRow].Cells[HQtyCol].Value) > ClsPub.isDoule(grdMain.Rows[sRow].Cells[HinitQtyCol].Value) + // && ClsPub.isStrNull(grdMain.Rows[sRow].Cells[HBillNoCol].Value) != "") + //{ + // MessageBox.Show("鎵�杈撳叆鐨勪骇鍝佹�绘暟閲忓ぇ浜庡墿浣欏彲鐢熸垚鏁伴噺" + ClsPub.isDoule(grdMain.Rows[sRow].Cells[HinitQtyCol].Value) + "锛岃閲嶆柊杈撳叆锛�"); + // grdMain.Rows[sRow].Cells[HQtyCol].Value = ClsPub.isDoule(grdMain.Rows[sRow].Cells[HinitQtyCol].Value); + // return; + //} + } + + //鏍稿閫夋嫨鐨勫唴瀹� + public bool CheckGridCell(Cell oCell) + { + int Row; + int Col; + Row = oCell.Row; + Col = oCell.Col; + //if (ClsPub.isStrNull(grdMain.get_TextMatrix(Row, HTagCol)) != "*") + //{ + // return true; + //} + //grdMain.Redraw = VSFlex7.RedrawSettings.flexRDNone; + //鍒ゆ柇閫変腑鍒� + if (Col == HMaterNumberCol) //鐗╂枡浠g爜鍒� + { + //ClsGy_MaterialHlp oMate = new ClsGy_MaterialHlp(); + //if (oMate.GetInfoByID(ClsPub.isLong(grdMain.Rows[Row].Cells[HMaterIDCol].Value))) + //{ + // grdMain.Rows[Row].Cells[HMaterIDCol].Value = oMate.HItemID.ToString(); + // grdMain.Rows[Row].Cells[HMaterNumberCol].Value = oMate.HNumber; + // grdMain.Rows[Row].Cells[HMaterNameCol].Value = oMate.HName; + // //grdMain.Rows[Row].Cells[HMaterModelCol].Value = oMate.HModel; + //} + //else + //{ + // grdMain.Rows[Row].Cells[HMaterIDCol].Value = ""; + // grdMain.Rows[Row].Cells[HMaterNumberCol].Value = ""; + // grdMain.Rows[Row].Cells[HMaterNameCol].Value = ""; + // //grdMain.Rows[Row].Cells[HMaterModelCol].Value = ""; + return false; + //} + } + else if (Col == HUnitIDCol) //鍗曚綅ID鍒� + { + //ClsGy_UnitHlp oUn = new ClsGy_UnitHlp(); + //if (oUn.GetInfoByID(ClsPub.isLong(grdMain.Rows[Row].Cells[HUnitIDCol]))) + //{ + // grdMain.Rows[Row].Cells[HUnitIDCol].Value = oUn.HItemID.ToString(); + // grdMain.Rows[Row].Cells[HUnitNameCol].Value = oUn.HName; + //} + //else + //{ + // grdMain.Rows[Row].Cells[HUnitIDCol].Value = ""; + // grdMain.Rows[Row].Cells[HUnitNameCol].Value = ""; + return false; + //} + } + else //鍏朵粬鍒� + { + } + // + // + grdMain.Rows[Row].Cells[HTagCol].Value = "*"; + oSumGrid.EditStatus = false; + return true; + } + //鏄惁鏄┖琛� + private bool IsNullRow(int Row) + { + return DBUtility.Xt_BaseBillFun.IsNullRow(Row, HMaterIDCol, grdMain); + } + //'鍒ゆ柇缃戞牸琛岀殑褰曞叆鏄惁姝g‘ + private bool CheckGridRow(int Row) + { + Cell oCell = new Cell(); + int c = 0; + //if (ClsPub.isStrNull(grdMain.get_TextMatrix(Row, HTagCol)) != "*") + //{ + // return true; + //} + // + for (c = 0; c < grdMain.ColumnCount; c++) + { + oCell.Row = Row; + oCell.Col = c; + //if (!CheckGridCell(oCell)) + // return false; + + } + return true; + } + + DataGridViewTextBoxEditingControl EditingControl; + + + #endregion + + private void txtHSourceBillNo_KeyPress(object sender, KeyPressEventArgs e) + { + if (e.KeyChar == (char)Keys.Return)//鍥炶溅甯﹀嚭婧愬崟淇℃伅 + { + long sHOrgID = -1; + DAL.ClsGy_ORGANIZATIONS_View oClsGy_ORGANIZATIONS_View = new DAL.ClsGy_ORGANIZATIONS_View(); + if (oClsGy_ORGANIZATIONS_View.GetInfoByName(cmbHOrgID.Text)) + { + sHOrgID = oClsGy_ORGANIZATIONS_View.omodel.HItemID; + } + + if (txtHSourceBillNo.Text.Length < 4) + { + MessageBox.Show("璇疯緭鍏�4浣嶄互涓婃暟鎹紒"); + return; + } + //鏍规嵁婧愬崟绫诲瀷 鍜屾簮鍗曞彿 鑾峰彇淇℃伅 + if (cmbSourceBillType.Text.Trim() == "鐢熶骇璁㈠崟") + { + DAL.Cls_S_IFCLD_ICMOList oIFCLD_ICMOList = new DAL.Cls_S_IFCLD_ICMOList(); + //绯荤粺鍙傛暟锛岀敓鎴愭潯鐮佹暟閲忓彲鍚﹁秴婧愬崟鏁伴噺鎺у埗锛圢涓轰笉鍙秴婧愬崟鏁伴噺锛� + if (SourceQtyCtl == "N") + { + if (oIFCLD_ICMOList.RefreshBySourceBillNo(" Where 鍗曟嵁鍙� like '%" + txtHSourceBillNo.Text + "' and HOrgID =" + sHOrgID.ToString() + " and 浠诲姟鏁伴噺>0")) //閫夋嫨鍘熷崟 + { + FillSelectData(oIFCLD_ICMOList.oBillSelectColl); + txtHSourceBillNo.Text = ""; + } + else + { + MessageBox.Show("鏈煡璇㈠埌浠诲姟鏁版嵁锛岃纭鎵�閫夌粍缁囥�佹簮鍗曠被鍨嬩笌婧愬崟鍗曞彿鏄惁姝g‘锛�"); + return; + } + } + else + { + if (oIFCLD_ICMOList.RefreshBySourceBillNo(" Where 鍗曟嵁鍙� like '%" + txtHSourceBillNo.Text + "' and HOrgID =" + sHOrgID.ToString())) //閫夋嫨鍘熷崟 + { + FillSelectData(oIFCLD_ICMOList.oBillSelectColl); + txtHSourceBillNo.Text = ""; + } + else + { + MessageBox.Show("鏈煡璇㈠埌浠诲姟鏁版嵁锛岃纭鎵�閫夌粍缁囥�佹簮鍗曠被鍨嬩笌婧愬崟鍗曞彿鏄惁姝g‘锛�"); + return; + } + } + } + else if (cmbSourceBillType.Text.Trim() == "鐢熶骇姹囨姤鍗�") + { + DAL.Cls_S_IF_ICMOReportBillList oIF_ICMOReportBillList = new DAL.Cls_S_IF_ICMOReportBillList(); + if (oIF_ICMOReportBillList.RefreshBySourceBillNo(" Where 鍗曟嵁鍙� like '%" + txtHSourceBillNo.Text + "' ")) //閫夋嫨鍘熷崟 + { + FillSelectData(oIF_ICMOReportBillList.oBillSelectColl); + txtHSourceBillNo.Text = ""; + } + else + { + MessageBox.Show("鏈煡璇㈠埌浠诲姟鏁版嵁锛岃纭鎵�閫夌粍缁囥�佹簮鍗曠被鍨嬩笌婧愬崟鍗曞彿鏄惁姝g‘锛�"); + return; + } + } + else if (cmbSourceBillType.Text.Trim() == "鏀舵枡閫氱煡鍗�") + { + DAL.Cls_S_IF_POInStockBillList oIF_POInStockBillList = new DAL.Cls_S_IF_POInStockBillList(); + if (oIF_POInStockBillList.RefreshBySourceBillNo(" Where 鍗曟嵁鍙� like '%" + txtHSourceBillNo.Text + "' ")) //閫夋嫨鍘熷崟 + { + FillSelectData(oIF_POInStockBillList.oBillSelectColl); + txtHSourceBillNo.Text = ""; + } + else + { + MessageBox.Show("鏈煡璇㈠埌浠诲姟鏁版嵁锛岃纭鎵�閫夌粍缁囥�佹簮鍗曠被鍨嬩笌婧愬崟鍗曞彿鏄惁姝g‘锛�"); + return; + } + } + else if (cmbSourceBillType.Text.Trim() == "閲囪喘璁㈠崟") + { + DAL.Cls_S_IF_POOrderBillList oIF_POOrderBillList = new DAL.Cls_S_IF_POOrderBillList(); + if (oIF_POOrderBillList.RefreshBySourceBillNo(" Where 鍗曟嵁鍙� like '%" + txtHSourceBillNo.Text + "' ")) //閫夋嫨鍘熷崟 + { + FillSelectData(oIF_POOrderBillList.oBillSelectColl); + txtHSourceBillNo.Text = ""; + } + else + { + MessageBox.Show("鏈煡璇㈠埌浠诲姟鏁版嵁锛岃纭鎵�閫夌粍缁囥�佹簮鍗曠被鍨嬩笌婧愬崟鍗曞彿鏄惁姝g‘锛�"); + return; + } + } + else if (cmbSourceBillType.Text.Trim() == "濮斿璁㈠崟") + { + DAL.Cls_S_IF_EntrustOrderBillList oIF_EntrustOrderBillList = new DAL.Cls_S_IF_EntrustOrderBillList(); + if (oIF_EntrustOrderBillList.RefreshBySourceBillNo(" Where 鍗曟嵁鍙� like '%" + txtHSourceBillNo.Text + "' ")) //閫夋嫨鍘熷崟 + { + FillSelectData(oIF_EntrustOrderBillList.oBillSelectColl); + txtHSourceBillNo.Text = ""; + } + else + { + MessageBox.Show("鏈煡璇㈠埌浠诲姟鏁版嵁锛岃纭鎵�閫夌粍缁囥�佹簮鍗曠被鍨嬩笌婧愬崟鍗曞彿鏄惁姝g‘锛�"); + return; + } + } + else + { + MessageBox.Show("鎵�閫夋簮鍗曠被鍨嬶紝涓嶆敮鎸佹鍔熻兘锛�"); + return; + } + + } + } + + #region 鏂嚎閲嶈繛 + private int maxRepeatConnectTimes = 6; + private int currentRepeatConnectTimes = 0; + + #region 瀹氭椂鍣ㄦ娴嬭繛鎺ョ姸鎬併�佹柇绾块噸杩� + private void timer3_Tick(object sender, EventArgs e) + { + string msg = ""; + if (currentRepeatConnectTimes < maxRepeatConnectTimes) + { + if(connect(ref msg) == true) + { + timer3.Enabled = false; + } + else + { + currentRepeatConnectTimes += 1; + } + } + else + { + timer3.Enabled = false; + + if (client.IsConnected == true) + { + + } + else + { + button_startListen.Enabled = true; + button_stopListen.Enabled = false; + MessageBox.Show("杩炴帴宸叉柇寮�锛岃閲嶆柊杩炴帴锛�!"); + + } + currentRepeatConnectTimes = 0; + } + } + #endregion + + #region 鑾峰彇鐩爣璁惧缃戠粶杩炴帴鐘舵�� + private bool getTargetInternetStatus() + { + try + { + string targetIp = textBox_IPParams.Text; // 鏇挎崲涓虹洰鏍囩數鑴戠殑IP鍦板潃 + Ping pingSender = new Ping(); + PingOptions options = new PingOptions(); + // 浣跨敤64瀛楄妭鐨勬暟鎹寘锛屸�屼綘鍙互鏍规嵁闇�瑕佽皟鏁磋繖涓�� + string data = "Hello from Ping!"; + byte[] buffer = Encoding.ASCII.GetBytes(data); + int timeout = 1200; // 瓒呮椂鏃堕棿锛屸�屽崟浣嶄负姣 + PingReply reply = pingSender.Send(targetIp, timeout, buffer, options); + + if (reply.Status == IPStatus.Success) + { + return true; + } + else + { + return false; + } + } + catch (Exception ex) + { + return false; + } + + } + #endregion + #endregion + + #region 宸ュ叿鏂规硶 + #region json杞负瀵硅薄 + public List<MQTT_MainEntity> getObjectByJson_Xs_OutDoorBillMain(string jsonString) + { + jsonString = "[" + jsonString.ToString() + "]"; + List<MQTT_MainEntity> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<MQTT_MainEntity>>(jsonString); + return list; + } + #endregion + #endregion + } + + + #region MQTT鍙戦�佹暟鎹ā鍨� + public class MQTT_MainEntity + { + public string timestamp; + public List<MQTT_SubEntity> values; + } + public class MQTT_SubEntity + { + public string id; //宸ヤ綅 + public bool v; //缁撴灉 + public long t; //鏃堕棿鎴� + } + #endregion +} \ No newline at end of file diff --git "a/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_BarCodeBill_automaticallyByPLC_New_Change.designer.cs" "b/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_BarCodeBill_automaticallyByPLC_New_Change.designer.cs" new file mode 100644 index 0000000..47e7403 --- /dev/null +++ "b/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_BarCodeBill_automaticallyByPLC_New_Change.designer.cs" @@ -0,0 +1,1837 @@ +锘縩amespace WarM +{ + partial class Gy_BarCodeBill_automaticallyByPLC_New_Change + { + /// <summary> + /// 蹇呴渶鐨勮璁″櫒鍙橀噺銆� + /// </summary> + private System.ComponentModel.IContainer components = null; + + /// <summary> + /// 娓呯悊鎵�鏈夋鍦ㄤ娇鐢ㄧ殑璧勬簮銆� + /// </summary> + /// <param name="disposing">濡傛灉搴旈噴鏀炬墭绠¤祫婧愶紝涓� true锛涘惁鍒欎负 false銆�</param> + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows 绐椾綋璁捐鍣ㄧ敓鎴愮殑浠g爜 + + /// <summary> + /// 璁捐鍣ㄦ敮鎸佹墍闇�鐨勬柟娉� - 涓嶈 + /// 浣跨敤浠g爜缂栬緫鍣ㄤ慨鏀规鏂规硶鐨勫唴瀹广�� + /// </summary> + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Gy_BarCodeBill_automaticallyByPLC_New_Change)); + this.Tool = new System.Windows.Forms.ToolStrip(); + this.dy = new System.Windows.Forms.ToolStripButton(); + this.sdy = new System.Windows.Forms.ToolStripButton(); + this.yl = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.AddRow = new System.Windows.Forms.ToolStripButton(); + this.spRow = new System.Windows.Forms.ToolStripButton(); + this.bc = new System.Windows.Forms.ToolStripButton(); + this.DelRow = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator(); + this.wxm = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator(); + this.cz = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); + this.kc = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripSeparator12 = new System.Windows.Forms.ToolStripSeparator(); + this.mrlk = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator11 = new System.Windows.Forms.ToolStripSeparator(); + this.bclk = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator10 = new System.Windows.Forms.ToolStripSeparator(); + this.tb = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); + this.gl = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); + this.BatchNo = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); + this.tc = new System.Windows.Forms.ToolStripButton(); + this.lblCaption = new System.Windows.Forms.Label(); + this.P1 = new System.Windows.Forms.Panel(); + this.tabControl_MainInfo = new System.Windows.Forms.TabControl(); + this.tabPage_BillInfo = new System.Windows.Forms.TabPage(); + this.gbUp = new System.Windows.Forms.GroupBox(); + this.groupBox1 = new System.Windows.Forms.GroupBox(); + this.radioButton_IsPrint_No = new System.Windows.Forms.RadioButton(); + this.radioButton_IsPrint_Yes = new System.Windows.Forms.RadioButton(); + this.cmdSourceBillNo = new System.Windows.Forms.Button(); + this.cmbHWorksNumber = new System.Windows.Forms.ComboBox(); + this.label4 = new System.Windows.Forms.Label(); + this.cmbHOrgID = new System.Windows.Forms.ComboBox(); + this.radioButton_HIsUsingBatchNo = new System.Windows.Forms.RadioButton(); + this.label_SourceName = new System.Windows.Forms.Label(); + this.button_stopListen = new System.Windows.Forms.Button(); + this.textBox_SourceName = new System.Windows.Forms.TextBox(); + this.dtpHDate = new System.Windows.Forms.DateTimePicker(); + this.label_HMaterNumber = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.textBox_HMaterNumber = new System.Windows.Forms.TextBox(); + this.button_startListen = new System.Windows.Forms.Button(); + this.label_HMaterName = new System.Windows.Forms.Label(); + this.cmbHBarCodeType = new System.Windows.Forms.ComboBox(); + this.textBox_HMaterName = new System.Windows.Forms.TextBox(); + this.label_HMaterModel = new System.Windows.Forms.Label(); + this.label1 = new System.Windows.Forms.Label(); + this.textBox_HMaterModel = new System.Windows.Forms.TextBox(); + this.label3 = new System.Windows.Forms.Label(); + this.label_HPlanQty = new System.Windows.Forms.Label(); + this.textBox_HQty = new System.Windows.Forms.TextBox(); + this.textBox_HPlanQty = new System.Windows.Forms.TextBox(); + this.label10 = new System.Windows.Forms.Label(); + this.txtHSourceBillNo = new System.Windows.Forms.TextBox(); + this.cmbSourceBillType = new System.Windows.Forms.ComboBox(); + this.label14 = new System.Windows.Forms.Label(); + this.label_HQty = new System.Windows.Forms.Label(); + this.tabPage_ParamsInfo = new System.Windows.Forms.TabPage(); + this.groupBox_ParamsInfo = new System.Windows.Forms.GroupBox(); + this.textBox_TopicParams = new System.Windows.Forms.TextBox(); + this.label_TopicParams = new System.Windows.Forms.Label(); + this.textBox_ClientIDParams = new System.Windows.Forms.TextBox(); + this.label_ClientIDParams = new System.Windows.Forms.Label(); + this.textBox_PasswordParams = new System.Windows.Forms.TextBox(); + this.label_PasswordParams = new System.Windows.Forms.Label(); + this.textBox_UserParams = new System.Windows.Forms.TextBox(); + this.label_UserParams = new System.Windows.Forms.Label(); + this.button_resetParams = new System.Windows.Forms.Button(); + this.button_saveParams = new System.Windows.Forms.Button(); + this.textBox_PrintModelParams = new System.Windows.Forms.TextBox(); + this.label_PrintModelParams = new System.Windows.Forms.Label(); + this.comboBox_PrinterParams = new System.Windows.Forms.ComboBox(); + this.label_PrinterParams = new System.Windows.Forms.Label(); + this.comboBox_SourceNameParams = new System.Windows.Forms.ComboBox(); + this.label_SourceNameParams = new System.Windows.Forms.Label(); + this.textBox_PortParams = new System.Windows.Forms.TextBox(); + this.label_PortParams = new System.Windows.Forms.Label(); + this.textBox_IPParams = new System.Windows.Forms.TextBox(); + this.label_IPParams = new System.Windows.Forms.Label(); + this.pic1 = new System.Windows.Forms.PictureBox(); + this.panel2 = new System.Windows.Forms.Panel(); + this.txtHDeleteDate = new System.Windows.Forms.Label(); + this.label25 = new System.Windows.Forms.Label(); + this.txtHDeleteMan = new System.Windows.Forms.Label(); + this.label27 = new System.Windows.Forms.Label(); + this.txtHUpDateDate = new System.Windows.Forms.Label(); + this.label23 = new System.Windows.Forms.Label(); + this.txtHUpDater = new System.Windows.Forms.Label(); + this.label21 = new System.Windows.Forms.Label(); + this.txtHCloseDate = new System.Windows.Forms.Label(); + this.label19 = new System.Windows.Forms.Label(); + this.txtHCloseMan = new System.Windows.Forms.Label(); + this.label17 = new System.Windows.Forms.Label(); + this.txtHCheckDate = new System.Windows.Forms.Label(); + this.label15 = new System.Windows.Forms.Label(); + this.txtHChecker = new System.Windows.Forms.Label(); + this.label13 = new System.Windows.Forms.Label(); + this.txtHMakeDate = new System.Windows.Forms.Label(); + this.label11 = new System.Windows.Forms.Label(); + this.txtHMaker = new System.Windows.Forms.Label(); + this.label8 = new System.Windows.Forms.Label(); + this.timer1 = new System.Windows.Forms.Timer(this.components); + this.panel1 = new System.Windows.Forms.Panel(); + this.panel3 = new System.Windows.Forms.Panel(); + this.grdSum = new System.Windows.Forms.DataGridView(); + this.grdPrint = new System.Windows.Forms.DataGridView(); + this.tabPage3 = new System.Windows.Forms.TabPage(); + this.grdList = new System.Windows.Forms.DataGridView(); + this.tabPage2 = new System.Windows.Forms.TabPage(); + this.grdSub = new System.Windows.Forms.DataGridView(); + this.tabPage1 = new System.Windows.Forms.TabPage(); + this.grdMain = new System.Windows.Forms.DataGridView(); + this.tabControl1 = new System.Windows.Forms.TabControl(); + this.tabPage4 = new System.Windows.Forms.TabPage(); + this.grdBillBarCodeList = new System.Windows.Forms.DataGridView(); + this.pageSetupDialog1 = new System.Windows.Forms.PageSetupDialog(); + this.printDocument1 = new System.Drawing.Printing.PrintDocument(); + this.printDialog1 = new System.Windows.Forms.PrintDialog(); + this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog(); + this.timer2 = new System.Windows.Forms.Timer(this.components); + this.timer3 = new System.Windows.Forms.Timer(this.components); + this.textBox_WorkPositionParams = new System.Windows.Forms.TextBox(); + this.label_WorkPositionParams = new System.Windows.Forms.Label(); + this.Tool.SuspendLayout(); + this.P1.SuspendLayout(); + this.tabControl_MainInfo.SuspendLayout(); + this.tabPage_BillInfo.SuspendLayout(); + this.gbUp.SuspendLayout(); + this.groupBox1.SuspendLayout(); + this.tabPage_ParamsInfo.SuspendLayout(); + this.groupBox_ParamsInfo.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pic1)).BeginInit(); + this.panel2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.grdSum)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.grdPrint)).BeginInit(); + this.tabPage3.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.grdList)).BeginInit(); + this.tabPage2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.grdSub)).BeginInit(); + this.tabPage1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.grdMain)).BeginInit(); + this.tabControl1.SuspendLayout(); + this.tabPage4.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.grdBillBarCodeList)).BeginInit(); + this.SuspendLayout(); + // + // Tool + // + this.Tool.AutoSize = false; + this.Tool.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("Tool.BackgroundImage"))); + this.Tool.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.Tool.ImageScalingSize = new System.Drawing.Size(22, 22); + this.Tool.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.dy, + this.sdy, + this.yl, + this.toolStripSeparator2, + this.AddRow, + this.spRow, + this.bc, + this.DelRow, + this.toolStripSeparator4, + this.toolStripSeparator8, + this.wxm, + this.toolStripSeparator9, + this.cz, + this.toolStripSeparator5, + this.kc, + this.toolStripSeparator1, + this.toolStripSeparator12, + this.mrlk, + this.toolStripSeparator11, + this.bclk, + this.toolStripSeparator10, + this.tb, + this.toolStripSeparator6, + this.gl, + this.toolStripSeparator7, + this.BatchNo, + this.toolStripSeparator3, + this.tc}); + this.Tool.Location = new System.Drawing.Point(0, 0); + this.Tool.Name = "Tool"; + this.Tool.Padding = new System.Windows.Forms.Padding(0); + this.Tool.Size = new System.Drawing.Size(1924, 75); + this.Tool.Stretch = true; + this.Tool.TabIndex = 17; + this.Tool.Text = "toolStrip1"; + // + // dy + // + this.dy.AutoSize = false; + this.dy.Image = ((System.Drawing.Image)(resources.GetObject("dy.Image"))); + this.dy.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; + this.dy.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.dy.ImageTransparentColor = System.Drawing.Color.White; + this.dy.Name = "dy"; + this.dy.Size = new System.Drawing.Size(35, 47); + this.dy.Text = "鎵撳嵃"; + this.dy.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.dy.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.dy.Visible = false; + // + // sdy + // + this.sdy.AutoSize = false; + this.sdy.Image = ((System.Drawing.Image)(resources.GetObject("sdy.Image"))); + this.sdy.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; + this.sdy.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.sdy.ImageTransparentColor = System.Drawing.Color.Magenta; + this.sdy.Name = "sdy"; + this.sdy.Size = new System.Drawing.Size(35, 47); + this.sdy.Text = "娴忚"; + this.sdy.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.sdy.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.sdy.Visible = false; + // + // yl + // + this.yl.AutoSize = false; + this.yl.Image = ((System.Drawing.Image)(resources.GetObject("yl.Image"))); + this.yl.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; + this.yl.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.yl.ImageTransparentColor = System.Drawing.Color.Magenta; + this.yl.Name = "yl"; + this.yl.Size = new System.Drawing.Size(35, 47); + this.yl.Text = "棰勮"; + this.yl.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.yl.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.yl.Visible = false; + // + // toolStripSeparator2 + // + this.toolStripSeparator2.Name = "toolStripSeparator2"; + this.toolStripSeparator2.Size = new System.Drawing.Size(6, 75); + // + // AddRow + // + this.AddRow.AutoSize = false; + this.AddRow.Image = ((System.Drawing.Image)(resources.GetObject("AddRow.Image"))); + this.AddRow.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; + this.AddRow.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.AddRow.ImageTransparentColor = System.Drawing.Color.Magenta; + this.AddRow.Name = "AddRow"; + this.AddRow.Size = new System.Drawing.Size(35, 47); + this.AddRow.Text = "澧炶"; + this.AddRow.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.AddRow.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.AddRow.Visible = false; + this.AddRow.Click += new System.EventHandler(this.AddRow_Click); + // + // spRow + // + this.spRow.AutoSize = false; + this.spRow.Image = ((System.Drawing.Image)(resources.GetObject("spRow.Image"))); + this.spRow.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; + this.spRow.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.spRow.ImageTransparentColor = System.Drawing.Color.Magenta; + this.spRow.Name = "spRow"; + this.spRow.Size = new System.Drawing.Size(35, 47); + this.spRow.Text = "鎷嗚"; + this.spRow.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.spRow.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.spRow.Visible = false; + // + // bc + // + this.bc.AutoSize = false; + this.bc.Image = ((System.Drawing.Image)(resources.GetObject("bc.Image"))); + this.bc.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; + this.bc.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.bc.ImageTransparentColor = System.Drawing.Color.Magenta; + this.bc.Name = "bc"; + this.bc.Size = new System.Drawing.Size(60, 60); + this.bc.Text = "鐢熸垚"; + this.bc.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.bc.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.bc.Click += new System.EventHandler(this.bc_Click); + // + // DelRow + // + this.DelRow.AutoSize = false; + this.DelRow.Image = ((System.Drawing.Image)(resources.GetObject("DelRow.Image"))); + this.DelRow.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; + this.DelRow.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.DelRow.ImageTransparentColor = System.Drawing.Color.Magenta; + this.DelRow.Name = "DelRow"; + this.DelRow.Size = new System.Drawing.Size(35, 47); + this.DelRow.Text = "鍒犺"; + this.DelRow.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.DelRow.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.DelRow.Visible = false; + this.DelRow.Click += new System.EventHandler(this.DelRow_Click); + // + // toolStripSeparator4 + // + this.toolStripSeparator4.Name = "toolStripSeparator4"; + this.toolStripSeparator4.Size = new System.Drawing.Size(6, 75); + this.toolStripSeparator4.Visible = false; + // + // toolStripSeparator8 + // + this.toolStripSeparator8.Name = "toolStripSeparator8"; + this.toolStripSeparator8.Size = new System.Drawing.Size(6, 75); + this.toolStripSeparator8.Visible = false; + // + // wxm + // + this.wxm.AutoSize = false; + this.wxm.Image = ((System.Drawing.Image)(resources.GetObject("wxm.Image"))); + this.wxm.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; + this.wxm.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.wxm.ImageTransparentColor = System.Drawing.Color.Magenta; + this.wxm.Name = "wxm"; + this.wxm.Size = new System.Drawing.Size(50, 47); + this.wxm.Text = "澶栫鐮�"; + this.wxm.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.wxm.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.wxm.Visible = false; + // + // toolStripSeparator9 + // + this.toolStripSeparator9.Name = "toolStripSeparator9"; + this.toolStripSeparator9.Size = new System.Drawing.Size(6, 75); + // + // cz + // + this.cz.AutoSize = false; + this.cz.Image = ((System.Drawing.Image)(resources.GetObject("cz.Image"))); + this.cz.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; + this.cz.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.cz.ImageTransparentColor = System.Drawing.Color.Magenta; + this.cz.Name = "cz"; + this.cz.Size = new System.Drawing.Size(35, 47); + this.cz.Text = "閲嶇疆"; + this.cz.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.cz.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.cz.Visible = false; + this.cz.Click += new System.EventHandler(this.cz_Click); + // + // toolStripSeparator5 + // + this.toolStripSeparator5.Name = "toolStripSeparator5"; + this.toolStripSeparator5.Size = new System.Drawing.Size(6, 75); + // + // kc + // + this.kc.AutoSize = false; + this.kc.Image = ((System.Drawing.Image)(resources.GetObject("kc.Image"))); + this.kc.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; + this.kc.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.kc.ImageTransparentColor = System.Drawing.Color.White; + this.kc.Name = "kc"; + this.kc.Size = new System.Drawing.Size(35, 47); + this.kc.Text = "搴撳瓨"; + this.kc.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.kc.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.kc.Visible = false; + // + // toolStripSeparator1 + // + this.toolStripSeparator1.Name = "toolStripSeparator1"; + this.toolStripSeparator1.Size = new System.Drawing.Size(6, 75); + // + // toolStripSeparator12 + // + this.toolStripSeparator12.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.toolStripSeparator12.Name = "toolStripSeparator12"; + this.toolStripSeparator12.Size = new System.Drawing.Size(6, 75); + // + // mrlk + // + this.mrlk.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.mrlk.Image = ((System.Drawing.Image)(resources.GetObject("mrlk.Image"))); + this.mrlk.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; + this.mrlk.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.mrlk.ImageTransparentColor = System.Drawing.Color.White; + this.mrlk.Name = "mrlk"; + this.mrlk.Size = new System.Drawing.Size(86, 70); + this.mrlk.Text = "榛樿鍒楀"; + this.mrlk.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.mrlk.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.mrlk.Click += new System.EventHandler(this.mrlk_Click); + // + // toolStripSeparator11 + // + this.toolStripSeparator11.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.toolStripSeparator11.Name = "toolStripSeparator11"; + this.toolStripSeparator11.Size = new System.Drawing.Size(6, 75); + // + // bclk + // + this.bclk.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.bclk.Image = ((System.Drawing.Image)(resources.GetObject("bclk.Image"))); + this.bclk.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; + this.bclk.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.bclk.ImageTransparentColor = System.Drawing.Color.White; + this.bclk.Name = "bclk"; + this.bclk.Size = new System.Drawing.Size(86, 70); + this.bclk.Text = "淇濆瓨鍒楀"; + this.bclk.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.bclk.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.bclk.Click += new System.EventHandler(this.bclk_Click); + // + // toolStripSeparator10 + // + this.toolStripSeparator10.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.toolStripSeparator10.Name = "toolStripSeparator10"; + this.toolStripSeparator10.Size = new System.Drawing.Size(6, 75); + // + // tb + // + this.tb.AutoSize = false; + this.tb.Image = ((System.Drawing.Image)(resources.GetObject("tb.Image"))); + this.tb.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; + this.tb.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.tb.ImageTransparentColor = System.Drawing.Color.Magenta; + this.tb.Name = "tb"; + this.tb.Size = new System.Drawing.Size(80, 47); + this.tb.Text = "鍚屾璧勬枡"; + this.tb.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.tb.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.tb.ToolTipText = "鍚屾鍩虹璧勬枡"; + this.tb.Visible = false; + // + // toolStripSeparator6 + // + this.toolStripSeparator6.Name = "toolStripSeparator6"; + this.toolStripSeparator6.Size = new System.Drawing.Size(6, 75); + // + // gl + // + this.gl.AutoSize = false; + this.gl.Image = ((System.Drawing.Image)(resources.GetObject("gl.Image"))); + this.gl.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; + this.gl.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.gl.ImageTransparentColor = System.Drawing.Color.White; + this.gl.Name = "gl"; + this.gl.Size = new System.Drawing.Size(35, 47); + this.gl.Text = "鍏宠仈"; + this.gl.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.gl.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.gl.Visible = false; + // + // toolStripSeparator7 + // + this.toolStripSeparator7.Name = "toolStripSeparator7"; + this.toolStripSeparator7.Size = new System.Drawing.Size(6, 75); + // + // BatchNo + // + this.BatchNo.AutoSize = false; + this.BatchNo.Image = ((System.Drawing.Image)(resources.GetObject("BatchNo.Image"))); + this.BatchNo.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; + this.BatchNo.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.BatchNo.ImageTransparentColor = System.Drawing.Color.White; + this.BatchNo.Name = "BatchNo"; + this.BatchNo.Size = new System.Drawing.Size(36, 47); + this.BatchNo.Text = "鎵规"; + this.BatchNo.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.BatchNo.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.BatchNo.Visible = false; + // + // toolStripSeparator3 + // + this.toolStripSeparator3.Name = "toolStripSeparator3"; + this.toolStripSeparator3.Size = new System.Drawing.Size(6, 75); + // + // tc + // + this.tc.AutoSize = false; + this.tc.Image = ((System.Drawing.Image)(resources.GetObject("tc.Image"))); + this.tc.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; + this.tc.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.tc.ImageTransparentColor = System.Drawing.Color.White; + this.tc.Margin = new System.Windows.Forms.Padding(100, 2, 0, 3); + this.tc.Name = "tc"; + this.tc.Size = new System.Drawing.Size(60, 60); + this.tc.Text = "閫�鍑�"; + this.tc.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.tc.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.tc.Click += new System.EventHandler(this.tc_Click); + // + // lblCaption + // + this.lblCaption.AutoSize = true; + this.lblCaption.Font = new System.Drawing.Font("瀹嬩綋", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.lblCaption.Location = new System.Drawing.Point(752, 18); + this.lblCaption.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lblCaption.Name = "lblCaption"; + this.lblCaption.Size = new System.Drawing.Size(133, 29); + this.lblCaption.TabIndex = 18; + this.lblCaption.Text = "鍗曟嵁缂栬緫"; + this.lblCaption.Visible = false; + // + // P1 + // + this.P1.BackColor = System.Drawing.Color.Lavender; + this.P1.Controls.Add(this.tabControl_MainInfo); + this.P1.Controls.Add(this.pic1); + this.P1.Controls.Add(this.lblCaption); + this.P1.Dock = System.Windows.Forms.DockStyle.Top; + this.P1.Location = new System.Drawing.Point(62, 75); + this.P1.Margin = new System.Windows.Forms.Padding(4); + this.P1.Name = "P1"; + this.P1.Size = new System.Drawing.Size(1804, 358); + this.P1.TabIndex = 31; + // + // tabControl_MainInfo + // + this.tabControl_MainInfo.Controls.Add(this.tabPage_BillInfo); + this.tabControl_MainInfo.Controls.Add(this.tabPage_ParamsInfo); + this.tabControl_MainInfo.Location = new System.Drawing.Point(3, 4); + this.tabControl_MainInfo.Name = "tabControl_MainInfo"; + this.tabControl_MainInfo.SelectedIndex = 0; + this.tabControl_MainInfo.Size = new System.Drawing.Size(1794, 346); + this.tabControl_MainInfo.TabIndex = 38; + // + // tabPage_BillInfo + // + this.tabPage_BillInfo.BackColor = System.Drawing.Color.Lavender; + this.tabPage_BillInfo.Controls.Add(this.gbUp); + this.tabPage_BillInfo.Location = new System.Drawing.Point(4, 28); + this.tabPage_BillInfo.Name = "tabPage_BillInfo"; + this.tabPage_BillInfo.Padding = new System.Windows.Forms.Padding(3); + this.tabPage_BillInfo.Size = new System.Drawing.Size(1786, 314); + this.tabPage_BillInfo.TabIndex = 0; + this.tabPage_BillInfo.Text = "宸ュ崟淇℃伅"; + // + // gbUp + // + this.gbUp.BackColor = System.Drawing.Color.Transparent; + this.gbUp.Controls.Add(this.groupBox1); + this.gbUp.Controls.Add(this.cmdSourceBillNo); + this.gbUp.Controls.Add(this.cmbHWorksNumber); + this.gbUp.Controls.Add(this.label4); + this.gbUp.Controls.Add(this.cmbHOrgID); + this.gbUp.Controls.Add(this.radioButton_HIsUsingBatchNo); + this.gbUp.Controls.Add(this.label_SourceName); + this.gbUp.Controls.Add(this.button_stopListen); + this.gbUp.Controls.Add(this.textBox_SourceName); + this.gbUp.Controls.Add(this.dtpHDate); + this.gbUp.Controls.Add(this.label_HMaterNumber); + this.gbUp.Controls.Add(this.label2); + this.gbUp.Controls.Add(this.textBox_HMaterNumber); + this.gbUp.Controls.Add(this.button_startListen); + this.gbUp.Controls.Add(this.label_HMaterName); + this.gbUp.Controls.Add(this.cmbHBarCodeType); + this.gbUp.Controls.Add(this.textBox_HMaterName); + this.gbUp.Controls.Add(this.label_HMaterModel); + this.gbUp.Controls.Add(this.label1); + this.gbUp.Controls.Add(this.textBox_HMaterModel); + this.gbUp.Controls.Add(this.label3); + this.gbUp.Controls.Add(this.label_HPlanQty); + this.gbUp.Controls.Add(this.textBox_HQty); + this.gbUp.Controls.Add(this.textBox_HPlanQty); + this.gbUp.Controls.Add(this.label10); + this.gbUp.Controls.Add(this.txtHSourceBillNo); + this.gbUp.Controls.Add(this.cmbSourceBillType); + this.gbUp.Controls.Add(this.label14); + this.gbUp.Controls.Add(this.label_HQty); + this.gbUp.Location = new System.Drawing.Point(4, 4); + this.gbUp.Margin = new System.Windows.Forms.Padding(4); + this.gbUp.Name = "gbUp"; + this.gbUp.Padding = new System.Windows.Forms.Padding(4); + this.gbUp.Size = new System.Drawing.Size(1775, 310); + this.gbUp.TabIndex = 33; + this.gbUp.TabStop = false; + // + // groupBox1 + // + this.groupBox1.Controls.Add(this.radioButton_IsPrint_No); + this.groupBox1.Controls.Add(this.radioButton_IsPrint_Yes); + this.groupBox1.Location = new System.Drawing.Point(24, 162); + this.groupBox1.Name = "groupBox1"; + this.groupBox1.Size = new System.Drawing.Size(200, 100); + this.groupBox1.TabIndex = 45; + this.groupBox1.TabStop = false; + // + // radioButton_IsPrint_No + // + this.radioButton_IsPrint_No.AutoSize = true; + this.radioButton_IsPrint_No.Location = new System.Drawing.Point(6, 68); + this.radioButton_IsPrint_No.Name = "radioButton_IsPrint_No"; + this.radioButton_IsPrint_No.Size = new System.Drawing.Size(87, 22); + this.radioButton_IsPrint_No.TabIndex = 1; + this.radioButton_IsPrint_No.Text = "涓嶆墦鍗�"; + this.radioButton_IsPrint_No.UseVisualStyleBackColor = true; + // + // radioButton_IsPrint_Yes + // + this.radioButton_IsPrint_Yes.AutoSize = true; + this.radioButton_IsPrint_Yes.Checked = true; + this.radioButton_IsPrint_Yes.Location = new System.Drawing.Point(7, 13); + this.radioButton_IsPrint_Yes.Name = "radioButton_IsPrint_Yes"; + this.radioButton_IsPrint_Yes.Size = new System.Drawing.Size(69, 22); + this.radioButton_IsPrint_Yes.TabIndex = 0; + this.radioButton_IsPrint_Yes.TabStop = true; + this.radioButton_IsPrint_Yes.Text = "鎵撳嵃"; + this.radioButton_IsPrint_Yes.UseVisualStyleBackColor = true; + // + // cmdSourceBillNo + // + this.cmdSourceBillNo.Image = ((System.Drawing.Image)(resources.GetObject("cmdSourceBillNo.Image"))); + this.cmdSourceBillNo.Location = new System.Drawing.Point(1645, 0); + this.cmdSourceBillNo.Margin = new System.Windows.Forms.Padding(4); + this.cmdSourceBillNo.Name = "cmdSourceBillNo"; + this.cmdSourceBillNo.Size = new System.Drawing.Size(122, 70); + this.cmdSourceBillNo.TabIndex = 99; + this.cmdSourceBillNo.UseVisualStyleBackColor = true; + this.cmdSourceBillNo.Click += new System.EventHandler(this.cmdSourceBillNo_Click_1); + // + // cmbHWorksNumber + // + this.cmbHWorksNumber.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbHWorksNumber.FormattingEnabled = true; + this.cmbHWorksNumber.Location = new System.Drawing.Point(122, 230); + this.cmbHWorksNumber.Margin = new System.Windows.Forms.Padding(4); + this.cmbHWorksNumber.Name = "cmbHWorksNumber"; + this.cmbHWorksNumber.Size = new System.Drawing.Size(280, 26); + this.cmbHWorksNumber.TabIndex = 98; + this.cmbHWorksNumber.Visible = false; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.ForeColor = System.Drawing.Color.Black; + this.label4.Location = new System.Drawing.Point(21, 236); + this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(80, 18); + this.label4.TabIndex = 97; + this.label4.Text = "宸ュ巶浠g爜"; + this.label4.Visible = false; + // + // cmbHOrgID + // + this.cmbHOrgID.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbHOrgID.FormattingEnabled = true; + this.cmbHOrgID.Location = new System.Drawing.Point(121, 21); + this.cmbHOrgID.Margin = new System.Windows.Forms.Padding(4); + this.cmbHOrgID.Name = "cmbHOrgID"; + this.cmbHOrgID.Size = new System.Drawing.Size(280, 26); + this.cmbHOrgID.TabIndex = 85; + // + // radioButton_HIsUsingBatchNo + // + this.radioButton_HIsUsingBatchNo.AutoSize = true; + this.radioButton_HIsUsingBatchNo.Enabled = false; + this.radioButton_HIsUsingBatchNo.Location = new System.Drawing.Point(600, 175); + this.radioButton_HIsUsingBatchNo.Name = "radioButton_HIsUsingBatchNo"; + this.radioButton_HIsUsingBatchNo.Size = new System.Drawing.Size(141, 22); + this.radioButton_HIsUsingBatchNo.TabIndex = 98; + this.radioButton_HIsUsingBatchNo.TabStop = true; + this.radioButton_HIsUsingBatchNo.Text = "鏄惁鍚敤鎵规"; + this.radioButton_HIsUsingBatchNo.UseVisualStyleBackColor = true; + // + // label_SourceName + // + this.label_SourceName.AutoSize = true; + this.label_SourceName.Location = new System.Drawing.Point(20, 84); + this.label_SourceName.Name = "label_SourceName"; + this.label_SourceName.Size = new System.Drawing.Size(80, 18); + this.label_SourceName.TabIndex = 0; + this.label_SourceName.Text = "浜� 绾�"; + // + // button_stopListen + // + this.button_stopListen.Location = new System.Drawing.Point(958, 203); + this.button_stopListen.Name = "button_stopListen"; + this.button_stopListen.Size = new System.Drawing.Size(192, 101); + this.button_stopListen.TabIndex = 97; + this.button_stopListen.Text = "鍋滄鐩戝惉"; + this.button_stopListen.UseVisualStyleBackColor = true; + this.button_stopListen.Click += new System.EventHandler(this.button_stopListen_Click); + // + // textBox_SourceName + // + this.textBox_SourceName.BackColor = System.Drawing.SystemColors.ScrollBar; + this.textBox_SourceName.Enabled = false; + this.textBox_SourceName.Location = new System.Drawing.Point(122, 81); + this.textBox_SourceName.Name = "textBox_SourceName"; + this.textBox_SourceName.Size = new System.Drawing.Size(280, 28); + this.textBox_SourceName.TabIndex = 43; + // + // dtpHDate + // + this.dtpHDate.Format = System.Windows.Forms.DateTimePickerFormat.Short; + this.dtpHDate.Location = new System.Drawing.Point(697, 124); + this.dtpHDate.Name = "dtpHDate"; + this.dtpHDate.Size = new System.Drawing.Size(280, 28); + this.dtpHDate.TabIndex = 96; + // + // label_HMaterNumber + // + this.label_HMaterNumber.AutoSize = true; + this.label_HMaterNumber.Location = new System.Drawing.Point(1178, 80); + this.label_HMaterNumber.Name = "label_HMaterNumber"; + this.label_HMaterNumber.Size = new System.Drawing.Size(80, 18); + this.label_HMaterNumber.TabIndex = 86; + this.label_HMaterNumber.Text = "鐗╂枡浠g爜"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(597, 130); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(80, 18); + this.label2.TabIndex = 95; + this.label2.Text = "鏃� 鏈�"; + // + // textBox_HMaterNumber + // + this.textBox_HMaterNumber.BackColor = System.Drawing.SystemColors.ScrollBar; + this.textBox_HMaterNumber.Enabled = false; + this.textBox_HMaterNumber.Font = new System.Drawing.Font("瀹嬩綋", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.textBox_HMaterNumber.Location = new System.Drawing.Point(1280, 77); + this.textBox_HMaterNumber.Multiline = true; + this.textBox_HMaterNumber.Name = "textBox_HMaterNumber"; + this.textBox_HMaterNumber.Size = new System.Drawing.Size(468, 48); + this.textBox_HMaterNumber.TabIndex = 87; + // + // button_startListen + // + this.button_startListen.Location = new System.Drawing.Point(521, 203); + this.button_startListen.Name = "button_startListen"; + this.button_startListen.Size = new System.Drawing.Size(160, 100); + this.button_startListen.TabIndex = 96; + this.button_startListen.Text = "寮�濮嬬洃鍚�"; + this.button_startListen.UseVisualStyleBackColor = true; + this.button_startListen.Click += new System.EventHandler(this.button_startListen_Click); + // + // label_HMaterName + // + this.label_HMaterName.AutoSize = true; + this.label_HMaterName.Location = new System.Drawing.Point(1175, 136); + this.label_HMaterName.Name = "label_HMaterName"; + this.label_HMaterName.Size = new System.Drawing.Size(80, 18); + this.label_HMaterName.TabIndex = 88; + this.label_HMaterName.Text = "鐗╂枡鍚嶇О"; + // + // cmbHBarCodeType + // + this.cmbHBarCodeType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbHBarCodeType.FormattingEnabled = true; + this.cmbHBarCodeType.Location = new System.Drawing.Point(697, 80); + this.cmbHBarCodeType.Margin = new System.Windows.Forms.Padding(4); + this.cmbHBarCodeType.Name = "cmbHBarCodeType"; + this.cmbHBarCodeType.Size = new System.Drawing.Size(280, 26); + this.cmbHBarCodeType.TabIndex = 81; + // + // textBox_HMaterName + // + this.textBox_HMaterName.BackColor = System.Drawing.SystemColors.ScrollBar; + this.textBox_HMaterName.Enabled = false; + this.textBox_HMaterName.Font = new System.Drawing.Font("瀹嬩綋", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.textBox_HMaterName.Location = new System.Drawing.Point(1280, 131); + this.textBox_HMaterName.Multiline = true; + this.textBox_HMaterName.Name = "textBox_HMaterName"; + this.textBox_HMaterName.Size = new System.Drawing.Size(468, 57); + this.textBox_HMaterName.TabIndex = 89; + // + // label_HMaterModel + // + this.label_HMaterModel.AutoSize = true; + this.label_HMaterModel.Location = new System.Drawing.Point(1178, 197); + this.label_HMaterModel.Name = "label_HMaterModel"; + this.label_HMaterModel.Size = new System.Drawing.Size(80, 18); + this.label_HMaterModel.TabIndex = 90; + this.label_HMaterModel.Text = "瑙勬牸鍨嬪彿"; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.ForeColor = System.Drawing.Color.Black; + this.label1.Location = new System.Drawing.Point(597, 86); + this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(80, 18); + this.label1.TabIndex = 80; + this.label1.Text = "鏉$爜绫诲瀷"; + // + // textBox_HMaterModel + // + this.textBox_HMaterModel.BackColor = System.Drawing.SystemColors.ScrollBar; + this.textBox_HMaterModel.Enabled = false; + this.textBox_HMaterModel.Font = new System.Drawing.Font("瀹嬩綋", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.textBox_HMaterModel.Location = new System.Drawing.Point(1280, 194); + this.textBox_HMaterModel.Multiline = true; + this.textBox_HMaterModel.Name = "textBox_HMaterModel"; + this.textBox_HMaterModel.Size = new System.Drawing.Size(468, 60); + this.textBox_HMaterModel.TabIndex = 91; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.ForeColor = System.Drawing.Color.Black; + this.label3.Location = new System.Drawing.Point(21, 27); + this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(80, 18); + this.label3.TabIndex = 84; + this.label3.Text = "缁� 缁�"; + // + // label_HPlanQty + // + this.label_HPlanQty.AutoSize = true; + this.label_HPlanQty.Location = new System.Drawing.Point(20, 131); + this.label_HPlanQty.Name = "label_HPlanQty"; + this.label_HPlanQty.Size = new System.Drawing.Size(80, 18); + this.label_HPlanQty.TabIndex = 92; + this.label_HPlanQty.Text = "璁″垝鏁伴噺"; + this.label_HPlanQty.Visible = false; + // + // textBox_HQty + // + this.textBox_HQty.BackColor = System.Drawing.SystemColors.ScrollBar; + this.textBox_HQty.Enabled = false; + this.textBox_HQty.Location = new System.Drawing.Point(126, 175); + this.textBox_HQty.Name = "textBox_HQty"; + this.textBox_HQty.Size = new System.Drawing.Size(280, 28); + this.textBox_HQty.TabIndex = 95; + this.textBox_HQty.Visible = false; + this.textBox_HQty.WordWrap = false; + // + // textBox_HPlanQty + // + this.textBox_HPlanQty.BackColor = System.Drawing.SystemColors.ScrollBar; + this.textBox_HPlanQty.Enabled = false; + this.textBox_HPlanQty.Location = new System.Drawing.Point(122, 128); + this.textBox_HPlanQty.Name = "textBox_HPlanQty"; + this.textBox_HPlanQty.Size = new System.Drawing.Size(280, 28); + this.textBox_HPlanQty.TabIndex = 93; + this.textBox_HPlanQty.Visible = false; + // + // label10 + // + this.label10.AutoSize = true; + this.label10.ForeColor = System.Drawing.Color.Black; + this.label10.Location = new System.Drawing.Point(597, 25); + this.label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label10.Name = "label10"; + this.label10.Size = new System.Drawing.Size(80, 18); + this.label10.TabIndex = 35; + this.label10.Text = "婧愬崟绫诲瀷"; + // + // txtHSourceBillNo + // + this.txtHSourceBillNo.Font = new System.Drawing.Font("瀹嬩綋", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.txtHSourceBillNo.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.txtHSourceBillNo.Location = new System.Drawing.Point(1280, 6); + this.txtHSourceBillNo.Margin = new System.Windows.Forms.Padding(4); + this.txtHSourceBillNo.Multiline = true; + this.txtHSourceBillNo.Name = "txtHSourceBillNo"; + this.txtHSourceBillNo.Size = new System.Drawing.Size(364, 64); + this.txtHSourceBillNo.TabIndex = 41; + this.txtHSourceBillNo.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtHSourceBillNo_KeyPress); + // + // cmbSourceBillType + // + this.cmbSourceBillType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbSourceBillType.FormattingEnabled = true; + this.cmbSourceBillType.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.cmbSourceBillType.Location = new System.Drawing.Point(697, 19); + this.cmbSourceBillType.Margin = new System.Windows.Forms.Padding(4); + this.cmbSourceBillType.Name = "cmbSourceBillType"; + this.cmbSourceBillType.Size = new System.Drawing.Size(280, 26); + this.cmbSourceBillType.TabIndex = 36; + // + // label14 + // + this.label14.AutoSize = true; + this.label14.ForeColor = System.Drawing.Color.Black; + this.label14.Location = new System.Drawing.Point(1179, 12); + this.label14.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label14.Name = "label14"; + this.label14.Size = new System.Drawing.Size(80, 18); + this.label14.TabIndex = 40; + this.label14.Text = "閫� 鍗� 鍙�"; + // + // label_HQty + // + this.label_HQty.AutoSize = true; + this.label_HQty.Location = new System.Drawing.Point(21, 180); + this.label_HQty.Name = "label_HQty"; + this.label_HQty.Size = new System.Drawing.Size(80, 18); + this.label_HQty.TabIndex = 94; + this.label_HQty.Text = "鐢熸垚鏁伴噺"; + this.label_HQty.Visible = false; + // + // tabPage_ParamsInfo + // + this.tabPage_ParamsInfo.BackColor = System.Drawing.Color.Lavender; + this.tabPage_ParamsInfo.Controls.Add(this.groupBox_ParamsInfo); + this.tabPage_ParamsInfo.Location = new System.Drawing.Point(4, 28); + this.tabPage_ParamsInfo.Name = "tabPage_ParamsInfo"; + this.tabPage_ParamsInfo.Padding = new System.Windows.Forms.Padding(3); + this.tabPage_ParamsInfo.Size = new System.Drawing.Size(1786, 314); + this.tabPage_ParamsInfo.TabIndex = 1; + this.tabPage_ParamsInfo.Text = "閰嶇疆淇℃伅"; + // + // groupBox_ParamsInfo + // + this.groupBox_ParamsInfo.Controls.Add(this.textBox_WorkPositionParams); + this.groupBox_ParamsInfo.Controls.Add(this.label_WorkPositionParams); + this.groupBox_ParamsInfo.Controls.Add(this.textBox_TopicParams); + this.groupBox_ParamsInfo.Controls.Add(this.label_TopicParams); + this.groupBox_ParamsInfo.Controls.Add(this.textBox_ClientIDParams); + this.groupBox_ParamsInfo.Controls.Add(this.label_ClientIDParams); + this.groupBox_ParamsInfo.Controls.Add(this.textBox_PasswordParams); + this.groupBox_ParamsInfo.Controls.Add(this.label_PasswordParams); + this.groupBox_ParamsInfo.Controls.Add(this.textBox_UserParams); + this.groupBox_ParamsInfo.Controls.Add(this.label_UserParams); + this.groupBox_ParamsInfo.Controls.Add(this.button_resetParams); + this.groupBox_ParamsInfo.Controls.Add(this.button_saveParams); + this.groupBox_ParamsInfo.Controls.Add(this.textBox_PrintModelParams); + this.groupBox_ParamsInfo.Controls.Add(this.label_PrintModelParams); + this.groupBox_ParamsInfo.Controls.Add(this.comboBox_PrinterParams); + this.groupBox_ParamsInfo.Controls.Add(this.label_PrinterParams); + this.groupBox_ParamsInfo.Controls.Add(this.comboBox_SourceNameParams); + this.groupBox_ParamsInfo.Controls.Add(this.label_SourceNameParams); + this.groupBox_ParamsInfo.Controls.Add(this.textBox_PortParams); + this.groupBox_ParamsInfo.Controls.Add(this.label_PortParams); + this.groupBox_ParamsInfo.Controls.Add(this.textBox_IPParams); + this.groupBox_ParamsInfo.Controls.Add(this.label_IPParams); + this.groupBox_ParamsInfo.Location = new System.Drawing.Point(6, 6); + this.groupBox_ParamsInfo.Name = "groupBox_ParamsInfo"; + this.groupBox_ParamsInfo.Size = new System.Drawing.Size(1287, 320); + this.groupBox_ParamsInfo.TabIndex = 0; + this.groupBox_ParamsInfo.TabStop = false; + // + // textBox_TopicParams + // + this.textBox_TopicParams.BackColor = System.Drawing.SystemColors.Window; + this.textBox_TopicParams.Location = new System.Drawing.Point(973, 121); + this.textBox_TopicParams.Name = "textBox_TopicParams"; + this.textBox_TopicParams.Size = new System.Drawing.Size(280, 28); + this.textBox_TopicParams.TabIndex = 113; + // + // label_TopicParams + // + this.label_TopicParams.AutoSize = true; + this.label_TopicParams.Location = new System.Drawing.Point(871, 124); + this.label_TopicParams.Name = "label_TopicParams"; + this.label_TopicParams.Size = new System.Drawing.Size(80, 18); + this.label_TopicParams.TabIndex = 112; + this.label_TopicParams.Text = "MQTT璇濋"; + // + // textBox_ClientIDParams + // + this.textBox_ClientIDParams.BackColor = System.Drawing.SystemColors.Window; + this.textBox_ClientIDParams.Location = new System.Drawing.Point(973, 80); + this.textBox_ClientIDParams.Name = "textBox_ClientIDParams"; + this.textBox_ClientIDParams.Size = new System.Drawing.Size(280, 28); + this.textBox_ClientIDParams.TabIndex = 111; + // + // label_ClientIDParams + // + this.label_ClientIDParams.AutoSize = true; + this.label_ClientIDParams.Location = new System.Drawing.Point(871, 83); + this.label_ClientIDParams.Name = "label_ClientIDParams"; + this.label_ClientIDParams.Size = new System.Drawing.Size(80, 18); + this.label_ClientIDParams.TabIndex = 110; + this.label_ClientIDParams.Text = "瀹� 鎴� ID"; + // + // textBox_PasswordParams + // + this.textBox_PasswordParams.BackColor = System.Drawing.SystemColors.Window; + this.textBox_PasswordParams.Location = new System.Drawing.Point(558, 80); + this.textBox_PasswordParams.Name = "textBox_PasswordParams"; + this.textBox_PasswordParams.Size = new System.Drawing.Size(280, 28); + this.textBox_PasswordParams.TabIndex = 109; + // + // label_PasswordParams + // + this.label_PasswordParams.AutoSize = true; + this.label_PasswordParams.Location = new System.Drawing.Point(456, 83); + this.label_PasswordParams.Name = "label_PasswordParams"; + this.label_PasswordParams.Size = new System.Drawing.Size(80, 18); + this.label_PasswordParams.TabIndex = 108; + this.label_PasswordParams.Text = "MQTT瀵嗙爜"; + // + // textBox_UserParams + // + this.textBox_UserParams.BackColor = System.Drawing.SystemColors.Window; + this.textBox_UserParams.Location = new System.Drawing.Point(113, 77); + this.textBox_UserParams.Name = "textBox_UserParams"; + this.textBox_UserParams.Size = new System.Drawing.Size(280, 28); + this.textBox_UserParams.TabIndex = 107; + // + // label_UserParams + // + this.label_UserParams.AutoSize = true; + this.label_UserParams.Location = new System.Drawing.Point(11, 80); + this.label_UserParams.Name = "label_UserParams"; + this.label_UserParams.Size = new System.Drawing.Size(98, 18); + this.label_UserParams.TabIndex = 106; + this.label_UserParams.Text = "MQTT鐢ㄦ埛鍚�"; + // + // button_resetParams + // + this.button_resetParams.Location = new System.Drawing.Point(590, 173); + this.button_resetParams.Name = "button_resetParams"; + this.button_resetParams.Size = new System.Drawing.Size(153, 75); + this.button_resetParams.TabIndex = 105; + this.button_resetParams.Text = "閲� 缃�"; + this.button_resetParams.UseVisualStyleBackColor = true; + this.button_resetParams.Click += new System.EventHandler(this.button_resetParams_Click); + // + // button_saveParams + // + this.button_saveParams.Location = new System.Drawing.Point(311, 173); + this.button_saveParams.Name = "button_saveParams"; + this.button_saveParams.Size = new System.Drawing.Size(155, 75); + this.button_saveParams.TabIndex = 104; + this.button_saveParams.Text = "淇� 瀛�"; + this.button_saveParams.UseVisualStyleBackColor = true; + this.button_saveParams.Click += new System.EventHandler(this.button_saveParams_Click); + // + // textBox_PrintModelParams + // + this.textBox_PrintModelParams.BackColor = System.Drawing.SystemColors.Window; + this.textBox_PrintModelParams.Location = new System.Drawing.Point(554, 123); + this.textBox_PrintModelParams.Name = "textBox_PrintModelParams"; + this.textBox_PrintModelParams.Size = new System.Drawing.Size(280, 28); + this.textBox_PrintModelParams.TabIndex = 103; + // + // label_PrintModelParams + // + this.label_PrintModelParams.AutoSize = true; + this.label_PrintModelParams.Location = new System.Drawing.Point(452, 126); + this.label_PrintModelParams.Name = "label_PrintModelParams"; + this.label_PrintModelParams.Size = new System.Drawing.Size(80, 18); + this.label_PrintModelParams.TabIndex = 102; + this.label_PrintModelParams.Text = "鎵撳嵃妯℃澘"; + // + // comboBox_PrinterParams + // + this.comboBox_PrinterParams.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBox_PrinterParams.FormattingEnabled = true; + this.comboBox_PrinterParams.Location = new System.Drawing.Point(113, 123); + this.comboBox_PrinterParams.Margin = new System.Windows.Forms.Padding(4); + this.comboBox_PrinterParams.Name = "comboBox_PrinterParams"; + this.comboBox_PrinterParams.Size = new System.Drawing.Size(280, 26); + this.comboBox_PrinterParams.TabIndex = 101; + // + // label_PrinterParams + // + this.label_PrinterParams.AutoSize = true; + this.label_PrinterParams.ForeColor = System.Drawing.Color.Black; + this.label_PrinterParams.Location = new System.Drawing.Point(13, 129); + this.label_PrinterParams.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label_PrinterParams.Name = "label_PrinterParams"; + this.label_PrinterParams.Size = new System.Drawing.Size(80, 18); + this.label_PrinterParams.TabIndex = 100; + this.label_PrinterParams.Text = "鎵� 鍗� 鏈�"; + // + // comboBox_SourceNameParams + // + this.comboBox_SourceNameParams.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBox_SourceNameParams.FormattingEnabled = true; + this.comboBox_SourceNameParams.Location = new System.Drawing.Point(973, 31); + this.comboBox_SourceNameParams.Margin = new System.Windows.Forms.Padding(4); + this.comboBox_SourceNameParams.Name = "comboBox_SourceNameParams"; + this.comboBox_SourceNameParams.Size = new System.Drawing.Size(280, 26); + this.comboBox_SourceNameParams.TabIndex = 99; + // + // label_SourceNameParams + // + this.label_SourceNameParams.AutoSize = true; + this.label_SourceNameParams.ForeColor = System.Drawing.Color.Black; + this.label_SourceNameParams.Location = new System.Drawing.Point(873, 37); + this.label_SourceNameParams.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label_SourceNameParams.Name = "label_SourceNameParams"; + this.label_SourceNameParams.Size = new System.Drawing.Size(80, 18); + this.label_SourceNameParams.TabIndex = 98; + this.label_SourceNameParams.Text = "浜� 绾�"; + // + // textBox_PortParams + // + this.textBox_PortParams.BackColor = System.Drawing.SystemColors.Window; + this.textBox_PortParams.Location = new System.Drawing.Point(558, 31); + this.textBox_PortParams.Name = "textBox_PortParams"; + this.textBox_PortParams.Size = new System.Drawing.Size(280, 28); + this.textBox_PortParams.TabIndex = 97; + // + // label_PortParams + // + this.label_PortParams.AutoSize = true; + this.label_PortParams.Location = new System.Drawing.Point(456, 34); + this.label_PortParams.Name = "label_PortParams"; + this.label_PortParams.Size = new System.Drawing.Size(80, 18); + this.label_PortParams.TabIndex = 96; + this.label_PortParams.Text = "绔� 鍙�"; + // + // textBox_IPParams + // + this.textBox_IPParams.BackColor = System.Drawing.SystemColors.Window; + this.textBox_IPParams.Location = new System.Drawing.Point(113, 28); + this.textBox_IPParams.Name = "textBox_IPParams"; + this.textBox_IPParams.Size = new System.Drawing.Size(280, 28); + this.textBox_IPParams.TabIndex = 95; + // + // label_IPParams + // + this.label_IPParams.AutoSize = true; + this.label_IPParams.Location = new System.Drawing.Point(11, 31); + this.label_IPParams.Name = "label_IPParams"; + this.label_IPParams.Size = new System.Drawing.Size(71, 18); + this.label_IPParams.TabIndex = 94; + this.label_IPParams.Text = " IP"; + // + // pic1 + // + this.pic1.Location = new System.Drawing.Point(470, 4); + this.pic1.Margin = new System.Windows.Forms.Padding(4); + this.pic1.Name = "pic1"; + this.pic1.Size = new System.Drawing.Size(117, 62); + this.pic1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pic1.TabIndex = 36; + this.pic1.TabStop = false; + this.pic1.Visible = false; + // + // panel2 + // + this.panel2.BackColor = System.Drawing.Color.Lavender; + this.panel2.Controls.Add(this.txtHDeleteDate); + this.panel2.Controls.Add(this.label25); + this.panel2.Controls.Add(this.txtHDeleteMan); + this.panel2.Controls.Add(this.label27); + this.panel2.Controls.Add(this.txtHUpDateDate); + this.panel2.Controls.Add(this.label23); + this.panel2.Controls.Add(this.txtHUpDater); + this.panel2.Controls.Add(this.label21); + this.panel2.Controls.Add(this.txtHCloseDate); + this.panel2.Controls.Add(this.label19); + this.panel2.Controls.Add(this.txtHCloseMan); + this.panel2.Controls.Add(this.label17); + this.panel2.Controls.Add(this.txtHCheckDate); + this.panel2.Controls.Add(this.label15); + this.panel2.Controls.Add(this.txtHChecker); + this.panel2.Controls.Add(this.label13); + this.panel2.Controls.Add(this.txtHMakeDate); + this.panel2.Controls.Add(this.label11); + this.panel2.Controls.Add(this.txtHMaker); + this.panel2.Controls.Add(this.label8); + this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom; + this.panel2.Location = new System.Drawing.Point(62, 758); + this.panel2.Margin = new System.Windows.Forms.Padding(4); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(1804, 140); + this.panel2.TabIndex = 32; + // + // txtHDeleteDate + // + this.txtHDeleteDate.BackColor = System.Drawing.Color.Transparent; + this.txtHDeleteDate.ForeColor = System.Drawing.SystemColors.ControlDarkDark; + this.txtHDeleteDate.Location = new System.Drawing.Point(1088, 70); + this.txtHDeleteDate.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.txtHDeleteDate.Name = "txtHDeleteDate"; + this.txtHDeleteDate.Size = new System.Drawing.Size(147, 22); + this.txtHDeleteDate.TabIndex = 19; + // + // label25 + // + this.label25.AutoSize = true; + this.label25.BackColor = System.Drawing.Color.Transparent; + this.label25.ForeColor = System.Drawing.SystemColors.ControlDarkDark; + this.label25.Location = new System.Drawing.Point(999, 75); + this.label25.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label25.Name = "label25"; + this.label25.Size = new System.Drawing.Size(80, 18); + this.label25.TabIndex = 18; + this.label25.Text = "浣滃簾鏃ユ湡"; + // + // txtHDeleteMan + // + this.txtHDeleteMan.BackColor = System.Drawing.Color.Transparent; + this.txtHDeleteMan.ForeColor = System.Drawing.SystemColors.ControlDarkDark; + this.txtHDeleteMan.Location = new System.Drawing.Point(1088, 18); + this.txtHDeleteMan.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.txtHDeleteMan.Name = "txtHDeleteMan"; + this.txtHDeleteMan.Size = new System.Drawing.Size(147, 22); + this.txtHDeleteMan.TabIndex = 17; + // + // label27 + // + this.label27.AutoSize = true; + this.label27.BackColor = System.Drawing.Color.Transparent; + this.label27.ForeColor = System.Drawing.SystemColors.ControlDarkDark; + this.label27.Location = new System.Drawing.Point(999, 18); + this.label27.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label27.Name = "label27"; + this.label27.Size = new System.Drawing.Size(62, 18); + this.label27.TabIndex = 16; + this.label27.Text = "浣滃簾浜�"; + // + // txtHUpDateDate + // + this.txtHUpDateDate.BackColor = System.Drawing.Color.Transparent; + this.txtHUpDateDate.ForeColor = System.Drawing.SystemColors.ControlDarkDark; + this.txtHUpDateDate.Location = new System.Drawing.Point(843, 70); + this.txtHUpDateDate.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.txtHUpDateDate.Name = "txtHUpDateDate"; + this.txtHUpDateDate.Size = new System.Drawing.Size(147, 22); + this.txtHUpDateDate.TabIndex = 15; + // + // label23 + // + this.label23.AutoSize = true; + this.label23.BackColor = System.Drawing.Color.Transparent; + this.label23.ForeColor = System.Drawing.SystemColors.ControlDarkDark; + this.label23.Location = new System.Drawing.Point(754, 70); + this.label23.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label23.Name = "label23"; + this.label23.Size = new System.Drawing.Size(80, 18); + this.label23.TabIndex = 14; + this.label23.Text = "淇敼鏃ユ湡"; + // + // txtHUpDater + // + this.txtHUpDater.BackColor = System.Drawing.Color.Transparent; + this.txtHUpDater.ForeColor = System.Drawing.SystemColors.ControlDarkDark; + this.txtHUpDater.Location = new System.Drawing.Point(843, 18); + this.txtHUpDater.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.txtHUpDater.Name = "txtHUpDater"; + this.txtHUpDater.Size = new System.Drawing.Size(147, 22); + this.txtHUpDater.TabIndex = 13; + // + // label21 + // + this.label21.AutoSize = true; + this.label21.BackColor = System.Drawing.Color.Transparent; + this.label21.ForeColor = System.Drawing.SystemColors.ControlDarkDark; + this.label21.Location = new System.Drawing.Point(754, 18); + this.label21.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label21.Name = "label21"; + this.label21.Size = new System.Drawing.Size(62, 18); + this.label21.TabIndex = 12; + this.label21.Text = "淇敼浜�"; + // + // txtHCloseDate + // + this.txtHCloseDate.BackColor = System.Drawing.Color.Transparent; + this.txtHCloseDate.ForeColor = System.Drawing.SystemColors.ControlDarkDark; + this.txtHCloseDate.Location = new System.Drawing.Point(596, 70); + this.txtHCloseDate.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.txtHCloseDate.Name = "txtHCloseDate"; + this.txtHCloseDate.Size = new System.Drawing.Size(147, 22); + this.txtHCloseDate.TabIndex = 11; + // + // label19 + // + this.label19.AutoSize = true; + this.label19.BackColor = System.Drawing.Color.Transparent; + this.label19.ForeColor = System.Drawing.SystemColors.ControlDarkDark; + this.label19.Location = new System.Drawing.Point(507, 75); + this.label19.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label19.Name = "label19"; + this.label19.Size = new System.Drawing.Size(80, 18); + this.label19.TabIndex = 10; + this.label19.Text = "鍏抽棴鏃ユ湡"; + // + // txtHCloseMan + // + this.txtHCloseMan.BackColor = System.Drawing.Color.Transparent; + this.txtHCloseMan.ForeColor = System.Drawing.SystemColors.ControlDarkDark; + this.txtHCloseMan.Location = new System.Drawing.Point(594, 20); + this.txtHCloseMan.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.txtHCloseMan.Name = "txtHCloseMan"; + this.txtHCloseMan.Size = new System.Drawing.Size(147, 22); + this.txtHCloseMan.TabIndex = 9; + // + // label17 + // + this.label17.AutoSize = true; + this.label17.BackColor = System.Drawing.Color.Transparent; + this.label17.ForeColor = System.Drawing.SystemColors.ControlDarkDark; + this.label17.Location = new System.Drawing.Point(507, 24); + this.label17.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label17.Name = "label17"; + this.label17.Size = new System.Drawing.Size(62, 18); + this.label17.TabIndex = 8; + this.label17.Text = "鍏抽棴浜�"; + // + // txtHCheckDate + // + this.txtHCheckDate.BackColor = System.Drawing.Color.Transparent; + this.txtHCheckDate.ForeColor = System.Drawing.SystemColors.ControlDarkDark; + this.txtHCheckDate.Location = new System.Drawing.Point(351, 70); + this.txtHCheckDate.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.txtHCheckDate.Name = "txtHCheckDate"; + this.txtHCheckDate.Size = new System.Drawing.Size(147, 22); + this.txtHCheckDate.TabIndex = 7; + // + // label15 + // + this.label15.AutoSize = true; + this.label15.BackColor = System.Drawing.Color.Transparent; + this.label15.ForeColor = System.Drawing.SystemColors.ControlDarkDark; + this.label15.Location = new System.Drawing.Point(262, 75); + this.label15.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label15.Name = "label15"; + this.label15.Size = new System.Drawing.Size(80, 18); + this.label15.TabIndex = 6; + this.label15.Text = "瀹℃牳鏃ユ湡"; + // + // txtHChecker + // + this.txtHChecker.BackColor = System.Drawing.Color.Transparent; + this.txtHChecker.ForeColor = System.Drawing.SystemColors.ControlDarkDark; + this.txtHChecker.Location = new System.Drawing.Point(351, 20); + this.txtHChecker.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.txtHChecker.Name = "txtHChecker"; + this.txtHChecker.Size = new System.Drawing.Size(147, 22); + this.txtHChecker.TabIndex = 5; + // + // label13 + // + this.label13.AutoSize = true; + this.label13.BackColor = System.Drawing.Color.Transparent; + this.label13.ForeColor = System.Drawing.SystemColors.ControlDarkDark; + this.label13.Location = new System.Drawing.Point(262, 24); + this.label13.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label13.Name = "label13"; + this.label13.Size = new System.Drawing.Size(62, 18); + this.label13.TabIndex = 4; + this.label13.Text = "瀹℃牳浜�"; + // + // txtHMakeDate + // + this.txtHMakeDate.BackColor = System.Drawing.Color.Transparent; + this.txtHMakeDate.ForeColor = System.Drawing.SystemColors.ControlDarkDark; + this.txtHMakeDate.Location = new System.Drawing.Point(106, 70); + this.txtHMakeDate.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.txtHMakeDate.Name = "txtHMakeDate"; + this.txtHMakeDate.Size = new System.Drawing.Size(147, 22); + this.txtHMakeDate.TabIndex = 3; + // + // label11 + // + this.label11.AutoSize = true; + this.label11.BackColor = System.Drawing.Color.Transparent; + this.label11.ForeColor = System.Drawing.SystemColors.ControlDarkDark; + this.label11.Location = new System.Drawing.Point(18, 75); + this.label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(80, 18); + this.label11.TabIndex = 2; + this.label11.Text = "鍒跺崟鏃ユ湡"; + // + // txtHMaker + // + this.txtHMaker.BackColor = System.Drawing.Color.Transparent; + this.txtHMaker.ForeColor = System.Drawing.SystemColors.ControlDarkDark; + this.txtHMaker.Location = new System.Drawing.Point(106, 20); + this.txtHMaker.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.txtHMaker.Name = "txtHMaker"; + this.txtHMaker.Size = new System.Drawing.Size(147, 22); + this.txtHMaker.TabIndex = 1; + // + // label8 + // + this.label8.AutoSize = true; + this.label8.BackColor = System.Drawing.Color.Transparent; + this.label8.ForeColor = System.Drawing.SystemColors.ControlDarkDark; + this.label8.Location = new System.Drawing.Point(18, 24); + this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(62, 18); + this.label8.TabIndex = 0; + this.label8.Text = "鍒跺崟浜�"; + // + // timer1 + // + this.timer1.Enabled = true; + this.timer1.Tick += new System.EventHandler(this.timer1_Tick); + // + // panel1 + // + this.panel1.Dock = System.Windows.Forms.DockStyle.Left; + this.panel1.Location = new System.Drawing.Point(0, 75); + this.panel1.Margin = new System.Windows.Forms.Padding(4); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(62, 823); + this.panel1.TabIndex = 33; + // + // panel3 + // + this.panel3.Dock = System.Windows.Forms.DockStyle.Right; + this.panel3.Location = new System.Drawing.Point(1866, 75); + this.panel3.Margin = new System.Windows.Forms.Padding(4); + this.panel3.Name = "panel3"; + this.panel3.Size = new System.Drawing.Size(58, 823); + this.panel3.TabIndex = 34; + // + // grdSum + // + this.grdSum.AllowUserToAddRows = false; + this.grdSum.AllowUserToDeleteRows = false; + this.grdSum.BackgroundColor = System.Drawing.Color.Khaki; + this.grdSum.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.grdSum.Dock = System.Windows.Forms.DockStyle.Bottom; + this.grdSum.Location = new System.Drawing.Point(62, 730); + this.grdSum.Margin = new System.Windows.Forms.Padding(4); + this.grdSum.Name = "grdSum"; + this.grdSum.ReadOnly = true; + this.grdSum.RowHeadersWidth = 51; + this.grdSum.RowTemplate.Height = 23; + this.grdSum.ScrollBars = System.Windows.Forms.ScrollBars.None; + this.grdSum.Size = new System.Drawing.Size(1804, 28); + this.grdSum.TabIndex = 45; + // + // grdPrint + // + this.grdPrint.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.grdPrint.Location = new System.Drawing.Point(1214, 814); + this.grdPrint.Margin = new System.Windows.Forms.Padding(4); + this.grdPrint.Name = "grdPrint"; + this.grdPrint.RowHeadersWidth = 51; + this.grdPrint.RowTemplate.Height = 23; + this.grdPrint.Size = new System.Drawing.Size(38, 36); + this.grdPrint.TabIndex = 46; + this.grdPrint.Visible = false; + // + // tabPage3 + // + this.tabPage3.Controls.Add(this.grdList); + this.tabPage3.Location = new System.Drawing.Point(4, 5); + this.tabPage3.Margin = new System.Windows.Forms.Padding(4); + this.tabPage3.Name = "tabPage3"; + this.tabPage3.Size = new System.Drawing.Size(1796, 288); + this.tabPage3.TabIndex = 2; + this.tabPage3.Text = "妗f鍒楄〃"; + this.tabPage3.UseVisualStyleBackColor = true; + // + // grdList + // + this.grdList.AllowUserToAddRows = false; + this.grdList.AllowUserToDeleteRows = false; + this.grdList.BackgroundColor = System.Drawing.Color.WhiteSmoke; + this.grdList.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; + this.grdList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.grdList.Dock = System.Windows.Forms.DockStyle.Fill; + this.grdList.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.grdList.Location = new System.Drawing.Point(0, 0); + this.grdList.Margin = new System.Windows.Forms.Padding(4); + this.grdList.Name = "grdList"; + this.grdList.ReadOnly = true; + this.grdList.RowHeadersWidth = 30; + this.grdList.RowTemplate.Height = 23; + this.grdList.Size = new System.Drawing.Size(1796, 288); + this.grdList.TabIndex = 46; + // + // tabPage2 + // + this.tabPage2.Controls.Add(this.grdSub); + this.tabPage2.Location = new System.Drawing.Point(4, 5); + this.tabPage2.Margin = new System.Windows.Forms.Padding(4); + this.tabPage2.Name = "tabPage2"; + this.tabPage2.Padding = new System.Windows.Forms.Padding(4); + this.tabPage2.Size = new System.Drawing.Size(1796, 288); + this.tabPage2.TabIndex = 1; + this.tabPage2.Text = "鏉$爜淇℃伅"; + this.tabPage2.UseVisualStyleBackColor = true; + // + // grdSub + // + this.grdSub.AllowUserToAddRows = false; + this.grdSub.AllowUserToDeleteRows = false; + this.grdSub.BackgroundColor = System.Drawing.Color.WhiteSmoke; + this.grdSub.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; + this.grdSub.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.grdSub.Dock = System.Windows.Forms.DockStyle.Fill; + this.grdSub.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.grdSub.Location = new System.Drawing.Point(4, 4); + this.grdSub.Margin = new System.Windows.Forms.Padding(4); + this.grdSub.Name = "grdSub"; + this.grdSub.ReadOnly = true; + this.grdSub.RowHeadersWidth = 30; + this.grdSub.RowTemplate.Height = 23; + this.grdSub.Size = new System.Drawing.Size(1788, 280); + this.grdSub.TabIndex = 45; + // + // tabPage1 + // + this.tabPage1.Controls.Add(this.grdMain); + this.tabPage1.Location = new System.Drawing.Point(4, 5); + this.tabPage1.Margin = new System.Windows.Forms.Padding(4); + this.tabPage1.Name = "tabPage1"; + this.tabPage1.Padding = new System.Windows.Forms.Padding(4); + this.tabPage1.Size = new System.Drawing.Size(1796, 288); + this.tabPage1.TabIndex = 0; + this.tabPage1.Text = "鐗╂枡淇℃伅"; + this.tabPage1.UseVisualStyleBackColor = true; + // + // grdMain + // + this.grdMain.AllowUserToAddRows = false; + this.grdMain.AllowUserToDeleteRows = false; + this.grdMain.BackgroundColor = System.Drawing.Color.WhiteSmoke; + this.grdMain.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; + this.grdMain.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.grdMain.Dock = System.Windows.Forms.DockStyle.Fill; + this.grdMain.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.grdMain.Location = new System.Drawing.Point(4, 4); + this.grdMain.Margin = new System.Windows.Forms.Padding(4); + this.grdMain.Name = "grdMain"; + this.grdMain.ReadOnly = true; + this.grdMain.RowHeadersWidth = 30; + this.grdMain.RowTemplate.Height = 23; + this.grdMain.Size = new System.Drawing.Size(1788, 280); + this.grdMain.TabIndex = 44; + // + // tabControl1 + // + this.tabControl1.Controls.Add(this.tabPage1); + this.tabControl1.Controls.Add(this.tabPage2); + this.tabControl1.Controls.Add(this.tabPage3); + this.tabControl1.Controls.Add(this.tabPage4); + this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill; + this.tabControl1.ItemSize = new System.Drawing.Size(0, 1); + this.tabControl1.Location = new System.Drawing.Point(62, 433); + this.tabControl1.Margin = new System.Windows.Forms.Padding(4); + this.tabControl1.Name = "tabControl1"; + this.tabControl1.SelectedIndex = 0; + this.tabControl1.Size = new System.Drawing.Size(1804, 297); + this.tabControl1.SizeMode = System.Windows.Forms.TabSizeMode.Fixed; + this.tabControl1.TabIndex = 47; + this.tabControl1.TabStop = false; + // + // tabPage4 + // + this.tabPage4.Controls.Add(this.grdBillBarCodeList); + this.tabPage4.Location = new System.Drawing.Point(4, 5); + this.tabPage4.Name = "tabPage4"; + this.tabPage4.Padding = new System.Windows.Forms.Padding(3); + this.tabPage4.Size = new System.Drawing.Size(1796, 288); + this.tabPage4.TabIndex = 3; + this.tabPage4.Text = "宸ュ崟鏉$爜"; + this.tabPage4.UseVisualStyleBackColor = true; + // + // grdBillBarCodeList + // + this.grdBillBarCodeList.AllowUserToAddRows = false; + this.grdBillBarCodeList.AllowUserToDeleteRows = false; + this.grdBillBarCodeList.BackgroundColor = System.Drawing.Color.WhiteSmoke; + this.grdBillBarCodeList.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; + this.grdBillBarCodeList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.grdBillBarCodeList.Dock = System.Windows.Forms.DockStyle.Fill; + this.grdBillBarCodeList.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.grdBillBarCodeList.Location = new System.Drawing.Point(3, 3); + this.grdBillBarCodeList.Margin = new System.Windows.Forms.Padding(4); + this.grdBillBarCodeList.Name = "grdBillBarCodeList"; + this.grdBillBarCodeList.ReadOnly = true; + this.grdBillBarCodeList.RowHeadersWidth = 30; + this.grdBillBarCodeList.RowTemplate.Height = 23; + this.grdBillBarCodeList.Size = new System.Drawing.Size(1790, 282); + this.grdBillBarCodeList.TabIndex = 47; + // + // pageSetupDialog1 + // + this.pageSetupDialog1.Document = this.printDocument1; + // + // printDialog1 + // + this.printDialog1.Document = this.printDocument1; + this.printDialog1.UseEXDialog = true; + // + // printPreviewDialog1 + // + this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0); + this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0); + this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300); + this.printPreviewDialog1.Document = this.printDocument1; + this.printPreviewDialog1.Enabled = true; + this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon"))); + this.printPreviewDialog1.Name = "printPreviewDialog1"; + this.printPreviewDialog1.Visible = false; + // + // timer2 + // + this.timer2.Enabled = true; + this.timer2.Tick += new System.EventHandler(this.timer2_Tick); + // + // timer3 + // + this.timer3.Interval = 5000; + this.timer3.Tick += new System.EventHandler(this.timer3_Tick); + // + // textBox_WorkPositionParams + // + this.textBox_WorkPositionParams.BackColor = System.Drawing.SystemColors.Window; + this.textBox_WorkPositionParams.Location = new System.Drawing.Point(973, 164); + this.textBox_WorkPositionParams.Name = "textBox_WorkPositionParams"; + this.textBox_WorkPositionParams.Size = new System.Drawing.Size(280, 28); + this.textBox_WorkPositionParams.TabIndex = 115; + // + // label_WorkPositionParams + // + this.label_WorkPositionParams.AutoSize = true; + this.label_WorkPositionParams.Location = new System.Drawing.Point(871, 167); + this.label_WorkPositionParams.Name = "label_WorkPositionParams"; + this.label_WorkPositionParams.Size = new System.Drawing.Size(80, 18); + this.label_WorkPositionParams.TabIndex = 114; + this.label_WorkPositionParams.Text = "MQTT宸ヤ綅"; + // + // Gy_BarCodeBill_automaticallyByPLC_New_Change + // + this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.Lavender; + this.ClientSize = new System.Drawing.Size(1924, 898); + this.Controls.Add(this.tabControl1); + this.Controls.Add(this.grdSum); + this.Controls.Add(this.panel2); + this.Controls.Add(this.P1); + this.Controls.Add(this.panel1); + this.Controls.Add(this.panel3); + this.Controls.Add(this.Tool); + this.Controls.Add(this.grdPrint); + this.ForeColor = System.Drawing.Color.Black; + this.KeyPreview = true; + this.Margin = new System.Windows.Forms.Padding(4); + this.Name = "Gy_BarCodeBill_automaticallyByPLC_New_Change"; + this.Text = "鍗曟嵁缂栬緫"; + this.WindowState = System.Windows.Forms.FormWindowState.Maximized; + this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Gy_BarCodeBill_FormClosing); + this.Load += new System.EventHandler(this.Gy_BarCodeBill_Load); + this.Paint += new System.Windows.Forms.PaintEventHandler(this.Gy_BarCodeBill_Paint); + this.Resize += new System.EventHandler(this.Gy_BarCodeBill_Resize); + this.Tool.ResumeLayout(false); + this.Tool.PerformLayout(); + this.P1.ResumeLayout(false); + this.P1.PerformLayout(); + this.tabControl_MainInfo.ResumeLayout(false); + this.tabPage_BillInfo.ResumeLayout(false); + this.gbUp.ResumeLayout(false); + this.gbUp.PerformLayout(); + this.groupBox1.ResumeLayout(false); + this.groupBox1.PerformLayout(); + this.tabPage_ParamsInfo.ResumeLayout(false); + this.groupBox_ParamsInfo.ResumeLayout(false); + this.groupBox_ParamsInfo.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pic1)).EndInit(); + this.panel2.ResumeLayout(false); + this.panel2.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.grdSum)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.grdPrint)).EndInit(); + this.tabPage3.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.grdList)).EndInit(); + this.tabPage2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.grdSub)).EndInit(); + this.tabPage1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.grdMain)).EndInit(); + this.tabControl1.ResumeLayout(false); + this.tabPage4.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.grdBillBarCodeList)).EndInit(); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.ToolStrip Tool; + private System.Windows.Forms.ToolStripButton yl; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator4; + private System.Windows.Forms.ToolStripButton bc; + private System.Windows.Forms.ToolStripButton cz; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator5; + private System.Windows.Forms.Label lblCaption; + private System.Windows.Forms.Panel P1; + private System.Windows.Forms.Panel panel2; + private System.Windows.Forms.Label txtHMaker; + private System.Windows.Forms.Label label8; + private System.Windows.Forms.Label txtHUpDateDate; + private System.Windows.Forms.Label label23; + private System.Windows.Forms.Label txtHUpDater; + private System.Windows.Forms.Label label21; + private System.Windows.Forms.Label txtHCloseDate; + private System.Windows.Forms.Label label19; + private System.Windows.Forms.Label txtHCloseMan; + private System.Windows.Forms.Label label17; + private System.Windows.Forms.Label txtHCheckDate; + private System.Windows.Forms.Label label15; + private System.Windows.Forms.Label txtHChecker; + private System.Windows.Forms.Label label13; + private System.Windows.Forms.Label txtHMakeDate; + private System.Windows.Forms.Label label11; + private System.Windows.Forms.Label txtHDeleteDate; + private System.Windows.Forms.Label label25; + private System.Windows.Forms.Label txtHDeleteMan; + private System.Windows.Forms.Label label27; + private System.Windows.Forms.Timer timer1; + private System.Windows.Forms.ToolStripButton AddRow; + private System.Windows.Forms.ToolStripButton DelRow; + private System.Windows.Forms.GroupBox gbUp; + private System.Windows.Forms.Label label10; + private System.Windows.Forms.ComboBox cmbSourceBillType; + private System.Windows.Forms.TextBox txtHSourceBillNo; + private System.Windows.Forms.Label label14; + private System.Windows.Forms.ToolStripButton tc; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator12; + private System.Windows.Forms.ToolStripButton mrlk; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator11; + private System.Windows.Forms.ToolStripButton bclk; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator10; + private System.Windows.Forms.PictureBox pic1; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.Panel panel3; + private System.Windows.Forms.DataGridView grdSum; + private System.Windows.Forms.DataGridView grdPrint; + private System.Windows.Forms.ComboBox cmbHBarCodeType; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.ToolStripButton dy; + private System.Windows.Forms.ToolStripButton kc; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; + private System.Windows.Forms.ComboBox cmbHOrgID; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.ToolStripButton tb; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator3; + private System.Windows.Forms.ComboBox cmbHWorksNumber; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.DateTimePicker dtpHDate; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.ToolStripButton spRow; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator6; + private System.Windows.Forms.ToolStripButton gl; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator7; + private System.Windows.Forms.ToolStripButton BatchNo; + private System.Windows.Forms.ToolStripButton sdy; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator8; + private System.Windows.Forms.ToolStripButton wxm; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator9; + private System.Windows.Forms.TabPage tabPage3; + private System.Windows.Forms.TabPage tabPage2; + private System.Windows.Forms.DataGridView grdSub; + private System.Windows.Forms.TabPage tabPage1; + private System.Windows.Forms.TabControl tabControl1; + private System.Windows.Forms.DataGridView grdList; + private System.Windows.Forms.DataGridView grdMain; + private System.Windows.Forms.TabPage tabPage4; + private System.Windows.Forms.DataGridView grdBillBarCodeList; + private System.Windows.Forms.TabControl tabControl_MainInfo; + private System.Windows.Forms.TabPage tabPage_BillInfo; + private System.Windows.Forms.RadioButton radioButton_HIsUsingBatchNo; + private System.Windows.Forms.Button button_stopListen; + private System.Windows.Forms.Button button_startListen; + private System.Windows.Forms.TextBox textBox_HQty; + private System.Windows.Forms.Label label_HQty; + private System.Windows.Forms.TextBox textBox_HPlanQty; + private System.Windows.Forms.Label label_HPlanQty; + private System.Windows.Forms.TextBox textBox_HMaterModel; + private System.Windows.Forms.Label label_HMaterModel; + private System.Windows.Forms.TextBox textBox_HMaterName; + private System.Windows.Forms.Label label_HMaterName; + private System.Windows.Forms.TextBox textBox_HMaterNumber; + private System.Windows.Forms.Label label_HMaterNumber; + private System.Windows.Forms.TextBox textBox_SourceName; + private System.Windows.Forms.Label label_SourceName; + private System.Windows.Forms.TabPage tabPage_ParamsInfo; + private System.Windows.Forms.GroupBox groupBox_ParamsInfo; + private System.Windows.Forms.Button button_resetParams; + private System.Windows.Forms.Button button_saveParams; + private System.Windows.Forms.TextBox textBox_PrintModelParams; + private System.Windows.Forms.Label label_PrintModelParams; + private System.Windows.Forms.ComboBox comboBox_PrinterParams; + private System.Windows.Forms.Label label_PrinterParams; + private System.Windows.Forms.ComboBox comboBox_SourceNameParams; + private System.Windows.Forms.Label label_SourceNameParams; + private System.Windows.Forms.TextBox textBox_PortParams; + private System.Windows.Forms.Label label_PortParams; + private System.Windows.Forms.TextBox textBox_IPParams; + private System.Windows.Forms.Label label_IPParams; + private System.Windows.Forms.Button cmdSourceBillNo; + private System.Windows.Forms.PageSetupDialog pageSetupDialog1; + private System.Drawing.Printing.PrintDocument printDocument1; + private System.Windows.Forms.PrintDialog printDialog1; + private System.Windows.Forms.PrintPreviewDialog printPreviewDialog1; + private System.Windows.Forms.Timer timer2; + private System.Windows.Forms.Timer timer3; + private System.Windows.Forms.GroupBox groupBox1; + private System.Windows.Forms.RadioButton radioButton_IsPrint_No; + private System.Windows.Forms.RadioButton radioButton_IsPrint_Yes; + private System.Windows.Forms.TextBox textBox_PasswordParams; + private System.Windows.Forms.Label label_PasswordParams; + private System.Windows.Forms.TextBox textBox_UserParams; + private System.Windows.Forms.Label label_UserParams; + private System.Windows.Forms.TextBox textBox_ClientIDParams; + private System.Windows.Forms.Label label_ClientIDParams; + private System.Windows.Forms.TextBox textBox_TopicParams; + private System.Windows.Forms.Label label_TopicParams; + private System.Windows.Forms.TextBox textBox_WorkPositionParams; + private System.Windows.Forms.Label label_WorkPositionParams; + } +} \ No newline at end of file diff --git "a/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_BarCodeBill_automaticallyByPLC_New_Change.resx" "b/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_BarCodeBill_automaticallyByPLC_New_Change.resx" new file mode 100644 index 0000000..8ff7f84 --- /dev/null +++ "b/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_BarCodeBill_automaticallyByPLC_New_Change.resx" @@ -0,0 +1,769 @@ +<?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> + <metadata name="Tool.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>17, 17</value> + </metadata> + <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> + <data name="Tool.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + /9j/4AAQSkZJRgABAQEASABIAAD/4QSARXhpZgAATU0AKgAAAAgABwESAAMAAAABAAEAAAEaAAUAAAAB + AAAAYgEbAAUAAAABAAAAagEoAAMAAAABAAIAAAExAAIAAAAUAAAAcgEyAAIAAAAUAAAAhodpAAQAAAAB + AAAAmgAAAMYASAAAAAEAAABIAAAAAQAAQWRvYmUgUGhvdG9zaG9wIDcuMAAyMDA0OjEwOjE0IDE1OjUw + OjUwAAADoAEAAwAAAAH//wAAoAIABAAAAAEAAAQAoAMABAAAAAEAAABoAAAAAAAAAAYBAwADAAAAAQAG + AAABGgAFAAAAAQAAARQBGwAFAAAAAQAAARwBKAADAAAAAQACAAACAQAEAAAAAQAAASQCAgAEAAAAAQAA + A1QAAAAAAAAASAAAAAEAAABIAAAAAf/Y/9sAQwAIBgYHBgUIBwcHCQkICgwUDQwLCwwZEhMPFB0aHx4d + GhwcICQuJyAiLCMcHCg3KSwwMTQ0NB8nOT04MjwuMzQy/9sAQwEJCQkMCwwYDQ0YMiEcITIyMjIyMjIy + MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIy/8AAEQgABgCgAwEhAAIRAQMR + Af/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//EALUQAAIBAwMCBAMFBQQEAAABfQECAwAE + EQUSITFBBhNRYQcicRQygZGhCCNCsc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5gpH6/4PofyowfQ/lX5A + f8La8V/9DN4h/wDBjN/8VR/wtrxX/wBDN4h/8GM3/wAVR7DzBSP1/wAH0P5UYPofyr8gP+FteK/+hm8Q + /wDgxm/+Ko/4W14r/wChm8Q/+DGb/wCKo9h5gpH6/wCD6H8qMH0P5V+QH/C2/Ff/AEM/iH/wYzf/ABVH + /C2vFf8A0M3iH/wYzf8AxVHsPMFI/X/B9D+VGD6H8q/ID/hbXiv/AKGbxD/4MZv/AIqj/hbXiv8A6Gbx + D/4MZv8A4qj2HmCkfr/g+h/KjB9D+VfkB/wtrxX/ANDN4h/8GM3/AMVR/wALa8V/9DN4h/8ABjN/8VR7 + DzBSP1/wfQ/lRg+h/KvyA/4W14r/AOhm8Q/+DGb/AOKo/wCFteK/+hm8Q/8Agxm/+Ko9h5i5/I/X/B9D + +VGD6H8q/ID/AIW14r/6GbxD/wCDGb/4qj/hbXiv/oZvEP8A4MZv/iqPYeY1M//Z +</value> + </data> + <data name="dy.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAADmSURBVDhPlY6xDYMwFES9U3bKCmzACEh0FJmACRiAnoqK + jo6OzvH7yVk/OFHg0MnC/vfuhzOq6zrK76vzIrRtm3nf92sgBpdlieu6ZgCe5xmAXEot0zTZMABBXLiU + grRUVRWHYTATYpOfYR9kiGbMnQelUTu5wzmsoDWk796GOI6jGRDDzH0BxAyQ1Z5e4xhuGUSQWbkAaE2B + FMRN05h9uAD4JoHato1d9yjCOjOAH9Y+QggDOW5gwZdfEgR7iAf4YG53yq0eBADzjlWk/+QP2WXf9xmk + u3/Bo2wICEG/Oo9XdCIYwhNr8dl8ZRwfdQAAAABJRU5ErkJggg== +</value> + </data> + <data name="sdy.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAF/SURBVDhPnZFNSwJBAIbnX1Q/IOoYeAzqHh3C6JAgJEgU + UQgaeQgxKZQwtBRC7YsiOnQPISISKyEPUrcgKqIipNQ11/XzbWfQdf1IxQceZnaYeVhmiNV9AIvDB/OG + V3JF/F5z7cK9fwrSCtP6NhrhdNyxsWXEuOpkGwvFoiTFbg+xkdI0YjDb2aZsLi9J8fouMDqhhlKlhcm2 + 9X9At2xlB1JCFnzJdCaHAl3jBeSyWWZpez3zSxYW4FIZJPmKQqZ0cDpcbS0zehML/HA8Ysk0k09npMNK + f7HKuoh2wcgCX7FfROMpZvmw7V68mxSHTx4gm0DXCbAYEefyyNSsgQXeowl8RDmmPMAnEhg7BzS34ss8 + NghoSgE55YDvFRCSSahvgMM34El8YX+8JjAyrka/Yhh9iiHJcuA49IxA4BquF+DsG3hoFGiKwsP+4ioN + BMV7oHO6NqcawJG+u/2IXN1kL/JBgsgOwZ6up82IDNUgQdhDwF12GKDQCLXjQAVC/gBsYdYbXS03WwAA + AABJRU5ErkJggg== +</value> + </data> + <data name="yl.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAF/SURBVDhPnZFNSwJBAIbnX1Q/IOoYeAzqHh3C6JAgJEgU + UQgaeQgxKZQwtBRC7YsiOnQPISISKyEPUrcgKqIipNQ11/XzbWfQdf1IxQceZnaYeVhmiNV9AIvDB/OG + V3JF/F5z7cK9fwrSCtP6NhrhdNyxsWXEuOpkGwvFoiTFbg+xkdI0YjDb2aZsLi9J8fouMDqhhlKlhcm2 + 9X9At2xlB1JCFnzJdCaHAl3jBeSyWWZpez3zSxYW4FIZJPmKQqZ0cDpcbS0zehML/HA8Ysk0k09npMNK + f7HKuoh2wcgCX7FfROMpZvmw7V68mxSHTx4gm0DXCbAYEefyyNSsgQXeowl8RDmmPMAnEhg7BzS34ss8 + NghoSgE55YDvFRCSSahvgMM34El8YX+8JjAyrka/Yhh9iiHJcuA49IxA4BquF+DsG3hoFGiKwsP+4ioN + BMV7oHO6NqcawJG+u/2IXN1kL/JBgsgOwZ6up82IDNUgQdhDwF12GKDQCLXjQAVC/gBsYdYbXS03WwAA + AABJRU5ErkJggg== +</value> + </data> + <data name="AddRow.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAEdSURBVDhPY/hPIWCws7P7TypGBmADPHb8B2OnLT//W6/5 + 9N9w6cv/mnMf/FeYeuO/eN/5/3xtx/4z1+wBY9oYUJCfTzTGasCqlSv/v3n9mihM0IDLly7937N79/+t + W7aAxZcuWQLHCgoKcAwDWA04evHY/1U7VmNgkMaSuw3/ra2todqRDIDZvHD9ov996yf+r1pa/z9rct7/ + mOZEuK0S7Wr/rc75gGmYGIoBIJu3nt/xf+n5Vf9nnZv/f8r52f9b93XDbQbhkGspYHrS09mYBsBcMHXD + jP+Ny1r/F00v+5/akQW3DWQzSDNWF6CHwcbdGzAwSAPMZhjAagByLIDwiuXLwRhmK4YBZ8+cIRqD1CMD + sAGkYmRAYXb+/x8A86/iJXr/E3YAAAAASUVORK5CYII= +</value> + </data> + <data name="spRow.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAEdSURBVDhPY/hPIWCws7P7TypGBmADPHb8B2OnLT//W6/5 + 9N9w6cv/mnMf/FeYeuO/eN/5/3xtx/4z1+wBY9oYUJCfTzTGasCqlSv/v3n9mihM0IDLly7937N79/+t + W7aAxZcuWQLHCgoKcAwDWA04evHY/1U7VmNgkMaSuw3/ra2todqRDIDZvHD9ov996yf+r1pa/z9rct7/ + mOZEuK0S7Wr/rc75gGmYGIoBIJu3nt/xf+n5Vf9nnZv/f8r52f9b93XDbQbhkGspYHrS09mYBsBcMHXD + jP+Ny1r/F00v+5/akQW3DWQzSDNWF6CHwcbdGzAwSAPMZhjAagByLIDwiuXLwRhmK4YBZ8+cIRqD1CMD + sAGkYmRAYXb+/x8A86/iJXr/E3YAAAAASUVORK5CYII= +</value> + </data> + <data name="bc.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAH1SURBVDhPjZPNSxRxGMcfI+jQLTxYIKLoQQsjvEadEoRO + /gO+awReIiGty97sRQtbPSmoB8FFMSwKDx3VXdvcfGErt9YlpWUJF/dFV2d0v36fHc0XdPALX2bmme/z + mec38xuRBi+kahqRVmD5yfmsWe3J9ErtDD6tAQkAv85pzWqP9oo0foVcbWcJMEwDpmnaWjMqyWlHplfq + ZlD2IVPD5CTgnra3ZlTN3oMJaj24NWYVk6kUNrbsrRlV+QQBNZ7jgKkpPsVtb82oCl06wQnAv1gCa/Gk + rTWjutBHQN0+oOxgCbE4NuIJW2tGJc4jgNvvgUu9LLzYhHRuQ96Yp1vvdWwjt2UR0mVA6vdf4h1+hSv9 + BDxfh1R+huS/ghR0Hnd+Bxu+QKrdcEwkmY2dAAwQ8DScGe8sSRUbqj0Y+c5zR+QUwOOQFbz2EtKyij+/ + rTc/69tFKLjzH+DyM9O2wq3MiXSsux8JGGSx+YcFKHpNQBD+b8Dc/C78Pw2E/3L9RwGPAhYg654LeY4l + ZA+x2DiH9CaPeZygaQEBBrU5sJxCNJo6BOgSHi4wrz8TdbF8GJefBUn0IRYBQktAmKtZXeExsoPouoF0 + eosbh3u/3ot3QQKafJAHsxZAlVUxCinthlx3QkreHrqY1+oS+maP5Rs8L6Xvj2MPx8IASe80O9sAAAAA + SUVORK5CYII= +</value> + </data> + <data name="DelRow.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAADSSURBVDhPlZPRDYQgEERpxgaswlCGv/ZBSXwbC6AAC7AA + G9hj1huCuMS7SUYi8l4IqhvHUf5tHRWc59ntcRy3dgXrusq2baUppUf3fe8L3mD0J0EPZLsCC0Sdcw8B + 5hgV4HBaEIt14bIUCYUyTUViCmpYhqFICLM61wq41YcEbeDbDmqwbpEYMKICC0QhRhUwYMQUEGxhS6KC + EIJ472We51dYm8+DEr1Cgm8BkhijCeNe575vhZJLk8OdQMCvkhKM+FfwjBIdc4oAgaQtFlpzV0Q+Xg/P + E8pc2+4AAAAASUVORK5CYII= +</value> + </data> + <data name="wxm.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAH1SURBVDhPjZPNSxRxGMcfI+jQLTxYIKLoQQsjvEadEoRO + /gO+awReIiGty97sRQtbPSmoB8FFMSwKDx3VXdvcfGErt9YlpWUJF/dFV2d0v36fHc0XdPALX2bmme/z + mec38xuRBi+kahqRVmD5yfmsWe3J9ErtDD6tAQkAv85pzWqP9oo0foVcbWcJMEwDpmnaWjMqyWlHplfq + ZlD2IVPD5CTgnra3ZlTN3oMJaj24NWYVk6kUNrbsrRlV+QQBNZ7jgKkpPsVtb82oCl06wQnAv1gCa/Gk + rTWjutBHQN0+oOxgCbE4NuIJW2tGJc4jgNvvgUu9LLzYhHRuQ96Yp1vvdWwjt2UR0mVA6vdf4h1+hSv9 + BDxfh1R+huS/ghR0Hnd+Bxu+QKrdcEwkmY2dAAwQ8DScGe8sSRUbqj0Y+c5zR+QUwOOQFbz2EtKyij+/ + rTc/69tFKLjzH+DyM9O2wq3MiXSsux8JGGSx+YcFKHpNQBD+b8Dc/C78Pw2E/3L9RwGPAhYg654LeY4l + ZA+x2DiH9CaPeZygaQEBBrU5sJxCNJo6BOgSHi4wrz8TdbF8GJefBUn0IRYBQktAmKtZXeExsoPouoF0 + eosbh3u/3ot3QQKafJAHsxZAlVUxCinthlx3QkreHrqY1+oS+maP5Rs8L6Xvj2MPx8IASe80O9sAAAAA + SUVORK5CYII= +</value> + </data> + <data name="cz.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAACfSURBVDhPYyAGsGWf/Q9lkglSz/xnSANiskHCqf9///8n + wxCQBhAOPfp/ytn/JBgCUpQIsRWGQQYQZwhQ8ilQEQj3XwAqnokFG8/EbwDMNrhiUCCSohluM0wxzAC8 + mkEAagBYMbI/QQYQ1AwCuAwgSjMI4DKAaIBkwD2C0YULAJ2LYQgMEwWgBiAbAsMkGQLGoLBAxyR5C2YQ + OoYDBgYA9kn+I3B8Li4AAAAASUVORK5CYII= +</value> + </data> + <data name="kc.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAEwSURBVDhPlZKxSgNBEIb3Qa66V7ha6xS+glgErvURzBNE + 2wOLaKet2NlEsFtIiohgJR6xEdQ0Gojwu/9k59xdL1z84Ye73Z1vZmfWpLJVgeMD02l//K8IACy+l2N8 + vl1h8XyO14cTzO0RnsaHEgxbEhBDer0B6CzLkOc5CPp6d4B6DXixgwYgSUIIA+/qWjZWy1vJTBD/+/1T + 8dwDfNCvNTgEDIc3YkIW9Vl0hcfrfdxf7GE62tkMkLu70gnQClJPRrvbAdIesILZZUcF4RXastMTBVBt + TeQkqqpyB0pZj3rgKogAFCE0s2owVh8oS45rDdlYQSge1IdUuE/jOGIP0Qqm2sRUCtBMAnErIWTmxthZ + QTiNNkgzhVRF0TzRyOxNCAn2tldaiV/+nwgRkMiYHwIr6UXY3sHBAAAAAElFTkSuQmCC +</value> + </data> + <data name="mrlk.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAH/SURBVDhPfZHfS1NhGMefkCLQu/A/6MK6SbMQFlg3dudN + oBFDY9BF05XMMAoLL3bhxGB4zjzoVCKim4iCgkCMSam1cqP9aO4YJlpIDmqh00IRv73Pe87OWuV54Mt7 + znm/n895z0aF8Stj6FdGoARDUAf/H97jTp96FyZmjC8QwuRUBB0zACkiwT0i9rxvgBcvX4MZEye65Vex + vp6HJ7yJ+1nYpmNyE3nRZcbEiW74AljL5UB3gOk84J8HnFPA0UfirZqIaoZPMQDZZcbEibp6+vE9mwUF + AG0RaJ0Gqp8A+0ICGBIZLkZLifXv8Xb3YnVlRdrdb23gtAHHjpdj5hAVRVdv+vBlaVkes+6pPVzhieHn + YQKiwHtHpSFp6+rB4sIn+Y37R+3hB5kNec2SSKV5isvebuiZj8YPxoKxYrSMAR90RyWc2AZqgp/lKSzB + Jc91xJI6nEoUdCECchrRJlZl4YA7XgJL+Yl7BszjauvEu9QCZoUk8UFHMq3jW+6HLJS1p+1hniZXO6pq + 63Hk5Bkr/Fy9SHvC4+FXhuTa7V6s/dopydbOriXA7Ll/YN7nHrNSENeXMDA4aq0WvP0V2IpLSQFOpuaQ + mF+WPSm4Iv7CxmaXNBbWPwUtDpLhZ8/HwyU9ZolvjjkaUH3qrBUuV9WeBkv4mufh42clHWYaz7vwG72U + TLZQdeFnAAAAAElFTkSuQmCC +</value> + </data> + <data name="bclk.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAH4SURBVDhPjZPNS1RRGMZfI2jRLlqUEKLUQgsl3EauEoRW + /QN+phG4CQXTNrPLbzFrpZAuBIfEqChctFRndHI0YzKnxkHFYQgH50NH5+o8Pm/HwQ/s4oGHc++5z/O7 + 77nnvSKPPZDyKYSfA8tN55N6NfMvK1XT+LIBxAH8PqfUqxnNitR+g1x/yQuRlJWCZVm2Uo965RozmpXq + aRR/Io1jYgJwTdlLPeqt92QqqHLj7phZTCST2Nqxl3rUWzrOTKX7JGBykm9x2Us96r3p1ApOAf5G49iI + JWylHvVeGGCm+hBQnNlCNIatWNxW6lGv9B0D3PsIXOrnQts2pGsX0mOdLX3WuYsbjT8gvTyNmsOPeJ+n + cOUtAa2bkEdfIbkdkLyuk8rtZGAGUuGCYzxBb/QUYJCAlpAp73+jnIEKN979pNcRPgPQEDSA7HZI4xpW + /pgvP+vdRzCwx/Y1AKeP3uZVtjIr0rJKPhMwxMX6RQO41U1AAL45YP77Pny/Ugitc//HAc/8BpD1wIkc + xxKuDnOxdh7pbc45rKBuAX4aNexfTiISYQNlALqFpwv068/EcbF0BJdfBEj0IhoGgktAKAisrXIO7yGy + mUI6vcPGYe/XePA+QECdF/Jk1gB0ZJWNQgpfQ273QQpeHSmf96oCquiN0R1eF1IPP+AAgRmsjnCqFmoA + AAAASUVORK5CYII= +</value> + </data> + <data name="tb.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAHvSURBVDhPnZJNSFRRGIYPCBHYLl24d9EiKsuN48KNBbUo + EGSEmEwXoo0iRkR/ZBkSaC3m74qmC3/GjS7Edv5RTQNCMzUyNMWUWFaTo6AIaqjQ2/d999id61SLXnjh + cr73ec8991yVqXZPLzq9PfD6e+AL2M1rnZ4n4IyO29Xa0YUf27twhwDlJfv3mdaawz8lw1mNWbrV7sHa + 6jrcUxsYTOOPbprelAxnNWbp+r1HWF1ZhnoMDHwFKp8BeYO0s0+b38IDyXBWY5au3nmIdOqbhC6HgYIh + ArrI3Rmmkq3NDWRK40o13XiAxYXPsltBkAb7YbIRN6HoyVyEDyt51rhSV67dRTL5EcqgxV5yn91GQvI4 + 1BjFViHBEeCNI98qqGu+ibnEB7h8UaiqWaiLlo3Jpd9w8J15BC6ZzVdWQX3LbfSPPBUPjY4jqJ2cXxDg + YENE4LkdoMi/mF3AOlvhwonSM+JjJeUYHhkT+EBDzAbLsYr7ZabRbM08p6sg5bjf/hVm6Xi2eOirVv8H + x2foKkhcgFcV/4YnQhFkOnDJvF+Bd74D2zEp2YO/pJZtefqFO/Dy9Xu8iCQQin1CgEHSXoHLocSs+LQh + Gc4yw6w676yRL37ccRpHS87hfqUZPnKqzCzRmhoz0EYzznCWmQvOWvwCAklSiLgvRB8AAAAASUVORK5C + YII= +</value> + </data> + <data name="gl.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAG3SURBVDhPfVLdK0NhHH5LSXGn/QculCsfUbtRLl1JbhQh + taxNNPnOolY+yhjjQo12oRQ3bhWiZGULF3Kv5Nucbeacs4/HeX/HnJ289tRT7+/5/Z7nfc+vw+bXgvD4 + NuFZDojpC2DOvwX/1i6YCDPeDXEjDyu+C5oRhrgX1knMZrMQkfe83vNf45+QydlVEtKZDETkvaWlkMlk + Chn3LFOhptIQMQsgsHmElvYetHXYcHB4YgpjIzOLJMhKCiIqagoZLUVKJPEWlWg2UlOKs3KmB7ncC3RI + yioKMfc5Zc4IkhUMCAOXVgvY4OQsNeJJBYl/qKYM8/ZtQr9QCwlZtFf0j3lI+PiUIQmoaHvg/RJ7mMzX + KlDtv6NXUIBjeJoG3mNfiMbNlFXdXGy/MplZAGB1QeqxPtcUHV4lbUkxg7K2PK4XOW7+N3PYBiaoeI5+ + 4uXDINdWu1hhM0evc5SEx7c4nt4TRL51rvEAXLT+MR+fGn8m67YPUXH/IuH+NUbkNZnVB0C5opD8m3Me + QndfXpGHXECnlRF/ZILJ09zWhaqGJlTVG+R6ZW0jeAgNadjZ29f72iz36Cpj3yFNGCz1c9N0AAAAAElF + TkSuQmCC +</value> + </data> + <data name="BatchNo.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAD3SURBVDhPnZC9FYIwFEaZiQFkAB1ADzULZACGoJLKSio7 + BqCzorNiABgABnjme+GFBPlR3znfSUJy7yMJdorG0S2KY1r6/lE0PBMcdA8z3NZEd9VtSmiolU7iSjwY + CcNyUUL0UhzMIcK4An8IPFjGr2F0s3CTmrFOLbgN67vK79LQsOCqQhaIxIE9AfXVxT4Wwzp1NsGYQ4b9 + tjhSe4smiVKma19NL+4KBEQA85hH1OQH+T6T6MgagaArThys0V3g8ZwpgbryzBuIXAfB3iosZSUP3VEH + cx82d1+EpURiHmu8817neYkEHQH+BEtZSfYHLCWSdTgI3vBtcjUXOHiVAAAAAElFTkSuQmCC +</value> + </data> + <data name="tc.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAADCSURBVDhPpZJdCoMwEIRzpxxJ6Ak2z/ZZnysIBXuUHMA7 + bXeWrGBMYkoHh+gk8xl/XEneP7jXqXIWJkIgHscnT/PEy2vhz7ZhMQ/Dm5l3ObRcB1ACzAKQ6FTcV69G + rgWTbUl3QFQtFgGpfAAoAVDOi2ZbrwW5hwY4N+P6FmDlkrsBq6zOy3AXIEkhGHMbIMaorgGgI8Cu7CsY + wOZbAEgDBch/gOveRzgJAKLwH0CGJsDmxU1dAMiSu3R5iZr+oJuic1+SJ5jRbOqnmgAAAABJRU5ErkJg + gg== +</value> + </data> + <data name="cmdSourceBillNo.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + R0lGODlhEAAQAIYAAAAzmQBmzP///1o7AJlmAOazAMTz/9mmAEW5//nNT+W5ToPV/5TW/cyZAAyf/7Dp + /yOn/2jD/q3h/le8/sz3/5zg/7bt/73l/7Xs/2fH/4DT///bnZXb/97//2rK/wWb/8np/6zf/1S//77x + /73w/8Xv/1+//wmc/1jA/5Db/5LV/6rn/6Xb/zCt/33O/9X3/4LO/7jj/4PT/x+m/7nk/3XP/3PJ/3bQ + /6Tb/5Td/zCv/3fM/029/4za/6Pf/ZHc/6Pk/////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEBAAAh+QQB + AABBACwAAAAAEAAQAAAIqACDCBwoMIDBAAQTBjEYIcKECQYVLmQQ44KJFhBmQECYMAAOEAJYnPjgwAHH + gQEYqAhBA4YOBDwQIDg5cYcLGyg8LOixYAFNABJkZBBRI8cDEg98ACAIlIOGGylWGOhgwMBSphUq/ACC + wQAFClcFEiAAQICAEhZGvDAbloCCDQUAlDUrQO5AtwkKHBgQRK7duwryHmjAV2IQAoIJGxY4QK/ixYwH + FIYcEAA7 +</value> + </data> + <metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>93, 17</value> + </metadata> + <metadata name="pageSetupDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>212, 17</value> + </metadata> + <metadata name="printDocument1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>610, 17</value> + </metadata> + <metadata name="printDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>438, 17</value> + </metadata> + <metadata name="printPreviewDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>817, 17</value> + </metadata> + <data name="printPreviewDialog1.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + AAABAAYAICAQAAAAAADoAgAAZgAAABAQEAAAAAAAKAEAAE4DAAAgIAAAAQAIAKgIAAB2BAAAEBAAAAEA + CABoBQAAHg0AACAgAAABACAAqBAAAIYSAAAQEAAAAQAgAGgEAAAuIwAAKAAAACAAAABAAAAAAQAEAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAACAgACAAAAAgACAAICAAACAgIAAwMDAAAAA + /wAA/wAAAP//AP8AAAD/AP8A//8AAP///wAiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIoiI + iIiIiIiIiIiIiIiIiIiCIigiIiIozMzMzMzMyCIogiIoIiIiKM7m5ubm5sgiKIIiKCIiIijObm5ubm7I + IiiCIigiIiIozubm5ubmyCIogiIoIiIiKM5ubm5ubsgiKIIiKCIiIijO5ubm5ubIIiiIiIiIiIiIzm5u + bm5uyCIogRERERERGM7u7u7u7sgiKIHZWVlZWRjMzMzMzMzIIiiB1ZWVlZUYiIiIiIiIiIiIgdlZWVlZ + GDMzMzMzMzMzOIHVlZWVlRg/uLi4uLi4uDiB2VlZWVkYP7uLi4uLi4s4gdWVlZWVGD+4uLi4uLi4OIHZ + WVlZWRg/u4uLi4uLiziB1ZWVlZUYP7i4uLi4uLg4gdlZWVlZGD+7i4uLi4uLOIHVlZWVlRg/uLi4uLi4 + uDiB3d3d3d0YP7uLi4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qHyoA/x8qAAA/ + KgBVPyoA8Pv/AKSgoACAgIAAAAD/AAD/AAAA//8A/wAAAAAAAAD//wAA////AP39/f39/f39/f39/f39 + /f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39 + /f39/f39/f39/f39/f39/f39/f39/f39qoYIqoYIhqoIqgiqCaoIqgiqhqqGhoYIhoYIqv39/f0I/f39 + /ar9/f39/YY2Ng4yDg4ODgoOCgoKCgqG/f39/Yb9/f39CP39/f39qjY7Ozs3Nzc3NjMSMjIOCqr9/f39 + qv39/f2G/f39/f0IN19fOzs3Nzc3NjcODg4KCP39/f0I/f39/ar9/f39/ao6X19fXzs7Ozc3NzY3NgqG + /f39/Yb9/f39CP39/f39hl9jY19jX187Ozs7Nzc3Dqr9/f39qv39/f2G/f39/f0IOodjh19jX19fXztf + OzcOCP39/f0ICAmqCAiqCKoICapfCYdjh2ODY19fXzs7Ow6q/f39/QhITEwoSCUoKSQoqmMJCYcJCWNj + Y2NfY19fNgj9/f39qkyZmZmYmJRwlCmqX19fXl9fX186WzY3Njc2gv39/f0JcJ2dmZmZlJmUJAmqCaoJ + hggIqggICKoIqggI/f39/YZwnp2dnZmZmJVMqnx8fHx8fFR8VHhUVFRUVKr9/f39CHChoZ2dnZ2ZmUwJ + fKSkxqSkxqSkpKSkpKBUCP39/f2qcKLDoqGdnZ2ZTKp8ysakxqSkxqSkxqSkpFSq/f39/QiUpqbDoqHE + nZ1Mq3ykqMakyqSkxqSkpKSkVAj9/f39hpTIyKbHoqGhoXAIfMrLpMqkxqSkxqTGpKRUqv39/f0IlMym + yKbIpcShcAh8y6jKpMqkxsqkpKSkxlQI/f39/aqUzMzMyKbIpqJwqnzLy8qpxsqkpMakxqSkeAj9/f39 + CJSUlJSUlJSUlJQJgMupy8qpysqkyqSkxqRUqv39/f2GCKoIqgiqCKoIhgigrcvPqcuoy8qkxsqkxnyG + /f39/ar9/f39/f39/f39qnzPz6nLy8uoyqnKpKTKVAj9/f39CP39/f39/f39/f0IfNDPz8+py8upyqjG + yqR8hv39/f2G/f39/f39/f39/Qik0K7P0M+ty8vLy6jKpXyq/f39/ar9/f39/f39/f39CHzQ09Ctz8/P + qcupy6jKeAj9/f39CP39/f39/f39/f2qoNPQ0NPQ0M/Qz8vLy6l8CP39/f2G/f39/f39/f39/QmkfKR8 + oHx8fHx8fHx8fHyG/f39/aoIqgiqCKoIqgiqCKoIqgiqCKoIqgiqCKoIqgj9/f39/f39/f39/f39/f39 + /f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f3///////////// + ///AAAAD3vgAA974AAPe+AAD3vgAA974AAPe+AADwAAAA8AAAAPAAAADwAAAA8AAAAPAAAADwAAAA8AA + AAPAAAADwAAAA8AAAAPAAAADwAAAA9/4AAPf+AAD3/gAA9/4AAPf+AAD3/gAA8AAAAP//////////ygA + AAAQAAAAIAAAAAEACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAACAAAAAgIAAgAAAAIAA + gACAgAAAgICAAMDcwADwyqYAqj8qAP8/KgAAXyoAVV8qAKpfKgD/XyoAAH8qAFV/KgCqfyoA/38qAACf + KgBVnyoAqp8qAP+fKgAAvyoAVb8qAKq/KgD/vyoAAN8qAFXfKgCq3yoA/98qAAD/KgBV/yoAqv8qAP// + KgAAAFUAVQBVAKoAVQD/AFUAAB9VAFUfVQCqH1UA/x9VAAA/VQBVP1UAqj9VAP8/VQAAX1UAVV9VAKpf + VQD/X1UAAH9VAFV/VQCqf1UA/39VAACfVQBVn1UAqp9VAP+fVQAAv1UAVb9VAKq/VQD/v1UAAN9VAFXf + VQCq31UA/99VAAD/VQBV/1UAqv9VAP//VQAAAH8AVQB/AKoAfwD/AH8AAB9/AFUffwCqH38A/x9/AAA/ + fwBVP38Aqj9/AP8/fwAAX38AVV9/AKpffwD/X38AAH9/AFV/fwCqf38A/39/AACffwBVn38Aqp9/AP+f + fwAAv38AVb9/AK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D/wMDA/8DAwP/AwMD/AAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD//wAAgAEAALQF + wf+0BQAAgAUAAIAFAACAAQAAgAHB/4ABAACAAQAAgAEAALwBAAC8AQAAvAHB/4ABbP///5H/ +</value> + </data> + <metadata name="timer2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>1058, 17</value> + </metadata> + <metadata name="timer3.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>1177, 17</value> + </metadata> + <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>25</value> + </metadata> +</root> \ No newline at end of file -- Gitblit v1.9.1