)>}]
شركة التطبيقات المتكاملة لتصميم وبرمجة البرمجيات الخاصة ش.ش.و.
Integrated Applications Programming Company
Skip Navigation LinksHome » Code Library » OntServiceVoip

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

ONT-SERVICEVOIP support class of Optical Fiber Network (OFN) Nokia business model.

    1: namespace Ia.Ngn.Cl.Model.Business.Nokia
    2: {
    3:     ////////////////////////////////////////////////////////////////////////////
    4:  
    5:     /// <summary publish="true">
    6:     /// ONT-SERVICEVOIP support class of Optical Fiber Network (OFN) Nokia business model.
    7:     /// </summary>
    8:     /// 
    9:     /// <remarks> 
   10:     /// Copyright © 2006-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 OntServiceVoip
   23:     {
   24:         /// <summary/>
   25:         public OntServiceVoip() { }
   26:  
   27:         ////////////////////////////////////////////////////////////////////////////
   28:  
   29:         /// <summary>
   30:         ///
   31:         /// </summary>
   32:         public static string OntServiceVoipId(string ontId, int card)
   33:         {
   34:             string id;
   35:  
   36:             id = ontId + card.ToString().PadLeft(2, '0');
   37:  
   38:             return id;
   39:         }
   40:  
   41:         ////////////////////////////////////////////////////////////////////////////
   42:         ////////////////////////////////////////////////////////////////////////////
   43:     }
   44:  
   45:     ////////////////////////////////////////////////////////////////////////////
   46:     ////////////////////////////////////////////////////////////////////////////
   47: }