شركة التطبيقات المتكاملة لتصميم النظم البرمجية الخاصة ش.ش.و.

Integrated Applications Programming Company

Skip Navigation LinksHome » Code Library » OntSipInfo

Public general use code classes and xml files that we've compiled and used over the years:

Huawei's EMS ONT SIP Info support class of Optical Fiber Network (OFN) business model.

   1:  namespace Ia.Ngn.Cl.Model.Business.Huawei
   2:  {
   3:      ////////////////////////////////////////////////////////////////////////////
   4:   
   5:      /// <summary publish="true">
   6:      /// Huawei's EMS ONT SIP Info support class of Optical Fiber Network (OFN) business model.
   7:      /// </summary>
   8:      /// 
   9:      /// <remarks> 
  10:      /// Copyright © 2016-2017 Jasem Y. Al-Shamlan (info@ia.com.kw), Integrated Applications - Kuwait. All Rights Reserved.
  11:      ///
  12:      /// This library is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
  13:      /// the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
  14:      ///
  15:      /// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
  16:      /// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  17:      /// 
  18:      /// You should have received a copy of the GNU General Public License along with this library. If not, see http://www.gnu.org/licenses.
  19:      /// 
  20:      /// Copyright notice: This notice may not be removed or altered from any source distribution.
  21:      /// </remarks> 
  22:      public class OntSipInfo
  23:      {
  24:          /// <summary/>
  25:          public OntSipInfo() { }
  26:   
  27:          ////////////////////////////////////////////////////////////////////////////
  28:   
  29:          /// <summary>
  30:          ///
  31:          /// </summary>
  32:          public static string OntSipInfoId(string ontId, int tel)
  33:          {
  34:              return ontId + tel.ToString().PadLeft(2, '0');
  35:          }
  36:   
  37:          ////////////////////////////////////////////////////////////////////////////
  38:          ////////////////////////////////////////////////////////////////////////////
  39:      }
  40:   
  41:      ////////////////////////////////////////////////////////////////////////////
  42:      ////////////////////////////////////////////////////////////////////////////
  43:  }