Explorar o código

Merge branch 'master' of https://git.steerinfo.com/caol/jisco_winform_wzjl.git

BourneCao %!s(int64=3) %!d(string=hai) anos
pai
achega
69486d55a4
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      CarMeterSystem/frmMain.cs

+ 2 - 2
CarMeterSystem/frmMain.cs

@@ -511,9 +511,9 @@ namespace CarMeterSystem
                 {
                     if (string.IsNullOrEmpty(sweepCodeClass.StrCode))
                     {
-                        codeFlag = false;
-                        if (!string.IsNullOrEmpty(PbCache.strCode))
+                        if (string.IsNullOrEmpty(PbCache.strCode))
                         {
+                            codeFlag = false;
                             firstCode = "";
                             PbCache.strCode = "";
                             l.WriteLog(12, "主线程扫码值为空时清空;sweepCodeClass.StrCode值为" + sweepCodeClass.StrCode + " ;PbCache.strCode值为:" + PbCache.strCode);