shim 8 лет назад
Родитель
Сommit
14a8f4c3fe
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      UAS-MES/FunctionCode/Make/Make_SeqProgramTransform.cs

+ 1 - 1
UAS-MES/FunctionCode/Make/Make_SeqProgramTransform.cs

@@ -344,7 +344,7 @@ namespace UAS_MES.Make
                     //遍历判断已采集的信息是否已存在
                     foreach (DictionaryEntry de in hs)
                     {
-                        if (dh.CheckExist("makeserial", "MS_" + (de.Key=="WIFI"?"MAC":de.Key) + "='" + de.Value + "'"))
+                        if (dh.CheckExist("makeserial", "MS_" + (de.Key.ToString()=="WIFI"?"MAC":de.Key) + "='" + de.Value + "'"))
                         {
                             flag = false;
                             OperateResult.AppendText(">>" + de.Key + "已被使用,请重新输入TSN,重新转换\n", Color.Red);