Răsfoiți Sursa

更新部分描述;

Jeff 5 ani în urmă
părinte
comite
023218d84c
2 a modificat fișierele cu 5 adăugiri și 5 ștergeri
  1. 2 2
      scbc.tools/scbc.tools/TableInfo.h
  2. 3 3
      scbc.tools/scbc.tools/scbc.tools.h

+ 2 - 2
scbc.tools/scbc.tools/TableInfo.h

@@ -101,8 +101,8 @@ typedef struct __SN_KEYS__
 // 批次数量信息;
 typedef struct __BID_INFO__
 {
-	std::string tcount;								// 总sn数量(服务器给定的,一般总sn数量=实际sn数量);
-	std::string sn_count;							// 实际sn数量(本地保存的);
+	std::string tcount;								// 应下载sn数量(服务器给定的,一般应下载sn数量=实际下载sn数量);
+	std::string sn_count;							// 实际下载sn数量(本地保存的);
 	std::string copy_count;							// 成功抄写数量;
 	std::string report_count;						// 成功上报数量;
 }BidInfo, *pBidInfo;

+ 3 - 3
scbc.tools/scbc.tools/scbc.tools.h

@@ -92,14 +92,14 @@ extern SCBCTOOLS_API int UpdateKeyReportStatus(const char* lpSN);
 extern SCBCTOOLS_API int ReportKeyCopyResults(const char* lpSN);
 
 /* 7
-描述:上报抄写结果;
-参数:ReportCount 从数据库中查询未上报的sn数量,建议不要超过500;
+描述:批量上报抄写结果。从数据库查询出500条未上报的sn进行上报;
+参数:;
 返回:
 	0=表示上报抄写结果失败
 	1=表示上报抄写结果成功;
 	上报成功后,会自动更新上报状态;
 */
-extern SCBCTOOLS_API int BatchReportKeyCopyResults(int ReportCount = 100);
+extern SCBCTOOLS_API int BatchReportKeyCopyResults();
 
 /* 8
 描述:查询批次信息:总sn数、实际sn数、抄写成功数量、上报成功数量;