callm 6 years ago
parent
commit
0dad1062ea
1 changed files with 1 additions and 1 deletions
  1. 1 1
      UAS-出货标签管理(吉利通)/UAS_出货标签管理.cs

+ 1 - 1
UAS-出货标签管理(吉利通)/UAS_出货标签管理.cs

@@ -290,7 +290,7 @@ namespace UAS_LabelMachine
                 int len = port.BytesToRead;
                 byte[] readBuffer = new byte[len];
                 port.Read(readBuffer, 0, len); //将数据读入缓存
-                string msg = Encoding.ASCII.GetString(readBuffer, 0, len).Replace("\n","").Replace("\r","").Replace("\t",""); //获取出入库产品编号
+                string msg = Encoding.ASCII.GetString(readBuffer, 0, len).Replace("\n", "").Replace("\r", "").Replace("\t", ""); //获取出入库产品编号
                 int pib_pdno = int.Parse(LabelInf.Rows[CurrentRowIndex].Cells["pib_pdno"].Value.ToString());
                 if (DetailRange.Checked)
                 {