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

Integrated Applications Programming Company

Skip Navigation LinksHome » Code Library » Default

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

Defaul general support class for Huawei's Next Generation Network (NGN) business model.

   1:  using System.Collections.Generic;
   2:   
   3:  namespace Ia.Ngn.Cl.Model.Business.Huawei
   4:  {
   5:      ////////////////////////////////////////////////////////////////////////////
   6:   
   7:      /// <summary publish="true">
   8:      /// Defaul general support class for Huawei's Next Generation Network (NGN) business model.
   9:      /// </summary>
  10:      /// 
  11:      /// <remarks> 
  12:      /// Copyright © 2014-2018 Jasem Y. Al-Shamlan (info@ia.com.kw), Internet Applications - Kuwait. All Rights Reserved.
  13:      ///
  14:      /// 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
  15:      /// the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
  16:      ///
  17:      /// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
  18:      /// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  19:      /// 
  20:      /// You should have received a copy of the GNU General Public License along with this library. If not, see http://www.gnu.org/licenses.
  21:      /// 
  22:      /// Copyright notice: This notice may not be removed or altered from any source distribution.
  23:      /// </remarks> 
  24:      public partial class Default
  25:      {
  26:          ////////////////////////////////////////////////////////////////////////////
  27:   
  28:          /// <summary>
  29:          ///
  30:          /// </summary>
  31:          public Default() { }
  32:   
  33:          ////////////////////////////////////////////////////////////////////////////
  34:   
  35:          /// <summary>
  36:          ///
  37:          /// </summary>
  38:          public class FnSnPn
  39:          {
  40:              /// <summary/>
  41:              public int Fn { get; set; }
  42:   
  43:              /// <summary/>
  44:              public int Sn { get; set; }
  45:   
  46:              /// <summary/>
  47:              public int Pn { get; set; }
  48:   
  49:              /// <summary/>
  50:              public int Port { get { return this.Pn; } }
  51:   
  52:              /// <summary/>
  53:              public int PortAccordingToServiceRequestServicePosition
  54:              {
  55:                  get
  56:                  {
  57:                      return Ia.Ngn.Cl.Model.Business.Service.ConvertEmsVoipPstnUsersPnToServiceRequestServicePosition(this.Pn);
  58:                  }
  59:              } 
  60:   
  61:              ////////////////////////////////////////////////////////////////////////////
  62:   
  63:              /// <summary>
  64:              ///
  65:              /// </summary>
  66:              public FnSnPn()
  67:              {
  68:                  this.Fn = 0;
  69:                  this.Sn = 0;
  70:                  this.Pn = 0;
  71:              }
  72:   
  73:              ////////////////////////////////////////////////////////////////////////////
  74:   
  75:              /// <summary>
  76:              ///
  77:              /// </summary>
  78:              public FnSnPn(int fn, int sn, int pn)
  79:              {
  80:                  this.Fn = fn;
  81:                  this.Sn = sn;
  82:                  this.Pn = pn;
  83:              }
  84:   
  85:              ////////////////////////////////////////////////////////////////////////////
  86:          }
  87:   
  88:          ////////////////////////////////////////////////////////////////////////////
  89:          ////////////////////////////////////////////////////////////////////////////   
  90:      }
  91:   
  92:      ////////////////////////////////////////////////////////////////////////////
  93:      ////////////////////////////////////////////////////////////////////////////   
  94:  }