Browse Source

完善日志信息打印,条码去除多余字符

mengshunguo 1 month ago
parent
commit
11d3ceadbd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      SCADA_DAQ/Customer/UctFrmMain.xaml.cs

+ 1 - 1
SCADA_DAQ/Customer/UctFrmMain.xaml.cs

@@ -89,7 +89,7 @@ namespace SCADA_DAQ.Customer
             string barCode = null;
             if (e.Barcode.Substring(0, 6) == "QRCode")
             {
-                barCode = e.Barcode.Substring(6, e.Barcode.Length - 6).Trim();
+                barCode = e.Barcode.Substring(6, e.Barcode.Length - 6).Trim(); 
                 Log.Info($"收到条码{barCode}");
             }
             else