)>}]
شركة التطبيقات المتكاملة لتصميم وبرمجة البرمجيات الخاصة ش.ش.و.
Integrated Applications Programming Company
Home » Code Library » AgcfGatewayRecord (Ia.Ftn.Cl.Models.Ui.Nokia)

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

AGCF Gateway Record Entity Framework class for Fixed Telecommunications Network (FTN) UI model.

    1: using System;
    2: using System.Text;
    3:  
    4: namespace Ia.Ftn.Cl.Models.Ui.Nokia
    5: {
    6:     ////////////////////////////////////////////////////////////////////////////
    7:  
    8:     /// <summary publish="true">
    9:     /// AGCF Gateway Record Entity Framework class for Fixed Telecommunications Network (FTN) UI model.
   10:     /// </summary>
   11:     /// 
   12:     /// <remarks> 
   13:     /// Copyright � 2014-2017 Jasem Y. Al-Shamlan (info@ia.com.kw), Integrated Applications - Kuwait. All Rights Reserved.
   14:     /// </remarks> 
   15:     public class AgcfGatewayRecord
   16:     {
   17:         ////////////////////////////////////////////////////////////////////////////
   18:  
   19:         /// <summary>
   20:         ///
   21:         /// </summary>
   22:         public AgcfGatewayRecord() { }
   23:  
   24:         ////////////////////////////////////////////////////////////////////////////
   25:  
   26:         /// <summary>
   27:         ///
   28:         /// </summary>
   29:         public int Id { get; set; }
   30:  
   31:         ////////////////////////////////////////////////////////////////////////////
   32:  
   33:         /// <summary>
   34:         ///
   35:         /// </summary>
   36:         public int GwId { get; set; }
   37:  
   38:         ////////////////////////////////////////////////////////////////////////////
   39:  
   40:         /// <summary>
   41:         ///
   42:         /// </summary>
   43:         public string GwUserId { get; set; }
   44:  
   45:         ////////////////////////////////////////////////////////////////////////////
   46:  
   47:         /// <summary>
   48:         ///
   49:         /// </summary>
   50:         public string GwDomain { get; set; }
   51:  
   52:         ////////////////////////////////////////////////////////////////////////////
   53:  
   54:         /// <summary>
   55:         ///
   56:         /// </summary>
   57:         public string GwName { get; set; }
   58:  
   59:         ////////////////////////////////////////////////////////////////////////////
   60:  
   61:         /// <summary>
   62:         ///
   63:         /// </summary>
   64:         public string IP1 { get; set; }
   65:  
   66:         ////////////////////////////////////////////////////////////////////////////
   67:  
   68:         /// <summary>
   69:         ///
   70:         /// </summary>
   71:         public string IP2 { get; set; }
   72:  
   73:         ////////////////////////////////////////////////////////////////////////////
   74:  
   75:         /// <summary>
   76:         ///
   77:         /// </summary>
   78:         public string MateExternalIPAddr { get; set; }
   79:  
   80:         ////////////////////////////////////////////////////////////////////////////
   81:  
   82:         /// <summary>
   83:         ///
   84:         /// </summary>
   85:         public bool IsPrimary { get; set; }
   86:  
   87:         ////////////////////////////////////////////////////////////////////////////
   88:  
   89:         /// <summary>
   90:         ///
   91:         /// </summary>
   92:         public DateTime Created { get; set; }
   93:  
   94:         ////////////////////////////////////////////////////////////////////////////
   95:  
   96:         /// <summary>
   97:         ///
   98:         /// </summary>
   99:         public DateTime Updated { get; set; }
  100:  
  101:         ////////////////////////////////////////////////////////////////////////////
  102:         ////////////////////////////////////////////////////////////////////////////
  103:  
  104:         /// <summary>
  105:         ///
  106:         /// </summary>
  107:         public string ToSimpleTextString()
  108:         {
  109:             StringBuilder sb;
  110:  
  111:             sb = new StringBuilder();
  112:  
  113:             //sb.AppendLine("Vendor: " + Ia.Ftn.Cl.Model.Business.NetworkDesignDocument.Vendor.Nokia.Name);
  114:             sb.AppendLine("GwId: " + this.GwId);
  115:             //sb.AppendLine("GwUserId: " + this.GwUserId);
  116:             //sb.AppendLine("GwDomain: " + this.GwDomain);
  117:             //sb.AppendLine("GwName: " + this.GwName);
  118:             sb.AppendLine("IP1: " + this.IP1);
  119:             //sb.AppendLine("IP2: " + this.IP2);
  120:             sb.AppendLine("IsPrimary: " + Ia.Cl.Models.Default.YesNoText(this.IsPrimary));
  121:             sb.AppendLine("MateExternalIPAddr: " + this.MateExternalIPAddr);
  122:  
  123:             return sb.ToString();
  124:         }
  125:  
  126:         ////////////////////////////////////////////////////////////////////////////
  127:         ////////////////////////////////////////////////////////////////////////////
  128:     }
  129:  
  130:     ////////////////////////////////////////////////////////////////////////////
  131:     ////////////////////////////////////////////////////////////////////////////
  132: }