Beispiel #1
0
        /// <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);
        }
Beispiel #2
0
    /// <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);
    }