Browse Source

update ppselect object[] to string[]

chenkui 2 months ago
parent
commit
6924395812
1 changed files with 3 additions and 3 deletions
  1. 3 3
      FrameworkLocal/RTModuleLibrary/SystemModules/EquipmentManager.cs

+ 3 - 3
FrameworkLocal/RTModuleLibrary/SystemModules/EquipmentManager.cs

@@ -1350,7 +1350,7 @@ namespace MECF.Framework.RT.ModuleLibrary.SystemModules
             int portID;
             string jobID;
             string lotId;
-            string[] sequence;
+            object[] sequence;
             string[] slotsequence;
             LoadPortModuleBase lp;
             switch (command.ToUpper())
@@ -1364,11 +1364,11 @@ namespace MECF.Framework.RT.ModuleLibrary.SystemModules
                     portID = int.Parse(paras[0].ToString());
                     jobID = paras[1].ToString();
                     lotId = paras[2].ToString();
-                    sequence = (string[])paras[3];
+                    sequence = (object[])paras[3];
                     slotsequence = new string[25];
                     for (int i = 0; i < 25; i++)
                     {
-                        slotsequence[i] = sequence[i] == "*null*" ? "" : sequence[i];
+                        slotsequence[i] = sequence[i].ToString() == "*null*" ? "" : sequence[i].ToString();
                     }
                     Dictionary<string, object> para = new Dictionary<string, object>();
                     para.Add("JobId", jobID);