Commit 9bc51214 LN

1

1 个父辈 cbf0aa24
...@@ -91,8 +91,9 @@ ...@@ -91,8 +91,9 @@
// //
// panel2 // panel2
// //
this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left))); | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.panel2.Controls.Add(this.dataGridView1); this.panel2.Controls.Add(this.dataGridView1);
this.panel2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.panel2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.panel2.Location = new System.Drawing.Point(8, 87); this.panel2.Location = new System.Drawing.Point(8, 87);
......
...@@ -136,7 +136,7 @@ namespace OnlineStore.AutoCountClient ...@@ -136,7 +136,7 @@ namespace OnlineStore.AutoCountClient
} }
List<string> list = new List<string>(); List<string> list = new List<string>();
list.Add("编号,条码,高度,宽度,数量,图片文件名,时间"); list.Add("编号,条码,时间,数量,高度,宽度,图片文件名");
foreach(XRayHistory obj in lastList) foreach(XRayHistory obj in lastList)
{ {
list.Add(obj.ToCSVStr()); list.Add(obj.ToCSVStr());
...@@ -181,7 +181,7 @@ namespace OnlineStore.AutoCountClient ...@@ -181,7 +181,7 @@ namespace OnlineStore.AutoCountClient
public string ToCSVStr() public string ToCSVStr()
{ {
return Num+","+ Code + "," + Height + "," + Width + "," + Count + "," + FileName + ","+DataStr; return Num+","+ Code + "," + DataStr + "," + Count + "," + Height + "," + Width + "," + FileName ;
} }
} }
} }
...@@ -370,7 +370,7 @@ namespace OnlineStore.AutoCountClient ...@@ -370,7 +370,7 @@ namespace OnlineStore.AutoCountClient
try try
{ {
TimeSpan sp = DateTime.Now - lastLogTime; TimeSpan sp = DateTime.Now - lastLogTime;
if (sp.TotalMinutes > 5) if (sp.TotalMinutes > 20)
{ {
lastLogTime = DateTime.Now; lastLogTime = DateTime.Now;
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!