/// <summary> /// /// </summary> /// <param name="pIfcID"></param> /// <returns></returns> public static sInterfaces GetIfcByID(String pIfcID) { sInterfaces lRetVal = new sInterfaces(); foreach (sInterfaces lTmpIfc in Interfaces) { LogConsole.Main.LogConsole.pushMsg("/" + lTmpIfc.sIfcID + "/" + pIfcID + "/"); if (lTmpIfc.sIfcID == pIfcID) { lRetVal = lTmpIfc; break; } // if (lTmpI... } // foreach (sInte... return(lRetVal); }
/// <summary> /// /// </summary> /// <param name="pIfcID"></param> /// <returns></returns> public static sInterfaces GetIfcByID(String pIfcID) { sInterfaces lRetVal = new sInterfaces(); foreach (sInterfaces lTmpIfc in Interfaces) { LogConsole.Main.LogConsole.LogInstance.LogMessage("/" + lTmpIfc.sIfcID + "/" + pIfcID + "/"); if (lTmpIfc.sIfcID == pIfcID) { lRetVal = lTmpIfc; break; } // if (lTmpI... } // foreach (sInte... return (lRetVal); }