Browse Source

kazam中的serial_id是dsn.

Wang Jeff 3 years ago
parent
commit
a86cf1f2b8
1 changed files with 3 additions and 1 deletions
  1. 3 1
      FactoryTool_CShare/Business/CommonMethod.cs

+ 3 - 1
FactoryTool_CShare/Business/CommonMethod.cs

@@ -2428,12 +2428,13 @@ namespace MOKA_Factory_Tools
             Dictionary<string, string> dic = localInfo.Union(LastKaylaOrderInfo).ToDictionary(k=>k.Key, v=>v.Value);
 
             dic.Add("start_time_I", StartTime.ToString());
-            dic.Add("serial_id_I", key != null ? key._PSN : "");   // PSN;
+            dic.Add("serial_id_I", key != null ? key.DSN : "");   // DSN;
             dic.Add("FSN", sn);
 
             // 耐压值;
             if (returnObject != null && returnObject.Length > 0 && returnObject.Contains("Hightpot"))
             {
+                Log.WriteInfoLog(String.Format("returnObjec={0}", returnObject));
                 // 删除头尾[];
                 returnObject = returnObject.Remove(0, 1);
                 returnObject = returnObject.Remove(returnObject.Length - 1, 1);
@@ -2463,6 +2464,7 @@ namespace MOKA_Factory_Tools
             {
                 dic.Add("AC_I", "");
                 dic.Add("DC_R", "");
+                Log.WriteErrorLog("获取耐压值结果为空");
             }
 
             if ( key != null )