创建得辉达定制分支

This commit is contained in:
moxiliang
2025-06-21 10:00:45 +08:00
parent dcd9b20fb0
commit c189711a92
145 changed files with 96629 additions and 5073 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,605 @@
#pragma once
#pragma warning(disable:4996)
#ifdef DLLEXPORT
#define DLLAPI __declspec(dllexport)
#else
#define DLLAPI __declspec(dllimport)
#endif
#define CALLMETHOD __cdecl//__cdecl//__stdcall
#define _in_
#define _out_
/************************************************************************/
/* <20><>վ<EFBFBD><D5BE><EFBFBD><EFBFBD> */
/* 20160923 */
/* Lory */
/************************************************************************/
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>
DLLAPI int CALLMETHOD TestConnect(_in_ int conn);
//дlog
DLLAPI int CALLMETHOD WriteLog(_in_ char *Errorstring);
//<2F><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD>·<EFBFBD><C2B7>
DLLAPI int CALLMETHOD Get_ExePath(_out_ char* exePath);
//<2F><>ѯ<EFBFBD><D1AF><EFBFBD>ϱ<EFBFBD><CFB1><EFBFBD>
DLLAPI int CALLMETHOD ATS_SelectMaterialCode(_in_ char * BatchNumber, _out_ char * MaterialCode);
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD ATS_InsertRoutMaintain(
_in_ char * MaterialCode,
_in_ char * ATSStationName,
_in_ char * Test_Number,
_in_ char * Test_NameVaule
);
//<2F><>ѯ<EFBFBD><D1AF><EFBFBD><EFBFBD>վ<EFBFBD><D5BE><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD ATS_SelectATSStationName(_in_ char * MaterialCode, _out_ char * ATSStationName);
//<2F><>ѯSN<53>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD>Բ<EFBFBD><D4B2><EFBFBD>
DLLAPI int CALLMETHOD ATS_SelectTestYorN(
_in_ char* MainSN,
_in_ char* ATSStationName,
_in_ char* MaterialCode,
_out_ char* TestYorN
);
DLLAPI int CALLMETHOD ATS_SelectTestYorN_Batch(
_in_ char* MainSN,
_in_ char* ATSStationName,
_in_ char* MaterialCode,
_in_ char* Batch,
_out_ char* TestYorN
);
DLLAPI int CALLMETHOD ATS_SelectTestYorN_Batch_LineName(
_in_ char* MainSN,
_in_ char* ATSStationName,
_in_ char* MaterialCode,
_in_ char* Batch,
_in_ char* LineName,
_in_ char* Value2,
_in_ char* Value3,
_out_ char* TestYorN
);
//<2F>ϴ<EFBFBD><CFB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD HW_InsertDataRow(
_in_ char *strmodel,
_in_ char *strbatch,
_in_ char *strlocation,
_in_ char *strstation,
_in_ char *strsn,
_in_ int iresult,
_in_ char *strkeys,
_in_ char *strvalues
);
DLLAPI int CALLMETHOD ATS_InsertDataRow_JIG(
_in_ char *strmodel,
_in_ char *strbatch,
_in_ char *strlocation,
_in_ char *strstation,
_in_ char *strsn,
_in_ int iresult,
_in_ char * errorinfo,
_in_ char * JIG_Number,
_in_ char *strkeys,
_in_ char *strvalues
);
DLLAPI int CALLMETHOD ATS_InsertDataRow_JIG_V2(
_in_ char *strlinename,//<2F>߱<EFBFBD><DFB1><EFBFBD><EFBFBD><EFBFBD>
_in_ char *strbatch,//<2F><><EFBFBD><EFBFBD>
_in_ char *strlocation,//<2F><><EFBFBD>ϱ<EFBFBD><CFB1><EFBFBD>
_in_ char *strstation,//վ<><D5BE>
_in_ char *strsn,//<2F><>վ<EFBFBD><D5BE><EFBFBD><EFBFBD>
_in_ int iresult,//<2F><><EFBFBD>Խ<EFBFBD><D4BD><EFBFBD>
_in_ char * errorinfo,//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ
_in_ char * JIG_Number,//<2F><><EFBFBD>ܱ<EFBFBD><DCB1><EFBFBD>
_in_ char *strswversion,//<2F><><EFBFBD><EFBFBD><EFBFBD>
_in_ char *strremark, //<2F><>ע
_in_ char *strkeys,//<2F><><EFBFBD><EFBFBD>
_in_ char *strvalues//ֵ
);
DLLAPI int CALLMETHOD ATS_InsertDataRow(
_in_ char *strmodel,
_in_ char *strbatch,
_in_ char *strlocation,
_in_ char *strstation,
_in_ char *strsn,
_in_ int iresult,
_in_ char * errorinfo,
_in_ char *strkeys,
_in_ char *strvalues
);
//ֻ<>ϴ<EFBFBD><CFB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD MES_OnlyInsertDataRow(
_in_ char *strmodel,
_in_ char *strbatch,
_in_ char *strlocation,
_in_ char *strstation,
_in_ char *strsn,
_in_ int iresult,
_in_ char *strkeys,
_in_ char *strvalues
);
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD ATS_InsertErrorData(int Test_ID, char * Test_errorinfo);
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD ATS_InsertJIGNumber(int Test_ID, char * JIGNumber);
//<2F><><EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD><CFB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʒϵͳ//<2F><><EFBFBD><EFBFBD><EFBFBD>ӿڸ<D3BF><DAB8>£<EFBFBD><C2A3><EFBFBD><EFBFBD><EFBFBD>ֻ<EFBFBD><D6BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD ATS_InsertFailCode(
_in_ char* Product_Batch,//<2F><><EFBFBD><EFBFBD>
_in_ char* Product_BarCode,//<2F><>վ<EFBFBD><D5BE><EFBFBD><EFBFBD>
_in_ char* Product_Line_naem,//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
_in_ char* Product_StationName,//վ<><D5BE>
_in_ int Product_Repeat_Times=3 //<2F>ز<EFBFBD><D8B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD>3
);
//<2F><><EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD><CFB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʒϵͳ
DLLAPI int CALLMETHOD ATS_InsertFailCode_V2(
_in_ char* Product_Batch,//<2F><><EFBFBD><EFBFBD>
_in_ char* Product_BarCode,//<2F><>վ<EFBFBD><D5BE><EFBFBD><EFBFBD>
_in_ char* Product_Line_naem,//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
_in_ char* Product_StationName,//վ<><D5BE>
_in_ char* Product_MaterialCode,//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD>ϱ<EFBFBD><CFB1><EFBFBD>
_in_ int Product_Repeat_Times = 3 //<2F>ز<EFBFBD><D8B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD>3
);
//1<><31><EFBFBD>µĹ<C2B5>վ<EFBFBD><D5BE><EFBFBD>ݱ<EFBFBD><DDB1>в<EFBFBD><D0B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD ATS_InsertTestData(
int Test_ID,
char *Test_Vaule
);
DLLAPI int CALLMETHOD ATS_InsertTestResult(
_in_ char *strbatch,
_in_ char *strsn,
_in_ char *strstation,
_in_ int iresult
);
/*
*/
DLLAPI int CALLMETHOD ATS_InsertTestResult_V2(
_in_ char *strbatch,//<2F><><EFBFBD><EFBFBD>
_in_ char *strsn,//<2F><>վ<EFBFBD><D5BE><EFBFBD><EFBFBD>
_in_ char *strstation,//վ<><D5BE>
_in_ char *strlinename,//<2F>߱<EFBFBD><DFB1><EFBFBD><EFBFBD><EFBFBD>
_in_ char *strlocation,//<2F><><EFBFBD>ϱ<EFBFBD><CFB1><EFBFBD>
_in_ char *strswversion,//<2F><><EFBFBD><EFBFBD><EFBFBD>
_in_ char *strremark,//<2F><>ע
_in_ int iresult//<2F><><EFBFBD>Խ<EFBFBD><D4BD><EFBFBD>
);
DLLAPI int CALLMETHOD ATS_InsertDataRow_OFFLINE_V2(
_in_ char *strlinename,//<2F>߱<EFBFBD><DFB1><EFBFBD><EFBFBD><EFBFBD>
_in_ char *strbatch,//<2F><><EFBFBD><EFBFBD>
_in_ char *strlocation,//<2F><><EFBFBD>ϱ<EFBFBD><CFB1><EFBFBD>
_in_ char *strstation,//վ<><D5BE>
_in_ char *strsn,//<2F><>վ<EFBFBD><D5BE><EFBFBD><EFBFBD>
_in_ int iresult,//<2F><><EFBFBD>Խ<EFBFBD><D4BD><EFBFBD>
_in_ char * errorinfo,//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ
_in_ char * JIG_Number,//<2F><><EFBFBD>ܱ<EFBFBD><DCB1><EFBFBD>
_in_ char *strswversion,//<2F><><EFBFBD><EFBFBD><EFBFBD>
_in_ char *strremark, //<2F><>ע
_in_ char *strkeys,//<2F><><EFBFBD><EFBFBD>
_in_ char *strvalues//ֵ
);
/*
select mes_station_ctrl_test.inserttestresult_offline(p_tracenum => '',--<2D><><EFBFBD><EFBFBD>
p_ser_no => '',--ɨ<><C9A8><EFBFBD><EFBFBD>
p_seq_no => '',--<2D><>վ
p_prod_line_name => '',--<2D><><EFBFBD><EFBFBD><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
p_item_code => '',--<2D><><EFBFBD>ϱ<EFBFBD><CFB1><EFBFBD><EBA3A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
p_soft_ver => '',--<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E6B1BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
p_remark => '',--<2D><>ע<EFBFBD><D7A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
P_result => ''--<2D><><EFBFBD><EFBFBD>
) FROM dual
*/
DLLAPI int CALLMETHOD ATS_OffLine_InsertResult_V2(
_in_ char *strbatch,
_in_ char *strsn,
_in_ char *strstation,
_in_ char *strlinename,
_in_ char *strlocation,
_in_ char *strswversion,
_in_ char *strremark,
_in_ int iresult
);
/************************************************************************/
/* <20><>վ<EFBFBD><D5BE><EFBFBD><EFBFBD> */
/* 20160923 */
/* Lory */
/************************************************************************/
/************************************************************************/
/* <20>ϴ<EFBFBD><CFB4><EFBFBD><EFBFBD><EFBFBD> */
/* 20170104 */
/* Lory */
/************************************************************************/
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD InsertTwoData(
_in_ char* TableName,
_in_ char* FieldName,
_in_ char* Value,
_in_ char* FieldName2,
_in_ char* Value2
);
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݣ<EFBFBD><DDA3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD UpdateDataTwoCondition(
_in_ char* TableName,
_in_ char* FieldName2Update,
_in_ char* Value2Update,
_in_ char* FieldNameOfCondition,
_in_ char* ValueOfCondition,
_in_ char* FieldNameOfCondition2,
_in_ char* ValueOfCondition2
);
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݣ<EFBFBD><DDA3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD UpdateOneDataTwoCondition(
_in_ char* TableName,
_in_ char* Update_ColName,
_in_ char* Update_ColVaule,
_in_ char* FieldNameOfCondition,
_in_ char* ValueOfCondition,
_in_ char* FieldNameOfCondition2,
_in_ char* ValueOfCondition2
);
//<2F><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD>,<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>򣬻<EFBFBD>ȡ<EFBFBD><C8A1>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD GetDataOrderBy(
_in_ char* TableName,
_in_ char* FieldName,
_out_ char* Value,
_in_ int SizeOfValue,
_in_ char* FieldNameOfCondition,
_in_ char* ValueOfCondition,
_in_ char* OrderByAscOrDesc//DESC <20><><EFBFBD><EFBFBD> ASC <20><><EFBFBD><EFBFBD>
);
//<2F><><EFBFBD><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD InsertOneRowData(
_in_ char* INSERT_ColName,
_in_ char* INSERT_ColVaule,
_in_ char* TableName
);
//<2F><><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD>е<EFBFBD><D0B5><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD UpdateOneRowData(
_in_ char* Update_ColName,
_in_ char* Update_ColVaule,
_in_ char* TableName,
_in_ char* FieldNameOfCondition,
_in_ char* ValueOfCondition
);
//<2F><>ѯָ<D1AF><D6B8><EFBFBD>е<EFBFBD><D0B5><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD SelectOneRowData(
_in_ char* Select_ColName,
_out_ char* Select_ColVaule,
_in_ char* TableName,
_in_ char* FieldNameOfCondition,
_in_ char* ValueOfCondition
);
//SLM-D MES wisillica <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>
DLLAPI int CALLMETHOD Insert_WisillicaData(
_in_ char* Wisillica_Batch,
_in_ char* Wisillica_SN,
_in_ char* Wisillica_SWversion,
_in_ char* Wisillica_RSSI,
_in_ char* Wisillica_VCCorLDA_MAX,
_in_ char* Wisillica_GNDorLDA_MIN,
_in_ char* Wisillica_GPIO1orPIR,
_in_ char* Wisillica_GPIO2,
_in_ char* Wisillica_RX,
_in_ char* Wisillica_TX,
_in_ char* Wisillica_Channel1orSwitch1,
_in_ char* Wisillica_Channel_50,
_in_ char* Wisillica_Channel_100,
_in_ char* Wisillica_channel2orSwitch2,
_in_ char* Wisillica_Channe2_50,
_in_ char* Wisillica_Channe2_100,
_in_ char* Wisillica_RED,
_in_ char* Wisillica_GREEN,
_in_ char* Wisillica_BLUE,
_in_ char* Wisillica_TEMPERATURE,
_in_ char* Wisillica_HUMIDITY,
_in_ char* Wisillica_okflag
);
/************************************************************************/
/* <20>ϴ<EFBFBD><CFB4><EFBFBD><EFBFBD><EFBFBD> */
/* 20170104 */
/* Lory */
/************************************************************************/
/************************************************************************/
/* MAC&KEY */
/* 2017411 */
/* Lory */
/************************************************************************/
//ͨ<><CDA8>MAC<41><43><EFBFBD><EFBFBD><EFBFBD>Σ<EFBFBD><CEA3><EFBFBD><EFBFBD><EFBFBD>,<2C><>ȡSN
DLLAPI int CALLMETHOD Product_GetSNorMAC(
_in_ char* WifiMAC,
_in_ char* Product_Batch,
_in_ char* Product_Type,
_out_ char* SN_Value
);
//<2F><>ȡ<EFBFBD><C8A1><EFBFBD>εĵ<CEB5>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB>MAC
DLLAPI int CALLMETHOD MES_GetMACorSN_OrderByData(
_in_ char *StrBatch,
_in_ char *StrType,
_in_ char *OrderByAscOrDesc,
_out_ char* SN_Value
);
//ͨ<><CDA8>SN<53><4E><EFBFBD><EFBFBD><EFBFBD>Σ<EFBFBD><CEA3><EFBFBD><EFBFBD><EFBFBD>,<2C><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>MAC
DLLAPI int CALLMETHOD Product_GetTwoSNorMAC(
_in_ char* WifiMAC,
_in_ char* Product_Batch,
_in_ char* Product_Type,
_out_ char* SN_Value
);
//<2F><>SN<53><4E><EFBFBD><EFBFBD><EFBFBD>Σ<EFBFBD><CEA3><EFBFBD><EFBFBD><EFBFBD>,MAC<41>γ<EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD>¼
//SN_Value_Two <20><><EFBFBD><EFBFBD>SN<53><4E>
//SN_Value_One <20><><EFBFBD><EFBFBD>ONE<4E><45>
//<2F><><EFBFBD>в<EFBFBD><D0B2><EFBFBD>ǿ<EFBFBD>ƴ<EFBFBD>д
//select mes_otherdep_call_pkg.SnMacBind_ZJ('HY1731034','ZJ_SN', 'R273050217234', '00:22:6C:87:E5:D0') from dual
DLLAPI int CALLMETHOD Product_SnMacBind(
_in_ char* Product_Batch,
_in_ char* Product_Type,
_in_ char* SN_Value_One,
_in_ char* SN_Value_Two
);
//<2F><>SN<53><4E><EFBFBD><EFBFBD><EFBFBD>µ<EFBFBD>MAC<41><43>ֵ<EFBFBD><D6B5><EFBFBD><EFBFBD><EFBFBD>γ<EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD>¼
//select mes_otherdep_call_pkg.f_BindSN_SN('batch','type', 'sn', 'bind_sn') from dual;
DLLAPI int CALLMETHOD Product_SnBD_BindSN(
_in_ char* Product_Batch,
_in_ char* Product_Type,
_in_ char* SN_Value,
_in_ char* Bind_SN
);
//<2F><>SN<53><4E><EFBFBD><EFBFBD>ȡBindSN
//select mes_otherdep_call_pkg.getBindSnbySN('6C5AB5532276') from dual;
DLLAPI int CALLMETHOD Product_SnGet_BindSN(
_in_ char* SN_Value,
_out_ char* Bind_SN
);
//<2F>ù<EFBFBD><C3B9><EFBFBD><EFBFBD><EFBFBD><EBA3AC>ȡMAC<41><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Դ<EFBFBD><D4B4>Ͷ<EFBFBD><CDB6>λ<EFBFBD>Ĺ<EFBFBD><C4B9><EFBFBD>ɨ<EFBFBD><C9A8>
DLLAPI int CALLMETHOD Product_OvercodeGet_MAC(
_in_ char* Overcode_Value,
_in_ char* Batch_Value,
_out_ char* Scan_MAC
);
//<2F><>BIND_SN<53><4E><EFBFBD><EFBFBD><EFBFBD>Σ<EFBFBD>MAC<41><43><EFBFBD><EFBFBD><EFBFBD>򣬻<EFBFBD>ȡSN<53><4E>
DLLAPI int CALLMETHOD Product_BindSNGet_NewSN(
_in_ char* Customer_Value,
_in_ char* Batch_Value,
_in_ char* Type_Value,
_in_ char* SNPFX_Value,
_in_ int SN_Length,
_in_ char* BIND_SN,
_out_ char* New_SN
);
// <20><>BindSN<53><4E><EFBFBD><EFBFBD>ȡSN
// select sn from mes_keymac_maintain where BIND_SN='740447A29003F';
// DLLAPI int CALLMETHOD Product_BindSN_GetSN(
// _out_ char* SN_Value,
// _out_ char* Product_Batch,
// _in_ char* Bind_SN
// );
//<2F><>ͨ<EFBFBD><CDA8>SN<53><4E><EFBFBD><EFBFBD><EFBFBD>Σ<EFBFBD><CEA3><EFBFBD><EFBFBD><EFBFBD>,<2C><>ȡKEY
//select MES_OtherDep_Call_pkg.f_GetKEYBySN('OP1751002MA00001TL','OP1751002', 'KEY')from dual
DLLAPI int CALLMETHOD Product_BindSN_GetKEY(
_in_ char* PSN_Value,
_in_ char* Product_Batch,
_in_ char* Product_Type,
_out_ char* KEY_Value,
_in_ int KEY_Value_Size
);
//<2F><>ͨ<EFBFBD><CDA8>SN<53><4E><EFBFBD><EFBFBD><EFBFBD>Σ<EFBFBD><CEA3><EFBFBD><EFBFBD><EFBFBD>,<2C><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>Ƶ<EFBFBD>KEY
//select MES_OtherDep_Call_pkg.f_GetBinKEYBySN('70C94EB00D21','STG181601','KEY') from dual
DLLAPI int CALLMETHOD Product_SN_GetBINKEY(
_in_ char* PSN_Value,
_in_ char* Product_Batch,
_in_ char* Product_Type,
_out_ char* KEY_Value,
_in_ int KEY_Value_Size
);
//<2F><>ͨ<EFBFBD><CDA8>SN<53><4E><EFBFBD><EFBFBD><EFBFBD>Σ<EFBFBD><CEA3><EFBFBD><EFBFBD><EFBFBD>,<2C><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>Ƶ<EFBFBD>KEY
//select MES_OtherDep_Call_pkg.f_GetBinKEYBySN('70C94EB00D21','STG181601','KEY') from dual
DLLAPI int CALLMETHOD Product_SN_GetBINKEY_SaveFile(
_in_ char* PSN_Value,
_in_ char* Product_Batch,
_in_ char* Product_Type,
_in_ char* Product_SavePath,
_out_ char* KEY_Value,
_in_ int KEY_Value_Size
);
//<2F><>ͨ<EFBFBD><CDA8>Bind SN<53><4E><EFBFBD><EFBFBD><EFBFBD>Σ<EFBFBD><CEA3><EFBFBD><EFBFBD><EFBFBD>,<2C><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>Ƶ<EFBFBD>KEY
// select mes_otherdep_call_pkg.f_GetBinKEYByScancode('ABC','STG181601','KEY') from dual
DLLAPI int CALLMETHOD Product_BindSN_GetBINKEY(
_in_ char* PSN_Value,
_in_ char* Product_Batch,
_in_ char* Product_Type,
_out_ char* KEY_Value,
_in_ int KEY_Value_Size
);
//<2F><>ͨ<EFBFBD><CDA8>SN<53><4E><EFBFBD><EFBFBD><EFBFBD>Σ<EFBFBD><CEA3><EFBFBD><EFBFBD><EFBFBD>,<2C><>ȡָ<C8A1><D6B8><EFBFBD><EFBFBD>KEY
//select MES_OtherDep_Call_pkg.f_GetALDDKEYBySN('0104IBW180101N000001', 'GTR180706','KEY') from dual
DLLAPI int CALLMETHOD Product_SN_GetKEY(
_in_ char* PSN_Value,
_in_ char* Product_Batch,
_in_ char* Product_Type,
_out_ char* KEY_Value,
_in_ int KEY_Value_Size
);
//<2F><>ȡKEY<45><59><EFBFBD><EFBFBD><EFBFBD>ݹ<EFBFBD>ϣֵ
//select dbms_utility.get_hash_value(
//'2EFB1BDC30FF4707*304502210082780E7EE9A33C854C846C32FE244AEAFFE3D7C9DCC990993A98885AB84D102A0220537CA4973A2E54896DCC13FB0ABE547135F5CC1A630A8F1FB67B4E5141339F74',
//1,1000000000) as l_hash from dual
DLLAPI int CALLMETHOD Product_GetKEY_DBHashValue(
_in_ char* KEY_Value,
_out_ char* Hash_Value
);
//<2F><>Ϊ<EFBFBD><CEAA><EFBFBD>ƽӿ<C6BD> 2020-08-14 <20><>ȡ<EFBFBD><C8A1>ӡ<EFBFBD>ӿ<EFBFBD>
//select mes_script_pkg.getScriptContent(p_trace_num =>'HW2036069',p_script_type =>'EQUIPMENT')from dual;
//<2F><>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ڶ<EFBFBD><DAB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͣ<EFBFBD><CDA3><EFBFBD>EQUIPMENT<4E><54><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PRINT<4E><54><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD Product_GetScriptContent(
_in_ char* Product_Batch,
_in_ char* Product_Type,
_out_ char* KEY_Value,
_in_ int KEY_Value_Size
);
//2021-06-24 <20><>ȡKEY
//select mes_otherdep_call_pkg.f_getBinbyMAC('GTR212501','KEY','305075F60DD4') from dual
//<2F><>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ڶ<EFBFBD><DAB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͣ<EFBFBD><CDA3><EFBFBD>EQUIPMENT<4E><54><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PRINT<4E><54><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD Product_GetKEYBinbyMAC(
_in_ char* Product_Batch,
_in_ char* Product_Type,
_in_ char* Product_MAC,
_out_ char* KEY_Value,
_in_ int KEY_Value_Size
);
/************************************************************************/
/* MAC&KEY */
/* 2017411 */
/* Lory */
/************************************************************************/
/************************************************************************/
/* <20><><EFBFBD><EFBFBD><EFBFBD>򿨻<EFBFBD><F2BFA8BB><EFBFBD><EFBFBD>ݽӿ<DDBD> */
/* 20170411 */
/* Lory */
/************************************************************************/
DLLAPI int CALLMETHOD Ali_GetBatch(
_in_ char* ModelName,
_out_ char* BatchValue
);
DLLAPI int CALLMETHOD Ali_GetSNRange(
_in_ char* Batch,
_out_ char* SNRange_Value
);
/************************************************************************/
/* <20><><EFBFBD><EFBFBD><EFBFBD>򿨻<EFBFBD><F2BFA8BB><EFBFBD><EFBFBD>ݽӿ<DDBD> */
/* 20170411 */
/* Lory */
/************************************************************************/
/************************************************************************/
/* Ф<><D0A4><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>DLL<4C><4C>ֲ<EFBFBD><D6B2><EFBFBD><EFBFBD><EFBFBD>ĺ<EFBFBD><C4BA><EFBFBD> */
/* 20170415 */
/* Lory */
/************************************************************************/
//<2F><><EFBFBD><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD InsertData(
_in_ char* TableName,
_in_ char* FieldName,
_in_ char* Value
);
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD UpdateData(
_in_ char* TableName,
_in_ char* FieldName2Update,
_in_ char* Value2Update,
_in_ char* FieldNameOfCondition,
_in_ char* ValueOfCondition
);
//<2F><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD GetData(
_in_ char* TableName,
_in_ char* FieldName,
_out_ char* Value,
_in_ int SizeOfValue,
_in_ char* FieldNameOfCondition,
_in_ char* ValueOfCondition
);
DLLAPI int CALLMETHOD GetDbTimeStamp(
_out_ char* DbTimeStamp
);
DLLAPI int CALLMETHOD GetDbTime(
_out_ char* DbTime
);
//SONY_BTSPK_ATS<54><53><EFBFBD><EFBFBD><EFBFBD><EFBFBD>SN<53>ظ<EFBFBD>
DLLAPI int CALLMETHOD BtSpkCheckSN(
_in_ char* SN,
_out_ char* YorN
);
//HW_C1<43><31><EFBFBD><EFBFBD><EFBFBD>󶨽<EFBFBD><F3B6A8BD><EFBFBD>
DLLAPI int CALLMETHOD p_CheckSeqResult(
_in_ char* Batch,
_in_ char* SN,
_out_ char* YorN
);
//<2F><>ѯSONY<4E><59>Ʒ<EFBFBD><C6B7>Ϣ
DLLAPI int CALLMETHOD ATS_SelectSONYInfo(
_in_ char * BatchNumber,
_out_ char * SONYInfo
);
/************************************************************************/
/* Ф<><D0A4><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>DLL<4C><4C>ֲ<EFBFBD><D6B2><EFBFBD><EFBFBD><EFBFBD>ĺ<EFBFBD><C4BA><EFBFBD> */
/* 20170415 */
/* Lory */
/************************************************************************/
/************************************************************************/
/* <20><>׼<EFBFBD><D7BC><EFBFBD><EFBFBD>IT<49>ӿں<D3BF><DABA><EFBFBD> */
/* 20171113 */
/* Lory */
/************************************************************************/
DLLAPI int CALLMETHOD ATS_CALL_IT_SQL_API(
_in_ char * SQL_API,
_out_ char * Result_Str,
_in_ int length_max
);
/************************************************************************/
/* <20><>׼<EFBFBD><D7BC><EFBFBD><EFBFBD>IT<49>ӿں<D3BF><DABA><EFBFBD> */
/* 20171113 */
/* Lory */
/************************************************************************/

Binary file not shown.

87
C-Windows-1/Activationcode.Designer.cs generated Normal file
View File

@@ -0,0 +1,87 @@
namespace C_Windows_1
{
partial class Activationcode
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.button1 = new System.Windows.Forms.Button();
this.textBox1 = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// button1
//
this.button1.Location = new System.Drawing.Point(298, 315);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 23);
this.button1.TabIndex = 0;
this.button1.Text = "确认";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(210, 211);
this.textBox1.Multiline = true;
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(262, 79);
this.textBox1.TabIndex = 1;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label1.Location = new System.Drawing.Point(206, 174);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(129, 20);
this.label1.TabIndex = 3;
this.label1.Text = "请输入激活码";
//
// Activationcode
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.label1);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.button1);
this.Name = "Activationcode";
this.Text = "Activationcode";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Activationcode_FormClosing);
this.Load += new System.EventHandler(this.Activationcode_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Button button1;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Label label1;
}
}

View File

@@ -0,0 +1,260 @@
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Net.NetworkInformation;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using static System.Collections.Specialized.BitVector32;
using static System.Windows.Forms.VisualStyles.VisualStyleElement;
using static System.Windows.Forms.VisualStyles.VisualStyleElement.StartPanel;
using static System.Windows.Forms.VisualStyles.VisualStyleElement.TaskbarClock;
namespace C_Windows_1
{
public partial class Activationcode : Form
{
public Activationcode()
{
InitializeComponent();
}
Form1 f1 = new Form1();
string CODE;//永久激活码
public string flag;
public bool sign = true;//七天标志位码只能用一次
public bool permanentSign = true;//永久标志位码只能用一次
public bool TdaytSign = true;//三天标志位码只能用一次
string TdayCODE;//三天激活码
string SdayCODE;//七天激活码
private void button1_Click(object sender, EventArgs e)
{
if (sign)
{
if (textBox1.Text == "linglongkeji")
{
RegistryKey regName;
regName = Registry.CurrentUser.OpenSubKey("SOFTWARE\\Microsoft\\PMD\\1.0\\User-LL18-Set", true);
if (regName is null)
{
regName = Registry.CurrentUser.CreateSubKey("SOFTWARE\\Microsoft\\PMD\\1.0\\User-LL18-Set");
}
regName.SetValue("使用天数", 336);//七天使用天数
sign = false;
regName.SetValue("标志位码1", sign);
Form1.TIME = 0;
regName.SetValue("time", Form1.TIME);
regName.Close();
MessageBox.Show("试用天数七天,请重新打开程序");
this.Close();
}
}
string asd = Encrypt(CODE);//算出激活码
if (textBox1.Text == asd.ToString())
{
RegistryKey regName;
regName = Registry.CurrentUser.OpenSubKey("SOFTWARE\\Microsoft\\PMD\\1.0\\User-LL18-Set", true);
if (regName is null)
{
regName = Registry.CurrentUser.CreateSubKey("SOFTWARE\\Microsoft\\PMD\\1.0\\User-LL18-Set");
}
regName.SetValue("使用天数", 999999999);
permanentSign = false;
Form1.TIME = 0;
regName.SetValue("time", Form1.TIME);
regName.SetValue("标志位码2", permanentSign);
regName.Close();
MessageBox.Show("永久激活,请重新打开程序");
this.Close();
}
string dcx = Encrypt2(SdayCODE);
if (textBox1.Text == dcx.ToString())
{
RegistryKey regName;
regName = Registry.CurrentUser.OpenSubKey("SOFTWARE\\Microsoft\\PMD\\1.0\\User-LL18-Set", true);
if (regName is null)
{
regName = Registry.CurrentUser.CreateSubKey("SOFTWARE\\Microsoft\\PMD\\1.0\\User-LL18-Set");
}
Form1.TIME = 0;
regName.SetValue("使用天数", 336);
regName.SetValue("time", Form1.TIME);
regName.Close();
MessageBox.Show("试用天数七天,请重新打开程序");
this.Close();
}
if (TdaytSign)
{
string rrt = Encrypt3(TdayCODE);
if (textBox1.Text == rrt.ToString())
{
RegistryKey regName;
regName = Registry.CurrentUser.OpenSubKey("SOFTWARE\\Microsoft\\PMD\\1.0\\User-LL18-Set", true);
if (regName is null)
{
regName = Registry.CurrentUser.CreateSubKey("SOFTWARE\\Microsoft\\PMD\\1.0\\User-LL18-Set");
}
TdaytSign = false;
Form1.TIME = 0;
regName.SetValue("使用天数", 144);
regName.SetValue("time", Form1.TIME);
regName.SetValue("标志位码3", TdaytSign);
regName.Close();
MessageBox.Show("试用天数三天,请重新打开程序");
this.Close();
}
}
}
private void Activationcode_FormClosing(object sender, FormClosingEventArgs e)
{
Application.Exit();
}
private void Activationcode_Load(object sender, EventArgs e)
{
GetMacAddress();
GetMacAddress2();
GetMacAddress3();
Read();
}
public void Read()
{
RegistryKey regName;
regName = Registry.CurrentUser.OpenSubKey("SOFTWARE\\Microsoft\\PMD\\1.0\\User-LL18-Set", true);
if (regName is null)
{
regName = Registry.CurrentUser.CreateSubKey("SOFTWARE\\Microsoft\\PMD\\1.0\\User-LL18-Set");
}
regName.OpenSubKey("User");
if (regName.GetValue("标志位码1") is null)
{
sign = true;
}
else
{
sign = Convert.ToBoolean(regName.GetValue("标志位码1").ToString());
}
if (regName.GetValue("标志位码2") is null)
{
permanentSign = true;
}
else
{
permanentSign = Convert.ToBoolean(regName.GetValue("标志位码2").ToString());
}
if (regName.GetValue("标志位码3") is null)
{
TdaytSign = true;
}
else
{
TdaytSign = Convert.ToBoolean(regName.GetValue("标志位码3").ToString());
}
}
public string GetMacAddress()
{
DateTime currentDate = DateTime.Now;
int year = currentDate.Year;
int month = currentDate.Month;
int day = currentDate.Day;
string timeout = year.ToString() + month.ToString() + day.ToString();
CODE = timeout;
return CODE;
}
private string Encrypt(string CODE)
{
StringBuilder sb = new StringBuilder();
byte[] data = Encoding.UTF8.GetBytes(CODE);
byte[] hash = MD5.Create().ComputeHash(data);
for (int i = 0; i < hash.Length; i++)
{
sb.Append(hash[i].ToString("X2"));
}
return sb.ToString();
}
private string Encrypt2(string CODE)
{
StringBuilder sb = new StringBuilder();
byte[] data = Encoding.UTF8.GetBytes(CODE);
byte[] hash = MD5.Create().ComputeHash(data);
for (int i = 0; i < hash.Length; i++)
{
sb.Append(hash[i].ToString("X2"));
}
return sb.ToString();
}
private string Encrypt3(string CODE)
{
StringBuilder sb = new StringBuilder();
byte[] data = Encoding.UTF8.GetBytes(CODE);
byte[] hash = MD5.Create().ComputeHash(data);
for (int i = 0; i < hash.Length; i++)
{
sb.Append(hash[i].ToString("X2"));
}
return sb.ToString();
}
public string GetMacAddress2()
{
DateTime currentDate = DateTime.Now;
int year = currentDate.Year;
int month = currentDate.Month;
int day = currentDate.Day;
string timeout = year.ToString() + month.ToString() + day.ToString();
SdayCODE = timeout + 7 + "linglongkeji";
return SdayCODE;
}
public string GetMacAddress3()
{
DateTime currentDate = DateTime.Now;
int year = currentDate.Year;
int month = currentDate.Month;
int day = currentDate.Day;
string timeout = year.ToString() + month.ToString() + day.ToString();
TdayCODE = timeout + 3 + "linglongkeji";
return TdayCODE;
}
}
}

View File

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

View File

@@ -9,26 +9,6 @@
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="ICSharpCode.SharpZipLib" publicKeyToken="1b03e6acf1164f73" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.3.3.11" newVersion="1.3.3.11" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Numerics.Vectors" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.1.4.0" newVersion="4.1.4.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.1.2" newVersion="4.0.1.2" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

197
C-Windows-1/BarcodeInfo.cs Normal file
View File

@@ -0,0 +1,197 @@
using ADOX;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.OleDb;
using System.IO;
using System.Runtime.InteropServices;
using System.Runtime.Remoting.Channels;
using System.Windows.Forms;
namespace C_Windows_1
{
internal class BarcodeInfo
{
public class BarcodeRecord
{
public string { get; set; }
public string { get; set; }
public string { get; set; }
public string { get; set; }
public string { get; set; }
public string { get; set; }
public string { get; set; }
public string { get; set; }
}
/// <summary>
/// 记录条码
/// </summary>
/// <param name="createTime"></param>
/// <param name="barcode"></param>
/// <param name="result"></param>
/// <param name="user"></param>
public static void InsertBarcodeData(string createTime, string barcode, string workOrder, string productName, string productModel, string result, string user, string reTest = "NO")
{
string filepath = System.Environment.CurrentDirectory + "\\Config\\BarcodeRecord\\BarcodeInfo.mdb";
string constr = "Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source=" + System.Environment.CurrentDirectory + "\\Config\\BarcodeRecord\\BarcodeInfo.mdb;";
OleDbConnection con = new OleDbConnection(constr);
try
{
if (File.Exists(filepath) == false)//判断所选路径是否有文件
{
string filepath2 = System.Environment.CurrentDirectory + "\\Config\\BarcodeRecord\\";
Directory.CreateDirectory(filepath2);//新建文件夹
Catalog Product = new Catalog();
Product.Create("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + System.Environment.CurrentDirectory + "\\Config\\BarcodeRecord\\BarcodeInfo.mdb;Jet OLEDB:Engine Type=5;");
con.Open();
string sql = "CREATE TABLE BarcodeInfo([id] int identity(1,1),[CreateTime] VarChar(100),[Barcode] VarChar(150),[WorkOrder] VarChar(100),[ProductName] VarChar(100),[ProductModel] VarChar(100),[Result] VarChar(8),[User] VarChar(50),[ReTest] VarChar(8))";
OleDbCommand cmd = new OleDbCommand(sql, con);
cmd.ExecuteNonQuery();
con.Close();
}
//con.Open();
//string sql2 = "INSERT INTO BarcodeInfo( CreateTime, Barcode, Result,User,ReTest) VALUES ('" + createTime + "', '" + barcode + "', '" + result + "', '" + user + "', '" + reTest + "')";
//OleDbCommand cmd2 = new OleDbCommand(sql2, con);
//cmd2.ExecuteNonQuery();
//con.Close();
con.Open();
OleDbCommand command = new OleDbCommand("INSERT INTO [BarcodeInfo]( [CreateTime], [Barcode],[WorkOrder],[ProductName], [ProductModel],[Result],[User],[ReTest]) VALUES(?, ?, ?, ?, ?, ?, ?, ?)", con);
OleDbParameterCollection paramCollection = command.Parameters;
paramCollection.Add(new OleDbParameter("CreateTime", createTime));
paramCollection.Add(new OleDbParameter("Barcode", barcode));
paramCollection.Add(new OleDbParameter("WorkOrder", workOrder));
paramCollection.Add(new OleDbParameter("ProductName", productName));
paramCollection.Add(new OleDbParameter("ProductModel", productModel));
paramCollection.Add(new OleDbParameter("Result", result));
paramCollection.Add(new OleDbParameter("User", user));
paramCollection.Add(new OleDbParameter("ReTest", reTest));
command.ExecuteNonQuery();
con.Close();
}
catch (Exception ex)
{
con.Close();
}
}
/// <summary>
/// 查询条码行数
/// </summary>
/// <param name="barcode"></param>
/// <returns></returns>
public static int QueryBarcodeCount(string barcode)
{
string filepath = Environment.CurrentDirectory + "\\Config\\BarcodeRecord\\BarcodeInfo.mdb";
string constr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + filepath;
try
{
if (!File.Exists(filepath))
{
return 0;
}
else
{
using (OleDbConnection con = new OleDbConnection(constr))
{
con.Open();
// 删除5天前数据
string deleteSql = "DELETE FROM [BarcodeInfo] WHERE DateDiff('d', [CreateTime], Now()) > 3";
OleDbCommand deleteCommand = new OleDbCommand(deleteSql, con);
deleteCommand.ExecuteNonQuery();
// 查询条形码数量
string countSql = "SELECT COUNT(*) FROM [BarcodeInfo] WHERE [Barcode] = @Barcode";
OleDbCommand countCommand = new OleDbCommand(countSql, con);
countCommand.Parameters.AddWithValue("@Barcode", barcode);
int count = (int)countCommand.ExecuteScalar();
return count;
}
}
}
catch (Exception ex)
{
// 具体异常处理
return -1;
}
}
public static DataTable DataTableExcute(string cmdstr)
{
string filepath = Environment.CurrentDirectory + "\\Config\\BarcodeRecord\\BarcodeInfo.mdb";
if (!File.Exists(filepath)) return null;
string constr = "Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source=" + Environment.CurrentDirectory + "\\Config\\BarcodeRecord\\BarcodeInfo.mdb;";
OleDbConnection con = new OleDbConnection(constr);
OleDbCommand cmd = new OleDbCommand(cmdstr, con);
OleDbDataAdapter dataAdapter = new OleDbDataAdapter(cmd);
DataTable datatable = new DataTable();
DataSet dataset = new DataSet();
try
{
con.Open();
dataAdapter.Fill(dataset);
if (dataset.Tables[0].Rows.Count > 0)
{
datatable = dataset.Tables[0];
}
}
catch (Exception ex)
{
MessageBox.Show(ex.ToString());
}
finally
{
con.Close();
cmd.Dispose();
dataAdapter.Dispose();
}
return datatable;
}
public static List<BarcodeRecord> SelectBarcode()
{
//try
//{
//定义一个集合,用于存放对象
List<BarcodeRecord> Record = new List<BarcodeRecord>();
string filepath = Environment.CurrentDirectory + "\\Config\\BarcodeRecord\\BarcodeInfo.mdb";
if (File.Exists(filepath) == true)//判断所选路径是否有文件
{
string constr = "Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source=" + Environment.CurrentDirectory + "\\Config\\BarcodeRecord\\BarcodeInfo.mdb;";
OleDbConnection con = new OleDbConnection(constr);
con.Open();
string sql2 = "SELECT * FROM BarcodeInfo";
OleDbCommand cmd2 = new OleDbCommand(sql2, con);
OleDbDataReader information = cmd2.ExecuteReader();
//下移游标读取一行如果没有数据了则返回false
while (information.Read())
{
BarcodeRecord rec = new BarcodeRecord();
rec. = Convert.ToString(information["CreateTime"]);
rec. = Convert.ToString(information["Barcode"]);
rec. = Convert.ToString(information["Result"]);
rec. = Convert.ToString(information["ReTest"]);
rec. = Convert.ToString(information["User"]);
Record.Add(rec);
}
//Warning.wa.DataGridView1.DataSource = Record;
information.Close();
con.Close();
}
return Record;
// return "OK";
//}
//catch (Exception ex)
//{
// return ex.Message;
//}
}
}
}

View File

@@ -7,7 +7,7 @@
<ProjectGuid>{A74FBD1F-1F9C-45CE-B3E2-6E80278C02B0}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>C_Windows_1</RootNamespace>
<AssemblyName>LL28-Control</AssemblyName>
<AssemblyName>LL18-Control</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
@@ -29,7 +29,7 @@
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<PlatformTarget>x86</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
@@ -51,27 +51,32 @@
<ApplicationIcon>图标一号.ico</ApplicationIcon>
</PropertyGroup>
<PropertyGroup />
<PropertyGroup>
<StartupObject>C_Windows_1.Program</StartupObject>
</PropertyGroup>
<ItemGroup>
<Reference Include="BouncyCastle.Cryptography, Version=2.0.0.0, Culture=neutral, PublicKeyToken=072edcf4a5328938, processorArchitecture=MSIL">
<HintPath>..\packages\BouncyCastle.Cryptography.2.3.0\lib\net461\BouncyCastle.Cryptography.dll</HintPath>
<HintPath>..\packages\BouncyCastle.Cryptography.2.2.1\lib\net461\BouncyCastle.Cryptography.dll</HintPath>
</Reference>
<Reference Include="Enums.NET, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7ea1c1650d506225, processorArchitecture=MSIL">
<HintPath>..\packages\Enums.NET.4.0.1\lib\net45\Enums.NET.dll</HintPath>
</Reference>
<Reference Include="ExtendedNumerics.BigDecimal, Version=2023.1000.0.230, Culture=neutral, PublicKeyToken=65f1315a45ad8949, processorArchitecture=MSIL">
<HintPath>..\packages\ExtendedNumerics.BigDecimal.2023.1000.0.230\lib\net472\ExtendedNumerics.BigDecimal.dll</HintPath>
</Reference>
<Reference Include="HslCommunication, Version=12.0.3.0, Culture=neutral, PublicKeyToken=3d72ad3b6b5ec0e3, processorArchitecture=MSIL">
<HintPath>..\packages\HslCommunication.12.0.3\lib\net451\HslCommunication.dll</HintPath>
<Reference Include="HslCommunication">
<HintPath>..\..\HslCommunication.dll</HintPath>
</Reference>
<Reference Include="ICSharpCode.SharpZipLib, Version=1.3.3.11, Culture=neutral, PublicKeyToken=1b03e6acf1164f73, processorArchitecture=MSIL">
<HintPath>..\packages\SharpZipLib.1.3.3\lib\net45\ICSharpCode.SharpZipLib.dll</HintPath>
</Reference>
<Reference Include="MathNet.Numerics, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cd8b63ad3d691a37, processorArchitecture=MSIL">
<HintPath>..\packages\MathNet.Numerics.Signed.5.0.0\lib\net461\MathNet.Numerics.dll</HintPath>
<Reference Include="Interop.ADOX, Version=2.8.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<EmbedInteropTypes>True</EmbedInteropTypes>
<HintPath>bin\Debug\Interop.ADOX.dll</HintPath>
</Reference>
<Reference Include="Microsoft.IO.RecyclableMemoryStream, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.IO.RecyclableMemoryStream.3.0.0\lib\netstandard2.0\Microsoft.IO.RecyclableMemoryStream.dll</HintPath>
<Reference Include="MathNet.Numerics, Version=4.15.0.0, Culture=neutral, PublicKeyToken=cd8b63ad3d691a37, processorArchitecture=MSIL">
<HintPath>..\packages\MathNet.Numerics.Signed.4.15.0\lib\net461\MathNet.Numerics.dll</HintPath>
</Reference>
<Reference Include="Microsoft.IO.RecyclableMemoryStream, Version=2.3.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.IO.RecyclableMemoryStream.2.3.2\lib\net462\Microsoft.IO.RecyclableMemoryStream.dll</HintPath>
</Reference>
<Reference Include="microsoft.office.interop.excel, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
@@ -81,23 +86,23 @@
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="NPOI.Core, Version=2.7.0.0, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL">
<HintPath>..\packages\NPOI.2.7.0\lib\net472\NPOI.Core.dll</HintPath>
<Reference Include="NPOI.Core, Version=2.6.2.0, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL">
<HintPath>..\packages\NPOI.2.6.2\lib\net472\NPOI.Core.dll</HintPath>
</Reference>
<Reference Include="NPOI.OOXML, Version=2.7.0.0, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL">
<HintPath>..\packages\NPOI.2.7.0\lib\net472\NPOI.OOXML.dll</HintPath>
<Reference Include="NPOI.OOXML, Version=2.6.2.0, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL">
<HintPath>..\packages\NPOI.2.6.2\lib\net472\NPOI.OOXML.dll</HintPath>
</Reference>
<Reference Include="NPOI.OpenXml4Net, Version=2.7.0.0, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL">
<HintPath>..\packages\NPOI.2.7.0\lib\net472\NPOI.OpenXml4Net.dll</HintPath>
<Reference Include="NPOI.OpenXml4Net, Version=2.6.2.0, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL">
<HintPath>..\packages\NPOI.2.6.2\lib\net472\NPOI.OpenXml4Net.dll</HintPath>
</Reference>
<Reference Include="NPOI.OpenXmlFormats, Version=2.7.0.0, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL">
<HintPath>..\packages\NPOI.2.7.0\lib\net472\NPOI.OpenXmlFormats.dll</HintPath>
<Reference Include="NPOI.OpenXmlFormats, Version=2.6.2.0, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL">
<HintPath>..\packages\NPOI.2.6.2\lib\net472\NPOI.OpenXmlFormats.dll</HintPath>
</Reference>
<Reference Include="SixLabors.Fonts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d998eea7b14cab13, processorArchitecture=MSIL">
<HintPath>..\packages\SixLabors.Fonts.1.0.1\lib\netstandard2.0\SixLabors.Fonts.dll</HintPath>
<HintPath>..\packages\SixLabors.Fonts.1.0.0\lib\netstandard2.0\SixLabors.Fonts.dll</HintPath>
</Reference>
<Reference Include="SixLabors.ImageSharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=d998eea7b14cab13, processorArchitecture=MSIL">
<HintPath>..\packages\SixLabors.ImageSharp.2.1.7\lib\net472\SixLabors.ImageSharp.dll</HintPath>
<HintPath>..\packages\SixLabors.ImageSharp.2.1.4\lib\net472\SixLabors.ImageSharp.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
@@ -116,13 +121,11 @@
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.5.0.0\lib\net45\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
</Reference>
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.Security" />
<Reference Include="System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Security.AccessControl.6.0.0\lib\net461\System.Security.AccessControl.dll</HintPath>
</Reference>
<Reference Include="System.Security.Cryptography.Pkcs, Version=6.0.0.3, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Security.Cryptography.Pkcs.6.0.3\lib\net461\System.Security.Cryptography.Pkcs.dll</HintPath>
</Reference>
<Reference Include="System.Security.Cryptography.Xml, Version=6.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Security.Cryptography.Xml.6.0.1\lib\net461\System.Security.Cryptography.Xml.dll</HintPath>
</Reference>
@@ -132,9 +135,6 @@
<Reference Include="System.Text.Encoding.CodePages, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Text.Encoding.CodePages.5.0.0\lib\net461\System.Text.Encoding.CodePages.dll</HintPath>
</Reference>
<Reference Include="System.ValueTuple, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.ValueTuple.4.4.0\lib\net47\System.ValueTuple.dll</HintPath>
</Reference>
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
@@ -155,6 +155,13 @@
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="Activationcode.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Activationcode.designer.cs">
<DependentUpon>Activationcode.cs</DependentUpon>
</Compile>
<Compile Include="BarcodeInfo.cs" />
<Compile Include="Config.cs">
<SubType>Form</SubType>
</Compile>
@@ -162,12 +169,6 @@
<DependentUpon>Config.cs</DependentUpon>
</Compile>
<Compile Include="ConfigINI.cs" />
<Compile Include="configIP.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="configIP.Designer.cs">
<DependentUpon>configIP.cs</DependentUpon>
</Compile>
<Compile Include="Form1.cs">
<SubType>Form</SubType>
</Compile>
@@ -238,12 +239,12 @@
<Compile Include="UserPassword.Designer.cs">
<DependentUpon>UserPassword.cs</DependentUpon>
</Compile>
<EmbeddedResource Include="Activationcode.resx">
<DependentUpon>Activationcode.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Config.resx">
<DependentUpon>Config.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="configIP.resx">
<DependentUpon>configIP.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Form1.resx">
<DependentUpon>Form1.cs</DependentUpon>
</EmbeddedResource>
@@ -282,6 +283,7 @@
<EmbeddedResource Include="UserPassword.resx">
<DependentUpon>UserPassword.cs</DependentUpon>
</EmbeddedResource>
<None Include="ATS_Station_Managment.lib" />
<None Include="packages.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
@@ -357,6 +359,8 @@
</ItemGroup>
<ItemGroup>
<None Include="Resources\未标题-12.png" />
<Content Include="ATS_Station_Managment.dll" />
<Content Include="ATS_Station_Managment.h" />
<Content Include="图标一号.ico" />
</ItemGroup>
<ItemGroup>

View File

@@ -97,7 +97,7 @@
this.label8.Location = new System.Drawing.Point(127, 82);
this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(104, 16);
this.label8.Size = new System.Drawing.Size(103, 16);
this.label8.TabIndex = 157;
this.label8.Text = "modbus从站号";
//
@@ -115,7 +115,7 @@
this.label19.Location = new System.Drawing.Point(127, 137);
this.label19.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label19.Name = "label19";
this.label19.Size = new System.Drawing.Size(88, 16);
this.label19.Size = new System.Drawing.Size(87, 16);
this.label19.TabIndex = 159;
this.label19.Text = "条形码长度";
//
@@ -124,10 +124,11 @@
this.codelengthcheck.AutoSize = true;
this.codelengthcheck.Location = new System.Drawing.Point(294, 159);
this.codelengthcheck.Name = "codelengthcheck";
this.codelengthcheck.Size = new System.Drawing.Size(91, 20);
this.codelengthcheck.Size = new System.Drawing.Size(90, 20);
this.codelengthcheck.TabIndex = 163;
this.codelengthcheck.Text = "长度检测";
this.codelengthcheck.UseVisualStyleBackColor = true;
this.codelengthcheck.Visible = false;
//
// Config
//
@@ -161,6 +162,6 @@
private System.Windows.Forms.Label label8;
private System.Windows.Forms.TextBox CodeLength;
private System.Windows.Forms.Label label19;
private System.Windows.Forms.CheckBox codelengthcheck;
public System.Windows.Forms.CheckBox codelengthcheck;
}
}

View File

@@ -24,7 +24,7 @@ namespace C_Windows_1
Form1.f1.codecheck.Text = CodeLength.Text;
Form1.f1.CodeLength.Text = CodeLength.Text;
Form1.f1.checkBox1.Checked= codelengthcheck.Checked;
this.Close();
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -118,10 +118,10 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="SerialPort1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>-3, 6</value>
<value>1, 6</value>
</metadata>
<metadata name="Timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>123, 8</value>
<value>127, 9</value>
</metadata>
<metadata name="Timer2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>201, 6</value>
@@ -183,57 +183,6 @@
<metadata name="Column15.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column16.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column7.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column8.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column9.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column10.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column11.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column12.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column13.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column17.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column14.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column15.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Timer8.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>670, 5</value>
</metadata>
@@ -255,17 +204,11 @@
<metadata name="CodePort1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>1042, 6</value>
</metadata>
<metadata name="timerbar.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<metadata name="timerCH1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>1159, 6</value>
</metadata>
<metadata name="UDPRead.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>1264, 6</value>
</metadata>
<metadata name="UDPOverTime.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>1374, 6</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>89</value>
<value>56</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">

View File

@@ -42,6 +42,8 @@
this.label3 = new System.Windows.Forms.Label();
this.d4 = new System.Windows.Forms.TextBox();
this.label4 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.d5 = new System.Windows.Forms.TextBox();
this.SuspendLayout();
//
// d1
@@ -51,6 +53,7 @@
this.d1.Name = "d1";
this.d1.Size = new System.Drawing.Size(148, 23);
this.d1.TabIndex = 11;
this.d1.TextChanged += new System.EventHandler(this.d1_TextChanged);
//
// d2
//
@@ -59,6 +62,7 @@
this.d2.Name = "d2";
this.d2.Size = new System.Drawing.Size(148, 23);
this.d2.TabIndex = 10;
this.d2.TextChanged += new System.EventHandler(this.d2_TextChanged);
//
// d3
//
@@ -68,11 +72,12 @@
this.d3.Size = new System.Drawing.Size(148, 23);
this.d3.TabIndex = 9;
this.d3.UseSystemPasswordChar = true;
this.d3.TextChanged += new System.EventHandler(this.d3_TextChanged);
//
// BtnKeep
//
this.BtnKeep.Font = new System.Drawing.Font("宋体", 10F);
this.BtnKeep.Location = new System.Drawing.Point(111, 238);
this.BtnKeep.Location = new System.Drawing.Point(111, 286);
this.BtnKeep.Name = "BtnKeep";
this.BtnKeep.Size = new System.Drawing.Size(106, 30);
this.BtnKeep.TabIndex = 3;
@@ -84,7 +89,7 @@
//
this.success.AutoSize = true;
this.success.Font = new System.Drawing.Font("宋体", 11F);
this.success.Location = new System.Drawing.Point(137, 346);
this.success.Location = new System.Drawing.Point(137, 401);
this.success.Name = "success";
this.success.Size = new System.Drawing.Size(55, 15);
this.success.TabIndex = 4;
@@ -97,7 +102,7 @@
// BtnRead2
//
this.BtnRead2.Font = new System.Drawing.Font("宋体", 10F);
this.BtnRead2.Location = new System.Drawing.Point(111, 284);
this.BtnRead2.Location = new System.Drawing.Point(111, 339);
this.BtnRead2.Name = "BtnRead2";
this.BtnRead2.Size = new System.Drawing.Size(106, 33);
this.BtnRead2.TabIndex = 5;
@@ -114,6 +119,7 @@
this.label1.Size = new System.Drawing.Size(77, 14);
this.label1.TabIndex = 12;
this.label1.Text = "服务器名称";
this.label1.Click += new System.EventHandler(this.label1_Click);
//
// label2
//
@@ -124,6 +130,7 @@
this.label2.Size = new System.Drawing.Size(49, 14);
this.label2.TabIndex = 13;
this.label2.Text = "用户名";
this.label2.Click += new System.EventHandler(this.label2_Click);
//
// label3
//
@@ -134,6 +141,7 @@
this.label3.Size = new System.Drawing.Size(35, 14);
this.label3.TabIndex = 14;
this.label3.Text = "密码";
this.label3.Click += new System.EventHandler(this.label3_Click);
//
// d4
//
@@ -142,6 +150,7 @@
this.d4.Name = "d4";
this.d4.Size = new System.Drawing.Size(148, 23);
this.d4.TabIndex = 15;
this.d4.TextChanged += new System.EventHandler(this.d4_TextChanged);
//
// label4
//
@@ -152,12 +161,33 @@
this.label4.Size = new System.Drawing.Size(77, 14);
this.label4.TabIndex = 16;
this.label4.Text = "数据库名称";
this.label4.Click += new System.EventHandler(this.label4_Click);
//
// label5
//
this.label5.AutoSize = true;
this.label5.Font = new System.Drawing.Font("宋体", 10F);
this.label5.Location = new System.Drawing.Point(89, 231);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(35, 14);
this.label5.TabIndex = 18;
this.label5.Text = "表名";
//
// d5
//
this.d5.Font = new System.Drawing.Font("宋体", 10F);
this.d5.Location = new System.Drawing.Point(91, 249);
this.d5.Name = "d5";
this.d5.Size = new System.Drawing.Size(148, 23);
this.d5.TabIndex = 17;
//
// Form2
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(329, 384);
this.ClientSize = new System.Drawing.Size(329, 502);
this.Controls.Add(this.label5);
this.Controls.Add(this.d5);
this.Controls.Add(this.label4);
this.Controls.Add(this.d4);
this.Controls.Add(this.label3);
@@ -191,5 +221,7 @@
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
public System.Windows.Forms.TextBox d4;
private System.Windows.Forms.Label label5;
public System.Windows.Forms.TextBox d5;
}
}

View File

@@ -72,6 +72,8 @@ namespace C_Windows_1
regName.SetValue("pwd", pwd);
// regName3.Close();
regName.SetValue("dataname", dataname);
regName.SetValue("tablename", d5.Text);
regName.Close();
}
@@ -142,10 +144,20 @@ namespace C_Windows_1
regName.OpenSubKey("User");
string str4 = regName.GetValue("dataname").ToString();
d4.Text = str4;
}
if (regName.GetValue("tablename") is null)
{
d5.Text = "test";
}
else
{
regName.OpenSubKey("User");
string str5 = regName.GetValue("tablename").ToString();
d5.Text = str5;
regName.Close();
}
}
private void BtnKeep_Click(object sender, EventArgs e)
@@ -154,6 +166,7 @@ namespace C_Windows_1
userid = d2.Text;
pwd = d3.Text;
dataname = d4.Text;
Form1.tablename = d5.Text;
SetRegistryKey();
success.ForeColor = Color.Red;
success.Text = "保存成功!";
@@ -182,5 +195,45 @@ namespace C_Windows_1
{
ReadRegistryKey();
}
private void d4_TextChanged(object sender, EventArgs e)
{
}
private void label3_Click(object sender, EventArgs e)
{
}
private void label2_Click(object sender, EventArgs e)
{
}
private void label4_Click(object sender, EventArgs e)
{
}
private void label1_Click(object sender, EventArgs e)
{
}
private void d3_TextChanged(object sender, EventArgs e)
{
}
private void d2_TextChanged(object sender, EventArgs e)
{
}
private void d1_TextChanged(object sender, EventArgs e)
{
}
}
}

View File

@@ -56,6 +56,7 @@
this.PortBtnBreak = new System.Windows.Forms.Button();
this.CodePort = new System.IO.Ports.SerialPort(this.components);
this.label9 = new System.Windows.Forms.Label();
this.CeckScanning = new System.Windows.Forms.CheckBox();
this.SuspendLayout();
//
// Baudrate
@@ -73,6 +74,7 @@
this.Baudrate.Name = "Baudrate";
this.Baudrate.Size = new System.Drawing.Size(137, 24);
this.Baudrate.TabIndex = 68;
this.Baudrate.SelectedIndexChanged += new System.EventHandler(this.Baudrate_SelectedIndexChanged);
//
// PortNum
//
@@ -82,6 +84,7 @@
this.PortNum.Name = "PortNum";
this.PortNum.Size = new System.Drawing.Size(137, 24);
this.PortNum.TabIndex = 67;
this.PortNum.SelectedIndexChanged += new System.EventHandler(this.PortNum_SelectedIndexChanged);
//
// label1
//
@@ -92,6 +95,7 @@
this.label1.Size = new System.Drawing.Size(87, 16);
this.label1.TabIndex = 65;
this.label1.Text = "仪器端口号";
this.label1.Click += new System.EventHandler(this.label1_Click);
//
// label2
//
@@ -102,6 +106,7 @@
this.label2.Size = new System.Drawing.Size(55, 16);
this.label2.TabIndex = 66;
this.label2.Text = "波特率";
this.label2.Click += new System.EventHandler(this.label2_Click);
//
// BtnCon1
//
@@ -144,6 +149,7 @@
this.label3.Size = new System.Drawing.Size(87, 16);
this.label3.TabIndex = 75;
this.label3.Text = "串口状态:";
this.label3.Click += new System.EventHandler(this.label3_Click);
//
// label6
//
@@ -154,6 +160,7 @@
this.label6.Size = new System.Drawing.Size(69, 19);
this.label6.TabIndex = 74;
this.label6.Text = "label6";
this.label6.Click += new System.EventHandler(this.label6_Click);
//
// label4
//
@@ -164,6 +171,7 @@
this.label4.Size = new System.Drawing.Size(87, 16);
this.label4.TabIndex = 77;
this.label4.Text = "通讯状态:";
this.label4.Click += new System.EventHandler(this.label4_Click);
//
// label5
//
@@ -174,6 +182,7 @@
this.label5.Size = new System.Drawing.Size(69, 19);
this.label5.TabIndex = 76;
this.label5.Text = "label5";
this.label5.Click += new System.EventHandler(this.label5_Click);
//
// ReceiveText
//
@@ -210,6 +219,7 @@
this.CodePort1.Name = "CodePort1";
this.CodePort1.Size = new System.Drawing.Size(137, 24);
this.CodePort1.TabIndex = 80;
this.CodePort1.SelectedIndexChanged += new System.EventHandler(this.CodePort1_SelectedIndexChanged);
//
// CodeBaud1
//
@@ -221,6 +231,7 @@
this.CodeBaud1.Name = "CodeBaud1";
this.CodeBaud1.Size = new System.Drawing.Size(137, 24);
this.CodeBaud1.TabIndex = 81;
this.CodeBaud1.SelectedIndexChanged += new System.EventHandler(this.CodeBaud1_SelectedIndexChanged);
//
// label7
//
@@ -231,12 +242,13 @@
this.label7.Size = new System.Drawing.Size(87, 16);
this.label7.TabIndex = 82;
this.label7.Text = "串口状态:";
this.label7.Click += new System.EventHandler(this.label7_Click);
//
// label8
//
this.label8.AutoSize = true;
this.label8.Font = new System.Drawing.Font("宋体", 12F);
this.label8.Location = new System.Drawing.Point(248, 206);
this.label8.Location = new System.Drawing.Point(454, 264);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(87, 16);
this.label8.TabIndex = 83;
@@ -252,12 +264,13 @@
this.CodeIsComm1.Size = new System.Drawing.Size(69, 19);
this.CodeIsComm1.TabIndex = 84;
this.CodeIsComm1.Text = "label9";
this.CodeIsComm1.Click += new System.EventHandler(this.CodeIsComm1_Click);
//
// label10
//
this.label10.AutoSize = true;
this.label10.Font = new System.Drawing.Font("宋体", 14F);
this.label10.Location = new System.Drawing.Point(247, 231);
this.label10.Location = new System.Drawing.Point(453, 289);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(79, 19);
this.label10.TabIndex = 85;
@@ -299,18 +312,31 @@
// label9
//
this.label9.AutoSize = true;
this.label9.Location = new System.Drawing.Point(213, 22);
this.label9.Location = new System.Drawing.Point(222, 22);
this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(103, 16);
this.label9.TabIndex = 89;
this.label9.Text = "扫码枪端口号";
this.label9.Click += new System.EventHandler(this.label9_Click);
//
// CeckScanning
//
this.CeckScanning.AutoSize = true;
this.CeckScanning.Location = new System.Drawing.Point(216, 220);
this.CeckScanning.Name = "CeckScanning";
this.CeckScanning.Size = new System.Drawing.Size(170, 20);
this.CeckScanning.TabIndex = 90;
this.CeckScanning.Text = "是否使用串口扫码枪";
this.CeckScanning.UseVisualStyleBackColor = true;
this.CeckScanning.CheckedChanged += new System.EventHandler(this.CeckScanning_CheckedChanged);
//
// PortSetting
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(400, 410);
this.ClientSize = new System.Drawing.Size(396, 479);
this.Controls.Add(this.CeckScanning);
this.Controls.Add(this.label9);
this.Controls.Add(this.PortBtnBreak);
this.Controls.Add(this.PortBtnRefresh);
@@ -338,7 +364,6 @@
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Margin = new System.Windows.Forms.Padding(4);
this.Name = "PortSetting";
this.Text = "PortSetting";
this.Load += new System.EventHandler(this.PortSetting_Load);
this.ResumeLayout(false);
this.PerformLayout();
@@ -372,5 +397,6 @@
private System.Windows.Forms.Button PortBtnBreak;
private System.IO.Ports.SerialPort CodePort;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.CheckBox CeckScanning;
}
}

View File

@@ -19,6 +19,7 @@ namespace C_Windows_1
CodePort1.Items.AddRange(ports);
Baudrate.SelectedIndex = 0;
Read();
if (Form1.f1.CH1.IsOpen())
{
label6.Text = "已连接";
@@ -50,7 +51,7 @@ namespace C_Windows_1
if (Form1.f1.SerialPort1.IsOpen)
if (Form1.f1.CodePort1.IsOpen)
{
CodeIsComm1.Text = "已连接";
CodeIsComm1.ForeColor = Color.Green;
@@ -94,10 +95,6 @@ namespace C_Windows_1
Form1.f1.Baudrate.Text = Baudrate.Text;
}
else
{
MessageBox.Show("连接失败,请检查端口占用情况");
}
}
catch (Exception ex)
{
@@ -133,31 +130,7 @@ namespace C_Windows_1
Form1.f1.BtnCon1.Enabled = true;
}
}
//else
//{
// ////读取启动信号需停止
// //Form1.f1.Timer1.Stop();
// //Form1.f1.Timer1.Dispose();
// //if (Form1.f1.Timer1.Enabled is true)
// //{
// // Form1.f1.Timer1.Stop();
// //}
// Form1.f1.SerialPort1.Close();
// if (Form1.f1.SerialPort1.IsOpen is false)
// {
// label6.Text = "未连接";
// label6.ForeColor = Color.Red;
// BtnCon1.Enabled = true;
// label5.Text = "未连接";
// label5.ForeColor = Color.Red;
// Form1.f1.label6.Text = "未连接";
// PortNum.Enabled = true;
// Baudrate.Enabled = true;
// }
//}
}
catch (Exception ex)
{
@@ -414,7 +387,14 @@ namespace C_Windows_1
CodePort1.Text = regName.GetValue("codeport").ToString();
}
CodeBaud1.Text = "9600";
if (regName.GetValue("CeckScanning") is null)
{
CeckScanning.Checked = false;
}
else
{
CeckScanning.Checked = Convert.ToBoolean(regName.GetValue("CeckScanning").ToString());
}
regName.Close();
@@ -439,7 +419,6 @@ namespace C_Windows_1
try
{
Form1.f1.CodePort1.Close();
//设置端口的参数,包括波特率等
Form1.f1.CodePort1.BaudRate = int.Parse(CodeBaud1.Text);
Form1.f1.CodePort1.PortName = CodePort1.Text;
Form1.f1.CodePort1.DataBits = 8;
@@ -454,12 +433,14 @@ namespace C_Windows_1
PortBtnCon1.Enabled = false;
CodeBaud1.Enabled = false;
SetcodePort();
Form1.f1.codeport = CodePort1.Text;
Form1.f1.codeBaudrate = CodeBaud1.Text;
}
}
catch (Exception ex)
{
//MessageBox.Show(ex.Message);
MessageBox.Show(ex.StackTrace);
MessageBox.Show(ex.Message);
}
}
@@ -482,5 +463,86 @@ namespace C_Windows_1
CodeBaud1.Enabled = true;
}
}
private void CeckScanning_CheckedChanged(object sender, EventArgs e)
{
Form1.f1.CeckScanning.Checked = CeckScanning.Checked;
RegistryKey regName;
regName = Registry.CurrentUser.OpenSubKey("SOFTWARE\\Microsoft\\PMD\\1.0\\User-LL18-Set", true);
if (regName is null)
{
regName = Registry.CurrentUser.CreateSubKey("SOFTWARE\\Microsoft\\PMD\\1.0\\User-LL18-Set");
}
regName.SetValue("CeckScanning", CeckScanning.Checked);
regName.Close();
}
private void label9_Click(object sender, EventArgs e)
{
}
private void CodeIsComm1_Click(object sender, EventArgs e)
{
}
private void label7_Click(object sender, EventArgs e)
{
}
private void CodeBaud1_SelectedIndexChanged(object sender, EventArgs e)
{
}
private void CodePort1_SelectedIndexChanged(object sender, EventArgs e)
{
}
private void label4_Click(object sender, EventArgs e)
{
}
private void label5_Click(object sender, EventArgs e)
{
}
private void label3_Click(object sender, EventArgs e)
{
}
private void label6_Click(object sender, EventArgs e)
{
}
private void Baudrate_SelectedIndexChanged(object sender, EventArgs e)
{
}
private void PortNum_SelectedIndexChanged(object sender, EventArgs e)
{
}
private void label1_Click(object sender, EventArgs e)
{
}
private void label2_Click(object sender, EventArgs e)
{
}
}
}

View File

@@ -1,4 +1,5 @@
using System;
using System.IO;
using System.Windows.Forms;
namespace C_Windows_1
@@ -11,9 +12,37 @@ namespace C_Windows_1
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException);
Application.ThreadException += Application_ThreadException;
AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
private static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e)
{
// 获取项目的 Debug 目录路径
string logFilePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "error.txt");
using (FileStream efs = new FileStream(logFilePath, FileMode.Append))
{
byte[] data = System.Text.Encoding.Default.GetBytes("CurrentDomain_UnhandledException::" + e.ToString() + ",object:" + e.ExceptionObject.ToString());
efs.Write(data, 0, data.Length);
}
}
private static void Application_ThreadException(object sender, System.Threading.ThreadExceptionEventArgs e)
{
// 获取项目的 Debug 目录路径
string logFilePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "error.txt");
using (FileStream efs = new FileStream(logFilePath, FileMode.Append))
{
byte[] data = System.Text.Encoding.Default.GetBytes("Application_ThreadException:" + e.ToString());
efs.Write(data, 0, data.Length);
}
}
}
}

View File

@@ -41,6 +41,8 @@
this.BtnConMES = new System.Windows.Forms.Button();
this.OpenFileDialog1 = new System.Windows.Forms.OpenFileDialog();
this.ChkCSV = new System.Windows.Forms.CheckBox();
this.label3 = new System.Windows.Forms.Label();
this.ChkINI = new System.Windows.Forms.CheckBox();
this.SuspendLayout();
//
// Use_Set
@@ -58,7 +60,7 @@
//
this.ChkMES.AutoSize = true;
this.ChkMES.Font = new System.Drawing.Font("宋体", 12F);
this.ChkMES.Location = new System.Drawing.Point(309, 146);
this.ChkMES.Location = new System.Drawing.Point(567, 176);
this.ChkMES.Margin = new System.Windows.Forms.Padding(5);
this.ChkMES.Name = "ChkMES";
this.ChkMES.Size = new System.Drawing.Size(98, 20);
@@ -87,31 +89,34 @@
this.label35.Size = new System.Drawing.Size(39, 16);
this.label35.TabIndex = 105;
this.label35.Text = "路径";
this.label35.Click += new System.EventHandler(this.label35_Click);
//
// ChkExcel
//
this.ChkExcel.AutoSize = true;
this.ChkExcel.Font = new System.Drawing.Font("宋体", 12F);
this.ChkExcel.Location = new System.Drawing.Point(156, 146);
this.ChkExcel.Location = new System.Drawing.Point(297, 441);
this.ChkExcel.Margin = new System.Windows.Forms.Padding(5);
this.ChkExcel.Name = "ChkExcel";
this.ChkExcel.Size = new System.Drawing.Size(114, 20);
this.ChkExcel.TabIndex = 102;
this.ChkExcel.Text = "导出到Excel";
this.ChkExcel.UseVisualStyleBackColor = true;
this.ChkExcel.Visible = false;
this.ChkExcel.CheckedChanged += new System.EventHandler(this.ChkExcel_CheckedChanged);
//
// ChkTXT
//
this.ChkTXT.AutoSize = true;
this.ChkTXT.Font = new System.Drawing.Font("宋体", 12F);
this.ChkTXT.Location = new System.Drawing.Point(14, 176);
this.ChkTXT.Location = new System.Drawing.Point(152, 227);
this.ChkTXT.Margin = new System.Windows.Forms.Padding(5);
this.ChkTXT.Name = "ChkTXT";
this.ChkTXT.Size = new System.Drawing.Size(98, 20);
this.ChkTXT.TabIndex = 103;
this.ChkTXT.Text = "导出到TXT";
this.ChkTXT.UseVisualStyleBackColor = true;
this.ChkTXT.Visible = false;
this.ChkTXT.CheckedChanged += new System.EventHandler(this.ChkTXT_CheckedChanged);
//
// path
//
@@ -120,33 +125,36 @@
this.path.Name = "path";
this.path.Size = new System.Drawing.Size(384, 26);
this.path.TabIndex = 99;
this.path.TextChanged += new System.EventHandler(this.path_TextChanged);
//
// ChkSql
//
this.ChkSql.AutoSize = true;
this.ChkSql.Font = new System.Drawing.Font("宋体", 12F);
this.ChkSql.Location = new System.Drawing.Point(156, 185);
this.ChkSql.Location = new System.Drawing.Point(550, 232);
this.ChkSql.Margin = new System.Windows.Forms.Padding(5);
this.ChkSql.Name = "ChkSql";
this.ChkSql.Size = new System.Drawing.Size(146, 20);
this.ChkSql.TabIndex = 104;
this.ChkSql.Text = "导出到SqlServer";
this.ChkSql.UseVisualStyleBackColor = true;
this.ChkSql.Visible = false;
//
// BtnConSql
//
this.BtnConSql.Location = new System.Drawing.Point(135, 215);
this.BtnConSql.Location = new System.Drawing.Point(135, 357);
this.BtnConSql.Margin = new System.Windows.Forms.Padding(5);
this.BtnConSql.Name = "BtnConSql";
this.BtnConSql.Size = new System.Drawing.Size(151, 53);
this.BtnConSql.TabIndex = 101;
this.BtnConSql.Text = "Sql设置";
this.BtnConSql.UseVisualStyleBackColor = true;
this.BtnConSql.Visible = false;
this.BtnConSql.Click += new System.EventHandler(this.BtnConSql_Click);
//
// BtnConMES
//
this.BtnConMES.Location = new System.Drawing.Point(285, 294);
this.BtnConMES.Location = new System.Drawing.Point(550, 71);
this.BtnConMES.Margin = new System.Windows.Forms.Padding(5);
this.BtnConMES.Name = "BtnConMES";
this.BtnConMES.Size = new System.Drawing.Size(151, 53);
@@ -164,7 +172,7 @@
//
this.ChkCSV.AutoSize = true;
this.ChkCSV.Font = new System.Drawing.Font("宋体", 11F);
this.ChkCSV.Location = new System.Drawing.Point(12, 204);
this.ChkCSV.Location = new System.Drawing.Point(550, 134);
this.ChkCSV.Name = "ChkCSV";
this.ChkCSV.Size = new System.Drawing.Size(95, 19);
this.ChkCSV.TabIndex = 109;
@@ -172,11 +180,36 @@
this.ChkCSV.UseVisualStyleBackColor = true;
this.ChkCSV.Visible = false;
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(251, 9);
this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(151, 16);
this.label3.TabIndex = 115;
this.label3.Text = "请先预装WPS或excel";
this.label3.Click += new System.EventHandler(this.label3_Click);
//
// ChkINI
//
this.ChkINI.AutoSize = true;
this.ChkINI.Font = new System.Drawing.Font("宋体", 12F);
this.ChkINI.Location = new System.Drawing.Point(152, 186);
this.ChkINI.Margin = new System.Windows.Forms.Padding(5);
this.ChkINI.Name = "ChkINI";
this.ChkINI.Size = new System.Drawing.Size(98, 20);
this.ChkINI.TabIndex = 116;
this.ChkINI.Text = "导出到INI";
this.ChkINI.UseVisualStyleBackColor = true;
//
// Save
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(421, 412);
this.ClientSize = new System.Drawing.Size(416, 475);
this.Controls.Add(this.ChkINI);
this.Controls.Add(this.label3);
this.Controls.Add(this.ChkCSV);
this.Controls.Add(this.BtnConMES);
this.Controls.Add(this.Use_Set);
@@ -213,5 +246,7 @@
private System.Windows.Forms.Button BtnConMES;
private System.Windows.Forms.OpenFileDialog OpenFileDialog1;
private System.Windows.Forms.CheckBox ChkCSV;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.CheckBox ChkINI;
}
}

View File

@@ -64,7 +64,8 @@ namespace C_Windows_1
Form1.f1.ChkTXT.Checked = ChkTXT.Checked;
Form1.f1.ChkMES.Checked = ChkMES.Checked;
Form1.f1.ChkCSV.Checked = ChkCSV.Checked;
this.Close();
Form1.f1.ChkINI = ChkINI.Checked;
this.Close();
}
@@ -90,6 +91,7 @@ namespace C_Windows_1
regName.SetValue("excel", ChkExcel.Checked.ToString());
regName.SetValue("txt", ChkTXT.Checked.ToString());
regName.SetValue("ini", ChkINI.Checked.ToString());
regName.SetValue("sql", ChkSql.Checked.ToString());
regName.SetValue("mes", ChkMES.Checked.ToString());
regName.SetValue("csv", ChkCSV.Checked.ToString());
@@ -130,7 +132,15 @@ namespace C_Windows_1
else
{
ChkTXT.Checked = Convert.ToBoolean(regName.GetValue("txt").ToString());
}
if (regName.GetValue("ini") is null)
{
ChkINI.Checked = false;
}
else
{
ChkINI.Checked = Convert.ToBoolean(regName.GetValue("ini").ToString());
}
if (regName.GetValue("sql") is null)
@@ -195,6 +205,29 @@ namespace C_Windows_1
System.GC.WaitForPendingFinalizers();
}
private void label3_Click(object sender, EventArgs e)
{
}
private void label35_Click(object sender, EventArgs e)
{
}
private void ChkExcel_CheckedChanged(object sender, EventArgs e)
{
}
private void ChkTXT_CheckedChanged(object sender, EventArgs e)
{
}
private void path_TextChanged(object sender, EventArgs e)
{
}
}
}

View File

@@ -76,6 +76,9 @@
this.SBalanTime = new System.Windows.Forms.TextBox();
this.BBalanTime = new System.Windows.Forms.TextBox();
this.myGroupBox3 = new C_Windows_1.MyGroupBox(this.components);
this.label15 = new System.Windows.Forms.Label();
this.TestTime2 = new System.Windows.Forms.TextBox();
this.label51 = new System.Windows.Forms.Label();
this.FullTime = new System.Windows.Forms.TextBox();
this.label41 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
@@ -88,23 +91,20 @@
this.label37 = new System.Windows.Forms.Label();
this.label11 = new System.Windows.Forms.Label();
this.TestTime1 = new System.Windows.Forms.TextBox();
this.label48 = new System.Windows.Forms.Label();
this.label20 = new System.Windows.Forms.Label();
this.BalanTime = new System.Windows.Forms.TextBox();
this.label14 = new System.Windows.Forms.Label();
this.label21 = new System.Windows.Forms.Label();
this.label22 = new System.Windows.Forms.Label();
this.Evolume = new System.Windows.Forms.TextBox();
this.BypassTime = new System.Windows.Forms.TextBox();
this.label23 = new System.Windows.Forms.Label();
this.label40 = new System.Windows.Forms.Label();
this.label38 = new System.Windows.Forms.Label();
this.DelayTime1 = new System.Windows.Forms.TextBox();
this.label39 = new System.Windows.Forms.Label();
this.DelayTime2 = new System.Windows.Forms.TextBox();
this.label15 = new System.Windows.Forms.Label();
this.TestTime2 = new System.Windows.Forms.TextBox();
this.label51 = new System.Windows.Forms.Label();
this.label48 = new System.Windows.Forms.Label();
this.BypassTime = new System.Windows.Forms.TextBox();
this.label38 = new System.Windows.Forms.Label();
this.myGroupBox4.SuspendLayout();
this.myGroupBox3.SuspendLayout();
this.SuspendLayout();
@@ -118,7 +118,6 @@
this.Modify_Type.TabIndex = 145;
this.Modify_Type.Text = "修改类型";
this.Modify_Type.UseVisualStyleBackColor = true;
this.Modify_Type.Visible = false;
this.Modify_Type.Click += new System.EventHandler(this.Modify_Type_Click);
//
// Test_Type
@@ -132,7 +131,6 @@
this.Test_Type.Name = "Test_Type";
this.Test_Type.Size = new System.Drawing.Size(96, 28);
this.Test_Type.TabIndex = 143;
this.Test_Type.Visible = false;
//
// label3
//
@@ -143,7 +141,6 @@
this.label3.Size = new System.Drawing.Size(89, 20);
this.label3.TabIndex = 144;
this.label3.Text = "测试类型";
this.label3.Visible = false;
//
// ParaNum
//
@@ -179,18 +176,19 @@
// BtnKeep
//
this.BtnKeep.Font = new System.Drawing.Font("宋体", 10F);
this.BtnKeep.Location = new System.Drawing.Point(417, 370);
this.BtnKeep.Location = new System.Drawing.Point(645, 150);
this.BtnKeep.Name = "BtnKeep";
this.BtnKeep.Size = new System.Drawing.Size(105, 49);
this.BtnKeep.TabIndex = 140;
this.BtnKeep.Text = "保存参数";
this.BtnKeep.UseVisualStyleBackColor = true;
this.BtnKeep.Visible = false;
this.BtnKeep.Click += new System.EventHandler(this.BtnKeep_Click);
//
// BtnUpload
//
this.BtnUpload.Font = new System.Drawing.Font("宋体", 10F);
this.BtnUpload.Location = new System.Drawing.Point(121, 370);
this.BtnUpload.Location = new System.Drawing.Point(165, 370);
this.BtnUpload.Name = "BtnUpload";
this.BtnUpload.Size = new System.Drawing.Size(105, 49);
this.BtnUpload.TabIndex = 138;
@@ -201,7 +199,7 @@
// BtnRead
//
this.BtnRead.Font = new System.Drawing.Font("宋体", 10F);
this.BtnRead.Location = new System.Drawing.Point(269, 370);
this.BtnRead.Location = new System.Drawing.Point(349, 370);
this.BtnRead.Name = "BtnRead";
this.BtnRead.Size = new System.Drawing.Size(105, 49);
this.BtnRead.TabIndex = 139;
@@ -320,7 +318,7 @@
"mbar",
"sccm",
"ccm/s",
"Pa/s"});
"Pa·m3/s"});
this.LUnit.Location = new System.Drawing.Point(20, 222);
this.LUnit.Name = "LUnit";
this.LUnit.Size = new System.Drawing.Size(96, 23);
@@ -348,7 +346,7 @@
//
this.label27.AutoSize = true;
this.label27.Font = new System.Drawing.Font("宋体", 11F);
this.label27.Location = new System.Drawing.Point(297, 117);
this.label27.Location = new System.Drawing.Point(297, 114);
this.label27.Name = "label27";
this.label27.Size = new System.Drawing.Size(23, 15);
this.label27.TabIndex = 79;
@@ -368,7 +366,7 @@
//
this.label29.AutoSize = true;
this.label29.Font = new System.Drawing.Font("宋体", 11F);
this.label29.Location = new System.Drawing.Point(297, 225);
this.label29.Location = new System.Drawing.Point(297, 222);
this.label29.Name = "label29";
this.label29.Size = new System.Drawing.Size(37, 15);
this.label29.TabIndex = 81;
@@ -378,7 +376,7 @@
//
this.label28.AutoSize = true;
this.label28.Font = new System.Drawing.Font("宋体", 11F);
this.label28.Location = new System.Drawing.Point(297, 171);
this.label28.Location = new System.Drawing.Point(297, 168);
this.label28.Name = "label28";
this.label28.Size = new System.Drawing.Size(37, 15);
this.label28.TabIndex = 80;
@@ -397,7 +395,7 @@
// BLeakLPre
//
this.BLeakLPre.Font = new System.Drawing.Font("宋体", 11F);
this.BLeakLPre.Location = new System.Drawing.Point(194, 114);
this.BLeakLPre.Location = new System.Drawing.Point(194, 111);
this.BLeakLPre.Name = "BLeakLPre";
this.BLeakLPre.Size = new System.Drawing.Size(96, 24);
this.BLeakLPre.TabIndex = 102;
@@ -405,7 +403,7 @@
// Leaklowlimit
//
this.Leaklowlimit.Font = new System.Drawing.Font("宋体", 11F);
this.Leaklowlimit.Location = new System.Drawing.Point(194, 222);
this.Leaklowlimit.Location = new System.Drawing.Point(194, 219);
this.Leaklowlimit.Name = "Leaklowlimit";
this.Leaklowlimit.Size = new System.Drawing.Size(96, 24);
this.Leaklowlimit.TabIndex = 35;
@@ -414,7 +412,7 @@
//
this.label26.AutoSize = true;
this.label26.Font = new System.Drawing.Font("宋体", 11F);
this.label26.Location = new System.Drawing.Point(297, 63);
this.label26.Location = new System.Drawing.Point(297, 60);
this.label26.Name = "label26";
this.label26.Size = new System.Drawing.Size(23, 15);
this.label26.TabIndex = 78;
@@ -424,7 +422,7 @@
//
this.label16.AutoSize = true;
this.label16.Font = new System.Drawing.Font("宋体", 11F);
this.label16.Location = new System.Drawing.Point(191, 150);
this.label16.Location = new System.Drawing.Point(191, 147);
this.label16.Name = "label16";
this.label16.Size = new System.Drawing.Size(82, 15);
this.label16.TabIndex = 68;
@@ -434,11 +432,11 @@
//
this.label44.AutoSize = true;
this.label44.Font = new System.Drawing.Font("宋体", 11F);
this.label44.Location = new System.Drawing.Point(191, 40);
this.label44.Location = new System.Drawing.Point(191, 37);
this.label44.Name = "label44";
this.label44.Size = new System.Drawing.Size(97, 15);
this.label44.TabIndex = 109;
this.label44.Text = "平衡压差上限";
this.label44.Text = "大漏压差上限";
//
// label25
//
@@ -453,7 +451,7 @@
// Leaktoplimit
//
this.Leaktoplimit.Font = new System.Drawing.Font("宋体", 11F);
this.Leaktoplimit.Location = new System.Drawing.Point(194, 168);
this.Leaktoplimit.Location = new System.Drawing.Point(194, 165);
this.Leaktoplimit.Name = "Leaktoplimit";
this.Leaktoplimit.Size = new System.Drawing.Size(96, 24);
this.Leaktoplimit.TabIndex = 34;
@@ -472,17 +470,17 @@
//
this.label45.AutoSize = true;
this.label45.Font = new System.Drawing.Font("宋体", 11F);
this.label45.Location = new System.Drawing.Point(191, 95);
this.label45.Location = new System.Drawing.Point(191, 92);
this.label45.Name = "label45";
this.label45.Size = new System.Drawing.Size(97, 15);
this.label45.TabIndex = 110;
this.label45.Text = "平衡压差下限";
this.label45.Text = "大漏压差下限";
//
// label17
//
this.label17.AutoSize = true;
this.label17.Font = new System.Drawing.Font("宋体", 11F);
this.label17.Location = new System.Drawing.Point(191, 206);
this.label17.Location = new System.Drawing.Point(191, 203);
this.label17.Name = "label17";
this.label17.Size = new System.Drawing.Size(82, 15);
this.label17.TabIndex = 69;
@@ -499,7 +497,7 @@
// BLeakTPre
//
this.BLeakTPre.Font = new System.Drawing.Font("宋体", 11F);
this.BLeakTPre.Location = new System.Drawing.Point(194, 58);
this.BLeakTPre.Location = new System.Drawing.Point(194, 55);
this.BLeakTPre.Name = "BLeakTPre";
this.BLeakTPre.Size = new System.Drawing.Size(96, 24);
this.BLeakTPre.TabIndex = 100;
@@ -510,8 +508,9 @@
this.label54.Font = new System.Drawing.Font("宋体", 11F);
this.label54.Location = new System.Drawing.Point(744, 238);
this.label54.Name = "label54";
this.label54.Size = new System.Drawing.Size(0, 15);
this.label54.Size = new System.Drawing.Size(15, 15);
this.label54.TabIndex = 122;
this.label54.Text = "s";
this.label54.Visible = false;
//
// label55
@@ -520,8 +519,9 @@
this.label55.Font = new System.Drawing.Font("宋体", 11F);
this.label55.Location = new System.Drawing.Point(744, 292);
this.label55.Name = "label55";
this.label55.Size = new System.Drawing.Size(0, 15);
this.label55.Size = new System.Drawing.Size(15, 15);
this.label55.TabIndex = 123;
this.label55.Text = "s";
this.label55.Visible = false;
//
// label53
@@ -530,8 +530,9 @@
this.label53.Font = new System.Drawing.Font("宋体", 11F);
this.label53.Location = new System.Drawing.Point(638, 270);
this.label53.Name = "label53";
this.label53.Size = new System.Drawing.Size(0, 15);
this.label53.Size = new System.Drawing.Size(97, 15);
this.label53.TabIndex = 116;
this.label53.Text = "微漏平衡时间";
this.label53.Visible = false;
//
// label52
@@ -540,8 +541,9 @@
this.label52.Font = new System.Drawing.Font("宋体", 11F);
this.label52.Location = new System.Drawing.Point(640, 214);
this.label52.Name = "label52";
this.label52.Size = new System.Drawing.Size(0, 15);
this.label52.Size = new System.Drawing.Size(97, 15);
this.label52.TabIndex = 115;
this.label52.Text = "大漏平衡时间";
this.label52.Visible = false;
//
// SBalanTime
@@ -564,6 +566,9 @@
//
// myGroupBox3
//
this.myGroupBox3.Controls.Add(this.label15);
this.myGroupBox3.Controls.Add(this.TestTime2);
this.myGroupBox3.Controls.Add(this.label51);
this.myGroupBox3.Controls.Add(this.FullTime);
this.myGroupBox3.Controls.Add(this.label41);
this.myGroupBox3.Controls.Add(this.label5);
@@ -576,24 +581,55 @@
this.myGroupBox3.Controls.Add(this.label37);
this.myGroupBox3.Controls.Add(this.label11);
this.myGroupBox3.Controls.Add(this.TestTime1);
this.myGroupBox3.Controls.Add(this.label48);
this.myGroupBox3.Controls.Add(this.label20);
this.myGroupBox3.Controls.Add(this.BalanTime);
this.myGroupBox3.Controls.Add(this.label14);
this.myGroupBox3.Controls.Add(this.label21);
this.myGroupBox3.Controls.Add(this.label22);
this.myGroupBox3.Controls.Add(this.Evolume);
this.myGroupBox3.Controls.Add(this.BypassTime);
this.myGroupBox3.Controls.Add(this.label23);
this.myGroupBox3.Controls.Add(this.label40);
this.myGroupBox3.Controls.Add(this.label38);
this.myGroupBox3.Controls.Add(this.DelayTime1);
this.myGroupBox3.Controls.Add(this.label39);
this.myGroupBox3.Controls.Add(this.DelayTime2);
this.myGroupBox3.Location = new System.Drawing.Point(10, 53);
this.myGroupBox3.Location = new System.Drawing.Point(12, 54);
this.myGroupBox3.Name = "myGroupBox3";
this.myGroupBox3.Size = new System.Drawing.Size(283, 310);
this.myGroupBox3.TabIndex = 136;
this.myGroupBox3.TabStop = false;
this.myGroupBox3.Text = "基本参数";
//
// label15
//
this.label15.AutoSize = true;
this.label15.Font = new System.Drawing.Font("宋体", 11F);
this.label15.Location = new System.Drawing.Point(26, 200);
this.label15.Name = "label15";
this.label15.Size = new System.Drawing.Size(75, 15);
this.label15.TabIndex = 120;
this.label15.Text = "检测时间2";
//
// TestTime2
//
this.TestTime2.Font = new System.Drawing.Font("宋体", 11F);
this.TestTime2.Location = new System.Drawing.Point(28, 219);
this.TestTime2.Name = "TestTime2";
this.TestTime2.Size = new System.Drawing.Size(96, 24);
this.TestTime2.TabIndex = 119;
//
// label51
//
this.label51.AutoSize = true;
this.label51.Font = new System.Drawing.Font("宋体", 11F);
this.label51.Location = new System.Drawing.Point(131, 222);
this.label51.Name = "label51";
this.label51.Size = new System.Drawing.Size(15, 15);
this.label51.TabIndex = 121;
this.label51.Text = "s";
//
// FullTime
//
this.FullTime.Font = new System.Drawing.Font("宋体", 11F);
@@ -606,7 +642,7 @@
//
this.label41.AutoSize = true;
this.label41.Font = new System.Drawing.Font("宋体", 11F);
this.label41.Location = new System.Drawing.Point(257, 171);
this.label41.Location = new System.Drawing.Point(257, 222);
this.label41.Name = "label41";
this.label41.Size = new System.Drawing.Size(23, 15);
this.label41.TabIndex = 118;
@@ -636,7 +672,7 @@
//
this.label42.AutoSize = true;
this.label42.Font = new System.Drawing.Font("宋体", 11F);
this.label42.Location = new System.Drawing.Point(257, 117);
this.label42.Location = new System.Drawing.Point(257, 168);
this.label42.Name = "label42";
this.label42.Size = new System.Drawing.Size(15, 15);
this.label42.TabIndex = 117;
@@ -648,14 +684,14 @@
this.label10.Font = new System.Drawing.Font("宋体", 11F);
this.label10.Location = new System.Drawing.Point(26, 146);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(67, 15);
this.label10.Size = new System.Drawing.Size(75, 15);
this.label10.TabIndex = 62;
this.label10.Text = "检测时间";
this.label10.Text = "检测时间1";
//
// ParaName
//
this.ParaName.Font = new System.Drawing.Font("宋体", 11F);
this.ParaName.Location = new System.Drawing.Point(153, 222);
this.ParaName.Location = new System.Drawing.Point(153, 273);
this.ParaName.Name = "ParaName";
this.ParaName.Size = new System.Drawing.Size(96, 24);
this.ParaName.TabIndex = 93;
@@ -663,7 +699,7 @@
// ExhaustTime
//
this.ExhaustTime.Font = new System.Drawing.Font("宋体", 11F);
this.ExhaustTime.Location = new System.Drawing.Point(28, 219);
this.ExhaustTime.Location = new System.Drawing.Point(28, 273);
this.ExhaustTime.Name = "ExhaustTime";
this.ExhaustTime.Size = new System.Drawing.Size(96, 24);
this.ExhaustTime.TabIndex = 29;
@@ -672,7 +708,7 @@
//
this.label43.AutoSize = true;
this.label43.Font = new System.Drawing.Font("宋体", 11F);
this.label43.Location = new System.Drawing.Point(257, 63);
this.label43.Location = new System.Drawing.Point(257, 114);
this.label43.Name = "label43";
this.label43.Size = new System.Drawing.Size(15, 15);
this.label43.TabIndex = 116;
@@ -682,7 +718,7 @@
//
this.label37.AutoSize = true;
this.label37.Font = new System.Drawing.Font("宋体", 11F);
this.label37.Location = new System.Drawing.Point(150, 206);
this.label37.Location = new System.Drawing.Point(150, 257);
this.label37.Name = "label37";
this.label37.Size = new System.Drawing.Size(67, 15);
this.label37.TabIndex = 92;
@@ -692,7 +728,7 @@
//
this.label11.AutoSize = true;
this.label11.Font = new System.Drawing.Font("宋体", 11F);
this.label11.Location = new System.Drawing.Point(26, 201);
this.label11.Location = new System.Drawing.Point(26, 255);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(67, 15);
this.label11.TabIndex = 63;
@@ -706,6 +742,16 @@
this.TestTime1.Size = new System.Drawing.Size(96, 24);
this.TestTime1.TabIndex = 28;
//
// label48
//
this.label48.AutoSize = true;
this.label48.Font = new System.Drawing.Font("宋体", 11F);
this.label48.Location = new System.Drawing.Point(257, 60);
this.label48.Name = "label48";
this.label48.Size = new System.Drawing.Size(15, 15);
this.label48.TabIndex = 115;
this.label48.Text = "s";
//
// label20
//
this.label20.AutoSize = true;
@@ -728,7 +774,7 @@
//
this.label14.AutoSize = true;
this.label14.Font = new System.Drawing.Font("宋体", 11F);
this.label14.Location = new System.Drawing.Point(150, 147);
this.label14.Location = new System.Drawing.Point(150, 198);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(67, 15);
this.label14.TabIndex = 114;
@@ -757,16 +803,24 @@
// Evolume
//
this.Evolume.Font = new System.Drawing.Font("宋体", 11F);
this.Evolume.Location = new System.Drawing.Point(153, 168);
this.Evolume.Location = new System.Drawing.Point(153, 219);
this.Evolume.Name = "Evolume";
this.Evolume.Size = new System.Drawing.Size(96, 24);
this.Evolume.TabIndex = 113;
//
// BypassTime
//
this.BypassTime.Font = new System.Drawing.Font("宋体", 11F);
this.BypassTime.Location = new System.Drawing.Point(153, 56);
this.BypassTime.Name = "BypassTime";
this.BypassTime.Size = new System.Drawing.Size(96, 24);
this.BypassTime.TabIndex = 94;
//
// label23
//
this.label23.AutoSize = true;
this.label23.Font = new System.Drawing.Font("宋体", 11F);
this.label23.Location = new System.Drawing.Point(132, 222);
this.label23.Location = new System.Drawing.Point(132, 276);
this.label23.Name = "label23";
this.label23.Size = new System.Drawing.Size(15, 15);
this.label23.TabIndex = 75;
@@ -776,16 +830,26 @@
//
this.label40.AutoSize = true;
this.label40.Font = new System.Drawing.Font("宋体", 11F);
this.label40.Location = new System.Drawing.Point(150, 94);
this.label40.Location = new System.Drawing.Point(150, 145);
this.label40.Name = "label40";
this.label40.Size = new System.Drawing.Size(45, 15);
this.label40.TabIndex = 105;
this.label40.Text = "延时2";
//
// label38
//
this.label38.AutoSize = true;
this.label38.Font = new System.Drawing.Font("宋体", 11F);
this.label38.Location = new System.Drawing.Point(150, 39);
this.label38.Name = "label38";
this.label38.Size = new System.Drawing.Size(67, 15);
this.label38.TabIndex = 95;
this.label38.Text = "旁路时间";
//
// DelayTime1
//
this.DelayTime1.Font = new System.Drawing.Font("宋体", 11F);
this.DelayTime1.Location = new System.Drawing.Point(153, 60);
this.DelayTime1.Location = new System.Drawing.Point(153, 111);
this.DelayTime1.Name = "DelayTime1";
this.DelayTime1.Size = new System.Drawing.Size(96, 24);
this.DelayTime1.TabIndex = 96;
@@ -794,7 +858,7 @@
//
this.label39.AutoSize = true;
this.label39.Font = new System.Drawing.Font("宋体", 11F);
this.label39.Location = new System.Drawing.Point(150, 41);
this.label39.Location = new System.Drawing.Point(150, 92);
this.label39.Name = "label39";
this.label39.Size = new System.Drawing.Size(45, 15);
this.label39.TabIndex = 104;
@@ -803,78 +867,17 @@
// DelayTime2
//
this.DelayTime2.Font = new System.Drawing.Font("宋体", 11F);
this.DelayTime2.Location = new System.Drawing.Point(153, 114);
this.DelayTime2.Location = new System.Drawing.Point(153, 165);
this.DelayTime2.Name = "DelayTime2";
this.DelayTime2.Size = new System.Drawing.Size(96, 24);
this.DelayTime2.TabIndex = 97;
//
// label15
//
this.label15.AutoSize = true;
this.label15.Font = new System.Drawing.Font("宋体", 11F);
this.label15.Location = new System.Drawing.Point(639, 331);
this.label15.Name = "label15";
this.label15.Size = new System.Drawing.Size(0, 15);
this.label15.TabIndex = 120;
this.label15.Visible = false;
//
// TestTime2
//
this.TestTime2.Font = new System.Drawing.Font("宋体", 11F);
this.TestTime2.Location = new System.Drawing.Point(641, 350);
this.TestTime2.Name = "TestTime2";
this.TestTime2.Size = new System.Drawing.Size(96, 24);
this.TestTime2.TabIndex = 119;
this.TestTime2.Visible = false;
//
// label51
//
this.label51.AutoSize = true;
this.label51.Font = new System.Drawing.Font("宋体", 11F);
this.label51.Location = new System.Drawing.Point(742, 352);
this.label51.Name = "label51";
this.label51.Size = new System.Drawing.Size(0, 15);
this.label51.TabIndex = 121;
this.label51.Visible = false;
//
// label48
//
this.label48.AutoSize = true;
this.label48.Font = new System.Drawing.Font("宋体", 11F);
this.label48.Location = new System.Drawing.Point(743, 161);
this.label48.Name = "label48";
this.label48.Size = new System.Drawing.Size(0, 15);
this.label48.TabIndex = 115;
this.label48.Visible = false;
//
// BypassTime
//
this.BypassTime.Font = new System.Drawing.Font("宋体", 11F);
this.BypassTime.Location = new System.Drawing.Point(639, 157);
this.BypassTime.Name = "BypassTime";
this.BypassTime.Size = new System.Drawing.Size(96, 24);
this.BypassTime.TabIndex = 94;
this.BypassTime.Visible = false;
//
// label38
//
this.label38.AutoSize = true;
this.label38.Font = new System.Drawing.Font("宋体", 11F);
this.label38.Location = new System.Drawing.Point(636, 140);
this.label38.Name = "label38";
this.label38.Size = new System.Drawing.Size(0, 15);
this.label38.TabIndex = 95;
this.label38.Visible = false;
//
// TestPara
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(646, 425);
this.Controls.Add(this.label15);
this.ClientSize = new System.Drawing.Size(742, 442);
this.Controls.Add(this.label54);
this.Controls.Add(this.TestTime2);
this.Controls.Add(this.label51);
this.Controls.Add(this.ReceiveText);
this.Controls.Add(this.label55);
this.Controls.Add(this.SendText);
@@ -883,7 +886,6 @@
this.Controls.Add(this.label52);
this.Controls.Add(this.Test_Type);
this.Controls.Add(this.SBalanTime);
this.Controls.Add(this.label48);
this.Controls.Add(this.label3);
this.Controls.Add(this.BBalanTime);
this.Controls.Add(this.ParaNum);
@@ -891,10 +893,8 @@
this.Controls.Add(this.BtnKeep);
this.Controls.Add(this.BtnUpload);
this.Controls.Add(this.BtnRead);
this.Controls.Add(this.BypassTime);
this.Controls.Add(this.myGroupBox4);
this.Controls.Add(this.myGroupBox3);
this.Controls.Add(this.label38);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "TestPara";
this.Text = "TestPara";

View File

@@ -4,6 +4,7 @@ using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Threading;
using System.Windows.Forms;
namespace C_Windows_1
@@ -85,110 +86,101 @@ namespace C_Windows_1
public OperateResult operateResult;
private void BtnUpload_Click(object sender, EventArgs e)
{
try
{
if (FullTime.Text == "" || TestTime1.Text == "" || ExhaustTime.Text == "" || DelayTime1.Text == "" || DelayTime2.Text == "" || BLeakLPre.Text == "" || BLeakTPre.Text == "" || LUnit.Text == "" || PUnit.Text == "")
int p = Convert.ToInt32(ParaNum.Text);
SetParameters(p);
if (FullTime.Text == "" || BBalanTime.Text == "" || SBalanTime.Text == "" || TestTime1.Text == "" || ExhaustTime.Text == "" || BypassTime.Text == "" || DelayTime1.Text == "" || DelayTime2.Text == "" || BLeakLPre.Text == "" || BLeakTPre.Text == "" || LUnit.Text == "" || PUnit.Text == "")
{
MessageBox.Show("输入参数格式不对");
}
else
{
if (FullTime.Text == "" || TestTime1.Text == "" || ExhaustTime.Text == "" || DelayTime1.Text == "" || DelayTime2.Text == "" || BLeakLPre.Text == "" || BLeakTPre.Text == "" || LUnit.Text == "" || PUnit.Text == "")
if (FullTime.Text == "" || BBalanTime.Text == "" || SBalanTime.Text == "" || TestTime1.Text == "" || ExhaustTime.Text == "" || BypassTime.Text == "" || DelayTime1.Text == "" || DelayTime2.Text == "" || BLeakLPre.Text == "" || BLeakTPre.Text == "" || LUnit.Text == "" || PUnit.Text == "")
{
MessageBox.Show("输入参数格式不对");
}
else
{
BtnUpload.Text = "正在上传";
//BtnUpload.Enabled = false;
BtnUpload.ForeColor = Color.Red;
short a = Convert.ToInt16(Convert.ToDouble(FullTime.Text) * 10);//充气时间
Form1.f1.modbusClient.Write("1006", a);
Form1.f1.CH1.Write("25", a);
//平衡时间不能写入,为大漏平衡时间和微漏平衡时间的和
//short b = Convert.ToInt16(Convert.ToDouble(BBalanTime.Text) * 10);//平衡时间
short b = Convert.ToInt16(Convert.ToDouble(BalanTime.Text) * 10);
Form1.f1.modbusClient.Write("1007", b);
Form1.f1.CH1.Write("34", b);
short c = Convert.ToInt16(Convert.ToDouble(TestTime1.Text) * 10);//检测时间1
Form1.f1.modbusClient.Write("1008", c);
Form1.f1.CH1.Write("27", c);
short d = Convert.ToInt16(Convert.ToDouble(ExhaustTime.Text) * 10);//排气时间
Form1.f1.modbusClient.Write("1009", d);
Form1.f1.CH1.Write("28", d);
short j = Convert.ToInt16(Convert.ToDouble(BypassTime.Text) * 10);//旁路时间
Form1.f1.CH1.Write("29", j);
short f = Convert.ToInt16(Convert.ToDouble(DelayTime1.Text) * 10);//延时1
Form1.f1.modbusClient.Write("1011", f);
Form1.f1.CH1.Write("30", f);
short g = Convert.ToInt16(Convert.ToDouble(DelayTime2.Text) * 10);//延时2
Form1.f1.modbusClient.Write("1012", g);
List<byte> bigleakmax = new List<byte>();//压差上限
bigleakmax.AddRange(XdrFloat(Convert.ToSingle(BLeakTPre.Text)));
byte[] bigleakda = bigleakmax.ToArray();
Form1.f1.modbusClient.Write("1017", bigleakda);
List<byte> bigleakmin = new List<byte>();//压差下限
bigleakmin.AddRange(XdrFloat(Convert.ToSingle(BLeakLPre.Text)));
byte[] bigleakxiao = bigleakmin.ToArray();
Form1.f1.modbusClient.Write("1019", bigleakxiao);
Form1.f1.CH1.Write("31", g);
short h = Convert.ToInt16(Convert.ToDouble(BLeakTPre.Text));//大漏压差上限
Form1.f1.CH1.Write("36", h);
short i = Convert.ToInt16(Convert.ToDouble(BLeakLPre.Text));//大漏压差下限
Form1.f1.CH1.Write("37", i);
//BLeakLPre
List<byte> parmEvolume = new List<byte>();//等效容积
parmEvolume.AddRange(XdrFloat(Convert.ToSingle(Evolume.Text)));
byte[] pEvolume = parmEvolume.ToArray();
Form1.f1.modbusClient.Write("1025", pEvolume);
Form1.f1.CH1.Write("42", pEvolume);
List<byte> parmFPtoplimit = new List<byte>();//充气压力上限
parmFPtoplimit.AddRange(XdrFloat(Convert.ToSingle(FPtoplimit.Text)));
byte[] toplimit = parmFPtoplimit.ToArray();
Form1.f1.modbusClient.Write("1013", toplimit);
Form1.f1.CH1.Write("32", toplimit);
List<byte> parmFPlowlimit = new List<byte>();//充气压力下限
parmFPlowlimit.AddRange(XdrFloat(Convert.ToSingle(FPlowlimit.Text)));
byte[] lowlimit = parmFPlowlimit.ToArray();
Form1.f1.modbusClient.Write("1015", lowlimit);
Form1.f1.CH1.Write("46", lowlimit);
//short BBaTime = Convert.ToInt16(Convert.ToDouble(BBalanTime.Text) * 10);//大漏平衡时间
//Form1.f1.modbusClient.Write("34", BBaTime);
//Form1.f1.CH1.Write("34", BBaTime);
//short SBaTime = Convert.ToInt16(Convert.ToDouble(SBalanTime.Text) * 10);//微漏平衡时间
//Form1.f1.modbusClient.Write("35", SBaTime);
//Form1.f1.CH1.Write("35", SBaTime);
List<byte> parmLeaktoplimit = new List<byte>();//泄露量上限
parmLeaktoplimit.AddRange(XdrFloat(Convert.ToSingle(Leaktoplimit.Text)));
byte[] Leaktop = parmLeaktoplimit.ToArray();
Form1.f1.modbusClient.Write("1021", Leaktop);
Form1.f1.CH1.Write("38", Leaktop);
List<byte> parmLeaklowlimit = new List<byte>();//泄露量下限
parmLeaklowlimit.AddRange(XdrFloat(Convert.ToSingle(Leaklowlimit.Text)));
byte[] Leaklow = parmLeaklowlimit.ToArray();
Form1.f1.modbusClient.Write("1023", Leaklow);
Form1.f1.CH1.Write("44", Leaklow);
//单位
ushort punit1 = Convert.ToUInt16(PUnit.SelectedIndex);
ushort lunit1 = Convert.ToUInt16(LUnit.SelectedIndex);
Form1.f1.modbusClient.Write("1027", punit1);
operateResult= Form1.f1.modbusClient.Write("1028", lunit1);
Form1.f1.CH1.Write("41", punit1);
Form1.f1.CH1.Write("40", lunit1);
if (operateResult.IsSuccess)
{
MessageBox.Show("上传参数成功");
}
else
{
MessageBox.Show("上传参数失败,请检查连接状态后重新上传");
}
Form1.f1.CH1.WriteCoil("36", true);
Thread.Sleep(500);
Form1.f1.CH1.WriteCoil("38", true);
Thread.Sleep(500);
Form1.f1.CH1.WriteCoil("36", false);
Thread.Sleep(500);
Form1.f1.CH1.WriteCoil("38", false);
Thread.Sleep(500);
//Delay(1);
MessageBox.Show("上传参数成功");
BtnUpload.Text = "上传参数";
BtnUpload.ForeColor = Color.Black;
BtnUpload.Enabled = true;
}
}
}
@@ -287,14 +279,7 @@ namespace C_Windows_1
try
{
Parameters();
if (Form1.f1.modbusClient.Read("1006", (ushort)1).IsSuccess)
{
MessageBox.Show("参数读取成功");
}
else
{
MessageBox.Show("参数读取失败");
}
MessageBox.Show("参数读取成功");
}
catch (Exception ex)
@@ -307,7 +292,7 @@ namespace C_Windows_1
try
{
OperateResult<bool> reslutget;
reslutget = Form1.f1.modbusClient.ReadBool(Convert.ToString(sta));
reslutget = Form1.f1.CH1.ReadBool(Convert.ToString(sta));
if (reslutget.IsSuccess == true)
{
if (reslutget.Content == true)
@@ -343,43 +328,47 @@ namespace C_Windows_1
public void Parameters()
{
Form1.f1.Modbusread(1006, 7, Form1.ReadData);
Form1.f1.Modbusread(1013, 16, Form1.ReadData);
FullTime.Text = ((Form1.ReadData[1006] / 10).ToString());
BalanTime.Text = ((Form1.ReadData[1007] / 10).ToString());
TestTime1.Text = (Form1.ReadData[1008] / 10).ToString();
//TestTime2.Text = ((Form1.ReadData[48] / 10).ToString());
ExhaustTime.Text = (Form1.ReadData[1009] / 10).ToString();
//BypassTime.Text = (Form1.ReadData[29] / 10).ToString();
DelayTime1.Text = (Form1.ReadData[1011] / 10).ToString();
DelayTime2.Text = ((Form1.ReadData[1012] / 10).ToString());
Evolume.Text = Form1.TwoUInt16ToFloat(Form1.ReadData[1026], Form1.ReadData[1025]).ToString();
Form1.f1.Modbusread(25, 24, Form1.ReadData);
Form1.f1.Modbusread(604, 2, Form1.ReadData);
Booltomath(604, Form1.ReadData);
Booltomath(605, Form1.ReadData);
FullTime.Text = ((Form1.ReadData[25] / 10).ToString());
BalanTime.Text = ((Form1.ReadData[34] / 10).ToString());
TestTime1.Text = (Form1.ReadData[27] / 10).ToString();
TestTime2.Text = ((Form1.ReadData[48] / 10).ToString());
ExhaustTime.Text = (Form1.ReadData[28] / 10).ToString();
BypassTime.Text = (Form1.ReadData[29] / 10).ToString();
DelayTime1.Text = (Form1.ReadData[30] / 10).ToString();
DelayTime2.Text = ((Form1.ReadData[31] / 10).ToString());
Evolume.Text = Form1.TwoUInt16ToFloat(Form1.ReadData[43], Form1.ReadData[42]).ToString();
//参数名称
//ParaName.Text =
FPtoplimit.Text = Form1.TwoUInt16ToFloat(Form1.ReadData[1014], Form1.ReadData[1013]).ToString();
FPlowlimit.Text = Form1.TwoUInt16ToFloat(Form1.ReadData[1016], Form1.ReadData[1015]).ToString();
//BBalanTime.Text = ((Form1.ReadData[34] / 10).ToString());
//SBalanTime.Text = ((Form1.ReadData[35] / 10).ToString());
BLeakTPre.Text = Form1.TwoUInt16ToFloat(Form1.ReadData[1018], Form1.ReadData[1017]).ToString();
BLeakLPre.Text = Form1.TwoUInt16ToFloat(Form1.ReadData[1020], Form1.ReadData[1019]).ToString();
Leaktoplimit.Text = Form1.TwoUInt16ToFloat(Form1.ReadData[1022], Form1.ReadData[1021]).ToString();
Leaklowlimit.Text = Form1.TwoUInt16ToFloat(Form1.ReadData[1024], Form1.ReadData[1023]).ToString();
PUnit.SelectedIndex = Form1.ReadData[1027];
LUnit.SelectedIndex = Form1.ReadData[1028];
label24.Text = PUnit.Text;
label25.Text = PUnit.Text;
label28.Text = LUnit.Text;
label29.Text = LUnit.Text;
FPtoplimit.Text = Form1.TwoUInt16ToFloat(Form1.ReadData[33], Form1.ReadData[32]).ToString();
FPlowlimit.Text = Form1.TwoUInt16ToFloat(Form1.ReadData[47], Form1.ReadData[46]).ToString();
BBalanTime.Text = ((Form1.ReadData[34] / 10).ToString());
SBalanTime.Text = ((Form1.ReadData[35] / 10).ToString());
BLeakTPre.Text = ((Form1.ReadData[36]).ToString());
BLeakLPre.Text = ((Digitalconversion(Form1.ReadData[37])).ToString());
Leaktoplimit.Text = Form1.TwoUInt16ToFloat(Form1.ReadData[39], Form1.ReadData[38]).ToString();
Leaklowlimit.Text = Form1.TwoUInt16ToFloat(Form1.ReadData[45], Form1.ReadData[44]).ToString();
PUnit.SelectedIndex = Form1.ReadData[41];
LUnit.SelectedIndex = Form1.ReadData[40];
label24.Text=label25.Text=PUnit.Text;
label28.Text=label29.Text=LUnit.Text;
if (Form1.ReadData[604] == 1)
{
Test_Type.SelectedIndex = 0;
}
if (Form1.ReadData[605] == 1)
{
Test_Type.SelectedIndex = 1;
}
}
private void BtnKeep_Click(object sender, EventArgs e)
{
int i = Convert.ToInt32(ParaNum.Text);
SetParameters(i);
}
@@ -791,10 +780,10 @@ namespace C_Windows_1
{
if (Test_Type.SelectedIndex == 0)
{
operateResult1 = Form1.f1.CH1.Write("605", false);
operateResult1 = Form1.f1.CH1.WriteCoil("605", false);
if (operateResult1.IsSuccess)
{
Form1.f1.CH1.Write("604", true);
Form1.f1.CH1.WriteCoil("604", true);
}
//SendText.Text = Form1.f1.Station.Text + " 05 02 5D 00 00 ";//关闭负压
@@ -805,18 +794,18 @@ namespace C_Windows_1
}
if (Test_Type.SelectedIndex == 1)
{
operateResult2 = Form1.f1.CH1.Write("604", false);
operateResult2 = Form1.f1.CH1.WriteCoil("604", false);
if (operateResult2.IsSuccess)
{
Form1.f1.CH1.Write("605", true);
Form1.f1.CH1.WriteCoil("605", true);
}
}
else
{
operateResult3 = Form1.f1.CH1.Write("605", false);
operateResult3 = Form1.f1.CH1.WriteCoil("605", false);
if (operateResult3.IsSuccess)
{
Form1.f1.CH1.Write("604", true);
Form1.f1.CH1.WriteCoil("604", true);
}
}
}
@@ -825,10 +814,10 @@ namespace C_Windows_1
Form1.f1.CH1.Open();
if (Test_Type.SelectedIndex == 0)
{
operateResult4 = Form1.f1.CH1.Write("605", false);
operateResult4 = Form1.f1.CH1.WriteCoil("605", false);
if (operateResult4.IsSuccess)
{
Form1.f1.CH1.Write("604", true);
Form1.f1.CH1.WriteCoil("604", true);
}
//SendText.Text = Form1.f1.Station.Text + " 05 02 5D 00 00 ";//关闭负压
@@ -839,10 +828,10 @@ namespace C_Windows_1
}
if (Test_Type.SelectedIndex == 1)
{
operateResult24 = Form1.f1.CH1.Write("604", false);
operateResult24 = Form1.f1.CH1.WriteCoil("604", false);
if (operateResult24.IsSuccess)
{
Form1.f1.CH1.Write("605", true);
Form1.f1.CH1.WriteCoil("605", true);
}
}
}

BIN
C-Windows-1/UpMesCfg.dll Normal file

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,605 @@
#pragma once
#pragma warning(disable:4996)
#ifdef DLLEXPORT
#define DLLAPI __declspec(dllexport)
#else
#define DLLAPI __declspec(dllimport)
#endif
#define CALLMETHOD __cdecl//__cdecl//__stdcall
#define _in_
#define _out_
/************************************************************************/
/* <20><>վ<EFBFBD><D5BE><EFBFBD><EFBFBD> */
/* 20160923 */
/* Lory */
/************************************************************************/
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>
DLLAPI int CALLMETHOD TestConnect(_in_ int conn);
//дlog
DLLAPI int CALLMETHOD WriteLog(_in_ char *Errorstring);
//<2F><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD>·<EFBFBD><C2B7>
DLLAPI int CALLMETHOD Get_ExePath(_out_ char* exePath);
//<2F><>ѯ<EFBFBD><D1AF><EFBFBD>ϱ<EFBFBD><CFB1><EFBFBD>
DLLAPI int CALLMETHOD ATS_SelectMaterialCode(_in_ char * BatchNumber, _out_ char * MaterialCode);
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD ATS_InsertRoutMaintain(
_in_ char * MaterialCode,
_in_ char * ATSStationName,
_in_ char * Test_Number,
_in_ char * Test_NameVaule
);
//<2F><>ѯ<EFBFBD><D1AF><EFBFBD><EFBFBD>վ<EFBFBD><D5BE><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD ATS_SelectATSStationName(_in_ char * MaterialCode, _out_ char * ATSStationName);
//<2F><>ѯSN<53>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD>Բ<EFBFBD><D4B2><EFBFBD>
DLLAPI int CALLMETHOD ATS_SelectTestYorN(
_in_ char* MainSN,
_in_ char* ATSStationName,
_in_ char* MaterialCode,
_out_ char* TestYorN
);
DLLAPI int CALLMETHOD ATS_SelectTestYorN_Batch(
_in_ char* MainSN,
_in_ char* ATSStationName,
_in_ char* MaterialCode,
_in_ char* Batch,
_out_ char* TestYorN
);
DLLAPI int CALLMETHOD ATS_SelectTestYorN_Batch_LineName(
_in_ char* MainSN,
_in_ char* ATSStationName,
_in_ char* MaterialCode,
_in_ char* Batch,
_in_ char* LineName,
_in_ char* Value2,
_in_ char* Value3,
_out_ char* TestYorN
);
//<2F>ϴ<EFBFBD><CFB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD HW_InsertDataRow(
_in_ char *strmodel,
_in_ char *strbatch,
_in_ char *strlocation,
_in_ char *strstation,
_in_ char *strsn,
_in_ int iresult,
_in_ char *strkeys,
_in_ char *strvalues
);
DLLAPI int CALLMETHOD ATS_InsertDataRow_JIG(
_in_ char *strmodel,
_in_ char *strbatch,
_in_ char *strlocation,
_in_ char *strstation,
_in_ char *strsn,
_in_ int iresult,
_in_ char * errorinfo,
_in_ char * JIG_Number,
_in_ char *strkeys,
_in_ char *strvalues
);
DLLAPI int CALLMETHOD ATS_InsertDataRow_JIG_V2(
_in_ char *strlinename,//<2F>߱<EFBFBD><DFB1><EFBFBD><EFBFBD><EFBFBD>
_in_ char *strbatch,//<2F><><EFBFBD><EFBFBD>
_in_ char *strlocation,//<2F><><EFBFBD>ϱ<EFBFBD><CFB1><EFBFBD>
_in_ char *strstation,//վ<><D5BE>
_in_ char *strsn,//<2F><>վ<EFBFBD><D5BE><EFBFBD><EFBFBD>
_in_ int iresult,//<2F><><EFBFBD>Խ<EFBFBD><D4BD><EFBFBD>
_in_ char * errorinfo,//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ
_in_ char * JIG_Number,//<2F><><EFBFBD>ܱ<EFBFBD><DCB1><EFBFBD>
_in_ char *strswversion,//<2F><><EFBFBD><EFBFBD><EFBFBD>
_in_ char *strremark, //<2F><>ע
_in_ char *strkeys,//<2F><><EFBFBD><EFBFBD>
_in_ char *strvalues//ֵ
);
DLLAPI int CALLMETHOD ATS_InsertDataRow(
_in_ char *strmodel,
_in_ char *strbatch,
_in_ char *strlocation,
_in_ char *strstation,
_in_ char *strsn,
_in_ int iresult,
_in_ char * errorinfo,
_in_ char *strkeys,
_in_ char *strvalues
);
//ֻ<>ϴ<EFBFBD><CFB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD MES_OnlyInsertDataRow(
_in_ char *strmodel,
_in_ char *strbatch,
_in_ char *strlocation,
_in_ char *strstation,
_in_ char *strsn,
_in_ int iresult,
_in_ char *strkeys,
_in_ char *strvalues
);
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD ATS_InsertErrorData(int Test_ID, char * Test_errorinfo);
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD ATS_InsertJIGNumber(int Test_ID, char * JIGNumber);
//<2F><><EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD><CFB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʒϵͳ//<2F><><EFBFBD><EFBFBD><EFBFBD>ӿڸ<D3BF><DAB8>£<EFBFBD><C2A3><EFBFBD><EFBFBD><EFBFBD>ֻ<EFBFBD><D6BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD ATS_InsertFailCode(
_in_ char* Product_Batch,//<2F><><EFBFBD><EFBFBD>
_in_ char* Product_BarCode,//<2F><>վ<EFBFBD><D5BE><EFBFBD><EFBFBD>
_in_ char* Product_Line_naem,//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
_in_ char* Product_StationName,//վ<><D5BE>
_in_ int Product_Repeat_Times=3 //<2F>ز<EFBFBD><D8B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD>3
);
//<2F><><EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD><CFB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʒϵͳ
DLLAPI int CALLMETHOD ATS_InsertFailCode_V2(
_in_ char* Product_Batch,//<2F><><EFBFBD><EFBFBD>
_in_ char* Product_BarCode,//<2F><>վ<EFBFBD><D5BE><EFBFBD><EFBFBD>
_in_ char* Product_Line_naem,//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
_in_ char* Product_StationName,//վ<><D5BE>
_in_ char* Product_MaterialCode,//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD>ϱ<EFBFBD><CFB1><EFBFBD>
_in_ int Product_Repeat_Times = 3 //<2F>ز<EFBFBD><D8B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD>3
);
//1<><31><EFBFBD>µĹ<C2B5>վ<EFBFBD><D5BE><EFBFBD>ݱ<EFBFBD><DDB1>в<EFBFBD><D0B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD ATS_InsertTestData(
int Test_ID,
char *Test_Vaule
);
DLLAPI int CALLMETHOD ATS_InsertTestResult(
_in_ char *strbatch,
_in_ char *strsn,
_in_ char *strstation,
_in_ int iresult
);
/*
*/
DLLAPI int CALLMETHOD ATS_InsertTestResult_V2(
_in_ char *strbatch,//<2F><><EFBFBD><EFBFBD>
_in_ char *strsn,//<2F><>վ<EFBFBD><D5BE><EFBFBD><EFBFBD>
_in_ char *strstation,//վ<><D5BE>
_in_ char *strlinename,//<2F>߱<EFBFBD><DFB1><EFBFBD><EFBFBD><EFBFBD>
_in_ char *strlocation,//<2F><><EFBFBD>ϱ<EFBFBD><CFB1><EFBFBD>
_in_ char *strswversion,//<2F><><EFBFBD><EFBFBD><EFBFBD>
_in_ char *strremark,//<2F><>ע
_in_ int iresult//<2F><><EFBFBD>Խ<EFBFBD><D4BD><EFBFBD>
);
DLLAPI int CALLMETHOD ATS_InsertDataRow_OFFLINE_V2(
_in_ char *strlinename,//<2F>߱<EFBFBD><DFB1><EFBFBD><EFBFBD><EFBFBD>
_in_ char *strbatch,//<2F><><EFBFBD><EFBFBD>
_in_ char *strlocation,//<2F><><EFBFBD>ϱ<EFBFBD><CFB1><EFBFBD>
_in_ char *strstation,//վ<><D5BE>
_in_ char *strsn,//<2F><>վ<EFBFBD><D5BE><EFBFBD><EFBFBD>
_in_ int iresult,//<2F><><EFBFBD>Խ<EFBFBD><D4BD><EFBFBD>
_in_ char * errorinfo,//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ
_in_ char * JIG_Number,//<2F><><EFBFBD>ܱ<EFBFBD><DCB1><EFBFBD>
_in_ char *strswversion,//<2F><><EFBFBD><EFBFBD><EFBFBD>
_in_ char *strremark, //<2F><>ע
_in_ char *strkeys,//<2F><><EFBFBD><EFBFBD>
_in_ char *strvalues//ֵ
);
/*
select mes_station_ctrl_test.inserttestresult_offline(p_tracenum => '',--<2D><><EFBFBD><EFBFBD>
p_ser_no => '',--ɨ<><C9A8><EFBFBD><EFBFBD>
p_seq_no => '',--<2D><>վ
p_prod_line_name => '',--<2D><><EFBFBD><EFBFBD><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
p_item_code => '',--<2D><><EFBFBD>ϱ<EFBFBD><CFB1><EFBFBD><EBA3A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
p_soft_ver => '',--<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E6B1BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
p_remark => '',--<2D><>ע<EFBFBD><D7A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
P_result => ''--<2D><><EFBFBD><EFBFBD>
) FROM dual
*/
DLLAPI int CALLMETHOD ATS_OffLine_InsertResult_V2(
_in_ char *strbatch,
_in_ char *strsn,
_in_ char *strstation,
_in_ char *strlinename,
_in_ char *strlocation,
_in_ char *strswversion,
_in_ char *strremark,
_in_ int iresult
);
/************************************************************************/
/* <20><>վ<EFBFBD><D5BE><EFBFBD><EFBFBD> */
/* 20160923 */
/* Lory */
/************************************************************************/
/************************************************************************/
/* <20>ϴ<EFBFBD><CFB4><EFBFBD><EFBFBD><EFBFBD> */
/* 20170104 */
/* Lory */
/************************************************************************/
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD InsertTwoData(
_in_ char* TableName,
_in_ char* FieldName,
_in_ char* Value,
_in_ char* FieldName2,
_in_ char* Value2
);
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݣ<EFBFBD><DDA3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD UpdateDataTwoCondition(
_in_ char* TableName,
_in_ char* FieldName2Update,
_in_ char* Value2Update,
_in_ char* FieldNameOfCondition,
_in_ char* ValueOfCondition,
_in_ char* FieldNameOfCondition2,
_in_ char* ValueOfCondition2
);
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݣ<EFBFBD><DDA3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD UpdateOneDataTwoCondition(
_in_ char* TableName,
_in_ char* Update_ColName,
_in_ char* Update_ColVaule,
_in_ char* FieldNameOfCondition,
_in_ char* ValueOfCondition,
_in_ char* FieldNameOfCondition2,
_in_ char* ValueOfCondition2
);
//<2F><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD>,<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>򣬻<EFBFBD>ȡ<EFBFBD><C8A1>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD GetDataOrderBy(
_in_ char* TableName,
_in_ char* FieldName,
_out_ char* Value,
_in_ int SizeOfValue,
_in_ char* FieldNameOfCondition,
_in_ char* ValueOfCondition,
_in_ char* OrderByAscOrDesc//DESC <20><><EFBFBD><EFBFBD> ASC <20><><EFBFBD><EFBFBD>
);
//<2F><><EFBFBD><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD InsertOneRowData(
_in_ char* INSERT_ColName,
_in_ char* INSERT_ColVaule,
_in_ char* TableName
);
//<2F><><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD>е<EFBFBD><D0B5><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD UpdateOneRowData(
_in_ char* Update_ColName,
_in_ char* Update_ColVaule,
_in_ char* TableName,
_in_ char* FieldNameOfCondition,
_in_ char* ValueOfCondition
);
//<2F><>ѯָ<D1AF><D6B8><EFBFBD>е<EFBFBD><D0B5><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD SelectOneRowData(
_in_ char* Select_ColName,
_out_ char* Select_ColVaule,
_in_ char* TableName,
_in_ char* FieldNameOfCondition,
_in_ char* ValueOfCondition
);
//SLM-D MES wisillica <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>
DLLAPI int CALLMETHOD Insert_WisillicaData(
_in_ char* Wisillica_Batch,
_in_ char* Wisillica_SN,
_in_ char* Wisillica_SWversion,
_in_ char* Wisillica_RSSI,
_in_ char* Wisillica_VCCorLDA_MAX,
_in_ char* Wisillica_GNDorLDA_MIN,
_in_ char* Wisillica_GPIO1orPIR,
_in_ char* Wisillica_GPIO2,
_in_ char* Wisillica_RX,
_in_ char* Wisillica_TX,
_in_ char* Wisillica_Channel1orSwitch1,
_in_ char* Wisillica_Channel_50,
_in_ char* Wisillica_Channel_100,
_in_ char* Wisillica_channel2orSwitch2,
_in_ char* Wisillica_Channe2_50,
_in_ char* Wisillica_Channe2_100,
_in_ char* Wisillica_RED,
_in_ char* Wisillica_GREEN,
_in_ char* Wisillica_BLUE,
_in_ char* Wisillica_TEMPERATURE,
_in_ char* Wisillica_HUMIDITY,
_in_ char* Wisillica_okflag
);
/************************************************************************/
/* <20>ϴ<EFBFBD><CFB4><EFBFBD><EFBFBD><EFBFBD> */
/* 20170104 */
/* Lory */
/************************************************************************/
/************************************************************************/
/* MAC&KEY */
/* 2017411 */
/* Lory */
/************************************************************************/
//ͨ<><CDA8>MAC<41><43><EFBFBD><EFBFBD><EFBFBD>Σ<EFBFBD><CEA3><EFBFBD><EFBFBD><EFBFBD>,<2C><>ȡSN
DLLAPI int CALLMETHOD Product_GetSNorMAC(
_in_ char* WifiMAC,
_in_ char* Product_Batch,
_in_ char* Product_Type,
_out_ char* SN_Value
);
//<2F><>ȡ<EFBFBD><C8A1><EFBFBD>εĵ<CEB5>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB>MAC
DLLAPI int CALLMETHOD MES_GetMACorSN_OrderByData(
_in_ char *StrBatch,
_in_ char *StrType,
_in_ char *OrderByAscOrDesc,
_out_ char* SN_Value
);
//ͨ<><CDA8>SN<53><4E><EFBFBD><EFBFBD><EFBFBD>Σ<EFBFBD><CEA3><EFBFBD><EFBFBD><EFBFBD>,<2C><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>MAC
DLLAPI int CALLMETHOD Product_GetTwoSNorMAC(
_in_ char* WifiMAC,
_in_ char* Product_Batch,
_in_ char* Product_Type,
_out_ char* SN_Value
);
//<2F><>SN<53><4E><EFBFBD><EFBFBD><EFBFBD>Σ<EFBFBD><CEA3><EFBFBD><EFBFBD><EFBFBD>,MAC<41>γ<EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD>¼
//SN_Value_Two <20><><EFBFBD><EFBFBD>SN<53><4E>
//SN_Value_One <20><><EFBFBD><EFBFBD>ONE<4E><45>
//<2F><><EFBFBD>в<EFBFBD><D0B2><EFBFBD>ǿ<EFBFBD>ƴ<EFBFBD>д
//select mes_otherdep_call_pkg.SnMacBind_ZJ('HY1731034','ZJ_SN', 'R273050217234', '00:22:6C:87:E5:D0') from dual
DLLAPI int CALLMETHOD Product_SnMacBind(
_in_ char* Product_Batch,
_in_ char* Product_Type,
_in_ char* SN_Value_One,
_in_ char* SN_Value_Two
);
//<2F><>SN<53><4E><EFBFBD><EFBFBD><EFBFBD>µ<EFBFBD>MAC<41><43>ֵ<EFBFBD><D6B5><EFBFBD><EFBFBD><EFBFBD>γ<EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD>¼
//select mes_otherdep_call_pkg.f_BindSN_SN('batch','type', 'sn', 'bind_sn') from dual;
DLLAPI int CALLMETHOD Product_SnBD_BindSN(
_in_ char* Product_Batch,
_in_ char* Product_Type,
_in_ char* SN_Value,
_in_ char* Bind_SN
);
//<2F><>SN<53><4E><EFBFBD><EFBFBD>ȡBindSN
//select mes_otherdep_call_pkg.getBindSnbySN('6C5AB5532276') from dual;
DLLAPI int CALLMETHOD Product_SnGet_BindSN(
_in_ char* SN_Value,
_out_ char* Bind_SN
);
//<2F>ù<EFBFBD><C3B9><EFBFBD><EFBFBD><EFBFBD><EBA3AC>ȡMAC<41><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Դ<EFBFBD><D4B4>Ͷ<EFBFBD><CDB6>λ<EFBFBD>Ĺ<EFBFBD><C4B9><EFBFBD>ɨ<EFBFBD><C9A8>
DLLAPI int CALLMETHOD Product_OvercodeGet_MAC(
_in_ char* Overcode_Value,
_in_ char* Batch_Value,
_out_ char* Scan_MAC
);
//<2F><>BIND_SN<53><4E><EFBFBD><EFBFBD><EFBFBD>Σ<EFBFBD>MAC<41><43><EFBFBD><EFBFBD><EFBFBD>򣬻<EFBFBD>ȡSN<53><4E>
DLLAPI int CALLMETHOD Product_BindSNGet_NewSN(
_in_ char* Customer_Value,
_in_ char* Batch_Value,
_in_ char* Type_Value,
_in_ char* SNPFX_Value,
_in_ int SN_Length,
_in_ char* BIND_SN,
_out_ char* New_SN
);
// <20><>BindSN<53><4E><EFBFBD><EFBFBD>ȡSN
// select sn from mes_keymac_maintain where BIND_SN='740447A29003F';
// DLLAPI int CALLMETHOD Product_BindSN_GetSN(
// _out_ char* SN_Value,
// _out_ char* Product_Batch,
// _in_ char* Bind_SN
// );
//<2F><>ͨ<EFBFBD><CDA8>SN<53><4E><EFBFBD><EFBFBD><EFBFBD>Σ<EFBFBD><CEA3><EFBFBD><EFBFBD><EFBFBD>,<2C><>ȡKEY
//select MES_OtherDep_Call_pkg.f_GetKEYBySN('OP1751002MA00001TL','OP1751002', 'KEY')from dual
DLLAPI int CALLMETHOD Product_BindSN_GetKEY(
_in_ char* PSN_Value,
_in_ char* Product_Batch,
_in_ char* Product_Type,
_out_ char* KEY_Value,
_in_ int KEY_Value_Size
);
//<2F><>ͨ<EFBFBD><CDA8>SN<53><4E><EFBFBD><EFBFBD><EFBFBD>Σ<EFBFBD><CEA3><EFBFBD><EFBFBD><EFBFBD>,<2C><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>Ƶ<EFBFBD>KEY
//select MES_OtherDep_Call_pkg.f_GetBinKEYBySN('70C94EB00D21','STG181601','KEY') from dual
DLLAPI int CALLMETHOD Product_SN_GetBINKEY(
_in_ char* PSN_Value,
_in_ char* Product_Batch,
_in_ char* Product_Type,
_out_ char* KEY_Value,
_in_ int KEY_Value_Size
);
//<2F><>ͨ<EFBFBD><CDA8>SN<53><4E><EFBFBD><EFBFBD><EFBFBD>Σ<EFBFBD><CEA3><EFBFBD><EFBFBD><EFBFBD>,<2C><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>Ƶ<EFBFBD>KEY
//select MES_OtherDep_Call_pkg.f_GetBinKEYBySN('70C94EB00D21','STG181601','KEY') from dual
DLLAPI int CALLMETHOD Product_SN_GetBINKEY_SaveFile(
_in_ char* PSN_Value,
_in_ char* Product_Batch,
_in_ char* Product_Type,
_in_ char* Product_SavePath,
_out_ char* KEY_Value,
_in_ int KEY_Value_Size
);
//<2F><>ͨ<EFBFBD><CDA8>Bind SN<53><4E><EFBFBD><EFBFBD><EFBFBD>Σ<EFBFBD><CEA3><EFBFBD><EFBFBD><EFBFBD>,<2C><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>Ƶ<EFBFBD>KEY
// select mes_otherdep_call_pkg.f_GetBinKEYByScancode('ABC','STG181601','KEY') from dual
DLLAPI int CALLMETHOD Product_BindSN_GetBINKEY(
_in_ char* PSN_Value,
_in_ char* Product_Batch,
_in_ char* Product_Type,
_out_ char* KEY_Value,
_in_ int KEY_Value_Size
);
//<2F><>ͨ<EFBFBD><CDA8>SN<53><4E><EFBFBD><EFBFBD><EFBFBD>Σ<EFBFBD><CEA3><EFBFBD><EFBFBD><EFBFBD>,<2C><>ȡָ<C8A1><D6B8><EFBFBD><EFBFBD>KEY
//select MES_OtherDep_Call_pkg.f_GetALDDKEYBySN('0104IBW180101N000001', 'GTR180706','KEY') from dual
DLLAPI int CALLMETHOD Product_SN_GetKEY(
_in_ char* PSN_Value,
_in_ char* Product_Batch,
_in_ char* Product_Type,
_out_ char* KEY_Value,
_in_ int KEY_Value_Size
);
//<2F><>ȡKEY<45><59><EFBFBD><EFBFBD><EFBFBD>ݹ<EFBFBD>ϣֵ
//select dbms_utility.get_hash_value(
//'2EFB1BDC30FF4707*304502210082780E7EE9A33C854C846C32FE244AEAFFE3D7C9DCC990993A98885AB84D102A0220537CA4973A2E54896DCC13FB0ABE547135F5CC1A630A8F1FB67B4E5141339F74',
//1,1000000000) as l_hash from dual
DLLAPI int CALLMETHOD Product_GetKEY_DBHashValue(
_in_ char* KEY_Value,
_out_ char* Hash_Value
);
//<2F><>Ϊ<EFBFBD><CEAA><EFBFBD>ƽӿ<C6BD> 2020-08-14 <20><>ȡ<EFBFBD><C8A1>ӡ<EFBFBD>ӿ<EFBFBD>
//select mes_script_pkg.getScriptContent(p_trace_num =>'HW2036069',p_script_type =>'EQUIPMENT')from dual;
//<2F><>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ڶ<EFBFBD><DAB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͣ<EFBFBD><CDA3><EFBFBD>EQUIPMENT<4E><54><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PRINT<4E><54><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD Product_GetScriptContent(
_in_ char* Product_Batch,
_in_ char* Product_Type,
_out_ char* KEY_Value,
_in_ int KEY_Value_Size
);
//2021-06-24 <20><>ȡKEY
//select mes_otherdep_call_pkg.f_getBinbyMAC('GTR212501','KEY','305075F60DD4') from dual
//<2F><>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ڶ<EFBFBD><DAB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͣ<EFBFBD><CDA3><EFBFBD>EQUIPMENT<4E><54><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PRINT<4E><54><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD Product_GetKEYBinbyMAC(
_in_ char* Product_Batch,
_in_ char* Product_Type,
_in_ char* Product_MAC,
_out_ char* KEY_Value,
_in_ int KEY_Value_Size
);
/************************************************************************/
/* MAC&KEY */
/* 2017411 */
/* Lory */
/************************************************************************/
/************************************************************************/
/* <20><><EFBFBD><EFBFBD><EFBFBD>򿨻<EFBFBD><F2BFA8BB><EFBFBD><EFBFBD>ݽӿ<DDBD> */
/* 20170411 */
/* Lory */
/************************************************************************/
DLLAPI int CALLMETHOD Ali_GetBatch(
_in_ char* ModelName,
_out_ char* BatchValue
);
DLLAPI int CALLMETHOD Ali_GetSNRange(
_in_ char* Batch,
_out_ char* SNRange_Value
);
/************************************************************************/
/* <20><><EFBFBD><EFBFBD><EFBFBD>򿨻<EFBFBD><F2BFA8BB><EFBFBD><EFBFBD>ݽӿ<DDBD> */
/* 20170411 */
/* Lory */
/************************************************************************/
/************************************************************************/
/* Ф<><D0A4><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>DLL<4C><4C>ֲ<EFBFBD><D6B2><EFBFBD><EFBFBD><EFBFBD>ĺ<EFBFBD><C4BA><EFBFBD> */
/* 20170415 */
/* Lory */
/************************************************************************/
//<2F><><EFBFBD><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD InsertData(
_in_ char* TableName,
_in_ char* FieldName,
_in_ char* Value
);
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD UpdateData(
_in_ char* TableName,
_in_ char* FieldName2Update,
_in_ char* Value2Update,
_in_ char* FieldNameOfCondition,
_in_ char* ValueOfCondition
);
//<2F><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD GetData(
_in_ char* TableName,
_in_ char* FieldName,
_out_ char* Value,
_in_ int SizeOfValue,
_in_ char* FieldNameOfCondition,
_in_ char* ValueOfCondition
);
DLLAPI int CALLMETHOD GetDbTimeStamp(
_out_ char* DbTimeStamp
);
DLLAPI int CALLMETHOD GetDbTime(
_out_ char* DbTime
);
//SONY_BTSPK_ATS<54><53><EFBFBD><EFBFBD><EFBFBD><EFBFBD>SN<53>ظ<EFBFBD>
DLLAPI int CALLMETHOD BtSpkCheckSN(
_in_ char* SN,
_out_ char* YorN
);
//HW_C1<43><31><EFBFBD><EFBFBD><EFBFBD>󶨽<EFBFBD><F3B6A8BD><EFBFBD>
DLLAPI int CALLMETHOD p_CheckSeqResult(
_in_ char* Batch,
_in_ char* SN,
_out_ char* YorN
);
//<2F><>ѯSONY<4E><59>Ʒ<EFBFBD><C6B7>Ϣ
DLLAPI int CALLMETHOD ATS_SelectSONYInfo(
_in_ char * BatchNumber,
_out_ char * SONYInfo
);
/************************************************************************/
/* Ф<><D0A4><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>DLL<4C><4C>ֲ<EFBFBD><D6B2><EFBFBD><EFBFBD><EFBFBD>ĺ<EFBFBD><C4BA><EFBFBD> */
/* 20170415 */
/* Lory */
/************************************************************************/
/************************************************************************/
/* <20><>׼<EFBFBD><D7BC><EFBFBD><EFBFBD>IT<49>ӿں<D3BF><DABA><EFBFBD> */
/* 20171113 */
/* Lory */
/************************************************************************/
DLLAPI int CALLMETHOD ATS_CALL_IT_SQL_API(
_in_ char * SQL_API,
_out_ char * Result_Str,
_in_ int length_max
);
/************************************************************************/
/* <20><>׼<EFBFBD><D7BC><EFBFBD><EFBFBD>IT<49>ӿں<D3BF><DABA><EFBFBD> */
/* 20171113 */
/* Lory */
/************************************************************************/

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,605 @@
#pragma once
#pragma warning(disable:4996)
#ifdef DLLEXPORT
#define DLLAPI __declspec(dllexport)
#else
#define DLLAPI __declspec(dllimport)
#endif
#define CALLMETHOD __cdecl//__cdecl//__stdcall
#define _in_
#define _out_
/************************************************************************/
/* <20><>վ<EFBFBD><D5BE><EFBFBD><EFBFBD> */
/* 20160923 */
/* Lory */
/************************************************************************/
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>
DLLAPI int CALLMETHOD TestConnect(_in_ int conn);
//дlog
DLLAPI int CALLMETHOD WriteLog(_in_ char *Errorstring);
//<2F><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD>·<EFBFBD><C2B7>
DLLAPI int CALLMETHOD Get_ExePath(_out_ char* exePath);
//<2F><>ѯ<EFBFBD><D1AF><EFBFBD>ϱ<EFBFBD><CFB1><EFBFBD>
DLLAPI int CALLMETHOD ATS_SelectMaterialCode(_in_ char * BatchNumber, _out_ char * MaterialCode);
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD ATS_InsertRoutMaintain(
_in_ char * MaterialCode,
_in_ char * ATSStationName,
_in_ char * Test_Number,
_in_ char * Test_NameVaule
);
//<2F><>ѯ<EFBFBD><D1AF><EFBFBD><EFBFBD>վ<EFBFBD><D5BE><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD ATS_SelectATSStationName(_in_ char * MaterialCode, _out_ char * ATSStationName);
//<2F><>ѯSN<53>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD>Բ<EFBFBD><D4B2><EFBFBD>
DLLAPI int CALLMETHOD ATS_SelectTestYorN(
_in_ char* MainSN,
_in_ char* ATSStationName,
_in_ char* MaterialCode,
_out_ char* TestYorN
);
DLLAPI int CALLMETHOD ATS_SelectTestYorN_Batch(
_in_ char* MainSN,
_in_ char* ATSStationName,
_in_ char* MaterialCode,
_in_ char* Batch,
_out_ char* TestYorN
);
DLLAPI int CALLMETHOD ATS_SelectTestYorN_Batch_LineName(
_in_ char* MainSN,
_in_ char* ATSStationName,
_in_ char* MaterialCode,
_in_ char* Batch,
_in_ char* LineName,
_in_ char* Value2,
_in_ char* Value3,
_out_ char* TestYorN
);
//<2F>ϴ<EFBFBD><CFB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD HW_InsertDataRow(
_in_ char *strmodel,
_in_ char *strbatch,
_in_ char *strlocation,
_in_ char *strstation,
_in_ char *strsn,
_in_ int iresult,
_in_ char *strkeys,
_in_ char *strvalues
);
DLLAPI int CALLMETHOD ATS_InsertDataRow_JIG(
_in_ char *strmodel,
_in_ char *strbatch,
_in_ char *strlocation,
_in_ char *strstation,
_in_ char *strsn,
_in_ int iresult,
_in_ char * errorinfo,
_in_ char * JIG_Number,
_in_ char *strkeys,
_in_ char *strvalues
);
DLLAPI int CALLMETHOD ATS_InsertDataRow_JIG_V2(
_in_ char *strlinename,//<2F>߱<EFBFBD><DFB1><EFBFBD><EFBFBD><EFBFBD>
_in_ char *strbatch,//<2F><><EFBFBD><EFBFBD>
_in_ char *strlocation,//<2F><><EFBFBD>ϱ<EFBFBD><CFB1><EFBFBD>
_in_ char *strstation,//վ<><D5BE>
_in_ char *strsn,//<2F><>վ<EFBFBD><D5BE><EFBFBD><EFBFBD>
_in_ int iresult,//<2F><><EFBFBD>Խ<EFBFBD><D4BD><EFBFBD>
_in_ char * errorinfo,//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ
_in_ char * JIG_Number,//<2F><><EFBFBD>ܱ<EFBFBD><DCB1><EFBFBD>
_in_ char *strswversion,//<2F><><EFBFBD><EFBFBD><EFBFBD>
_in_ char *strremark, //<2F><>ע
_in_ char *strkeys,//<2F><><EFBFBD><EFBFBD>
_in_ char *strvalues//ֵ
);
DLLAPI int CALLMETHOD ATS_InsertDataRow(
_in_ char *strmodel,
_in_ char *strbatch,
_in_ char *strlocation,
_in_ char *strstation,
_in_ char *strsn,
_in_ int iresult,
_in_ char * errorinfo,
_in_ char *strkeys,
_in_ char *strvalues
);
//ֻ<>ϴ<EFBFBD><CFB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD MES_OnlyInsertDataRow(
_in_ char *strmodel,
_in_ char *strbatch,
_in_ char *strlocation,
_in_ char *strstation,
_in_ char *strsn,
_in_ int iresult,
_in_ char *strkeys,
_in_ char *strvalues
);
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD ATS_InsertErrorData(int Test_ID, char * Test_errorinfo);
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD ATS_InsertJIGNumber(int Test_ID, char * JIGNumber);
//<2F><><EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD><CFB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʒϵͳ//<2F><><EFBFBD><EFBFBD><EFBFBD>ӿڸ<D3BF><DAB8>£<EFBFBD><C2A3><EFBFBD><EFBFBD><EFBFBD>ֻ<EFBFBD><D6BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD ATS_InsertFailCode(
_in_ char* Product_Batch,//<2F><><EFBFBD><EFBFBD>
_in_ char* Product_BarCode,//<2F><>վ<EFBFBD><D5BE><EFBFBD><EFBFBD>
_in_ char* Product_Line_naem,//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
_in_ char* Product_StationName,//վ<><D5BE>
_in_ int Product_Repeat_Times=3 //<2F>ز<EFBFBD><D8B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD>3
);
//<2F><><EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD><CFB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʒϵͳ
DLLAPI int CALLMETHOD ATS_InsertFailCode_V2(
_in_ char* Product_Batch,//<2F><><EFBFBD><EFBFBD>
_in_ char* Product_BarCode,//<2F><>վ<EFBFBD><D5BE><EFBFBD><EFBFBD>
_in_ char* Product_Line_naem,//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
_in_ char* Product_StationName,//վ<><D5BE>
_in_ char* Product_MaterialCode,//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD>ϱ<EFBFBD><CFB1><EFBFBD>
_in_ int Product_Repeat_Times = 3 //<2F>ز<EFBFBD><D8B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD>3
);
//1<><31><EFBFBD>µĹ<C2B5>վ<EFBFBD><D5BE><EFBFBD>ݱ<EFBFBD><DDB1>в<EFBFBD><D0B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD ATS_InsertTestData(
int Test_ID,
char *Test_Vaule
);
DLLAPI int CALLMETHOD ATS_InsertTestResult(
_in_ char *strbatch,
_in_ char *strsn,
_in_ char *strstation,
_in_ int iresult
);
/*
*/
DLLAPI int CALLMETHOD ATS_InsertTestResult_V2(
_in_ char *strbatch,//<2F><><EFBFBD><EFBFBD>
_in_ char *strsn,//<2F><>վ<EFBFBD><D5BE><EFBFBD><EFBFBD>
_in_ char *strstation,//վ<><D5BE>
_in_ char *strlinename,//<2F>߱<EFBFBD><DFB1><EFBFBD><EFBFBD><EFBFBD>
_in_ char *strlocation,//<2F><><EFBFBD>ϱ<EFBFBD><CFB1><EFBFBD>
_in_ char *strswversion,//<2F><><EFBFBD><EFBFBD><EFBFBD>
_in_ char *strremark,//<2F><>ע
_in_ int iresult//<2F><><EFBFBD>Խ<EFBFBD><D4BD><EFBFBD>
);
DLLAPI int CALLMETHOD ATS_InsertDataRow_OFFLINE_V2(
_in_ char *strlinename,//<2F>߱<EFBFBD><DFB1><EFBFBD><EFBFBD><EFBFBD>
_in_ char *strbatch,//<2F><><EFBFBD><EFBFBD>
_in_ char *strlocation,//<2F><><EFBFBD>ϱ<EFBFBD><CFB1><EFBFBD>
_in_ char *strstation,//վ<><D5BE>
_in_ char *strsn,//<2F><>վ<EFBFBD><D5BE><EFBFBD><EFBFBD>
_in_ int iresult,//<2F><><EFBFBD>Խ<EFBFBD><D4BD><EFBFBD>
_in_ char * errorinfo,//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ
_in_ char * JIG_Number,//<2F><><EFBFBD>ܱ<EFBFBD><DCB1><EFBFBD>
_in_ char *strswversion,//<2F><><EFBFBD><EFBFBD><EFBFBD>
_in_ char *strremark, //<2F><>ע
_in_ char *strkeys,//<2F><><EFBFBD><EFBFBD>
_in_ char *strvalues//ֵ
);
/*
select mes_station_ctrl_test.inserttestresult_offline(p_tracenum => '',--<2D><><EFBFBD><EFBFBD>
p_ser_no => '',--ɨ<><C9A8><EFBFBD><EFBFBD>
p_seq_no => '',--<2D><>վ
p_prod_line_name => '',--<2D><><EFBFBD><EFBFBD><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
p_item_code => '',--<2D><><EFBFBD>ϱ<EFBFBD><CFB1><EFBFBD><EBA3A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
p_soft_ver => '',--<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E6B1BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
p_remark => '',--<2D><>ע<EFBFBD><D7A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
P_result => ''--<2D><><EFBFBD><EFBFBD>
) FROM dual
*/
DLLAPI int CALLMETHOD ATS_OffLine_InsertResult_V2(
_in_ char *strbatch,
_in_ char *strsn,
_in_ char *strstation,
_in_ char *strlinename,
_in_ char *strlocation,
_in_ char *strswversion,
_in_ char *strremark,
_in_ int iresult
);
/************************************************************************/
/* <20><>վ<EFBFBD><D5BE><EFBFBD><EFBFBD> */
/* 20160923 */
/* Lory */
/************************************************************************/
/************************************************************************/
/* <20>ϴ<EFBFBD><CFB4><EFBFBD><EFBFBD><EFBFBD> */
/* 20170104 */
/* Lory */
/************************************************************************/
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD InsertTwoData(
_in_ char* TableName,
_in_ char* FieldName,
_in_ char* Value,
_in_ char* FieldName2,
_in_ char* Value2
);
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݣ<EFBFBD><DDA3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD UpdateDataTwoCondition(
_in_ char* TableName,
_in_ char* FieldName2Update,
_in_ char* Value2Update,
_in_ char* FieldNameOfCondition,
_in_ char* ValueOfCondition,
_in_ char* FieldNameOfCondition2,
_in_ char* ValueOfCondition2
);
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݣ<EFBFBD><DDA3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD UpdateOneDataTwoCondition(
_in_ char* TableName,
_in_ char* Update_ColName,
_in_ char* Update_ColVaule,
_in_ char* FieldNameOfCondition,
_in_ char* ValueOfCondition,
_in_ char* FieldNameOfCondition2,
_in_ char* ValueOfCondition2
);
//<2F><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD>,<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>򣬻<EFBFBD>ȡ<EFBFBD><C8A1>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD GetDataOrderBy(
_in_ char* TableName,
_in_ char* FieldName,
_out_ char* Value,
_in_ int SizeOfValue,
_in_ char* FieldNameOfCondition,
_in_ char* ValueOfCondition,
_in_ char* OrderByAscOrDesc//DESC <20><><EFBFBD><EFBFBD> ASC <20><><EFBFBD><EFBFBD>
);
//<2F><><EFBFBD><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD InsertOneRowData(
_in_ char* INSERT_ColName,
_in_ char* INSERT_ColVaule,
_in_ char* TableName
);
//<2F><><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD>е<EFBFBD><D0B5><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD UpdateOneRowData(
_in_ char* Update_ColName,
_in_ char* Update_ColVaule,
_in_ char* TableName,
_in_ char* FieldNameOfCondition,
_in_ char* ValueOfCondition
);
//<2F><>ѯָ<D1AF><D6B8><EFBFBD>е<EFBFBD><D0B5><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD SelectOneRowData(
_in_ char* Select_ColName,
_out_ char* Select_ColVaule,
_in_ char* TableName,
_in_ char* FieldNameOfCondition,
_in_ char* ValueOfCondition
);
//SLM-D MES wisillica <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>
DLLAPI int CALLMETHOD Insert_WisillicaData(
_in_ char* Wisillica_Batch,
_in_ char* Wisillica_SN,
_in_ char* Wisillica_SWversion,
_in_ char* Wisillica_RSSI,
_in_ char* Wisillica_VCCorLDA_MAX,
_in_ char* Wisillica_GNDorLDA_MIN,
_in_ char* Wisillica_GPIO1orPIR,
_in_ char* Wisillica_GPIO2,
_in_ char* Wisillica_RX,
_in_ char* Wisillica_TX,
_in_ char* Wisillica_Channel1orSwitch1,
_in_ char* Wisillica_Channel_50,
_in_ char* Wisillica_Channel_100,
_in_ char* Wisillica_channel2orSwitch2,
_in_ char* Wisillica_Channe2_50,
_in_ char* Wisillica_Channe2_100,
_in_ char* Wisillica_RED,
_in_ char* Wisillica_GREEN,
_in_ char* Wisillica_BLUE,
_in_ char* Wisillica_TEMPERATURE,
_in_ char* Wisillica_HUMIDITY,
_in_ char* Wisillica_okflag
);
/************************************************************************/
/* <20>ϴ<EFBFBD><CFB4><EFBFBD><EFBFBD><EFBFBD> */
/* 20170104 */
/* Lory */
/************************************************************************/
/************************************************************************/
/* MAC&KEY */
/* 2017411 */
/* Lory */
/************************************************************************/
//ͨ<><CDA8>MAC<41><43><EFBFBD><EFBFBD><EFBFBD>Σ<EFBFBD><CEA3><EFBFBD><EFBFBD><EFBFBD>,<2C><>ȡSN
DLLAPI int CALLMETHOD Product_GetSNorMAC(
_in_ char* WifiMAC,
_in_ char* Product_Batch,
_in_ char* Product_Type,
_out_ char* SN_Value
);
//<2F><>ȡ<EFBFBD><C8A1><EFBFBD>εĵ<CEB5>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB>MAC
DLLAPI int CALLMETHOD MES_GetMACorSN_OrderByData(
_in_ char *StrBatch,
_in_ char *StrType,
_in_ char *OrderByAscOrDesc,
_out_ char* SN_Value
);
//ͨ<><CDA8>SN<53><4E><EFBFBD><EFBFBD><EFBFBD>Σ<EFBFBD><CEA3><EFBFBD><EFBFBD><EFBFBD>,<2C><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>MAC
DLLAPI int CALLMETHOD Product_GetTwoSNorMAC(
_in_ char* WifiMAC,
_in_ char* Product_Batch,
_in_ char* Product_Type,
_out_ char* SN_Value
);
//<2F><>SN<53><4E><EFBFBD><EFBFBD><EFBFBD>Σ<EFBFBD><CEA3><EFBFBD><EFBFBD><EFBFBD>,MAC<41>γ<EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD>¼
//SN_Value_Two <20><><EFBFBD><EFBFBD>SN<53><4E>
//SN_Value_One <20><><EFBFBD><EFBFBD>ONE<4E><45>
//<2F><><EFBFBD>в<EFBFBD><D0B2><EFBFBD>ǿ<EFBFBD>ƴ<EFBFBD>д
//select mes_otherdep_call_pkg.SnMacBind_ZJ('HY1731034','ZJ_SN', 'R273050217234', '00:22:6C:87:E5:D0') from dual
DLLAPI int CALLMETHOD Product_SnMacBind(
_in_ char* Product_Batch,
_in_ char* Product_Type,
_in_ char* SN_Value_One,
_in_ char* SN_Value_Two
);
//<2F><>SN<53><4E><EFBFBD><EFBFBD><EFBFBD>µ<EFBFBD>MAC<41><43>ֵ<EFBFBD><D6B5><EFBFBD><EFBFBD><EFBFBD>γ<EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD>¼
//select mes_otherdep_call_pkg.f_BindSN_SN('batch','type', 'sn', 'bind_sn') from dual;
DLLAPI int CALLMETHOD Product_SnBD_BindSN(
_in_ char* Product_Batch,
_in_ char* Product_Type,
_in_ char* SN_Value,
_in_ char* Bind_SN
);
//<2F><>SN<53><4E><EFBFBD><EFBFBD>ȡBindSN
//select mes_otherdep_call_pkg.getBindSnbySN('6C5AB5532276') from dual;
DLLAPI int CALLMETHOD Product_SnGet_BindSN(
_in_ char* SN_Value,
_out_ char* Bind_SN
);
//<2F>ù<EFBFBD><C3B9><EFBFBD><EFBFBD><EFBFBD><EBA3AC>ȡMAC<41><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Դ<EFBFBD><D4B4>Ͷ<EFBFBD><CDB6>λ<EFBFBD>Ĺ<EFBFBD><C4B9><EFBFBD>ɨ<EFBFBD><C9A8>
DLLAPI int CALLMETHOD Product_OvercodeGet_MAC(
_in_ char* Overcode_Value,
_in_ char* Batch_Value,
_out_ char* Scan_MAC
);
//<2F><>BIND_SN<53><4E><EFBFBD><EFBFBD><EFBFBD>Σ<EFBFBD>MAC<41><43><EFBFBD><EFBFBD><EFBFBD>򣬻<EFBFBD>ȡSN<53><4E>
DLLAPI int CALLMETHOD Product_BindSNGet_NewSN(
_in_ char* Customer_Value,
_in_ char* Batch_Value,
_in_ char* Type_Value,
_in_ char* SNPFX_Value,
_in_ int SN_Length,
_in_ char* BIND_SN,
_out_ char* New_SN
);
// <20><>BindSN<53><4E><EFBFBD><EFBFBD>ȡSN
// select sn from mes_keymac_maintain where BIND_SN='740447A29003F';
// DLLAPI int CALLMETHOD Product_BindSN_GetSN(
// _out_ char* SN_Value,
// _out_ char* Product_Batch,
// _in_ char* Bind_SN
// );
//<2F><>ͨ<EFBFBD><CDA8>SN<53><4E><EFBFBD><EFBFBD><EFBFBD>Σ<EFBFBD><CEA3><EFBFBD><EFBFBD><EFBFBD>,<2C><>ȡKEY
//select MES_OtherDep_Call_pkg.f_GetKEYBySN('OP1751002MA00001TL','OP1751002', 'KEY')from dual
DLLAPI int CALLMETHOD Product_BindSN_GetKEY(
_in_ char* PSN_Value,
_in_ char* Product_Batch,
_in_ char* Product_Type,
_out_ char* KEY_Value,
_in_ int KEY_Value_Size
);
//<2F><>ͨ<EFBFBD><CDA8>SN<53><4E><EFBFBD><EFBFBD><EFBFBD>Σ<EFBFBD><CEA3><EFBFBD><EFBFBD><EFBFBD>,<2C><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>Ƶ<EFBFBD>KEY
//select MES_OtherDep_Call_pkg.f_GetBinKEYBySN('70C94EB00D21','STG181601','KEY') from dual
DLLAPI int CALLMETHOD Product_SN_GetBINKEY(
_in_ char* PSN_Value,
_in_ char* Product_Batch,
_in_ char* Product_Type,
_out_ char* KEY_Value,
_in_ int KEY_Value_Size
);
//<2F><>ͨ<EFBFBD><CDA8>SN<53><4E><EFBFBD><EFBFBD><EFBFBD>Σ<EFBFBD><CEA3><EFBFBD><EFBFBD><EFBFBD>,<2C><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>Ƶ<EFBFBD>KEY
//select MES_OtherDep_Call_pkg.f_GetBinKEYBySN('70C94EB00D21','STG181601','KEY') from dual
DLLAPI int CALLMETHOD Product_SN_GetBINKEY_SaveFile(
_in_ char* PSN_Value,
_in_ char* Product_Batch,
_in_ char* Product_Type,
_in_ char* Product_SavePath,
_out_ char* KEY_Value,
_in_ int KEY_Value_Size
);
//<2F><>ͨ<EFBFBD><CDA8>Bind SN<53><4E><EFBFBD><EFBFBD><EFBFBD>Σ<EFBFBD><CEA3><EFBFBD><EFBFBD><EFBFBD>,<2C><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>Ƶ<EFBFBD>KEY
// select mes_otherdep_call_pkg.f_GetBinKEYByScancode('ABC','STG181601','KEY') from dual
DLLAPI int CALLMETHOD Product_BindSN_GetBINKEY(
_in_ char* PSN_Value,
_in_ char* Product_Batch,
_in_ char* Product_Type,
_out_ char* KEY_Value,
_in_ int KEY_Value_Size
);
//<2F><>ͨ<EFBFBD><CDA8>SN<53><4E><EFBFBD><EFBFBD><EFBFBD>Σ<EFBFBD><CEA3><EFBFBD><EFBFBD><EFBFBD>,<2C><>ȡָ<C8A1><D6B8><EFBFBD><EFBFBD>KEY
//select MES_OtherDep_Call_pkg.f_GetALDDKEYBySN('0104IBW180101N000001', 'GTR180706','KEY') from dual
DLLAPI int CALLMETHOD Product_SN_GetKEY(
_in_ char* PSN_Value,
_in_ char* Product_Batch,
_in_ char* Product_Type,
_out_ char* KEY_Value,
_in_ int KEY_Value_Size
);
//<2F><>ȡKEY<45><59><EFBFBD><EFBFBD><EFBFBD>ݹ<EFBFBD>ϣֵ
//select dbms_utility.get_hash_value(
//'2EFB1BDC30FF4707*304502210082780E7EE9A33C854C846C32FE244AEAFFE3D7C9DCC990993A98885AB84D102A0220537CA4973A2E54896DCC13FB0ABE547135F5CC1A630A8F1FB67B4E5141339F74',
//1,1000000000) as l_hash from dual
DLLAPI int CALLMETHOD Product_GetKEY_DBHashValue(
_in_ char* KEY_Value,
_out_ char* Hash_Value
);
//<2F><>Ϊ<EFBFBD><CEAA><EFBFBD>ƽӿ<C6BD> 2020-08-14 <20><>ȡ<EFBFBD><C8A1>ӡ<EFBFBD>ӿ<EFBFBD>
//select mes_script_pkg.getScriptContent(p_trace_num =>'HW2036069',p_script_type =>'EQUIPMENT')from dual;
//<2F><>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ڶ<EFBFBD><DAB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͣ<EFBFBD><CDA3><EFBFBD>EQUIPMENT<4E><54><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PRINT<4E><54><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD Product_GetScriptContent(
_in_ char* Product_Batch,
_in_ char* Product_Type,
_out_ char* KEY_Value,
_in_ int KEY_Value_Size
);
//2021-06-24 <20><>ȡKEY
//select mes_otherdep_call_pkg.f_getBinbyMAC('GTR212501','KEY','305075F60DD4') from dual
//<2F><>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ڶ<EFBFBD><DAB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͣ<EFBFBD><CDA3><EFBFBD>EQUIPMENT<4E><54><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PRINT<4E><54><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD Product_GetKEYBinbyMAC(
_in_ char* Product_Batch,
_in_ char* Product_Type,
_in_ char* Product_MAC,
_out_ char* KEY_Value,
_in_ int KEY_Value_Size
);
/************************************************************************/
/* MAC&KEY */
/* 2017411 */
/* Lory */
/************************************************************************/
/************************************************************************/
/* <20><><EFBFBD><EFBFBD><EFBFBD>򿨻<EFBFBD><F2BFA8BB><EFBFBD><EFBFBD>ݽӿ<DDBD> */
/* 20170411 */
/* Lory */
/************************************************************************/
DLLAPI int CALLMETHOD Ali_GetBatch(
_in_ char* ModelName,
_out_ char* BatchValue
);
DLLAPI int CALLMETHOD Ali_GetSNRange(
_in_ char* Batch,
_out_ char* SNRange_Value
);
/************************************************************************/
/* <20><><EFBFBD><EFBFBD><EFBFBD>򿨻<EFBFBD><F2BFA8BB><EFBFBD><EFBFBD>ݽӿ<DDBD> */
/* 20170411 */
/* Lory */
/************************************************************************/
/************************************************************************/
/* Ф<><D0A4><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>DLL<4C><4C>ֲ<EFBFBD><D6B2><EFBFBD><EFBFBD><EFBFBD>ĺ<EFBFBD><C4BA><EFBFBD> */
/* 20170415 */
/* Lory */
/************************************************************************/
//<2F><><EFBFBD><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD InsertData(
_in_ char* TableName,
_in_ char* FieldName,
_in_ char* Value
);
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD UpdateData(
_in_ char* TableName,
_in_ char* FieldName2Update,
_in_ char* Value2Update,
_in_ char* FieldNameOfCondition,
_in_ char* ValueOfCondition
);
//<2F><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD>
DLLAPI int CALLMETHOD GetData(
_in_ char* TableName,
_in_ char* FieldName,
_out_ char* Value,
_in_ int SizeOfValue,
_in_ char* FieldNameOfCondition,
_in_ char* ValueOfCondition
);
DLLAPI int CALLMETHOD GetDbTimeStamp(
_out_ char* DbTimeStamp
);
DLLAPI int CALLMETHOD GetDbTime(
_out_ char* DbTime
);
//SONY_BTSPK_ATS<54><53><EFBFBD><EFBFBD><EFBFBD><EFBFBD>SN<53>ظ<EFBFBD>
DLLAPI int CALLMETHOD BtSpkCheckSN(
_in_ char* SN,
_out_ char* YorN
);
//HW_C1<43><31><EFBFBD><EFBFBD><EFBFBD>󶨽<EFBFBD><F3B6A8BD><EFBFBD>
DLLAPI int CALLMETHOD p_CheckSeqResult(
_in_ char* Batch,
_in_ char* SN,
_out_ char* YorN
);
//<2F><>ѯSONY<4E><59>Ʒ<EFBFBD><C6B7>Ϣ
DLLAPI int CALLMETHOD ATS_SelectSONYInfo(
_in_ char * BatchNumber,
_out_ char * SONYInfo
);
/************************************************************************/
/* Ф<><D0A4><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>DLL<4C><4C>ֲ<EFBFBD><D6B2><EFBFBD><EFBFBD><EFBFBD>ĺ<EFBFBD><C4BA><EFBFBD> */
/* 20170415 */
/* Lory */
/************************************************************************/
/************************************************************************/
/* <20><>׼<EFBFBD><D7BC><EFBFBD><EFBFBD>IT<49>ӿں<D3BF><DABA><EFBFBD> */
/* 20171113 */
/* Lory */
/************************************************************************/
DLLAPI int CALLMETHOD ATS_CALL_IT_SQL_API(
_in_ char * SQL_API,
_out_ char * Result_Str,
_in_ int length_max
);
/************************************************************************/
/* <20><>׼<EFBFBD><D7BC><EFBFBD><EFBFBD>IT<49>ӿں<D3BF><DABA><EFBFBD> */
/* 20171113 */
/* Lory */
/************************************************************************/

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,13 @@
[Mes]
strlinename=2
strlocation=080303-070240
strbatch=GT24170007020
strstation=MT015<31><35><EFBFBD><EFBFBD><EFBFBD>Բ<EFBFBD><D4B2><EFBFBD>
JIG_Number1=4C-CC-6A-ED-7C-03
[set]
Station=1
CodeLength=13
ScanCode=true
ChkPass1=true
ChkPass2=true

View File

@@ -0,0 +1,7 @@
[Port]
InstrumentPort1=COM7
InstrumentBaud1=9600
CodePort1=COM9
CodeBaud1=115200
CodePort2=COM11
CodeBaud2=115200

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
</dependentAssembly>
</assemblyBinding>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
</assemblyBinding>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.1.2" newVersion="4.0.1.2" />
</dependentAssembly>
</assemblyBinding>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Numerics.Vectors" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.1.4.0" newVersion="4.1.4.0" />
</dependentAssembly>
</assemblyBinding>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

View File

@@ -0,0 +1,18 @@
[System]
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD>=D:\HistoryData
<EFBFBD><EFBFBD>־<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>=30
<EFBFBD><EFBFBD>־<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>=1000
[<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>]
<EFBFBD><EFBFBD>Ŀ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>=TD4.8
<EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>=ˮ<EFBFBD>ܽ<EFBFBD>ͷ
<EFBFBD><EFBFBD>˾<EFBFBD><EFBFBD><EFBFBD><EFBFBD>=OPALUS
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>=<EFBFBD><EFBFBD><EFBFBD>ܲ<EFBFBD><EFBFBD>Ի<EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>Ի<EFBFBD>̨=2#
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ=<EFBFBD><EFBFBD><EFBFBD>ܲ<EFBFBD><EFBFBD><EFBFBD>
[<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>]
CH1<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>=11
CH2<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>=11
CH1<EFBFBD>Ƿ<EFBFBD>ɨ<EFBFBD><EFBFBD>=1
CH2<EFBFBD>Ƿ<EFBFBD>ɨ<EFBFBD><EFBFBD>=1
[PLC<4C><43><EFBFBD><EFBFBD>]
Modbus<EFBFBD>˿ں<EFBFBD>=COM11

View File

@@ -0,0 +1,9 @@
[Port]
InstrumentPort1=COM7
InstrumentBaud1=9600
CodePort1=COM10
CodeBaud1=9600
CodePort2=COM4
CodeBaud2=9600
Codeport=COM7
CodeBaudrate=9600

View File

@@ -0,0 +1,3 @@
[WH]
yyyyMMdd=20230603
CurrentSN=9999

View File

@@ -0,0 +1 @@
[{"group":"System","keyName":"数据文件夹","remark":"用来存放日志 配置 报警的数据的根目录","ischanged":false,"oldValue":"","v":"D:\\HistoryData","vTmp":"","bUseFlag":true,"userLevel":1},{"group":"System","keyName":"日志保存天数","remark":"","ischanged":false,"oldValue":"","v":"30","vTmp":"","bUseFlag":true,"userLevel":1},{"group":"PLC配置","keyName":"Modbus端口号","remark":"","ischanged":false,"oldValue":"","v":"COM11","vTmp":"","bUseFlag":true,"userLevel":1}]

View File

@@ -0,0 +1 @@
[{"group":"System","keyName":"数据文件夹","remark":"用来存放日志 配置 报警的数据的根目录","ischanged":false,"oldValue":"","v":"D:\\HistoryDataF","vTmp":"","bUseFlag":true,"userLevel":1},{"group":"System","keyName":"日志保存天数","remark":"","ischanged":false,"oldValue":"","v":"30","vTmp":"","bUseFlag":true,"userLevel":1},{"group":"System","keyName":"日志缓冲区的最大数量","remark":"","ischanged":false,"oldValue":"","v":"1000","vTmp":"","bUseFlag":true,"userLevel":1}]

View File

@@ -0,0 +1,8 @@
[Info]
sn=N2479000099
type=
message=检测压力= ;平衡时间= ;测试时间= ;当前压差= ;泄露值=
totaltime=0.8
starttime=2025/06/20 16:49:55
endtime=2025/06/20 16:49:56
result=

View File

@@ -0,0 +1,8 @@
[Info]
sn=N2479000099
type=
message=检测压力= ;充气时间= ;平衡时间= ;检测时间= ;排气时间= ;当前压差= ;泄露值= ;
totaltime=0.8
starttime=2025/06/20 16:55:44
endtime=2025/06/20 16:55:45
result=

View File

@@ -0,0 +1,8 @@
[Info]
sn=N2479000099
type=
message=检测压力= ;充气时间= ;平衡时间= ;检测时间= ;排气时间= ;当前压差= ;泄露值= ;
totaltime=0.8
starttime=2025/06/20 16:56:31
endtime=2025/06/20 16:56:32
result=

View File

@@ -0,0 +1,8 @@
[Info]
sn=N2479000099
type=
message=检测压力= ;充气时间= ;平衡时间= ;检测时间= ;排气时间= ;当前压差= ;泄露值= ;
totaltime=0.8
starttime=2025/06/20 16:59:25
endtime=2025/06/20 16:59:26
result=

View File

@@ -0,0 +1,8 @@
[Info]
sn=N2479000099
type=
message=检测压力= ;充气时间= ;平衡时间= ;检测时间= ;排气时间= ;当前压差= ;泄露值= ;
totaltime=0.8
starttime=2025/06/20 17:26:01
endtime=2025/06/20 17:26:02
result=

View File

@@ -0,0 +1,8 @@
[Info]
sn=N2479000099
type=
message=检测压力= ;充气时间= ;平衡时间= ;检测时间= ;排气时间= ;当前压差= ;泄露值= ;
totaltime=0.8
starttime=2025/06/20 17:26:01
endtime=2025/06/20 17:26:02
result=

View File

@@ -0,0 +1,8 @@
[Info]
sn=N2479000099
type=
message=检测压力=0;充气时间=0.2s;平衡时间=0.2s;检测时间=0.2s;排气时间=0.2s;泄露量=0.0;
totaltime=0.8
starttime=2025/06/20 17:50:53
endtime=2025/06/20 17:50:54
result=fail

View File

@@ -0,0 +1,8 @@
[Info]
sn=N2479000099
type=
message=检测压力=0;充气时间=0.2s;平衡时间=0.2s;检测时间=0.2s;排气时间=0.2s;泄露量=0.0;
totaltime=0.8
starttime=2025/06/20 17:53:07
endtime=2025/06/20 17:53:07
result=fail

View File

@@ -0,0 +1,8 @@
[Info]
sn=N2479000099
type=
message=检测压力=0;充气时间=0.2s;平衡时间=0.2s;检测时间=0.2s;排气时间=0.2s;泄露量=0.0;
totaltime=0.8
starttime=2025/06/20 17:53:07
endtime=2025/06/20 17:53:07
result=

View File

@@ -0,0 +1,8 @@
[Info]
sn=N2479000099
type=
message=检测压力=0;充气时间=0.2s;平衡时间=0.2s;检测时间=0.2s;排气时间=0.2s;当前压差=0;泄露量=0.0;
totaltime=0.8
starttime=2025/06/21 08:42:29
endtime=2025/06/21 08:42:30
result=fail

View File

@@ -0,0 +1,8 @@
[Info]
sn=N2479000099
type=
message=检测压力=0;充气时间=0.2s;平衡时间=0.2s;检测时间=0.2s;排气时间=0.2s;当前压差=0;泄露量=0.0;
totaltime=0.8
starttime=2025/06/21 08:42:29
endtime=2025/06/21 08:42:30
result=fail

View File

@@ -0,0 +1,8 @@
[Info]
sn=
type=
message=检测压力=0;充气时间=0s;平衡时间=0s;检测时间=0s;排气时间=0s;当前压差=0;泄露量=0.0;
totaltime=0
starttime=2025/06/20 18:22:04
endtime=2025/06/20 18:22:04
result=fail

View File

@@ -0,0 +1,8 @@
[Info]
sn=
type=
message=检测压力=0;充气时间=0s;平衡时间=0s;检测时间=0s;排气时间=0s;当前压差=0;泄露量=0.0;
totaltime=0
starttime=2025/06/20 18:22:04
endtime=2025/06/20 18:22:04
result=fail

View File

@@ -0,0 +1,6 @@
2024/7/24 15:23:48 3,GT24170007020,080303-070240,MT015气密性测试,,1,NA,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'','0.000KPa''0.000Pa'
2024/7/24 15:28:35 3,GT24170007020,080303-070240,MT015气密性测试,,1,NA,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'','0.000KPa''0.000Pa'
2024/7/24 15:31:00 3,GT24170007020,080303-070240,MT015气密性测试,123451234512345123451,1,NA,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'123451234512345123451','0.000KPa''0.000Pa'

View File

@@ -0,0 +1,16 @@
2024/8/1 16:38:39 2,GT24170007020,080303-070240,MT015气密性测试,,1,NA,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'','0.000KPa''0.000Pa'
2024/8/1 16:38:49 2,GT24170007020,080303-070240,MT015气密性测试,,1,NA,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'','0.000KPa''0.000Pa'
2024/8/1 16:38:58 2,GT24170007020,080303-070240,MT015气密性测试,,1,NA,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'','0.000KPa''0.000Pa'
2024/8/1 16:39:11 2,GT24170007020,080303-070240,MT015气密性测试,,1,NA,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'','0.000KPa''0.000Pa'
2024/8/1 16:39:17 2,GT24170007020,080303-070240,MT015气密性测试,,1,NA,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'','0.000KPa''0.000Pa'
2024/8/1 16:39:24 2,GT24170007020,080303-070240,MT015气密性测试,,1,NA,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'','0.000KPa''0.000Pa'
2024/8/1 16:42:46 2,GT24170007020,080303-070240,MT015气密性测试,,1,NA,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'','0.000KPa''0.000Pa'
2024/8/1 16:42:54 2,GT24170007020,080303-070240,MT015气密性测试,,1,NA,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'','0.000KPa''0.000Pa'

View File

@@ -0,0 +1,52 @@
2024/8/29 16:19:39 2,GT24170007020,080303-070240,MT015气密性测试,,0,泄漏量,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'','0.000KPa''0.0Pa'
2024/8/29 16:32:38 2,GT24170007020,080303-070240,MT015气密性测试,,0,泄漏量,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'','0.000KPa''0.0Pa'
2024/8/29 16:32:47 2,GT24170007020,080303-070240,MT015气密性测试,,0,泄漏量,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'','0.000KPa''0.0Pa'
2024/8/29 16:36:54 2,GT24170007020,080303-070240,MT015气密性测试,,0,泄漏量,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'','0.000KPa''0.0Pa'
2024/8/29 16:37:03 2,GT24170007020,080303-070240,MT015气密性测试,,0,泄漏量,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'','0.000KPa''0.0Pa'
2024/8/29 16:37:14 2,GT24170007020,080303-070240,MT015气密性测试,,0,泄漏量,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'','0.000KPa''0.0Pa'
2024/8/29 16:37:22 2,GT24170007020,080303-070240,MT015气密性测试,,0,泄漏量,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'','0.000KPa''0.0Pa'
2024/8/29 16:37:32 2,GT24170007020,080303-070240,MT015气密性测试,,0,泄漏量,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'','0.000KPa''0.0Pa'
2024/8/29 16:37:42 2,GT24170007020,080303-070240,MT015气密性测试,,0,泄漏量,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'','0.000KPa''0.0Pa'
2024/8/29 16:37:51 2,GT24170007020,080303-070240,MT015气密性测试,,0,泄漏量,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'','0.000KPa''0.0Pa'
2024/8/29 16:38:01 2,GT24170007020,080303-070240,MT015气密性测试,,0,泄漏量,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'','0.000KPa''0.0Pa'
2024/8/29 16:38:10 2,GT24170007020,080303-070240,MT015气密性测试,,0,泄漏量,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'','0.000KPa''0.0Pa'
2024/8/29 16:38:20 2,GT24170007020,080303-070240,MT015气密性测试,,0,泄漏量,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'','0.000KPa''0.0Pa'
2024/8/29 16:38:29 2,GT24170007020,080303-070240,MT015气密性测试,,0,泄漏量,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'','0.000KPa''0.0Pa'
2024/8/29 16:38:38 2,GT24170007020,080303-070240,MT015气密性测试,,0,泄漏量,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'','0.000KPa''0.0Pa'
2024/8/29 16:38:48 2,GT24170007020,080303-070240,MT015气密性测试,,0,泄漏量,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'','0.000KPa''0.0Pa'
2024/8/29 16:38:58 2,GT24170007020,080303-070240,MT015气密性测试,,0,泄漏量,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'','0.000KPa''0.0Pa'
2024/8/29 16:39:07 2,GT24170007020,080303-070240,MT015气密性测试,,0,泄漏量,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'','0.000KPa''0.0Pa'
2024/8/29 16:39:17 2,GT24170007020,080303-070240,MT015气密性测试,,0,泄漏量,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'','0.000KPa''0.0Pa'
2024/8/29 16:39:26 2,GT24170007020,080303-070240,MT015气密性测试,,0,泄漏量,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'','0.000KPa''0.0Pa'
2024/8/29 16:39:36 2,GT24170007020,080303-070240,MT015气密性测试,,0,泄漏量,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'','0.000KPa''0.0Pa'
2024/8/29 16:39:45 2,GT24170007020,080303-070240,MT015气密性测试,,0,泄漏量,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'','0.000KPa''0.0Pa'
2024/8/29 16:39:55 2,GT24170007020,080303-070240,MT015气密性测试,,0,泄漏量,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'','0.000KPa''0.0Pa'
2024/8/29 16:40:04 2,GT24170007020,080303-070240,MT015气密性测试,,0,泄漏量,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'','0.000KPa''0.0Pa'
2024/8/29 16:40:14 2,GT24170007020,080303-070240,MT015气密性测试,,0,泄漏量,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'','0.000KPa''0.0Pa'
2024/8/29 16:40:23 2,GT24170007020,080303-070240,MT015气密性测试,,0,泄漏量,4C-CC-6A-ED-7C-03,LL18,result,ONE,H0H,H1H,'','0.000KPa''0.0Pa'

File diff suppressed because it is too large Load Diff

View File

@@ -15,7 +15,7 @@
</para>
<para>
For scenarios that need to call <see cref="M:Microsoft.IO.RecyclableMemoryStream.GetBuffer"/>, the large pool contains buffers of various sizes, all
multiples/exponentials of <see cref="P:Microsoft.IO.RecyclableMemoryStreamManager.Options.LargeBufferMultiple"/> (1 MB by default). They are split by size to avoid overly-wasteful buffer
multiples/exponentials of <see cref="P:Microsoft.IO.RecyclableMemoryStreamManager.LargeBufferMultiple"/> (1 MB by default). They are split by size to avoid overly-wasteful buffer
usage. There should be far fewer 8 MB buffers than 1 MB buffers, for example.
</para>
</remarks>
@@ -24,25 +24,6 @@
<summary>
Arguments for the <see cref="E:Microsoft.IO.RecyclableMemoryStreamManager.StreamCreated"/> event.
</summary>
<remarks>
Initializes a new instance of the <see cref="T:Microsoft.IO.RecyclableMemoryStreamManager.StreamCreatedEventArgs"/> class.
</remarks>
<param name="guid">Unique ID of the stream.</param>
<param name="tag">Tag of the stream.</param>
<param name="requestedSize">The requested stream size.</param>
<param name="actualSize">The actual stream size.</param>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.StreamCreatedEventArgs.#ctor(System.Guid,System.String,System.Int64,System.Int64)">
<summary>
Arguments for the <see cref="E:Microsoft.IO.RecyclableMemoryStreamManager.StreamCreated"/> event.
</summary>
<remarks>
Initializes a new instance of the <see cref="T:Microsoft.IO.RecyclableMemoryStreamManager.StreamCreatedEventArgs"/> class.
</remarks>
<param name="guid">Unique ID of the stream.</param>
<param name="tag">Tag of the stream.</param>
<param name="requestedSize">The requested stream size.</param>
<param name="actualSize">The actual stream size.</param>
</member>
<member name="P:Microsoft.IO.RecyclableMemoryStreamManager.StreamCreatedEventArgs.Id">
<summary>
@@ -64,31 +45,19 @@
Actual stream size.
</summary>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.StreamCreatedEventArgs.#ctor(System.Guid,System.String,System.Int64,System.Int64)">
<summary>
Initializes a new instance of the <see cref="T:Microsoft.IO.RecyclableMemoryStreamManager.StreamCreatedEventArgs"/> class.
</summary>
<param name="guid">Unique ID of the stream.</param>
<param name="tag">Tag of the stream.</param>
<param name="requestedSize">The requested stream size.</param>
<param name="actualSize">The actual stream size.</param>
</member>
<member name="T:Microsoft.IO.RecyclableMemoryStreamManager.StreamDisposedEventArgs">
<summary>
Arguments for the <see cref="E:Microsoft.IO.RecyclableMemoryStreamManager.StreamDisposed"/> event.
</summary>
<remarks>
Initializes a new instance of the <see cref="T:Microsoft.IO.RecyclableMemoryStreamManager.StreamDisposedEventArgs"/> class.
</remarks>
<param name="guid">Unique ID of the stream.</param>
<param name="tag">Tag of the stream.</param>
<param name="lifetime">Lifetime of the stream</param>
<param name="allocationStack">Stack of original allocation.</param>
<param name="disposeStack">Dispose stack.</param>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.StreamDisposedEventArgs.#ctor(System.Guid,System.String,System.TimeSpan,System.String,System.String)">
<summary>
Arguments for the <see cref="E:Microsoft.IO.RecyclableMemoryStreamManager.StreamDisposed"/> event.
</summary>
<remarks>
Initializes a new instance of the <see cref="T:Microsoft.IO.RecyclableMemoryStreamManager.StreamDisposedEventArgs"/> class.
</remarks>
<param name="guid">Unique ID of the stream.</param>
<param name="tag">Tag of the stream.</param>
<param name="lifetime">Lifetime of the stream</param>
<param name="allocationStack">Stack of original allocation.</param>
<param name="disposeStack">Dispose stack.</param>
</member>
<member name="P:Microsoft.IO.RecyclableMemoryStreamManager.StreamDisposedEventArgs.Id">
<summary>
@@ -115,31 +84,29 @@
Lifetime of the stream.
</summary>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.StreamDisposedEventArgs.#ctor(System.Guid,System.String,System.String,System.String)">
<summary>
Initializes a new instance of the <see cref="T:Microsoft.IO.RecyclableMemoryStreamManager.StreamDisposedEventArgs"/> class.
</summary>
<param name="guid">Unique ID of the stream.</param>
<param name="tag">Tag of the stream.</param>
<param name="allocationStack">Stack of original allocation.</param>
<param name="disposeStack">Dispose stack.</param>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.StreamDisposedEventArgs.#ctor(System.Guid,System.String,System.TimeSpan,System.String,System.String)">
<summary>
Initializes a new instance of the <see cref="T:Microsoft.IO.RecyclableMemoryStreamManager.StreamDisposedEventArgs"/> class.
</summary>
<param name="guid">Unique ID of the stream.</param>
<param name="tag">Tag of the stream.</param>
<param name="lifetime">Lifetime of the stream</param>
<param name="allocationStack">Stack of original allocation.</param>
<param name="disposeStack">Dispose stack.</param>
</member>
<member name="T:Microsoft.IO.RecyclableMemoryStreamManager.StreamDoubleDisposedEventArgs">
<summary>
Arguments for the <see cref="E:Microsoft.IO.RecyclableMemoryStreamManager.StreamDoubleDisposed"/> event.
</summary>
<remarks>
Initializes a new instance of the <see cref="T:Microsoft.IO.RecyclableMemoryStreamManager.StreamDoubleDisposedEventArgs"/> class.
</remarks>
<param name="guid">Unique ID of the stream.</param>
<param name="tag">Tag of the stream.</param>
<param name="allocationStack">Stack of original allocation.</param>
<param name="disposeStack1">First dispose stack.</param>
<param name="disposeStack2">Second dispose stack.</param>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.StreamDoubleDisposedEventArgs.#ctor(System.Guid,System.String,System.String,System.String,System.String)">
<summary>
Arguments for the <see cref="E:Microsoft.IO.RecyclableMemoryStreamManager.StreamDoubleDisposed"/> event.
</summary>
<remarks>
Initializes a new instance of the <see cref="T:Microsoft.IO.RecyclableMemoryStreamManager.StreamDoubleDisposedEventArgs"/> class.
</remarks>
<param name="guid">Unique ID of the stream.</param>
<param name="tag">Tag of the stream.</param>
<param name="allocationStack">Stack of original allocation.</param>
<param name="disposeStack1">First dispose stack.</param>
<param name="disposeStack2">Second dispose stack.</param>
</member>
<member name="P:Microsoft.IO.RecyclableMemoryStreamManager.StreamDoubleDisposedEventArgs.Id">
<summary>
@@ -166,27 +133,20 @@
Second dispose stack.
</summary>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.StreamDoubleDisposedEventArgs.#ctor(System.Guid,System.String,System.String,System.String,System.String)">
<summary>
Initializes a new instance of the <see cref="T:Microsoft.IO.RecyclableMemoryStreamManager.StreamDoubleDisposedEventArgs"/> class.
</summary>
<param name="guid">Unique ID of the stream.</param>
<param name="tag">Tag of the stream.</param>
<param name="allocationStack">Stack of original allocation.</param>
<param name="disposeStack1">First dispose stack.</param>
<param name="disposeStack2">Second dispose stack.</param>
</member>
<member name="T:Microsoft.IO.RecyclableMemoryStreamManager.StreamFinalizedEventArgs">
<summary>
Arguments for the <see cref="E:Microsoft.IO.RecyclableMemoryStreamManager.StreamFinalized"/> event.
</summary>
<remarks>
Initializes a new instance of the <see cref="T:Microsoft.IO.RecyclableMemoryStreamManager.StreamFinalizedEventArgs"/> class.
</remarks>
<param name="guid">Unique ID of the stream.</param>
<param name="tag">Tag of the stream.</param>
<param name="allocationStack">Stack of original allocation.</param>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.StreamFinalizedEventArgs.#ctor(System.Guid,System.String,System.String)">
<summary>
Arguments for the <see cref="E:Microsoft.IO.RecyclableMemoryStreamManager.StreamFinalized"/> event.
</summary>
<remarks>
Initializes a new instance of the <see cref="T:Microsoft.IO.RecyclableMemoryStreamManager.StreamFinalizedEventArgs"/> class.
</remarks>
<param name="guid">Unique ID of the stream.</param>
<param name="tag">Tag of the stream.</param>
<param name="allocationStack">Stack of original allocation.</param>
</member>
<member name="P:Microsoft.IO.RecyclableMemoryStreamManager.StreamFinalizedEventArgs.Id">
<summary>
@@ -203,29 +163,18 @@
Stack where the stream was allocated.
</summary>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.StreamFinalizedEventArgs.#ctor(System.Guid,System.String,System.String)">
<summary>
Initializes a new instance of the <see cref="T:Microsoft.IO.RecyclableMemoryStreamManager.StreamFinalizedEventArgs"/> class.
</summary>
<param name="guid">Unique ID of the stream.</param>
<param name="tag">Tag of the stream.</param>
<param name="allocationStack">Stack of original allocation.</param>
</member>
<member name="T:Microsoft.IO.RecyclableMemoryStreamManager.StreamConvertedToArrayEventArgs">
<summary>
Arguments for the <see cref="E:Microsoft.IO.RecyclableMemoryStreamManager.StreamConvertedToArray"/> event.
</summary>
<remarks>
Initializes a new instance of the <see cref="T:Microsoft.IO.RecyclableMemoryStreamManager.StreamConvertedToArrayEventArgs"/> class.
</remarks>
<param name="guid">Unique ID of the stream.</param>
<param name="tag">Tag of the stream.</param>
<param name="stack">Stack of ToArray call.</param>
<param name="length">Length of stream.</param>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.StreamConvertedToArrayEventArgs.#ctor(System.Guid,System.String,System.String,System.Int64)">
<summary>
Arguments for the <see cref="E:Microsoft.IO.RecyclableMemoryStreamManager.StreamConvertedToArray"/> event.
</summary>
<remarks>
Initializes a new instance of the <see cref="T:Microsoft.IO.RecyclableMemoryStreamManager.StreamConvertedToArrayEventArgs"/> class.
</remarks>
<param name="guid">Unique ID of the stream.</param>
<param name="tag">Tag of the stream.</param>
<param name="stack">Stack of ToArray call.</param>
<param name="length">Length of stream.</param>
</member>
<member name="P:Microsoft.IO.RecyclableMemoryStreamManager.StreamConvertedToArrayEventArgs.Id">
<summary>
@@ -247,6 +196,15 @@
Length of stack.
</summary>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.StreamConvertedToArrayEventArgs.#ctor(System.Guid,System.String,System.String,System.Int64)">
<summary>
Initializes a new instance of the <see cref="T:Microsoft.IO.RecyclableMemoryStreamManager.StreamConvertedToArrayEventArgs"/> class.
</summary>
<param name="guid">Unique ID of the stream.</param>
<param name="tag">Tag of the stream.</param>
<param name="stack">Stack of ToArray call.</param>
<param name="length">Length of stream.</param>
</member>
<member name="T:Microsoft.IO.RecyclableMemoryStreamManager.StreamOverCapacityEventArgs">
<summary>
Arguments for the <see cref="E:Microsoft.IO.RecyclableMemoryStreamManager.StreamOverCapacity"/> event.
@@ -335,8 +293,8 @@
</member>
<member name="P:Microsoft.IO.RecyclableMemoryStreamManager.LargeBufferCreatedEventArgs.CallStack">
<summary>
If the buffer was not satisfied from the pool, and <see cref="P:Microsoft.IO.RecyclableMemoryStreamManager.Options.GenerateCallStacks"/> is turned on, then.
this will contain the call stack of the allocation request.
If the buffer was not satisfied from the pool, and <see cref="P:Microsoft.IO.RecyclableMemoryStreamManager.GenerateCallStacks"/> is turned on, then.
this will contain the callstack of the allocation request.
</summary>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.LargeBufferCreatedEventArgs.#ctor(System.Guid,System.String,System.Int64,System.Int64,System.Boolean,System.String)">
@@ -348,7 +306,7 @@
<param name="requiredSize">Required size of the new buffer.</param>
<param name="largePoolInUse">How many bytes from the large pool are currently in use.</param>
<param name="pooled">Whether the buffer was satisfied from the pool or not.</param>
<param name="callStack">Call stack of the allocation, if it wasn't pooled.</param>
<param name="callStack">Callstack of the allocation, if it wasn't pooled.</param>
</member>
<member name="T:Microsoft.IO.RecyclableMemoryStreamManager.BufferDiscardedEventArgs">
<summary>
@@ -388,48 +346,22 @@
<summary>
Arguments for the <see cref="E:Microsoft.IO.RecyclableMemoryStreamManager.StreamLength"/> event.
</summary>
<remarks>
Initializes a new instance of the <see cref="T:Microsoft.IO.RecyclableMemoryStreamManager.StreamLengthEventArgs"/> class.
</remarks>
<param name="length">Length of the strength.</param>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.StreamLengthEventArgs.#ctor(System.Int64)">
<summary>
Arguments for the <see cref="E:Microsoft.IO.RecyclableMemoryStreamManager.StreamLength"/> event.
</summary>
<remarks>
Initializes a new instance of the <see cref="T:Microsoft.IO.RecyclableMemoryStreamManager.StreamLengthEventArgs"/> class.
</remarks>
<param name="length">Length of the strength.</param>
</member>
<member name="P:Microsoft.IO.RecyclableMemoryStreamManager.StreamLengthEventArgs.Length">
<summary>
Length of the stream.
</summary>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.StreamLengthEventArgs.#ctor(System.Int64)">
<summary>
Initializes a new instance of the <see cref="T:Microsoft.IO.RecyclableMemoryStreamManager.StreamLengthEventArgs"/> class.
</summary>
<param name="length">Length of the strength.</param>
</member>
<member name="T:Microsoft.IO.RecyclableMemoryStreamManager.UsageReportEventArgs">
<summary>
Arguments for the <see cref="E:Microsoft.IO.RecyclableMemoryStreamManager.UsageReport"/> event.
</summary>
<remarks>
Initializes a new instance of the <see cref="T:Microsoft.IO.RecyclableMemoryStreamManager.UsageReportEventArgs"/> class.
</remarks>
<param name="smallPoolInUseBytes">Bytes from the small pool currently in use.</param>
<param name="smallPoolFreeBytes">Bytes from the small pool currently available.</param>
<param name="largePoolInUseBytes">Bytes from the large pool currently in use.</param>
<param name="largePoolFreeBytes">Bytes from the large pool currently available.</param>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.UsageReportEventArgs.#ctor(System.Int64,System.Int64,System.Int64,System.Int64)">
<summary>
Arguments for the <see cref="E:Microsoft.IO.RecyclableMemoryStreamManager.UsageReport"/> event.
</summary>
<remarks>
Initializes a new instance of the <see cref="T:Microsoft.IO.RecyclableMemoryStreamManager.UsageReportEventArgs"/> class.
</remarks>
<param name="smallPoolInUseBytes">Bytes from the small pool currently in use.</param>
<param name="smallPoolFreeBytes">Bytes from the small pool currently available.</param>
<param name="largePoolInUseBytes">Bytes from the large pool currently in use.</param>
<param name="largePoolFreeBytes">Bytes from the large pool currently available.</param>
</member>
<member name="P:Microsoft.IO.RecyclableMemoryStreamManager.UsageReportEventArgs.SmallPoolInUseBytes">
<summary>
@@ -451,6 +383,15 @@
Bytes from the large pool currently available.
</summary>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.UsageReportEventArgs.#ctor(System.Int64,System.Int64,System.Int64,System.Int64)">
<summary>
Initializes a new instance of the <see cref="T:Microsoft.IO.RecyclableMemoryStreamManager.UsageReportEventArgs"/> class.
</summary>
<param name="smallPoolInUseBytes">Bytes from the small pool currently in use.</param>
<param name="smallPoolFreeBytes">Bytes from the small pool currently available.</param>
<param name="largePoolInUseBytes">Bytes from the large pool currently in use.</param>
<param name="largePoolFreeBytes">Bytes from the large pool currently available.</param>
</member>
<member name="T:Microsoft.IO.RecyclableMemoryStreamManager.Events">
<summary>
ETW events for RecyclableMemoryStream.
@@ -619,11 +560,110 @@
Default maximum buffer size, in bytes.
</summary>
</member>
<member name="P:Microsoft.IO.RecyclableMemoryStreamManager.Settings">
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.#ctor">
<summary>
Settings for controlling the behavior of RecyclableMemoryStream
Initializes the memory manager with the default block/buffer specifications. This pool may have unbounded growth unless you modify <see cref="P:Microsoft.IO.RecyclableMemoryStreamManager.MaximumFreeSmallPoolBytes"/> and <see cref="P:Microsoft.IO.RecyclableMemoryStreamManager.MaximumFreeLargePoolBytes"/>.
</summary>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.#ctor(System.Int64,System.Int64)">
<summary>
Initializes the memory manager with the default block/buffer specifications and maximum free bytes specifications.
</summary>
<param name="maximumSmallPoolFreeBytes">Maximum number of bytes to keep available in the small pool before future buffers get dropped for garbage collection</param>
<param name="maximumLargePoolFreeBytes">Maximum number of bytes to keep available in the large pool before future buffers get dropped for garbage collection</param>
<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="maximumSmallPoolFreeBytes"/> is negative, or <paramref name="maximumLargePoolFreeBytes"/> is negative.</exception>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.#ctor(System.Int32,System.Int32,System.Int32)">
<summary>
Initializes the memory manager with the given block requiredSize. This pool may have unbounded growth unless you modify <see cref="P:Microsoft.IO.RecyclableMemoryStreamManager.MaximumFreeSmallPoolBytes"/> and <see cref="P:Microsoft.IO.RecyclableMemoryStreamManager.MaximumFreeLargePoolBytes"/>.
</summary>
<param name="blockSize">Size of each block that is pooled. Must be > 0.</param>
<param name="largeBufferMultiple">Each large buffer will be a multiple of this value.</param>
<param name="maximumBufferSize">Buffers larger than this are not pooled</param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="blockSize"/> is not a positive number,
or <paramref name="largeBufferMultiple"/> is not a positive number,
or <paramref name="maximumBufferSize"/> is less than <paramref name="blockSize"/>.</exception>
<exception cref="T:System.ArgumentException"><paramref name="maximumBufferSize"/> is not a multiple of <paramref name="largeBufferMultiple"/>.</exception>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.#ctor(System.Int32,System.Int32,System.Int32,System.Int64,System.Int64)">
<summary>
Initializes the memory manager with the given block requiredSize.
</summary>
<param name="blockSize">Size of each block that is pooled. Must be > 0.</param>
<param name="largeBufferMultiple">Each large buffer will be a multiple of this value.</param>
<param name="maximumBufferSize">Buffers larger than this are not pooled</param>
<param name="maximumSmallPoolFreeBytes">Maximum number of bytes to keep available in the small pool before future buffers get dropped for garbage collection</param>
<param name="maximumLargePoolFreeBytes">Maximum number of bytes to keep available in the large pool before future buffers get dropped for garbage collection</param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="blockSize"/> is not a positive number,
or <paramref name="largeBufferMultiple"/> is not a positive number,
or <paramref name="maximumBufferSize"/> is less than <paramref name="blockSize"/>,
or <paramref name="maximumSmallPoolFreeBytes"/> is negative,
or <paramref name="maximumLargePoolFreeBytes"/> is negative.
</exception>
<exception cref="T:System.ArgumentException"><paramref name="maximumBufferSize"/> is not a multiple of <paramref name="largeBufferMultiple"/>.</exception>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.#ctor(System.Int32,System.Int32,System.Int32,System.Boolean)">
<summary>
Initializes the memory manager with the given block requiredSize. This pool may have unbounded growth unless you modify <see cref="P:Microsoft.IO.RecyclableMemoryStreamManager.MaximumFreeSmallPoolBytes"/> and <see cref="P:Microsoft.IO.RecyclableMemoryStreamManager.MaximumFreeLargePoolBytes"/>.
</summary>
<param name="blockSize">Size of each block that is pooled. Must be > 0.</param>
<param name="largeBufferMultiple">Each large buffer will be a multiple/exponential of this value.</param>
<param name="maximumBufferSize">Buffers larger than this are not pooled</param>
<param name="useExponentialLargeBuffer">Switch to exponential large buffer allocation strategy</param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="blockSize"/> is not a positive number,
or <paramref name="largeBufferMultiple"/> is not a positive number,
or <paramref name="maximumBufferSize"/> is less than <paramref name="blockSize"/>.</exception>
<exception cref="T:System.ArgumentException"><paramref name="maximumBufferSize"/> is not a multiple/exponential of <paramref name="largeBufferMultiple"/>.</exception>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.#ctor(System.Int32,System.Int32,System.Int32,System.Boolean,System.Int64,System.Int64)">
<summary>
Initializes the memory manager with the given block requiredSize.
</summary>
<param name="blockSize">Size of each block that is pooled. Must be > 0.</param>
<param name="largeBufferMultiple">Each large buffer will be a multiple/exponential of this value.</param>
<param name="maximumBufferSize">Buffers larger than this are not pooled.</param>
<param name="useExponentialLargeBuffer">Switch to exponential large buffer allocation strategy.</param>
<param name="maximumSmallPoolFreeBytes">Maximum number of bytes to keep available in the small pool before future buffers get dropped for garbage collection.</param>
<param name="maximumLargePoolFreeBytes">Maximum number of bytes to keep available in the large pool before future buffers get dropped for garbage collection.</param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="blockSize"/> is not a positive number,
or <paramref name="largeBufferMultiple"/> is not a positive number,
or <paramref name="maximumBufferSize"/> is less than <paramref name="blockSize"/>,
or <paramref name="maximumSmallPoolFreeBytes"/> is negative,
or <paramref name="maximumLargePoolFreeBytes"/> is negative.
</exception>
<exception cref="T:System.ArgumentException"><paramref name="maximumBufferSize"/> is not a multiple/exponential of <paramref name="largeBufferMultiple"/>.</exception>
</member>
<member name="P:Microsoft.IO.RecyclableMemoryStreamManager.BlockSize">
<summary>
The size of each block. It must be set at creation and cannot be changed.
</summary>
</member>
<member name="P:Microsoft.IO.RecyclableMemoryStreamManager.LargeBufferMultiple">
<summary>
All buffers are multiples/exponentials of this number. It must be set at creation and cannot be changed.
</summary>
</member>
<member name="P:Microsoft.IO.RecyclableMemoryStreamManager.UseMultipleLargeBuffer">
<summary>
Use multiple large buffer allocation strategy. It must be set at creation and cannot be changed.
</summary>
</member>
<member name="P:Microsoft.IO.RecyclableMemoryStreamManager.UseExponentialLargeBuffer">
<summary>
Use exponential large buffer allocation strategy. It must be set at creation and cannot be changed.
</summary>
</member>
<member name="P:Microsoft.IO.RecyclableMemoryStreamManager.MaximumBufferSize">
<summary>
Gets the maximum buffer size.
</summary>
<remarks>Any buffer that is returned to the pool that is larger than this will be
discarded and garbage collected.</remarks>
</member>
<member name="P:Microsoft.IO.RecyclableMemoryStreamManager.SmallPoolFreeSize">
<summary>
Number of bytes in small pool not currently in use.
@@ -654,67 +694,34 @@
How many buffers are in the large pool.
</summary>
</member>
<member name="T:Microsoft.IO.RecyclableMemoryStreamManager.Options">
<member name="P:Microsoft.IO.RecyclableMemoryStreamManager.MaximumFreeSmallPoolBytes">
<summary>
Parameters for customizing the behavior of <see cref="T:Microsoft.IO.RecyclableMemoryStreamManager"/>
How many bytes of small free blocks to allow before we start dropping
those returned to us.
</summary>
<remarks>The default value is 0, meaning the pool is unbounded.</remarks>
</member>
<member name="P:Microsoft.IO.RecyclableMemoryStreamManager.Options.BlockSize">
<member name="P:Microsoft.IO.RecyclableMemoryStreamManager.MaximumFreeLargePoolBytes">
<summary>
Gets or sets the size of the pooled blocks. This must be greater than 0.
How many bytes of large free buffers to allow before we start dropping
those returned to us.
</summary>
<remarks>The default size 131,072 (128KB)</remarks>
<remarks>The default value is 0, meaning the pool is unbounded.</remarks>
</member>
<member name="P:Microsoft.IO.RecyclableMemoryStreamManager.Options.LargeBufferMultiple">
<summary>
Each large buffer will be a multiple exponential of this value
</summary>
<remarks>The default value is 1,048,576 (1MB)</remarks>
</member>
<member name="P:Microsoft.IO.RecyclableMemoryStreamManager.Options.MaximumBufferSize">
<summary>
Buffer beyond this length are not pooled.
</summary>
<remarks>The default value is 134,217,728 (128MB)</remarks>
</member>
<member name="P:Microsoft.IO.RecyclableMemoryStreamManager.Options.MaximumSmallPoolFreeBytes">
<summary>
Maximum number of bytes to keep available in the small pool.
</summary>
<remarks>
<para>Trying to return buffers to the pool beyond this limit will result in them being garbage collected.</para>
<para>The default value is 0, but all users should set a reasonable value depending on your application's memory requirements.</para>
</remarks>
</member>
<member name="P:Microsoft.IO.RecyclableMemoryStreamManager.Options.MaximumLargePoolFreeBytes">
<summary>
Maximum number of bytes to keep available in the large pools.
</summary>
<remarks>
<para>Trying to return buffers to the pool beyond this limit will result in them being garbage collected.</para>
<para>The default value is 0, but all users should set a reasonable value depending on your application's memory requirements.</para>
</remarks>
</member>
<member name="P:Microsoft.IO.RecyclableMemoryStreamManager.Options.UseExponentialLargeBuffer">
<summary>
Whether to use the exponential allocation strategy (see documentation).
</summary>
<remarks>The default value is false.</remarks>
</member>
<member name="P:Microsoft.IO.RecyclableMemoryStreamManager.Options.MaximumStreamCapacity">
<member name="P:Microsoft.IO.RecyclableMemoryStreamManager.MaximumStreamCapacity">
<summary>
Maximum stream capacity in bytes. Attempts to set a larger capacity will
result in an exception.
</summary>
<remarks>The default value of 0 indicates no limit.</remarks>
<remarks>A value of 0 indicates no limit.</remarks>
</member>
<member name="P:Microsoft.IO.RecyclableMemoryStreamManager.Options.GenerateCallStacks">
<member name="P:Microsoft.IO.RecyclableMemoryStreamManager.GenerateCallStacks">
<summary>
Whether to save call stacks for stream allocations. This can help in debugging.
Whether to save callstacks for stream allocations. This can help in debugging.
It should NEVER be turned on generally in production.
</summary>
</member>
<member name="P:Microsoft.IO.RecyclableMemoryStreamManager.Options.AggressiveBufferReturn">
<member name="P:Microsoft.IO.RecyclableMemoryStreamManager.AggressiveBufferReturn">
<summary>
Whether dirty buffers can be immediately returned to the buffer pool.
</summary>
@@ -730,53 +737,13 @@
</para>
</remarks>
</member>
<member name="P:Microsoft.IO.RecyclableMemoryStreamManager.Options.ThrowExceptionOnToArray">
<member name="P:Microsoft.IO.RecyclableMemoryStreamManager.ThrowExceptionOnToArray">
<summary>
Causes an exception to be thrown if <see cref="M:Microsoft.IO.RecyclableMemoryStream.ToArray"/> is ever called.
</summary>
<remarks>Calling <see cref="M:Microsoft.IO.RecyclableMemoryStream.ToArray"/> defeats the purpose of a pooled buffer. Use this property to discover code that is calling <see cref="M:Microsoft.IO.RecyclableMemoryStream.ToArray"/>. If this is
set and <see cref="M:Microsoft.IO.RecyclableMemoryStream.ToArray"/> is called, a <c>NotSupportedException</c> will be thrown.</remarks>
</member>
<member name="P:Microsoft.IO.RecyclableMemoryStreamManager.Options.ZeroOutBuffer">
<summary>
Zero out buffers on allocation and before returning them to the pool.
</summary>
<remarks>Setting this to true causes a performance hit and should only be set if one wants to avoid accidental data leaks.</remarks>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.Options.#ctor">
<summary>
Creates a new <see cref="T:Microsoft.IO.RecyclableMemoryStreamManager.Options"/> object.
</summary>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.Options.#ctor(System.Int32,System.Int32,System.Int32,System.Int64,System.Int64)">
<summary>
Creates a new <see cref="T:Microsoft.IO.RecyclableMemoryStreamManager.Options"/> object with the most common options.
</summary>
<param name="blockSize">Size of the blocks in the small pool.</param>
<param name="largeBufferMultiple">Size of the large buffer multiple</param>
<param name="maximumBufferSize">Maximum poolable buffer size.</param>
<param name="maximumSmallPoolFreeBytes">Maximum bytes to hold in the small pool.</param>
<param name="maximumLargePoolFreeBytes">Maximum bytes to hold in each of the large pools.</param>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.#ctor">
<summary>
Initializes the memory manager with the default block/buffer specifications. This pool may have unbounded growth unless you modify <see cref="T:Microsoft.IO.RecyclableMemoryStreamManager.Options"/>.
</summary>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.#ctor(Microsoft.IO.RecyclableMemoryStreamManager.Options)">
<summary>
Initializes the memory manager with the given block requiredSize.
</summary>
<param name="options">Object specifying options for stream behavior.</param>
<exception cref="T:System.InvalidOperationException">
<paramref name="options.BlockSize.BlockSize"/> is not a positive number,
or <paramref name="options.LargeBufferMultiple.LargeBufferMultiple"/> is not a positive number,
or <paramref name="options.MaximumBufferSize.MaximumBufferSize"/> is less than options.BlockSize,
or <paramref name="options.MaximumSmallPoolFreeBytes.MaximumSmallPoolFreeBytes"/> is negative,
or <paramref name="options.MaximumLargePoolFreeBytes.MaximumLargePoolFreeBytes"/> is negative,
or <paramref name="options.MaximumBufferSize.MaximumBufferSize"/> is not a multiple/exponential of <paramref name="options.LargeBufferMultiple.LargeBufferMultiple"/>.
</exception>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.GetBlock">
<summary>
Removes and returns a single block from the pool.
@@ -802,7 +769,7 @@
<param name="id">Unique stream ID.</param>
<param name="tag">The tag of the stream returning this buffer, for logging if necessary.</param>
<exception cref="T:System.ArgumentNullException"><paramref name="buffer"/> is null.</exception>
<exception cref="T:System.ArgumentException"><c>buffer.Length</c> is not a multiple/exponential of <see cref="P:Microsoft.IO.RecyclableMemoryStreamManager.Options.LargeBufferMultiple"/> (it did not originate from this pool).</exception>
<exception cref="T:System.ArgumentException"><c>buffer.Length</c> is not a multiple/exponential of <see cref="P:Microsoft.IO.RecyclableMemoryStreamManager.LargeBufferMultiple"/> (it did not originate from this pool).</exception>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.ReturnBlocks(System.Collections.Generic.List{System.Byte[]},System.Guid,System.String)">
<summary>
@@ -826,55 +793,79 @@
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.GetStream">
<summary>
Retrieve a new <see cref="T:Microsoft.IO.RecyclableMemoryStream"/> object with no tag and a default initial capacity.
Retrieve a new <c>MemoryStream</c> object with no tag and a default initial capacity.
</summary>
<returns>A <see cref="T:Microsoft.IO.RecyclableMemoryStream"/>.</returns>
<returns>A <c>MemoryStream</c>.</returns>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.GetStream(System.Guid)">
<summary>
Retrieve a new <see cref="T:Microsoft.IO.RecyclableMemoryStream"/> object with no tag and a default initial capacity.
Retrieve a new <c>MemoryStream</c> object with no tag and a default initial capacity.
</summary>
<param name="id">A unique identifier which can be used to trace usages of the stream.</param>
<returns>A <see cref="T:Microsoft.IO.RecyclableMemoryStream"/>.</returns>
<returns>A <c>MemoryStream</c>.</returns>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.GetStream(System.String)">
<summary>
Retrieve a new <see cref="T:Microsoft.IO.RecyclableMemoryStream"/> object with the given tag and a default initial capacity.
Retrieve a new <c>MemoryStream</c> object with the given tag and a default initial capacity.
</summary>
<param name="tag">A tag which can be used to track the source of the stream.</param>
<returns>A <see cref="T:Microsoft.IO.RecyclableMemoryStream"/>.</returns>
<returns>A <c>MemoryStream</c>.</returns>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.GetStream(System.Guid,System.String)">
<summary>
Retrieve a new <see cref="T:Microsoft.IO.RecyclableMemoryStream"/> object with the given tag and a default initial capacity.
Retrieve a new <c>MemoryStream</c> object with the given tag and a default initial capacity.
</summary>
<param name="id">A unique identifier which can be used to trace usages of the stream.</param>
<param name="tag">A tag which can be used to track the source of the stream.</param>
<returns>A <see cref="T:Microsoft.IO.RecyclableMemoryStream"/>.</returns>
<returns>A <c>MemoryStream</c>.</returns>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.GetStream(System.String,System.Int64)">
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.GetStream(System.String,System.Int32)">
<summary>
Retrieve a new <see cref="T:Microsoft.IO.RecyclableMemoryStream"/> object with the given tag and at least the given capacity.
Retrieve a new <c>MemoryStream</c> object with the given tag and at least the given capacity.
</summary>
<param name="tag">A tag which can be used to track the source of the stream.</param>
<param name="requiredSize">The minimum desired capacity for the stream.</param>
<returns>A <see cref="T:Microsoft.IO.RecyclableMemoryStream"/>.</returns>
<returns>A <c>MemoryStream</c>.</returns>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.GetStream(System.Guid,System.String,System.Int32)">
<summary>
Retrieve a new <c>MemoryStream</c> object with the given tag and at least the given capacity.
</summary>
<param name="id">A unique identifier which can be used to trace usages of the stream.</param>
<param name="tag">A tag which can be used to track the source of the stream.</param>
<param name="requiredSize">The minimum desired capacity for the stream.</param>
<returns>A <c>MemoryStream</c>.</returns>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.GetStream(System.Guid,System.String,System.Int64)">
<summary>
Retrieve a new <see cref="T:Microsoft.IO.RecyclableMemoryStream"/> object with the given tag and at least the given capacity.
Retrieve a new <c>MemoryStream</c> object with the given tag and at least the given capacity.
</summary>
<param name="id">A unique identifier which can be used to trace usages of the stream.</param>
<param name="tag">A tag which can be used to track the source of the stream.</param>
<param name="requiredSize">The minimum desired capacity for the stream.</param>
<returns>A <see cref="T:Microsoft.IO.RecyclableMemoryStream"/>.</returns>
<returns>A <c>MemoryStream</c>.</returns>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.GetStream(System.Guid,System.String,System.Int32,System.Boolean)">
<summary>
Retrieve a new <c>MemoryStream</c> object with the given tag and at least the given capacity, possibly using
a single contiguous underlying buffer.
</summary>
<remarks>Retrieving a <c>MemoryStream</c> which provides a single contiguous buffer can be useful in situations
where the initial size is known and it is desirable to avoid copying data between the smaller underlying
buffers to a single large one. This is most helpful when you know that you will always call <see cref="M:Microsoft.IO.RecyclableMemoryStream.GetBuffer"/>
on the underlying stream.</remarks>
<param name="id">A unique identifier which can be used to trace usages of the stream.</param>
<param name="tag">A tag which can be used to track the source of the stream.</param>
<param name="requiredSize">The minimum desired capacity for the stream.</param>
<param name="asContiguousBuffer">Whether to attempt to use a single contiguous buffer.</param>
<returns>A <c>MemoryStream</c>.</returns>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.GetStream(System.Guid,System.String,System.Int64,System.Boolean)">
<summary>
Retrieve a new <see cref="T:Microsoft.IO.RecyclableMemoryStream"/> object with the given tag and at least the given capacity, possibly using
Retrieve a new <c>MemoryStream</c> object with the given tag and at least the given capacity, possibly using
a single contiguous underlying buffer.
</summary>
<remarks>Retrieving a <see cref="T:Microsoft.IO.RecyclableMemoryStream"/> which provides a single contiguous buffer can be useful in situations
<remarks>Retrieving a <c>MemoryStream</c> which provides a single contiguous buffer can be useful in situations
where the initial size is known and it is desirable to avoid copying data between the smaller underlying
buffers to a single large one. This is most helpful when you know that you will always call <see cref="M:Microsoft.IO.RecyclableMemoryStream.GetBuffer"/>
on the underlying stream.</remarks>
@@ -882,25 +873,39 @@
<param name="tag">A tag which can be used to track the source of the stream.</param>
<param name="requiredSize">The minimum desired capacity for the stream.</param>
<param name="asContiguousBuffer">Whether to attempt to use a single contiguous buffer.</param>
<returns>A <see cref="T:Microsoft.IO.RecyclableMemoryStream"/>.</returns>
<returns>A <c>MemoryStream</c>.</returns>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.GetStream(System.String,System.Int32,System.Boolean)">
<summary>
Retrieve a new <c>MemoryStream</c> object with the given tag and at least the given capacity, possibly using
a single contiguous underlying buffer.
</summary>
<remarks>Retrieving a MemoryStream which provides a single contiguous buffer can be useful in situations
where the initial size is known and it is desirable to avoid copying data between the smaller underlying
buffers to a single large one. This is most helpful when you know that you will always call <see cref="M:Microsoft.IO.RecyclableMemoryStream.GetBuffer"/>
on the underlying stream.</remarks>
<param name="tag">A tag which can be used to track the source of the stream.</param>
<param name="requiredSize">The minimum desired capacity for the stream.</param>
<param name="asContiguousBuffer">Whether to attempt to use a single contiguous buffer.</param>
<returns>A <c>MemoryStream</c>.</returns>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.GetStream(System.String,System.Int64,System.Boolean)">
<summary>
Retrieve a new <see cref="T:Microsoft.IO.RecyclableMemoryStream"/> object with the given tag and at least the given capacity, possibly using
Retrieve a new <c>MemoryStream</c> object with the given tag and at least the given capacity, possibly using
a single contiguous underlying buffer.
</summary>
<remarks>Retrieving a <see cref="T:Microsoft.IO.RecyclableMemoryStream"/> which provides a single contiguous buffer can be useful in situations
<remarks>Retrieving a MemoryStream which provides a single contiguous buffer can be useful in situations
where the initial size is known and it is desirable to avoid copying data between the smaller underlying
buffers to a single large one. This is most helpful when you know that you will always call <see cref="M:Microsoft.IO.RecyclableMemoryStream.GetBuffer"/>
on the underlying stream.</remarks>
<param name="tag">A tag which can be used to track the source of the stream.</param>
<param name="requiredSize">The minimum desired capacity for the stream.</param>
<param name="asContiguousBuffer">Whether to attempt to use a single contiguous buffer.</param>
<returns>A <see cref="T:Microsoft.IO.RecyclableMemoryStream"/>.</returns>
<returns>A <c>MemoryStream</c>.</returns>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.GetStream(System.Guid,System.String,System.Byte[],System.Int32,System.Int32)">
<summary>
Retrieve a new <see cref="T:Microsoft.IO.RecyclableMemoryStream"/> object with the given tag and with contents copied from the provided
Retrieve a new <c>MemoryStream</c> object with the given tag and with contents copied from the provided
buffer. The provided buffer is not wrapped or used after construction.
</summary>
<remarks>The new stream's position is set to the beginning of the stream when returned.</remarks>
@@ -909,20 +914,20 @@
<param name="buffer">The byte buffer to copy data from.</param>
<param name="offset">The offset from the start of the buffer to copy from.</param>
<param name="count">The number of bytes to copy from the buffer.</param>
<returns>A <see cref="T:Microsoft.IO.RecyclableMemoryStream"/>.</returns>
<returns>A <c>MemoryStream</c>.</returns>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.GetStream(System.Byte[])">
<summary>
Retrieve a new <see cref="T:Microsoft.IO.RecyclableMemoryStream"/> object with the contents copied from the provided
Retrieve a new <c>MemoryStream</c> object with the contents copied from the provided
buffer. The provided buffer is not wrapped or used after construction.
</summary>
<remarks>The new stream's position is set to the beginning of the stream when returned.</remarks>
<param name="buffer">The byte buffer to copy data from.</param>
<returns>A <see cref="T:Microsoft.IO.RecyclableMemoryStream"/>.</returns>
<returns>A <c>MemoryStream</c>.</returns>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.GetStream(System.String,System.Byte[],System.Int32,System.Int32)">
<summary>
Retrieve a new <see cref="T:Microsoft.IO.RecyclableMemoryStream"/> object with the given tag and with contents copied from the provided
Retrieve a new <c>MemoryStream</c> object with the given tag and with contents copied from the provided
buffer. The provided buffer is not wrapped or used after construction.
</summary>
<remarks>The new stream's position is set to the beginning of the stream when returned.</remarks>
@@ -930,37 +935,67 @@
<param name="buffer">The byte buffer to copy data from.</param>
<param name="offset">The offset from the start of the buffer to copy from.</param>
<param name="count">The number of bytes to copy from the buffer.</param>
<returns>A <see cref="T:Microsoft.IO.RecyclableMemoryStream"/>.</returns>
<returns>A <c>MemoryStream</c>.</returns>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.GetStream(System.Guid,System.String,System.ReadOnlySpan{System.Byte})">
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.GetStream(System.Guid,System.String,System.Memory{System.Byte})">
<summary>
Retrieve a new <see cref="T:Microsoft.IO.RecyclableMemoryStream"/> object with the given tag and with contents copied from the provided
Retrieve a new <c>MemoryStream</c> object with the given tag and with contents copied from the provided
buffer. The provided buffer is not wrapped or used after construction.
</summary>
<remarks>The new stream's position is set to the beginning of the stream when returned.</remarks>
<param name="id">A unique identifier which can be used to trace usages of the stream.</param>
<param name="tag">A tag which can be used to track the source of the stream.</param>
<param name="buffer">The byte buffer to copy data from.</param>
<returns>A <see cref="T:Microsoft.IO.RecyclableMemoryStream"/>.</returns>
<returns>A <c>MemoryStream</c>.</returns>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.GetStream(System.ReadOnlySpan{System.Byte})">
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.GetStream(System.Guid,System.String,System.ReadOnlySpan{System.Byte})">
<summary>
Retrieve a new <see cref="T:Microsoft.IO.RecyclableMemoryStream"/> object with the contents copied from the provided
Retrieve a new <c>MemoryStream</c> object with the given tag and with contents copied from the provided
buffer. The provided buffer is not wrapped or used after construction.
</summary>
<remarks>The new stream's position is set to the beginning of the stream when returned.</remarks>
<param name="id">A unique identifier which can be used to trace usages of the stream.</param>
<param name="tag">A tag which can be used to track the source of the stream.</param>
<param name="buffer">The byte buffer to copy data from.</param>
<returns>A <c>MemoryStream</c>.</returns>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.GetStream(System.Memory{System.Byte})">
<summary>
Retrieve a new <c>MemoryStream</c> object with the contents copied from the provided
buffer. The provided buffer is not wrapped or used after construction.
</summary>
<remarks>The new stream's position is set to the beginning of the stream when returned.</remarks>
<param name="buffer">The byte buffer to copy data from.</param>
<returns>A <see cref="T:Microsoft.IO.RecyclableMemoryStream"/>.</returns>
<returns>A <c>MemoryStream</c>.</returns>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.GetStream(System.String,System.ReadOnlySpan{System.Byte})">
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.GetStream(System.ReadOnlySpan{System.Byte})">
<summary>
Retrieve a new <see cref="T:Microsoft.IO.RecyclableMemoryStream"/> object with the given tag and with contents copied from the provided
Retrieve a new <c>MemoryStream</c> object with the contents copied from the provided
buffer. The provided buffer is not wrapped or used after construction.
</summary>
<remarks>The new stream's position is set to the beginning of the stream when returned.</remarks>
<param name="buffer">The byte buffer to copy data from.</param>
<returns>A <c>MemoryStream</c>.</returns>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.GetStream(System.String,System.Memory{System.Byte})">
<summary>
Retrieve a new <c>MemoryStream</c> object with the given tag and with contents copied from the provided
buffer. The provided buffer is not wrapped or used after construction.
</summary>
<remarks>The new stream's position is set to the beginning of the stream when returned.</remarks>
<param name="tag">A tag which can be used to track the source of the stream.</param>
<param name="buffer">The byte buffer to copy data from.</param>
<returns>A <see cref="T:Microsoft.IO.RecyclableMemoryStream"/>.</returns>
<returns>A <c>MemoryStream</c>.</returns>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStreamManager.GetStream(System.String,System.ReadOnlySpan{System.Byte})">
<summary>
Retrieve a new <c>MemoryStream</c> object with the given tag and with contents copied from the provided
buffer. The provided buffer is not wrapped or used after construction.
</summary>
<remarks>The new stream's position is set to the beginning of the stream when returned.</remarks>
<param name="tag">A tag which can be used to track the source of the stream.</param>
<param name="buffer">The byte buffer to copy data from.</param>
<returns>A <c>MemoryStream</c>.</returns>
</member>
<member name="E:Microsoft.IO.RecyclableMemoryStreamManager.BlockCreated">
<summary>
@@ -1116,13 +1151,13 @@
</member>
<member name="P:Microsoft.IO.RecyclableMemoryStream.AllocationStack">
<summary>
Call stack of the constructor. It is only set if <see cref="P:Microsoft.IO.RecyclableMemoryStreamManager.Options.GenerateCallStacks"/> is true,
Callstack of the constructor. It is only set if <see cref="P:Microsoft.IO.RecyclableMemoryStreamManager.GenerateCallStacks"/> is true,
which should only be in debugging situations.
</summary>
</member>
<member name="P:Microsoft.IO.RecyclableMemoryStream.DisposeStack">
<summary>
Call stack of the <see cref="M:Microsoft.IO.RecyclableMemoryStream.Dispose(System.Boolean)"/> call. It is only set if <see cref="P:Microsoft.IO.RecyclableMemoryStreamManager.Options.GenerateCallStacks"/> is true,
Callstack of the <see cref="M:Microsoft.IO.RecyclableMemoryStream.Dispose(System.Boolean)"/> call. It is only set if <see cref="P:Microsoft.IO.RecyclableMemoryStreamManager.GenerateCallStacks"/> is true,
which should only be in debugging situations.
</summary>
</member>
@@ -1154,6 +1189,14 @@
<param name="id">A unique identifier which can be used to trace usages of the stream.</param>
<param name="tag">A string identifying this stream for logging and debugging purposes.</param>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStream.#ctor(Microsoft.IO.RecyclableMemoryStreamManager,System.String,System.Int32)">
<summary>
Initializes a new instance of the <see cref="T:Microsoft.IO.RecyclableMemoryStream"/> class.
</summary>
<param name="memoryManager">The memory manager</param>
<param name="tag">A string identifying this stream for logging and debugging purposes.</param>
<param name="requestedSize">The initial requested size to prevent future allocations.</param>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStream.#ctor(Microsoft.IO.RecyclableMemoryStreamManager,System.String,System.Int64)">
<summary>
Initializes a new instance of the <see cref="T:Microsoft.IO.RecyclableMemoryStream"/> class.
@@ -1162,6 +1205,15 @@
<param name="tag">A string identifying this stream for logging and debugging purposes.</param>
<param name="requestedSize">The initial requested size to prevent future allocations.</param>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStream.#ctor(Microsoft.IO.RecyclableMemoryStreamManager,System.Guid,System.String,System.Int32)">
<summary>
Initializes a new instance of the <see cref="T:Microsoft.IO.RecyclableMemoryStream"/> class.
</summary>
<param name="memoryManager">The memory manager.</param>
<param name="id">A unique identifier which can be used to trace usages of the stream.</param>
<param name="tag">A string identifying this stream for logging and debugging purposes.</param>
<param name="requestedSize">The initial requested size to prevent future allocations.</param>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStream.#ctor(Microsoft.IO.RecyclableMemoryStreamManager,System.Guid,System.String,System.Int64)">
<summary>
Initializes a new instance of the <see cref="T:Microsoft.IO.RecyclableMemoryStream"/> class.
@@ -1356,6 +1408,21 @@
<exception cref="T:System.ArgumentException">offset subtracted from the buffer length is less than count.</exception>
<exception cref="T:System.ObjectDisposedException">Object has been disposed.</exception>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStream.SafeRead(System.Byte[],System.Int32,System.Int32,System.Int32@)">
<summary>
Reads from the specified position into the provided buffer.
</summary>
<param name="buffer">Destination buffer.</param>
<param name="offset">Offset into buffer at which to start placing the read bytes.</param>
<param name="count">Number of bytes to read.</param>
<param name="streamPosition">Position in the stream to start reading from.</param>
<returns>The number of bytes read.</returns>
<exception cref="T:System.ArgumentNullException"><paramref name="buffer"/> is null.</exception>
<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="offset"/> or <paramref name="count"/> is less than 0.</exception>
<exception cref="T:System.ArgumentException"><paramref name="offset"/> subtracted from the buffer length is less than <paramref name="count"/>.</exception>
<exception cref="T:System.ObjectDisposedException">Object has been disposed.</exception>
<exception cref="T:System.InvalidOperationException">Stream position is beyond <c>int.MaxValue</c>.</exception>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStream.SafeRead(System.Byte[],System.Int32,System.Int32,System.Int64@)">
<summary>
Reads from the specified position into the provided buffer.
@@ -1378,6 +1445,16 @@
<returns>The number of bytes read.</returns>
<exception cref="T:System.ObjectDisposedException">Object has been disposed.</exception>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStream.SafeRead(System.Span{System.Byte},System.Int32@)">
<summary>
Reads from the specified position into the provided buffer.
</summary>
<param name="buffer">Destination buffer.</param>
<param name="streamPosition">Position in the stream to start reading from.</param>
<returns>The number of bytes read.</returns>
<exception cref="T:System.ObjectDisposedException">Object has been disposed.</exception>
<exception cref="T:System.InvalidOperationException">Stream position is beyond <c>int.MaxValue</c>.</exception>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStream.SafeRead(System.Span{System.Byte},System.Int64@)">
<summary>
Reads from the specified position into the provided buffer.
@@ -1426,6 +1503,15 @@
<returns>The byte at the current position, or -1 if the position is at the end of the stream.</returns>
<exception cref="T:System.ObjectDisposedException">Object has been disposed.</exception>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStream.SafeReadByte(System.Int32@)">
<summary>
Reads a single byte from the specified position in the stream.
</summary>
<param name="streamPosition">The position in the stream to read from.</param>
<returns>The byte at the current position, or -1 if the position is at the end of the stream.</returns>
<exception cref="T:System.ObjectDisposedException">Object has been disposed.</exception>
<exception cref="T:System.InvalidOperationException">Stream position is beyond <c>int.MaxValue</c>.</exception>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStream.SafeReadByte(System.Int64@)">
<summary>
Reads a single byte from the specified position in the stream.
@@ -1438,7 +1524,7 @@
<summary>
Sets the length of the stream.
</summary>
<exception cref="T:System.ArgumentOutOfRangeException">value is negative or larger than <see cref="P:Microsoft.IO.RecyclableMemoryStreamManager.Options.MaximumStreamCapacity"/>.</exception>
<exception cref="T:System.ArgumentOutOfRangeException">value is negative or larger than <see cref="P:Microsoft.IO.RecyclableMemoryStreamManager.MaximumStreamCapacity"/>.</exception>
<exception cref="T:System.ObjectDisposedException">Object has been disposed.</exception>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStream.Seek(System.Int64,System.IO.SeekOrigin)">
@@ -1449,7 +1535,7 @@
<param name="loc">From where.</param>
<returns>The new position.</returns>
<exception cref="T:System.ObjectDisposedException">Object has been disposed.</exception>
<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="offset"/> is larger than <see cref="P:Microsoft.IO.RecyclableMemoryStreamManager.Options.MaximumStreamCapacity"/>.</exception>
<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="offset"/> is larger than <see cref="P:Microsoft.IO.RecyclableMemoryStreamManager.MaximumStreamCapacity"/>.</exception>
<exception cref="T:System.ArgumentException">Invalid seek origin.</exception>
<exception cref="T:System.IO.IOException">Attempt to set negative position.</exception>
</member>
@@ -1462,6 +1548,19 @@
<exception cref="T:System.ArgumentNullException"><paramref name="stream"/> is null.</exception>
<exception cref="T:System.ObjectDisposedException">Object has been disposed.</exception>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStream.WriteTo(System.IO.Stream,System.Int32,System.Int32)">
<summary>
Synchronously writes this stream's bytes, starting at offset, for count bytes, to the argument stream.
</summary>
<param name="stream">Destination stream.</param>
<param name="offset">Offset in source.</param>
<param name="count">Number of bytes to write.</param>
<exception cref="T:System.ArgumentNullException"><paramref name="stream"/> is null.</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="offset"/> is less than 0, or <paramref name="offset"/> + <paramref name="count"/> is beyond this <paramref name="stream"/>'s length.
</exception>
<exception cref="T:System.ObjectDisposedException">Object has been disposed.</exception>
</member>
<member name="M:Microsoft.IO.RecyclableMemoryStream.WriteTo(System.IO.Stream,System.Int64,System.Int64)">
<summary>
Synchronously writes this stream's bytes, starting at offset, for count bytes, to the argument stream.

View File

@@ -0,0 +1,13 @@
[GhMes]
FFACTORY=2
FLINE=3
FUSER=4
FLOTNO=
FSTATIONID=
FEQNO=
FEQNAME=
FMATCODE=
Segment=
ProjectModel=
FPCINFO=00-FF-9C-00-29-D0
URL=1

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@@ -7054,7 +7054,7 @@
ColumnInfoRecord that includes the column index or the
index of the default ExtendedFormatRecord (0xF)
</member>
<member name="M:NPOI.HSSF.Model.InternalSheet.SetColumnWidth(System.Int32,System.Double)">
<member name="M:NPOI.HSSF.Model.InternalSheet.SetColumnWidth(System.Int32,System.Int32)">
Set the width for a given column in 1/256th of a Char width Units
@param column - the column number
@param width (in Units of 1/256th of a Char width)
@@ -8687,7 +8687,7 @@
</summary>
<param name="columnNumber">The column number.</param>
</member>
<member name="M:NPOI.HSSF.Record.Aggregates.ColumnInfoRecordsAggregate.SetColumnInfoFields(NPOI.HSSF.Record.ColumnInfoRecord,System.Nullable{System.Int16},System.Nullable{System.Double},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean})">
<member name="M:NPOI.HSSF.Record.Aggregates.ColumnInfoRecordsAggregate.SetColumnInfoFields(NPOI.HSSF.Record.ColumnInfoRecord,System.Nullable{System.Int16},System.Nullable{System.Int32},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean})">
Sets all non null fields into the <c>ci</c> parameter.
</member>
<member name="M:NPOI.HSSF.Record.Aggregates.ColumnInfoRecordsAggregate.AttemptMergeColInfoRecords(System.Int32)">
@@ -8710,7 +8710,7 @@
<param name="hidden">The hidden.</param>
<returns>the column index of the last column in the outline group</returns>
</member>
<member name="M:NPOI.HSSF.Record.Aggregates.ColumnInfoRecordsAggregate.SetColumn(System.Int32,System.Nullable{System.Int16},System.Nullable{System.Double},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean})">
<member name="M:NPOI.HSSF.Record.Aggregates.ColumnInfoRecordsAggregate.SetColumn(System.Int32,System.Nullable{System.Int16},System.Nullable{System.Int32},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean})">
<summary>
Sets the column.
</summary>
@@ -18118,7 +18118,7 @@
<member name="P:NPOI.HSSF.UserModel.HSSFCell.DateCellValue">
<summary>
Get the value of the cell as a date. For strings we throw an exception.
For non-Numeric cells including blank cell we return a null.
For blank cells we return a null.
</summary>
<value>The date cell value.</value>
</member>
@@ -21298,7 +21298,7 @@
<returns>the visiblity state of the column;
</returns>
</member>
<member name="M:NPOI.HSSF.UserModel.HSSFSheet.SetColumnWidth(System.Int32,System.Double)">
<member name="M:NPOI.HSSF.UserModel.HSSFSheet.SetColumnWidth(System.Int32,System.Int32)">
<summary>
Set the width (in Units of 1/256th of a Char width)
</summary>
@@ -24337,40 +24337,36 @@
viewer. The content is returned to the viewer as an array or as an
Iterator, and the object provides a clue as to which technique the
viewer should use to get its content.
A POIFSViewable object is also expected to provide a short
description of itself, that can be used by a viewer when the
viewable object is collapsed.
@author Marc Johnson (mjohnson at apache dot org)
</summary>
</member>
<member name="P:NPOI.POIFS.Dev.POIFSViewable.ViewableArray">
<summary>
Get an array of objects, some of which may implement
POIFSViewable
</summary>
<value>an array of Object; may not be null, but may be empty</value>
</member>
<member name="P:NPOI.POIFS.Dev.POIFSViewable.ViewableIterator">
<summary>
Get an Iterator of objects, some of which may implement POIFSViewable
</summary>
<value>an Iterator; may not be null, but may have an empty
back end store</value>
</member>
<member name="P:NPOI.POIFS.Dev.POIFSViewable.PreferArray">
<summary>
Give viewers a hint as to whether to call <see cref="P:NPOI.POIFS.Dev.POIFSViewable.ViewableArray"/> or
<see cref="P:NPOI.POIFS.Dev.POIFSViewable.ViewableIterator"/>
Provides a short description of the object to be used when a
POIFSViewable object has not provided its contents.
</summary>
<value><see langword="true"/> if a viewer should call <see cref="P:NPOI.POIFS.Dev.POIFSViewable.ViewableArray"/>, <see langword="false"/> if
a viewer should call <see cref="P:NPOI.POIFS.Dev.POIFSViewable.ViewableIterator"/></value>
<value><c>true</c> if [prefer array]; otherwise, <c>false</c>.</value>
</member>
<member name="P:NPOI.POIFS.Dev.POIFSViewable.ShortDescription">
<summary>
Provides a short description of the object, to be used when a
POIFSViewable object has not provided its contents.
Gets the short description.
</summary>
<value>short description</value>
<value>The short description.</value>
</member>
<member name="P:NPOI.POIFS.Dev.POIFSViewable.ViewableArray">
<summary>
Get an array of objects, some of which may implement POIFSViewable
</summary>
<value>The viewable array.</value>
</member>
<member name="P:NPOI.POIFS.Dev.POIFSViewable.ViewableIterator">
<summary>
Give viewers a hint as to whether to call ViewableArray or ViewableIterator
</summary>
<value>The viewable iterator.</value>
</member>
<member name="T:NPOI.POIFS.Dev.POIFSViewEngine">
<summary>
@@ -29855,6 +29851,26 @@
<param name="mask">The mask.</param>
<returns></returns>
</member>
<member name="T:NPOI.Util.BlockingInputStream">
Implementation of a BlockingInputStream to provide data to
RawDataBlock that expects data in 512 byte chunks. Useful to read
data from slow (ie, non FileInputStream) sources, for example when
Reading an OLE2 Document over a network.
Possible extentions: add a timeout. Curently a call to Read(byte[]) on this
class is blocking, so use at your own peril if your underlying stream blocks.
@author Jens Gerhard
@author aviks - documentation cleanups.
</member>
<member name="M:NPOI.Util.BlockingInputStream.Read(System.Byte[])">
We had to revert to byte per byte Reading to keep
with slow network connections on one hand, without
missing the end-of-file.
This is the only method that does its own thing in this class
everything else is delegated to aggregated stream.
THIS IS A BLOCKING BLOCK READ!!!
</member>
<member name="M:NPOI.Util.BoundedInputStream.#ctor(NPOI.Util.ByteArrayInputStream,System.Int64)">
<summary>
Creates a new <c>BoundedInputStream</c> that wraps the given input
@@ -30424,184 +30440,6 @@
<param name="line">The line.</param>
<returns></returns>
</member>
<member name="P:NPOI.Util.Coords.x">
<summary>
x coordinate
</summary>
</member>
<member name="P:NPOI.Util.Coords.y">
<summary>
y coordinate
</summary>
</member>
<member name="M:NPOI.Util.Coords.#ctor">
<summary>
constructer
</summary>
</member>
<member name="M:NPOI.Util.Coords.#ctor(System.Int64,System.Int64)">
<summary>
constructor
</summary>
<param name="x">x coordinate</param>
<param name="y">y coordinate</param>
</member>
<member name="M:NPOI.Util.Coords.#ctor(NPOI.Util.Coords)">
<summary>
constructor
</summary>
<param name="val">coordinate</param>
</member>
<member name="M:NPOI.Util.Coords.Min(NPOI.Util.Coords)">
<summary>
Find the minimum
</summary>
<param name="val"></param>
</member>
<member name="M:NPOI.Util.Coords.Max(NPOI.Util.Coords)">
<summary>
Find the maximum
</summary>
<param name="val"></param>
</member>
<member name="M:NPOI.Util.Coords.Add(NPOI.Util.Coords)">
<summary>
addition value
</summary>
<param name="val"></param>
</member>
<member name="M:NPOI.Util.Coords.Sub(NPOI.Util.Coords)">
<summary>
subtraction value
</summary>
<param name="val"></param>
</member>
<member name="M:NPOI.Util.Coords.op_Addition(NPOI.Util.Coords,NPOI.Util.Coords)">
<summary>
</summary>
<param name="left"></param>
<param name="right"></param>
<returns></returns>
</member>
<member name="M:NPOI.Util.Coords.op_Subtraction(NPOI.Util.Coords,NPOI.Util.Coords)">
<summary>
</summary>
<param name="left"></param>
<param name="right"></param>
<returns></returns>
</member>
<member name="M:NPOI.Util.Coords.op_Multiply(NPOI.Util.Coords,NPOI.Util.Coords)">
<summary>
</summary>
<param name="left"></param>
<param name="right"></param>
<returns></returns>
</member>
<member name="M:NPOI.Util.Coords.InnerProduct(NPOI.Util.Coords)">
<summary>
</summary>
<param name="Coords"></param>
<returns></returns>
</member>
<member name="M:NPOI.Util.Coords.Norm">
<summary>
</summary>
<returns>Norm</returns>
</member>
<member name="P:NPOI.Util.DblVect2D.x">
<summary>
x coordinate
</summary>
</member>
<member name="P:NPOI.Util.DblVect2D.y">
<summary>
y coordinate
</summary>
</member>
<member name="M:NPOI.Util.DblVect2D.#ctor">
<summary>
constructer
</summary>
</member>
<member name="M:NPOI.Util.DblVect2D.#ctor(System.Double,System.Double)">
<summary>
constructor
</summary>
<param name="x">x coordinate</param>
<param name="y">y coordinate</param>
</member>
<member name="M:NPOI.Util.DblVect2D.#ctor(NPOI.Util.DblVect2D)">
<summary>
constructor
</summary>
<param name="val">coordinate</param>
</member>
<member name="M:NPOI.Util.DblVect2D.Min(NPOI.Util.DblVect2D)">
<summary>
Find the minimum
</summary>
<param name="val"></param>
</member>
<member name="M:NPOI.Util.DblVect2D.Max(NPOI.Util.DblVect2D)">
<summary>
Find the maximum
</summary>
<param name="val"></param>
</member>
<member name="M:NPOI.Util.DblVect2D.Add(NPOI.Util.DblVect2D)">
<summary>
addition value
</summary>
<param name="val"></param>
</member>
<member name="M:NPOI.Util.DblVect2D.Sub(NPOI.Util.DblVect2D)">
<summary>
subtraction value
</summary>
<param name="val"></param>
</member>
<member name="M:NPOI.Util.DblVect2D.op_Addition(NPOI.Util.DblVect2D,NPOI.Util.DblVect2D)">
<summary>
</summary>
<param name="left"></param>
<param name="right"></param>
<returns></returns>
</member>
<member name="M:NPOI.Util.DblVect2D.op_Subtraction(NPOI.Util.DblVect2D,NPOI.Util.DblVect2D)">
<summary>
</summary>
<param name="left"></param>
<param name="right"></param>
<returns></returns>
</member>
<member name="M:NPOI.Util.DblVect2D.op_Multiply(NPOI.Util.DblVect2D,NPOI.Util.DblVect2D)">
<summary>
</summary>
<param name="left"></param>
<param name="right"></param>
<returns></returns>
</member>
<member name="M:NPOI.Util.DblVect2D.InnerProduct(NPOI.Util.DblVect2D)">
<summary>
</summary>
<param name="Coords"></param>
<returns></returns>
</member>
<member name="M:NPOI.Util.DblVect2D.Norm">
<summary>
</summary>
<returns>Norm</returns>
</member>
<member name="T:NPOI.Util.CRC32">
<summary>
CRC Verification
@@ -31541,18 +31379,19 @@
<member name="M:NPOI.Util.IOUtils.ReadFully(System.IO.Stream,System.Byte[],System.Int32,System.Int32)">
<summary>
Same as the normal InputStream#read(byte[], int, int), but tries to ensure
that the entire len number of bytes is read
If the end of file is reached before any bytes are read, returns -1.
that the buffer is filled completely if possible, i.e. b.remaining()
returns 0.
If the end of file is reached before any bytes are Read, returns -1.
If the end of the file is reached after some bytes are read, returns the
number of bytes read. If the end of the file isn't reached before the
buffer has no more remaining capacity, will return len bytes
buffer has no more remaining capacity, will return the number of bytes
that were read.
</summary>
<param name="stream">the stream from which the data is read.</param>
<param name="b">the buffer into which the data is read.</param>
<param name="off">the start offset in array b at which the data is written.</param>
<param name="len">the maximum number of bytes to read.</param>
<returns>the number of bytes read or -1 if no bytes were read</returns>
<returns></returns>
</member>
<member name="M:NPOI.Util.IOUtils.Copy(System.IO.Stream,System.IO.Stream)">
<summary>
@@ -40262,7 +40101,7 @@
</member>
<member name="P:NPOI.SS.UserModel.ICell.DateCellValue">
<summary>
Get the value of the cell as a date. For non-Numeric cells including blank cell we return a null.
Get the value of the cell as a date.
</summary>
<exception cref="T:System.InvalidOperationException">if the cell type returned by GetCellType() is CELL_TYPE_STRING</exception>
<exception cref="T:System.FormatException">if the cell value isn't a parsable double</exception>
@@ -44063,7 +43902,7 @@
<param name="targetCell">Cell to paste the comment to</param>
<returns>Copied comment</returns>
</member>
<member name="M:NPOI.SS.UserModel.ISheet.SetColumnWidth(System.Int32,System.Double)">
<member name="M:NPOI.SS.UserModel.ISheet.SetColumnWidth(System.Int32,System.Int32)">
<summary>
Set the width (in units of 1/256th of a character width)
</summary>
@@ -44996,9 +44835,6 @@
style definition
</summary>
</member>
<member name="T:NPOI.SS.UserModel.ITextbox">
This interface isn't implemented ...
</member>
<member name="P:NPOI.SS.UserModel.ITextbox.String">
@return the rich text string for this textbox.
</member>
@@ -45796,6 +45632,30 @@
<member name="F:NPOI.SS.Util.CellReference.SPECIAL_NAME_DELIMITER">
The character (') used to quote sheet names when they contain special characters
</member>
<member name="F:NPOI.SS.Util.CellReference.CELL_REF_PATTERN">
Matches a run of one or more letters followed by a run of one or more digits.
Both the letter and number groups are optional.
The run of letters is group 1 and the run of digits is group 2.
Each group may optionally be prefixed with a single '$'.
</member>
<member name="F:NPOI.SS.Util.CellReference.STRICTLY_CELL_REF_PATTERN">
Matches references only where row and column are included.
Matches a run of one or more letters followed by a run of one or more digits.
If a reference does not match this pattern, it might match COLUMN_REF_PATTERN or ROW_REF_PATTERN
References may optionally include a single '$' before each group, but these are excluded from the Matcher.group(int).
</member>
<member name="F:NPOI.SS.Util.CellReference.COLUMN_REF_PATTERN">
Matches a run of one or more letters. The run of letters is group 1.
References may optionally include a single '$' before the group, but these are excluded from the Matcher.group(int).
</member>
<member name="F:NPOI.SS.Util.CellReference.ROW_REF_PATTERN">
Matches a run of one or more letters. The run of numbers is group 1.
References may optionally include a single '$' before the group, but these are excluded from the Matcher.group(int).
</member>
<member name="F:NPOI.SS.Util.CellReference.NAMED_RANGE_NAME_PATTERN">
Named range names must start with a letter or underscore. Subsequent characters may include
digits or dot. (They can even end in dot).
</member>
<member name="M:NPOI.SS.Util.CellReference.#ctor(System.String)">
Create an cell ref from a string representation. Sheet names containing special characters should be
delimited and escaped as per normal syntax rules for formulas.
@@ -45818,7 +45678,7 @@
representation.
eg column #3 -> D
</member>
<member name="M:NPOI.SS.Util.CellReference.SeparateRefParts(System.ReadOnlySpan{System.Char})">
<member name="M:NPOI.SS.Util.CellReference.SeparateRefParts(System.String)">
Separates the row from the columns and returns an array of three Strings. The first element
is the sheet name. Only the first element may be null. The second element in is the column
name still in ALPHA-26 number format. The third element is the row.
@@ -45884,17 +45744,6 @@
<member name="M:NPOI.SS.Util.CellReference.IsColumnWithnRange(System.String,NPOI.SS.SpreadsheetVersion)">
@deprecated 3.15 beta 2. Use {@link #isColumnWithinRange}.
</member>
<member name="M:NPOI.SS.Util.CellReferenceParser.TryParse(System.ReadOnlySpan{System.Char},System.Char@,System.ReadOnlySpan{System.Char}@,System.Char@,System.ReadOnlySpan{System.Char}@)">
<summary>
Generic parsing logic that extracts reference information.
</summary>
<param name="input">Input to parse.</param>
<param name="columnPrefix">Possible column prefix like '$', <see cref="F:System.Char.MinValue" /> if none.</param>
<param name="column">Column name string, empty if none.</param>
<param name="rowPrefix">Possible row prefix like '$', <see cref="F:System.Char.MinValue" /> if none.</param>
<param name="row">Row data, empty if none</param>
<returns></returns>
</member>
<member name="T:NPOI.SS.Util.CellUtil">
Various utility functions that make working with a cells and rows easier. The various methods
that deal with style's allow you to create your CellStyles as you need them. When you apply a
@@ -46652,6 +46501,13 @@
@param cell cell to change
@param value value to set
</member>
<member name="T:NPOI.SS.Util.SheetReferences">
Holds a collection of Sheet names and their associated
reference numbers.
@author Andrew C. Oliver (acoliver at apache dot org)
</member>
<member name="T:NPOI.SS.Util.SheetUtil">
Helper methods for when working with Usermodel sheets
@@ -46829,22 +46685,6 @@
Base class of all the exceptions that POI throws in the event
that it's given a file that isn't supported
</member>
<member name="T:NPOI.WP.UserModel.HeaderFooterType">
@since POI v3.16 beta 1
</member>
<member name="F:NPOI.WP.UserModel.HeaderFooterType.DEFAULT">
This is the default header or Footer, It is displayed on every page where
a more specific header or footer is not specified. It is always displayed
on ODD pages that are not the first page of the section.
</member>
<member name="F:NPOI.WP.UserModel.HeaderFooterType.EVEN">
This is an even page header or footer, it is displayed on even pages that
are not the first page of the section.
</member>
<member name="F:NPOI.WP.UserModel.HeaderFooterType.FIRST">
This is a first page header or footer It is displayed on the first page
of the section.
</member>
<member name="T:NPOI.WP.UserModel.ICharacterRun">
This class represents a run of text that share common properties.
</member>

Binary file not shown.

View File

@@ -1403,7 +1403,7 @@
@see #getMergedRange(CellRangeAddress[][], int, int)
</member>
<member name="M:NPOI.SS.Converter.ExcelToHtmlUtils.GetColumnWidthInPx(System.Double)">
<member name="M:NPOI.SS.Converter.ExcelToHtmlUtils.GetColumnWidthInPx(System.Int32)">
See <a href=
"http://apache-poi.1045710.n5.nabble.com/Excel-Column-Width-Unit-Converter-pixels-excel-column-width-units-td2301481.html"
>here</a> for Xio explanation and details
@@ -2295,11 +2295,6 @@
Deletes the temporary file that backed this sheet on disk.
@return true if the file was deleted, false if it wasn't.
</member>
<member name="P:NPOI.XSSF.Streaming.SXSSFCell.DateCellValue">
<summary>
Get DateTime-type cell value
</summary>
</member>
<member name="M:NPOI.XSSF.Streaming.SXSSFCell.typeMismatch(NPOI.SS.UserModel.CellType,NPOI.SS.UserModel.CellType,System.Boolean)">
Used to help format error messages
</member>
@@ -2630,12 +2625,6 @@
whether temp file should be compresss.
</summary>
</member>
<member name="F:NPOI.XSSF.Streaming.SXSSFWorkbook._useZip64">
<summary>
setting this flag On allows to write large files;
however, this can lead to compatibility issues
</summary>
</member>
<member name="F:NPOI.XSSF.Streaming.SXSSFWorkbook._sharedStringSource">
<summary>
shared string table - a cache of strings in this workbook.
@@ -4245,14 +4234,12 @@
Create a new SpreadsheetML chart
</member>
<member name="M:NPOI.XSSF.UserModel.XSSFChart.#ctor(NPOI.OpenXml4Net.OPC.PackagePart)">
Construct a SpreadsheetML chart from a package part.
Construct a SpreadsheetML chart from a namespace part.
@param part the package part holding the chart data,
the content type must be <code>application/vnd.openxmlformats-officedocument.drawingml.chart+xml</code>
@param rel the package relationship holding this chart,
the relationship type must be http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart
@since POI 3.14-Beta1
@param part the namespace part holding the chart data,
the content type must be <code>application/vnd.Openxmlformats-officedocument.Drawingml.chart+xml</code>
@param rel the namespace relationship holding this chart,
the relationship type must be http://schemas.Openxmlformats.org/officeDocument/2006/relationships/chart
</member>
<member name="M:NPOI.XSSF.UserModel.XSSFChart.CreateChart">
Construct a new CTChartSpace bean.
@@ -4339,16 +4326,6 @@
@param col2 the column (0 based) of the second cell.
@param row2 the row (0 based) of the second cell.
</member>
<member name="M:NPOI.XSSF.UserModel.XSSFClientAnchor.#ctor(NPOI.SS.UserModel.ISheet,System.Int32,System.Int32,System.Int32,System.Int32)">
<summary>
</summary>
<param name="Sheet"></param>
<param name="dx1"></param>
<param name="dy1"></param>
<param name="dx2"></param>
<param name="dy2"></param>
</member>
<member name="M:NPOI.XSSF.UserModel.XSSFClientAnchor.#ctor(NPOI.OpenXmlFormats.Dml.Spreadsheet.CT_Marker,NPOI.OpenXmlFormats.Dml.Spreadsheet.CT_Marker)">
Create XSSFClientAnchor from existing xml beans
@@ -4783,15 +4760,6 @@
to the sheet.
@return the newly Created shape.
</member>
<member name="M:NPOI.XSSF.UserModel.XSSFDrawing.CreateFreeform(NPOI.SS.UserModel.ISheet,NPOI.XSSF.UserModel.BuildFreeForm)">
<summary>
</summary>
<param name="Sheet"></param>
<param name="anchor"></param>
<param name="coords"></param>
<returns></returns>
</member>
<member name="M:NPOI.XSSF.UserModel.XSSFDrawing.CreateGroup(NPOI.XSSF.UserModel.XSSFClientAnchor)">
Creates a simple shape. This includes such shapes as lines, rectangles,
and ovals.
@@ -5180,54 +5148,6 @@
<member name="M:NPOI.XSSF.UserModel.XSSFFormulaEvaluator.ToEvaluationCell(NPOI.SS.UserModel.ICell)">
Turns a XSSFCell into a XSSFEvaluationCell
</member>
<member name="F:NPOI.XSSF.UserModel.XSSFFreeform.prototype">
A default instance of CTShape used for creating new shapes.
</member>
<member name="F:NPOI.XSSF.UserModel.XSSFFreeform.ctShape">
Xml bean that stores properties of this shape
</member>
<member name="M:NPOI.XSSF.UserModel.XSSFFreeform.#ctor(NPOI.XSSF.UserModel.XSSFDrawing,NPOI.OpenXmlFormats.Dml.Spreadsheet.CT_Shape)">
<summary>
</summary>
<param name="Drawing"></param>
<param name="ctShape"></param>
</member>
<member name="M:NPOI.XSSF.UserModel.XSSFFreeform.Prototype">
Prototype with the default structure of a new auto-shape.
</member>
<member name="M:NPOI.XSSF.UserModel.XSSFFreeform.GetCTShape">
<summary>
</summary>
<returns></returns>
</member>
<member name="P:NPOI.XSSF.UserModel.XSSFFreeform.ID">
<summary>
</summary>
</member>
<member name="P:NPOI.XSSF.UserModel.XSSFFreeform.Name">
Returns the simple shape name.
@return name of the simple shape
</member>
<member name="M:NPOI.XSSF.UserModel.XSSFFreeform.GetShapeProperties">
<summary>
</summary>
<returns></returns>
</member>
<member name="M:NPOI.XSSF.UserModel.XSSFFreeform.Build(NPOI.XSSF.UserModel.BuildFreeForm)">
<summary>
</summary>
<param name="BFF"></param>
</member>
<member name="T:NPOI.XSSF.UserModel.BuildFreeForm">
<summary>
</summary>
</member>
<member name="T:NPOI.XSSF.UserModel.XSSFGraphicFrame">
Represents DrawingML GraphicalObjectFrame.
@@ -5887,26 +5807,6 @@
@return footer margin
</member>
<member name="P:NPOI.XSSF.UserModel.XSSFPrintSetup.TopMargin">
<summary>
Page margin top (In inch)
</summary>
</member>
<member name="P:NPOI.XSSF.UserModel.XSSFPrintSetup.LeftMargin">
<summary>
Page margin left (In inch)
</summary>
</member>
<member name="P:NPOI.XSSF.UserModel.XSSFPrintSetup.RightMargin">
<summary>
Page margin right (In inch)
</summary>
</member>
<member name="P:NPOI.XSSF.UserModel.XSSFPrintSetup.BottomMargin">
<summary>
Page margin bottom (In inch)
</summary>
</member>
<member name="P:NPOI.XSSF.UserModel.XSSFPrintSetup.Copies">
Returns the number of copies.
@@ -6411,7 +6311,7 @@
to the group.
@return the newly Created shape.
</member>
<member name="M:NPOI.XSSF.UserModel.XSSFShapeGroup.CreatePicture(NPOI.XSSF.UserModel.XSSFChildAnchor,System.Int32)">
<member name="M:NPOI.XSSF.UserModel.XSSFShapeGroup.CreatePicture(NPOI.XSSF.UserModel.XSSFClientAnchor,System.Int32)">
Creates a picture.
@param anchor the client anchor describes how this picture is attached to the sheet.
@@ -6419,15 +6319,6 @@
{@link XSSFWorkbook#getAllPictures()} .
@return the newly Created picture shape.
</member>
<member name="M:NPOI.XSSF.UserModel.XSSFShapeGroup.CreateFreeform(NPOI.XSSF.UserModel.BuildFreeForm)">
<summary>
</summary>
<param name="Sheet"></param>
<param name="anchor"></param>
<param name="coords"></param>
<returns></returns>
</member>
<member name="M:NPOI.XSSF.UserModel.XSSFShapeGroup.SetCoordinates(System.Int32,System.Int32,System.Int32,System.Int32)">
Sets the coordinate space of this group. All children are constrained
to these coordinates.
@@ -6468,7 +6359,10 @@
<member name="P:NPOI.XSSF.UserModel.XSSFSheet.DefaultColumnWidth">
<summary>
Get the default column width for the sheet (if the columns do not
define their own width) in characters.
define their own width) in characters. Note, this value is different
from <see cref="M:NPOI.XSSF.UserModel.XSSFSheet.GetColumnWidth(System.Int32)"/>. The latter is always greater and
includes 4 pixels of margin pAdding(two on each side), plus 1 pixel
pAdding for the gridlines.
</summary>
</member>
<member name="P:NPOI.XSSF.UserModel.XSSFSheet.DefaultRowHeight">
@@ -7037,6 +6931,12 @@
<member name="M:NPOI.XSSF.UserModel.XSSFSheet.GetColumnWidth(System.Int32)">
<summary>
Get the actual column width (in units of 1/256th of a character width)
Note, the returned value is always gerater that <see cref="P:NPOI.XSSF.UserModel.XSSFSheet.DefaultColumnWidth"/>
because the latter does not include margins. Actual column width
measured as the number of characters of the maximum digit width of
thenumbers 0, 1, 2, ..., 9 as rendered in the normal style's font.
There are 4 pixels of margin pAdding(two on each side), plus 1 pixel
pAdding for the gridlines.
</summary>
<param name="columnIndex">the column to set (0-based)</param>
<returns>the width in units of 1/256th of a character width</returns>
@@ -7206,7 +7106,7 @@
<param name="columnIndex">the column to get (0-based)</param>
<param name="hidden">the visiblity state of the column</param>
</member>
<member name="M:NPOI.XSSF.UserModel.XSSFSheet.SetColumnWidth(System.Int32,System.Double)">
<member name="M:NPOI.XSSF.UserModel.XSSFSheet.SetColumnWidth(System.Int32,System.Int32)">
<summary>
Set the width (in units of 1/256th of a character width)
<para>
@@ -7843,12 +7743,6 @@
<param name="refConfig"></param>
<returns>The pivot table</returns>
</member>
<member name="M:NPOI.XSSF.UserModel.XSSFSheet.SetDefaultColWidth(System.Int32)">
<summary>
</summary>
<param name="Width">In EMU</param>
</member>
<member name="T:NPOI.XSSF.UserModel.XSSFSheetConditionalFormatting">
XSSF Conditional Formattings
</member>
@@ -9239,9 +9133,10 @@
hyperlink label, and not the contents
</member>
<member name="T:NPOI.XWPF.Model.XMLParagraph">
Base class for XWPF paragraphs
Base class for XWPF paragraphs
@author Yury Batrakov (batrakov at gmail.com)
This class isn't used ...
</member>
<member name="T:NPOI.XWPF.Model.XWPFCommentsDecorator">
Decorator class for XWPFParagraph allowing to add comments
@@ -9292,23 +9187,11 @@
(1 based) page.
@param pageNumber The one based page number
</member>
<member name="M:NPOI.XWPF.Model.XWPFHeaderFooterPolicy.GetHeader(NPOI.OpenXmlFormats.Wordprocessing.ST_HdrFtr)">
Get this section header for the given type
@param type of header to return
@return {@link XWPFHeader} object
</member>
<member name="M:NPOI.XWPF.Model.XWPFHeaderFooterPolicy.GetFooter(System.Int32)">
Get the footer that applies to the given
(1 based) page.
@param pageNumber The one based page number
</member>
<member name="M:NPOI.XWPF.Model.XWPFHeaderFooterPolicy.GetFooter(NPOI.OpenXmlFormats.Wordprocessing.ST_HdrFtr)">
Get this section footer for the given type
@param type of footer to return
@return {@link XWPFFooter} object
</member>
<member name="T:NPOI.XWPF.Model.XWPFParagraphDecorator">
Base decorator class for XWPFParagraph
</member>
@@ -10503,24 +10386,6 @@
Returns the policy on headers and footers, which
also provides a way to Get at them.
</member>
<member name="M:NPOI.XWPF.UserModel.XWPFDocument.CreateHeader(NPOI.WP.UserModel.HeaderFooterType)">
Create a header of the given type
@param type {@link HeaderFooterType} enum
@return object of type {@link XWPFHeader}
</member>
<member name="M:NPOI.XWPF.UserModel.XWPFDocument.CreateFooter(NPOI.WP.UserModel.HeaderFooterType)">
Create a footer of the given type
@param type {@link HeaderFooterType} enum
@return object of type {@link XWPFFooter}
</member>
<member name="M:NPOI.XWPF.UserModel.XWPFDocument.GetSection">
Return the {@link CTSectPr} object that corresponds with the
last section in this document.
@return {@link CTSectPr} object
</member>
<member name="M:NPOI.XWPF.UserModel.XWPFDocument.GetCTStyle">
Returns the styles object used
</member>
@@ -10636,11 +10501,11 @@
<member name="M:NPOI.XWPF.UserModel.XWPFDocument.GetLastParagraph">
@return the LastParagraph of the document
</member>
<member name="M:NPOI.XWPF.UserModel.XWPFDocument.CreateTable(System.Nullable{System.Int32})">
<member name="M:NPOI.XWPF.UserModel.XWPFDocument.CreateTable">
Create an empty table with one row and one column as default.
@return a new table
</member>
<member name="M:NPOI.XWPF.UserModel.XWPFDocument.CreateTable(System.Int32,System.Int32,System.Nullable{System.Int32})">
<member name="M:NPOI.XWPF.UserModel.XWPFDocument.CreateTable(System.Int32,System.Int32)">
Create an empty table with a number of rows and cols specified
@param rows
@param cols
@@ -10735,22 +10600,6 @@
&lt;w:documentProtection w:edit=&quot;readOnly&quot; w:enforcement=&quot;1&quot;/&gt;
</pre>
</member>
<member name="M:NPOI.XWPF.UserModel.XWPFDocument.EnforceReadonlyProtection(System.String,NPOI.POIFS.Crypt.HashAlgorithm)">
Enforces the readOnly protection with a password.<br/>
<br/>
sample snippet from settings.xml
<pre>
&lt;w:documentProtection w:edit=&quot;readOnly&quot; w:enforcement=&quot;1&quot;
w:cryptProviderType=&quot;rsaAES&quot; w:cryptAlgorithmClass=&quot;hash&quot;
w:cryptAlgorithmType=&quot;typeAny&quot; w:cryptAlgorithmSid=&quot;14&quot;
w:cryptSpinCount=&quot;100000&quot; w:hash=&quot;...&quot; w:salt=&quot;....&quot;
/&gt;
</pre>
@param password the plaintext password, if null no password will be applied
@param hashAlgo the hash algorithm - only md2, m5, sha1, sha256, sha384 and sha512 are supported.
if null, it will default default to sha1
</member>
<member name="M:NPOI.XWPF.UserModel.XWPFDocument.EnforceFillingFormsProtection">
Enforce the Filling Forms protection.<br/>
In the documentProtection tag inside Settings.xml file, <br/>
@@ -10763,22 +10612,6 @@
&lt;w:documentProtection w:edit=&quot;forms&quot; w:enforcement=&quot;1&quot;/&gt;
</pre>
</member>
<member name="M:NPOI.XWPF.UserModel.XWPFDocument.EnforceFillingFormsProtection(System.String,NPOI.POIFS.Crypt.HashAlgorithm)">
Enforce the Filling Forms protection.<br/>
<br/>
sample snippet from settings.xml
<pre>
&lt;w:documentProtection w:edit=&quot;forms&quot; w:enforcement=&quot;1&quot;
w:cryptProviderType=&quot;rsaAES&quot; w:cryptAlgorithmClass=&quot;hash&quot;
w:cryptAlgorithmType=&quot;typeAny&quot; w:cryptAlgorithmSid=&quot;14&quot;
w:cryptSpinCount=&quot;100000&quot; w:hash=&quot;...&quot; w:salt=&quot;....&quot;
/&gt;
</pre>
@param password the plaintext password, if null no password will be applied
@param hashAlgo the hash algorithm - only md2, m5, sha1, sha256, sha384 and sha512 are supported.
if null, it will default default to sha1
</member>
<member name="M:NPOI.XWPF.UserModel.XWPFDocument.EnforceCommentsProtection">
Enforce the Comments protection.<br/>
In the documentProtection tag inside Settings.xml file,<br/>
@@ -10791,22 +10624,6 @@
&lt;w:documentProtection w:edit=&quot;comments&quot; w:enforcement=&quot;1&quot;/&gt;
</pre>
</member>
<member name="M:NPOI.XWPF.UserModel.XWPFDocument.EnforceCommentsProtection(System.String,NPOI.POIFS.Crypt.HashAlgorithm)">
Enforce the Comments protection.<br/>
<br/>
sample snippet from settings.xml
<pre>
&lt;w:documentProtection w:edit=&quot;comments&quot; w:enforcement=&quot;1&quot;
w:cryptProviderType=&quot;rsaAES&quot; w:cryptAlgorithmClass=&quot;hash&quot;
w:cryptAlgorithmType=&quot;typeAny&quot; w:cryptAlgorithmSid=&quot;14&quot;
w:cryptSpinCount=&quot;100000&quot; w:hash=&quot;...&quot; w:salt=&quot;....&quot;
/&gt;
</pre>
@param password the plaintext password, if null no password will be applied
@param hashAlgo the hash algorithm - only md2, m5, sha1, sha256, sha384 and sha512 are supported.
if null, it will default default to sha1
</member>
<member name="M:NPOI.XWPF.UserModel.XWPFDocument.EnforceTrackedChangesProtection">
Enforce the Tracked Changes protection.<br/>
In the documentProtection tag inside Settings.xml file, <br/>
@@ -10819,28 +10636,6 @@
&lt;w:documentProtection w:edit=&quot;trackedChanges&quot; w:enforcement=&quot;1&quot;/&gt;
</pre>
</member>
<member name="M:NPOI.XWPF.UserModel.XWPFDocument.EnforceTrackedChangesProtection(System.String,NPOI.POIFS.Crypt.HashAlgorithm)">
Enforce the Tracked Changes protection.<br/>
<br/>
sample snippet from settings.xml
<pre>
&lt;w:documentProtection w:edit=&quot;trackedChanges&quot; w:enforcement=&quot;1&quot;
w:cryptProviderType=&quot;rsaAES&quot; w:cryptAlgorithmClass=&quot;hash&quot;
w:cryptAlgorithmType=&quot;typeAny&quot; w:cryptAlgorithmSid=&quot;14&quot;
w:cryptSpinCount=&quot;100000&quot; w:hash=&quot;...&quot; w:salt=&quot;....&quot;
/&gt;
</pre>
@param password the plaintext password, if null no password will be applied
@param hashAlgo the hash algorithm - only md2, m5, sha1, sha256, sha384 and sha512 are supported.
if null, it will default default to sha1
</member>
<member name="M:NPOI.XWPF.UserModel.XWPFDocument.ValidateProtectionPassword(System.String)">
Validates the existing password
@param password
@return true, only if password was set and equals, false otherwise
</member>
<member name="M:NPOI.XWPF.UserModel.XWPFDocument.RemoveProtectionEnforcement">
Remove protection enforcement.<br/>
In the documentProtection tag inside Settings.xml file <br/>
@@ -11212,31 +11007,6 @@
@return XWPFPictureData of a specificID
@throws Exception
</member>
<member name="M:NPOI.XWPF.UserModel.XWPFHeaderFooter.CreateParagraph">
Adds a new paragraph at the end of the header or footer
@return new {@link XWPFParagraph} object
</member>
<member name="M:NPOI.XWPF.UserModel.XWPFHeaderFooter.CreateTable(System.Int32,System.Int32)">
Adds a new table at the end of the header or footer
@param rows - number of rows in the table
@param cols - number of columns in the table
@return new {@link XWPFTable} object
</member>
<member name="M:NPOI.XWPF.UserModel.XWPFHeaderFooter.RemoveParagraph(NPOI.XWPF.UserModel.XWPFParagraph)">
Removes a specific paragraph from this header / footer
@param paragraph - {@link XWPFParagraph} object to remove
</member>
<member name="M:NPOI.XWPF.UserModel.XWPFHeaderFooter.RemoveTable(NPOI.XWPF.UserModel.XWPFTable)">
Removes a specific table from this header / footer
@param table - {@link XWPFTable} object to remove
</member>
<member name="M:NPOI.XWPF.UserModel.XWPFHeaderFooter.ClearHeaderFooter">
Clears all paragraphs and tables from this header / footer
</member>
<member name="P:NPOI.XWPF.UserModel.XWPFHeaderFooter.Owner">
verifies that cursor is on the right position
@param cursor
@@ -11258,6 +11028,9 @@
returns the Part, to which the body belongs, which you need for Adding relationship to other parts
@see NPOI.XWPF.UserModel.IBody#getPart()
</member>
<member name="M:NPOI.XWPF.UserModel.XWPFHeaderFooter.CreateParagraph">
Adds a new paragraph at the end of the header or footer
</member>
<member name="T:NPOI.XWPF.UserModel.XWPFHyperlink">
* Sketch of XWPF hyperlink class
*
@@ -11279,7 +11052,8 @@
checks whether specific LatentStyleID is a latentStyle
</member>
<member name="T:NPOI.XWPF.UserModel.XWPFNum">
TODO Bring more of the logic over from XWPFParagraph
@author Philipp Epp
</member>
<member name="T:NPOI.XWPF.UserModel.XWPFNumbering">
@author Philipp Epp
@@ -11540,7 +11314,7 @@
Specifies the spacing that should be Added After the last line in this
paragraph in the document in absolute units.
@return int - value representing the spacing After the paragraph
@return bigint - value representing the spacing After the paragraph
@see #setSpacingAfterLines(int)
</member>
<member name="P:NPOI.XWPF.UserModel.XWPFParagraph.SpacingBefore">
@@ -11574,31 +11348,6 @@
<return>a double specifying points or lines.</return>
</summary>
</member>
<member name="M:NPOI.XWPF.UserModel.XWPFParagraph.GetSpacingBetween">
Return the spacing between lines of a paragraph. The units of the return value depends on the
{@link LineSpacingRule}. If AUTO, the return value is in lines, otherwise the return
value is in points
@return a double specifying points or lines.
</member>
<member name="M:NPOI.XWPF.UserModel.XWPFParagraph.SetSpacingBetween(System.Double)">
Sets the spacing between lines in a paragraph
@param spacing - A double specifying spacing in lines.
</member>
<member name="M:NPOI.XWPF.UserModel.XWPFParagraph.SetSpacingBetween(System.Double,NPOI.XWPF.UserModel.LineSpacingRule)">
Sets the spacing between lines in a paragraph
@param spacing - A double specifying spacing in inches or lines. If rule is
AUTO, then spacing is in lines. Otherwise spacing is in points.
@param rule - {@link LineSpacingRule} indicating how spacing is interpreted. If
AUTO, then spacing value is in lines, and the height depends on the
font size. If AT_LEAST, then spacing value is in inches, and is the
minimum size of the line. If the line height is taller, then the
line expands to match. If EXACT, then spacing is the exact line
height. If the text is taller than the line height, then it is
clipped at the top.
</member>
<member name="P:NPOI.XWPF.UserModel.XWPFParagraph.IndentationLeft">
Specifies the indentation which shall be placed between the left text
margin for this paragraph and the left edge of that paragraph's content
@@ -12248,29 +11997,6 @@
&lt;w:documentProtection w:edit=&quot;[passed editValue]&quot; w:enforcement=&quot;1&quot;/&gt;
</pre>
</member>
<member name="M:NPOI.XWPF.UserModel.XWPFSettings.SetEnforcementEditValue(NPOI.OpenXmlFormats.Wordprocessing.ST_DocProtect,System.String,NPOI.POIFS.Crypt.HashAlgorithm)">
Enforces the protection with the option specified by passed editValue and password.<br/>
<br/>
sample snippet from settings.xml
<pre>
&lt;w:documentProtection w:edit=&quot;[passed editValue]&quot; w:enforcement=&quot;1&quot;
w:cryptProviderType=&quot;rsaAES&quot; w:cryptAlgorithmClass=&quot;hash&quot;
w:cryptAlgorithmType=&quot;typeAny&quot; w:cryptAlgorithmSid=&quot;14&quot;
w:cryptSpinCount=&quot;100000&quot; w:hash=&quot;...&quot; w:salt=&quot;....&quot;
/&gt;
</pre>
@param editValue the protection type
@param password the plaintext password, if null no password will be applied
@param hashAlgo the hash algorithm - only md2, m5, sha1, sha256, sha384 and sha512 are supported.
if null, it will default default to sha1
</member>
<member name="M:NPOI.XWPF.UserModel.XWPFSettings.ValidateProtectionPassword(System.String)">
Validates the existing password
@param password
@return true, only if password was set and equals, false otherwise
</member>
<member name="M:NPOI.XWPF.UserModel.XWPFSettings.RemoveEnforcement">
Removes protection enforcement.<br/>
In the documentProtection tag inside Settings.xml file <br/>
@@ -12657,37 +12383,11 @@
split, FALSE means allow rows to split.
@return true if rows can't be split, false otherwise.
</member>
<member name="M:NPOI.XWPF.UserModel.XWPFTableRow.SetCantSplitRow(System.Boolean)">
Controls whether to allow this table row to split across pages.
The logic for this attribute is a little unusual: a true value means
DON'T allow rows to split, false means allow rows to split.
@param split - if true, don't allow row to be split. If false, allow
row to be split.
</member>
<member name="P:NPOI.XWPF.UserModel.XWPFTableRow.IsRepeatHeader">
Return true if a table's header row should be repeated at the top of a
table split across pages. NOTE - Word will not repeat a table row unless
all preceding rows of the table are also repeated. This function returns
false if the row will not be repeated even if the repeat tag is present
for this row.
@return true if table's header row should be repeated at the top of each
page of table, false otherwise.
This attribute controls whether to repeat a table's header row at the top
of a table split across pages. NOTE - for a row to be repeated, all preceding
rows in the table must also be repeated.
@param repeat - if TRUE, repeat header row at the top of each page of table;
if FALSE, don't repeat header row.
</member>
<member name="M:NPOI.XWPF.UserModel.XWPFTableRow.SetRepeatHeader(System.Boolean)">
This attribute controls whether to repeat a table's header row at the top
of a table split across pages. NOTE - for a row to be repeated, all preceding
rows in the table must also be repeated.
@param repeat - if TRUE, repeat header row at the top of each page of table;
if FALSE, don't repeat header row.
Return true if a table's header row should be repeated at the top of a
table split across pages.
@return true if table's header row should be repeated at the top of each
page of table, false otherwise.
</member>
<member name="M:NPOI.XWPF.Usermodel.MathContainer.CreateAcc">
<summary>

View File

@@ -18,6 +18,13 @@
<member name="F:NPOI.OpenXml4Net.OPC.CertificateEmbeddingOption.NOT_EMBEDDED">
The certificate in not embedded in the package.
</member>
<member name="T:NPOI.OpenXml4Net.OPC.Configuration">
Storage class for configuration storage parameters.
TODO xml syntax checking is no longer done with DOM4j parser -> remove the schema or do it ?
@author CDubettier, Julen Chable
@version 1.0
</member>
<member name="T:NPOI.OpenXml4Net.OPC.ContentTypes">
Open Packaging Convention content types (see Annex F : Standard Namespaces
and Content Types).
@@ -1014,18 +1021,16 @@
@ if a parsing error occur.
</member>
<member name="M:NPOI.OpenXml4Net.OPC.OPCPackage.Open(System.String,NPOI.OpenXml4Net.OPC.PackageAccess)">
* Open a package.
*
* @param path
* The document path.
* @param access
* PackageBase access.
* @return A PackageBase object, else <b>null</b>.
* @throws InvalidFormatException
* If the specified file doesn't exist, and a parsing error
* occur.
* @throws InvalidOperationException If the zip file cannot be opened.
* @throws InvalidFormatException if the package is not valid.
Open a package.
@param path
The document path.
@param access
PackageBase access.
@return A PackageBase object, else <b>null</b>.
@throws InvalidFormatException
If the specified file doesn't exist, and a parsing error
occur.
</member>
<member name="M:NPOI.OpenXml4Net.OPC.OPCPackage.Open(System.IO.FileInfo,NPOI.OpenXml4Net.OPC.PackageAccess)">
Open a package.
@@ -1067,6 +1072,11 @@
Path of the document.
@return A newly Created PackageBase ready to use.
</member>
<member name="M:NPOI.OpenXml4Net.OPC.OPCPackage.ConfigurePackage(NPOI.OpenXml4Net.OPC.OPCPackage)">
Configure the package.
@param pkg
</member>
<member name="M:NPOI.OpenXml4Net.OPC.OPCPackage.Flush">
Flush the package : save all.
@@ -1108,12 +1118,13 @@
@see org.apache.poi.OpenXml4Net.opc.PackageAccess
</member>
<member name="M:NPOI.OpenXml4Net.OPC.OPCPackage.ThrowExceptionIfWriteOnly">
* Throws an exception if the package access mode is in write only mode
* (PackageAccess.Write). This method is call when other methods need write
* right.
*
* @throws InvalidOperationException if a read operation is done on a write only package.
* @see org.apache.poi.OpenXml4Net.opc.PackageAccess
Throws an exception if the package access mode is in write only mode
(PackageAccess.Write). This method is call when other methods need write
right.
@throws InvalidOperationException
Throws if a read operation is done on a write only package.
@see org.apache.poi.OpenXml4Net.opc.PackageAccess
</member>
<member name="M:NPOI.OpenXml4Net.OPC.OPCPackage.GetPackageProperties">
Retrieves or Creates if none exists, core package property part.
@@ -1158,16 +1169,13 @@
The part relationship uses to retrieve the part.
</member>
<member name="M:NPOI.OpenXml4Net.OPC.OPCPackage.GetParts">
Load the parts of the archive if it has not been done yet. The
relationships of each part are not loaded.
Note - Rule M4.1 states that there may only ever be one Core
Properties Part, but Office produced files will sometimes
have multiple! As Office ignores all but the first, we relax
Compliance with Rule M4.1, and ignore all others silently too.
@return All this package's parts.
@throws InvalidFormatException if the package is not valid.
Load the parts of the archive if it has not been done yet. The
relationships of each part are not loaded.
Note - Rule M4.1 states that there may only ever be one Core
Properties Part, but Office produced files will sometimes
have multiple! As Office ignores all but the first, we relax
Compliance with Rule M4.1, and ignore all others silently too.
@return All this package's parts.
</member>
<member name="M:NPOI.OpenXml4Net.OPC.OPCPackage.CreatePart(NPOI.OpenXml4Net.OPC.PackagePartName,System.String)">
Create and Add a part, with the specified name and content type, to the
@@ -1219,17 +1227,17 @@
@see #CreatePart(PackagePartName, String)
</member>
<member name="M:NPOI.OpenXml4Net.OPC.OPCPackage.AddPackagePart(NPOI.OpenXml4Net.OPC.PackagePart)">
Add the specified part to the package. If a part already exists in the
package with the same name as the one specified, then we replace the old
part by the specified part.
Add the specified part to the package. If a part already exists in the
package with the same name as the one specified, then we replace the old
part by the specified part.
@param part
The part to add (or replace).
@return The part added to the package, the same as the one specified.
@throws InvalidOperationException
If rule M1.12 is not verified : Packages shall not contain
equivalent part names and package implementers shall neither
create nor recognize packages with equivalent part names.
@param part
The part to Add (or replace).
@return The part Added to the package, the same as the one specified.
@throws InvalidFormatException
If rule M1.12 is not verified : Packages shall not contain
equivalent part names and package implementers shall neither
Create nor recognize packages with equivalent part names.
</member>
<member name="M:NPOI.OpenXml4Net.OPC.OPCPackage.RemovePart(NPOI.OpenXml4Net.OPC.PackagePart)">
Remove the specified part in this package. If this part is relationship
@@ -1358,11 +1366,11 @@
Id of the relationship to delete.
</member>
<member name="P:NPOI.OpenXml4Net.OPC.OPCPackage.Relationships">
Retrieves all package relationships.
Retrieves all package relationships.
@return All package relationships of this package.
@throws InvalidOperationException if a read operation is done on a write only package.
@see #GetRelationshipsHelper(String)
@return All package relationships of this package.
@throws OpenXml4NetException
@see #GetRelationshipsHelper(String)
</member>
<member name="M:NPOI.OpenXml4Net.OPC.OPCPackage.GetRelationshipsByType(System.String)">
Retrieves all relationships with the specified type.
@@ -2894,22 +2902,20 @@
@param access
</member>
<member name="M:NPOI.OpenXml4Net.OPC.ZipPackage.#ctor(System.String,NPOI.OpenXml4Net.OPC.PackageAccess)">
Constructor. Opens a Zip based Open XML document from a file.
Constructor. Opens a Zip based Open XML document.
@param path
The path of the file to open or create.
@param access
The package access mode.
@throws InvalidOperationException If the zip file cannot be opened.
</member>
<member name="M:NPOI.OpenXml4Net.OPC.ZipPackage.#ctor(System.IO.FileInfo,NPOI.OpenXml4Net.OPC.PackageAccess)">
Constructor. Opens a Zip based Open XML document from a File.
Constructor. Opens a Zip based Open XML document.
@param file
The file to open or create.
@param access
The package access mode.
@throws InvalidOperationException If the zip file cannot be opened.
</member>
<member name="M:NPOI.OpenXml4Net.OPC.ZipPackage.#ctor(NPOI.OpenXml4Net.Util.ZipEntrySource,NPOI.OpenXml4Net.OPC.PackageAccess)">
Constructor. Opens a Zip based Open XML document from
@@ -2928,7 +2934,8 @@
list is not empty, it will be emptied.
@return All parts contain in this package.
@throws InvalidFormatException if the package is not valid.
@throws InvalidFormatException
Throws if the package is not valid.
</member>
<member name="M:NPOI.OpenXml4Net.OPC.ZipPackage.BuildPartName(ICSharpCode.SharpZipLib.Zip.ZipEntry)">
Builds a PackagePartName for the given ZipEntry,

Binary file not shown.

View File

@@ -0,0 +1,59 @@
NLog配置路由规则和上下文信息
rules: 规则节点
logger一个路由规则
<rules>
<!--<logger name="*" writeTo="console" />-->
<logger name="*" minlevel="Debug" writeTo="debugger" />
<logger name="*" minlevel="Error" writeTo="error_file" />
</rules>
具体参数说明:
路由规则主要用于将日志和输出目标匹配起来,它一般有如下几个属性
name - 日志源/记录者的名字 (允许使用通配符*)
minlevel - 匹配日志范围的最低级别
maxlevel - 匹配日志范围的最高级别
level - 匹配的单一日志级别
levels - 匹配的一系列日志级别,由逗号分隔。
writeTo - 规则匹配时日志应该被写入的一系列目标<target>节点的name属性由逗号分隔。
final - 标记当前规则为最后一个规则。其后的规则即时匹配也不会被运行。
如:
<logger name="Name.Space.Class1" minlevel="Debug" writeTo="f1" /> - 名字空间Name.Space下的Class1这个类的所有级别等于或者高于Debug的日志信息都写入到“f1”这个目标里。
<logger name="Name.Space.Class1" levels="Debug,Error" writeTo="f1" /> -名字空间Name.Space下的Class1这个类的所有级别等于Debug或Error的日志信息都写入到“f1”这个目标里。
<logger name="Name.Space.*" writeTo="f3,f4" /> -名字空间Name.Space下所有类的所有级别的日志信息都写入到“f3”和“f4”这两个目标里。
<logger name="Name.Space.*" minlevel="Debug" maxlevel="Error" final="true" /> - 名字空间Name.Space下所有类的、级别在Debug和Error之间的(包括Debug,Info,Warn,Error) 日志信息都不会被记录(因为这条规则没有定义writeTo),同时其它后续规则也都会被忽略(因为这里设置了final="true")。
NLog支持如下几种记录等级
Trace- 最常见的记录信息,一般用于普通输出
Debug- 同样是记录信息不过出现的频率要比Trace少一些一般用来调试程序
Info- 信息类型的消息
Warn- 警告信息,一般用于比较重要的场合
Error- 错误信息
Fatal- 致命异常信息。一般来讲,发生致命异常之后程序将无法继续执行。
优先级Trace>Debug>Info>Warn>Error>Fatal
Layout上下文信息 表达式
${date} 日期2016/08/11 09:34:33.793
${time} 24小时HH:mm:ss.mmm.
${longdate} 长时间 2016-08-05 14:06:18.9293
${shortdate} 日期2016-08-05
${basedir} 根目录
${message} 信息
${level} 级别
${stacktrace} 堆栈信息
${callsite} 日志来源

View File

@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.nlog-project.org/schemas/NLog.xsd NLog.xsd"
autoReload="true"
throwExceptions="false"
internalLogLevel="Off" internalLogFile="c:\temp\nlog-internal.log">
<variable name="basedir" value="${basedir}" />
<variable name="varDataFolderPath" value="${var:basedir}/Logs" />
<variable name="varLayHeader" value="${longdate}|${level}" />
<variable name="varLayMiddle" value="${callsite-linenumber}|${callsite:includeSourcePath=false:methodName=false}" />
<variable name="varLayBack" value="${message}|${exception:format=toString}" />
<targets>
<target name="csv" xsi:type="File" fileName="${var:basedir}/file.csv">
<layout xsi:type="CSVLayout">
<column name="time" layout="${shortdate}" />
<column name="message" layout="${message}" />
<column name="logger" layout="${logger}" />
<column name="level" layout="${level}" />
</layout>
</target>
<target name="ExceptionFile"
xsi:type="File"
encoding="utf-8"
maxArchiveFiles="100"
archiveEvery="Day"
archiveNumbering="Date"
archiveDateFormat="yyyyMMdd"
archiveFileName="${varDataFolderPath}/archives/log.{#}.txt"
fileName="${varDataFolderPath}/${date:format=yyyy-MM-dd}/ExceptionLog.txt"
layout="${varLayHeader}|${varLayMiddle}|${varLayBack}" />
<target xsi:type="Console"
name="logConsole"
layout="${varLayHeader}|${varLayMiddle}|${varLayBack}" />
</targets>
<rules>
<logger name="*" writeTo="csv" />
<logger name="*" writeTo="ExceptionFile" />
<logger name="*" writeTo="logConsole" />
</rules>
</nlog>

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.nlog-project.org/schemas/NLog.xsd NLog.xsd"
autoReload="true"
throwExceptions="false"
internalLogLevel="Off" internalLogFile="c:\temp\nlog-internal.log">
<variable name="basedir" value="${basedir}" />
<targets>
<target name="logfile" xsi:type="file" fileName="${var:basedir}/Log/RunIPC_${shortdate}.log" />
</targets>
<rules>
<logger name="*" writeTo="logfile" />
</rules>
</nlog>

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

View File

@@ -14980,22 +14980,14 @@
</member>
<member name="M:SixLabors.ImageSharp.Formats.Pbm.BufferedReadStreamExtensions.SkipWhitespaceAndComments(SixLabors.ImageSharp.IO.BufferedReadStream)">
<summary>
Skip over any whitespace or any comments and signal if EOF has been reached.
Skip over any whitespace or any comments.
</summary>
<param name="stream">The buffered read stream.</param>
<returns><see langword="false"/> if EOF has been reached while reading the stream; see langword="true"/> otherwise.</returns>
</member>
<member name="M:SixLabors.ImageSharp.Formats.Pbm.BufferedReadStreamExtensions.ReadDecimal(SixLabors.ImageSharp.IO.BufferedReadStream,System.Int32@)">
<member name="M:SixLabors.ImageSharp.Formats.Pbm.BufferedReadStreamExtensions.ReadDecimal(SixLabors.ImageSharp.IO.BufferedReadStream)">
<summary>
Read a decimal text value and signal if EOF has been reached.
Read a decimal text value.
</summary>
<param name="stream">The buffered read stream.</param>
<param name="value">The read value.</param>
<returns><see langword="false"/> if EOF has been reached while reading the stream; <see langword="true"/> otherwise.</returns>
<remarks>
A 'false' return value doesn't mean that the parsing has been failed, since it's possible to reach EOF while reading the last decimal in the file.
It's up to the call site to handle such a situation.
</remarks>
<returns>The integer value of the decimal.</returns>
</member>
<member name="T:SixLabors.ImageSharp.Formats.Pbm.IPbmEncoderOptions">
<summary>
@@ -15168,7 +15160,6 @@
Processes the ppm header.
</summary>
<param name="stream">The input stream.</param>
<exception cref="T:SixLabors.ImageSharp.InvalidImageContentException">An EOF marker has been read before the image has been decoded.</exception>
</member>
<member name="T:SixLabors.ImageSharp.Formats.Pbm.PbmEncoder">
<summary>
@@ -29535,11 +29526,6 @@
<param name="configuration">The configuration which allows altering default behaviour or extending the library.</param>
<param name="stream">The input stream.</param>
</member>
<member name="P:SixLabors.ImageSharp.IO.BufferedReadStream.EofHitCount">
<summary>
Gets the number indicating the EOF hits occured while reading from this instance.
</summary>
</member>
<member name="P:SixLabors.ImageSharp.IO.BufferedReadStream.BufferSize">
<summary>
Gets the size, in bytes, of the underlying buffer.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,95 @@
*****************************220806_EBS*****************************
ConnectOracle UpdateMesCfg <20><>ȡname pwdʧ<64><CAA7>!!--------------------2024-7-24 15:18:57
ConnectOracle UpdateMesCfg <20><>ȡname pwdʧ<64><CAA7>!!--------------------2024-7-24 15:18:57
ConnectOracle UpdateMesCfg <20><>ȡname pwdʧ<64><CAA7>!!--------------------2024-7-24 15:18:57
*****************************220806_EBS*****************************
*****************************220806_EBS*****************************
ATS_SelectTestYorN_Batch <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>ʧ<EFBFBD><CAA7>OCILIB_DDL()--------------------2024-7-24 15:18:57
ATS_SelectTestYorN_Batch <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>ʧ<EFBFBD><CAA7>OCILIB_DDL()--------------------2024-7-24 15:18:57
ATS_SelectTestYorN_Batch <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>ʧ<EFBFBD><CAA7>OCILIB_DDL()--------------------2024-7-24 15:18:57
*****************************220806_EBS*****************************
*****************************220806_EBS*****************************
ConnectOracle UpdateMesCfg <20><>ȡname pwdʧ<64><CAA7>!!--------------------2024-7-24 15:23:26
ConnectOracle UpdateMesCfg <20><>ȡname pwdʧ<64><CAA7>!!--------------------2024-7-24 15:23:26
ConnectOracle UpdateMesCfg <20><>ȡname pwdʧ<64><CAA7>!!--------------------2024-7-24 15:23:26
*****************************220806_EBS*****************************
*****************************220806_EBS*****************************
ATS_SelectTestYorN_Batch <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>ʧ<EFBFBD><CAA7>OCILIB_DDL()--------------------2024-7-24 15:23:26
ATS_SelectTestYorN_Batch <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>ʧ<EFBFBD><CAA7>OCILIB_DDL()--------------------2024-7-24 15:23:26
ATS_SelectTestYorN_Batch <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>ʧ<EFBFBD><CAA7>OCILIB_DDL()--------------------2024-7-24 15:23:26
*****************************220806_EBS*****************************
*****************************220806_EBS*****************************
strsn is NULL--------------------2024-7-24 15:23:48
strsn is NULL--------------------2024-7-24 15:23:48
strsn is NULL--------------------2024-7-24 15:23:48
*****************************220806_EBS*****************************
*****************************220806_EBS*****************************
ConnectOracle UpdateMesCfg <20><>ȡname pwdʧ<64><CAA7>!!--------------------2024-7-24 15:26:37
ConnectOracle UpdateMesCfg <20><>ȡname pwdʧ<64><CAA7>!!--------------------2024-7-24 15:26:37
ConnectOracle UpdateMesCfg <20><>ȡname pwdʧ<64><CAA7>!!--------------------2024-7-24 15:26:37
*****************************220806_EBS*****************************
*****************************220806_EBS*****************************
ATS_SelectTestYorN_Batch <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>ʧ<EFBFBD><CAA7>OCILIB_DDL()--------------------2024-7-24 15:26:37
ATS_SelectTestYorN_Batch <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>ʧ<EFBFBD><CAA7>OCILIB_DDL()--------------------2024-7-24 15:26:37
ATS_SelectTestYorN_Batch <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>ʧ<EFBFBD><CAA7>OCILIB_DDL()--------------------2024-7-24 15:26:37
*****************************220806_EBS*****************************
*****************************220806_EBS*****************************
strsn is NULL--------------------2024-7-24 15:28:35
strsn is NULL--------------------2024-7-24 15:28:35
strsn is NULL--------------------2024-7-24 15:28:35
*****************************220806_EBS*****************************
*****************************220806_EBS*****************************
ConnectOracle UpdateMesCfg <20><>ȡname pwdʧ<64><CAA7>!!--------------------2024-7-24 15:29:17
ConnectOracle UpdateMesCfg <20><>ȡname pwdʧ<64><CAA7>!!--------------------2024-7-24 15:29:17
ConnectOracle UpdateMesCfg <20><>ȡname pwdʧ<64><CAA7>!!--------------------2024-7-24 15:29:17
*****************************220806_EBS*****************************
*****************************220806_EBS*****************************
ATS_SelectTestYorN_Batch <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>ʧ<EFBFBD><CAA7>OCILIB_DDL()--------------------2024-7-24 15:29:17
ATS_SelectTestYorN_Batch <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>ʧ<EFBFBD><CAA7>OCILIB_DDL()--------------------2024-7-24 15:29:17
ATS_SelectTestYorN_Batch <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>ʧ<EFBFBD><CAA7>OCILIB_DDL()--------------------2024-7-24 15:29:17
*****************************220806_EBS*****************************
*****************************220806_EBS*****************************
ConnectOracle UpdateMesCfg <20><>ȡname pwdʧ<64><CAA7>!!--------------------2024-7-24 15:30:18
ConnectOracle UpdateMesCfg <20><>ȡname pwdʧ<64><CAA7>!!--------------------2024-7-24 15:30:18
ConnectOracle UpdateMesCfg <20><>ȡname pwdʧ<64><CAA7>!!--------------------2024-7-24 15:30:18
*****************************220806_EBS*****************************
*****************************220806_EBS*****************************
ATS_SelectTestYorN_Batch <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>ʧ<EFBFBD><CAA7>OCILIB_DDL()--------------------2024-7-24 15:30:18
ATS_SelectTestYorN_Batch <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>ʧ<EFBFBD><CAA7>OCILIB_DDL()--------------------2024-7-24 15:30:18
ATS_SelectTestYorN_Batch <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>ʧ<EFBFBD><CAA7>OCILIB_DDL()--------------------2024-7-24 15:30:18
*****************************220806_EBS*****************************
*****************************220806_EBS*****************************
ConnectOracle UpdateMesCfg <20><>ȡname pwdʧ<64><CAA7>!!--------------------2024-7-24 15:31:0
ConnectOracle UpdateMesCfg <20><>ȡname pwdʧ<64><CAA7>!!--------------------2024-7-24 15:31:0
ConnectOracle UpdateMesCfg <20><>ȡname pwdʧ<64><CAA7>!!--------------------2024-7-24 15:31:0
*****************************220806_EBS*****************************
*****************************220806_EBS*****************************
InsertTestResult <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>ʧ<EFBFBD><CAA7>OCILIB_DDL()--------------------2024-7-24 15:31:0
InsertTestResult <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>ʧ<EFBFBD><CAA7>OCILIB_DDL()--------------------2024-7-24 15:31:0
InsertTestResult <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>ʧ<EFBFBD><CAA7>OCILIB_DDL()--------------------2024-7-24 15:31:0
*****************************220806_EBS*****************************
*****************************220806_EBS*****************************
InsertTestResult is Fail--------------------2024-7-24 15:31:0
InsertTestResult is Fail--------------------2024-7-24 15:31:0
InsertTestResult is Fail--------------------2024-7-24 15:31:0
*****************************220806_EBS*****************************
*****************************220806_EBS*****************************
ConnectOracle UpdateMesCfg <20><>ȡname pwdʧ<64><CAA7>!!--------------------2024-7-24 15:49:13
ConnectOracle UpdateMesCfg <20><>ȡname pwdʧ<64><CAA7>!!--------------------2024-7-24 15:49:13
ConnectOracle UpdateMesCfg <20><>ȡname pwdʧ<64><CAA7>!!--------------------2024-7-24 15:49:13
*****************************220806_EBS*****************************
*****************************220806_EBS*****************************
ATS_SelectTestYorN_Batch <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>ʧ<EFBFBD><CAA7>OCILIB_DDL()--------------------2024-7-24 15:49:13
ATS_SelectTestYorN_Batch <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>ʧ<EFBFBD><CAA7>OCILIB_DDL()--------------------2024-7-24 15:49:13
ATS_SelectTestYorN_Batch <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>ʧ<EFBFBD><CAA7>OCILIB_DDL()--------------------2024-7-24 15:49:13
*****************************220806_EBS*****************************
*****************************220806_EBS*****************************
ConnectOracle UpdateMesCfg <20><>ȡname pwdʧ<64><CAA7>!!--------------------2024-7-24 15:56:14
ConnectOracle UpdateMesCfg <20><>ȡname pwdʧ<64><CAA7>!!--------------------2024-7-24 15:56:14
ConnectOracle UpdateMesCfg <20><>ȡname pwdʧ<64><CAA7>!!--------------------2024-7-24 15:56:14
*****************************220806_EBS*****************************
*****************************220806_EBS*****************************
ATS_SelectTestYorN_Batch <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>ʧ<EFBFBD><CAA7>OCILIB_DDL()--------------------2024-7-24 15:56:14
ATS_SelectTestYorN_Batch <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>ʧ<EFBFBD><CAA7>OCILIB_DDL()--------------------2024-7-24 15:56:14
ATS_SelectTestYorN_Batch <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>ʧ<EFBFBD><CAA7>OCILIB_DDL()--------------------2024-7-24 15:56:14
*****************************220806_EBS*****************************

View File

@@ -0,0 +1,8 @@
************************ATS_InsertDataRow_JIG_V2**********************************************************220806_EBS*****************************
2024-7-24 15:23:48
************************ATS_InsertDataRow_JIG_V2**********************************************************220806_EBS*****************************
2024-7-24 15:28:35
************************ATS_InsertDataRow_JIG_V2**********************************************************220806_EBS*****************************
2024-7-24 15:30:39
***********************ATS_InsertTestResult_V3**********************************************************220806_EBS*****************************
2024-7-24 15:30:39

View File

@@ -0,0 +1,9 @@
*****************************220806_EBS*****************************
************************ATS_InsertDataRow_JIG_V2*****************************--------------------2024-7-24 15:23:48
*****************************220806_EBS*****************************
*****************************220806_EBS*****************************
************************ATS_InsertDataRow_JIG_V2*****************************--------------------2024-7-24 15:28:35
*****************************220806_EBS*****************************
*****************************220806_EBS*****************************
************************ATS_InsertDataRow_JIG_V2*****************************--------------------2024-7-24 15:30:39
*****************************220806_EBS*****************************

View File

@@ -0,0 +1,10 @@
*****************************220806_EBS*****************************
ConnectOracle UpdateMesCfg <20><>ȡname pwdʧ<64><CAA7>!!--------------------2024-7-24 16:17:56
ConnectOracle UpdateMesCfg <20><>ȡname pwdʧ<64><CAA7>!!--------------------2024-7-24 16:17:56
ConnectOracle UpdateMesCfg <20><>ȡname pwdʧ<64><CAA7>!!--------------------2024-7-24 16:17:56
*****************************220806_EBS*****************************
*****************************220806_EBS*****************************
ATS_SelectTestYorN_Batch <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>ʧ<EFBFBD><CAA7>OCILIB_DDL()--------------------2024-7-24 16:17:56
ATS_SelectTestYorN_Batch <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>ʧ<EFBFBD><CAA7>OCILIB_DDL()--------------------2024-7-24 16:17:56
ATS_SelectTestYorN_Batch <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>ʧ<EFBFBD><CAA7>OCILIB_DDL()--------------------2024-7-24 16:17:56
*****************************220806_EBS*****************************

Some files were not shown because too many files have changed in this diff Show More