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

Integrated Applications Programming Company

Skip Navigation LinksHome » Code Library » Msan

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

Optical Fiber Network Management Intranet Portal (OFN) support class for Huawei's Next Generation Network (NGN) business model

   1:  using System;
   2:  using System.Collections;
   3:  using System.Collections.Generic;
   4:  using System.Configuration;
   5:  using System.Linq;
   6:  using System.Web;
   7:  using System.Text;
   8:  using System.Text.RegularExpressions;
   9:  using System.Xml;
  10:  using System.Data.Entity;
  11:   
  12:  namespace Ia.Ngn.Cl.Model.Business.Huawei
  13:  {
  14:      ////////////////////////////////////////////////////////////////////////////
  15:   
  16:      /// <summary publish="true">
  17:      /// Optical Fiber Network Management Intranet Portal (OFN) support class for Huawei's Next Generation Network (NGN) business model
  18:      /// </summary>
  19:      /// 
  20:      /// <value>
  21:      /// - Add Service Reference to ims.api.huawei
  22:      /// - Make sure web.config or app.config as:
  23:      ///   <system.serviceModel>
  24:      ///     <bindings>
  25:      ///        <basicHttpBinding>
  26:      ///           <binding name="ATSV100R003C01SPC100Binding" />
  27:      ///        </basicHttpBinding>
  28:      ///      </bindings>
  29:      ///      <client>
  30:      ///        <endpoint address="http://*.*.*.*:8080/spg" binding="basicHttpBinding" bindingConfiguration="ATSV100R003C01SPC100Binding" contract="ims.api.huawei.ATSV100R003C01SPC100" name="ATSV100R003C01SPC100Port" />
  31:      ///      </client>
  32:      ///   </system.serviceModel>
  33:      ///                        
  34:      /// - Add:
  35:      ///  <appSettings>
  36:      ///     <add key="u2000HuaweiServerUser" value="*" />
  37:      ///     <add key="u2000HuaweiServerUserPassword" value="*" />
  38:      ///   </appSettings>
  39:      /// </value>
  40:      /// 
  41:      /// <remarks> 
  42:      /// Copyright © 2014-2017 Jasem Y. Al-Shamlan (info@ia.com.kw), Internet Applications - Kuwait. All Rights Reserved.
  43:      ///
  44:      /// 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
  45:      /// the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
  46:      ///
  47:      /// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
  48:      /// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  49:      /// 
  50:      /// You should have received a copy of the GNU General Public License along with this library. If not, see http://www.gnu.org/licenses.
  51:      /// 
  52:      /// Copyright notice: This notice may not be removed or altered from any source distribution.
  53:      /// </remarks> 
  54:      public class Msan
  55:      {
  56:          /// <summary/>
  57:          public static string UserName { get { return ConfigurationManager.AppSettings["u2000HuaweiServerUser"].ToString(); } }
  58:          /// <summary/>
  59:          public static string Password { get { return ConfigurationManager.AppSettings["u2000HuaweiServerUserPassword"].ToString(); } }
  60:   
  61:          ////////////////////////////////////////////////////////////////////////////
  62:   
  63:          /// <summary>
  64:          ///
  65:          /// </summary>
  66:          public Msan()
  67:          {
  68:          }
  69:   
  70:          ////////////////////////////////////////////////////////////////////////////
  71:          ////////////////////////////////////////////////////////////////////////////
  72:      }
  73:   
  74:      ////////////////////////////////////////////////////////////////////////////
  75:      ////////////////////////////////////////////////////////////////////////////
  76:  }