Forráskód Böngészése

修复问题:"索引和长度必须引用该字符串内的位置。\r\n参数名: length",

sat23 3 éve
szülő
commit
8dd5fa3b91

+ 0 - 2
Packagescript/setup without net40.nsi

@@ -69,8 +69,6 @@ Section "MainSection" SEC01
   File "../bin\Release\MOKA Factory Tools.exe"
   File "../bin\Release\MOKA Factory Tools.exe.config"
   File "../bin\Release\Newtonsoft.Json.dll"
-  File "../bin\Release\Devaof.DB.SQLite.dll"
-  File "../bin\Release\Devaof.DB.SqlBuilder.dll"
   File "../bin\Release\CSkin.xml"
   File "../bin\Release\CSkin.dll"
   File "../bin\Release\route-ping.bat"

+ 0 - 2
Packagescript/setup.nsi

@@ -84,8 +84,6 @@ Section "MainSection" SEC01
   File "../bin\Release\MOKA Factory Tools.exe"
   File "../bin\Release\MOKA Factory Tools.exe.config"
   File "../bin\Release\Newtonsoft.Json.dll"
-  File "../bin\Release\Devaof.DB.SQLite.dll"
-  File "../bin\Release\Devaof.DB.SqlBuilder.dll"
   File "../bin\Release\CSkin.xml"
   File "../bin\Release\CSkin.dll"
   File "../bin\Release\Config.json"

+ 1 - 1
Views/OperationPanel.cs

@@ -5059,7 +5059,7 @@ namespace MOKA_Factory_Tools
             }
             // 上报抄写结果到MES系统中;
             string strOutMsg;
-            if ( !CommonMethod.ReportDataBurningResultToMES(SN, "", TestResult ? "" : "", DateTime.Now.ToString("yyyy/MM//dd HH:mm:ss.fff"), errorDBNow, out strOutMsg) )
+            if ( !CommonMethod.ReportDataBurningResultToMES(SN, "", TestResult ? "Pass" : "Fail", DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff"), errorDBNow, out strOutMsg) )
             {
                 MessageBox.Show("上报抄写结果到MES失败,请紧急处理:" + strOutMsg);
             }