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

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

Subscriber Entity Framework class for Fixed Telecommunications Network (FTN) ui model.

    1: using System;
    2: using System.Text;
    3:  
    4:  
    5: namespace Ia.Ftn.Cl.Models.Ui.Nokia
    6: {
    7:     ////////////////////////////////////////////////////////////////////////////
    8:  
    9:     /// <summary publish="true">
   10:     /// Subscriber Entity Framework class for Fixed Telecommunications Network (FTN) ui model.
   11:     /// </summary>
   12:     /// 
   13:     /// <remarks> 
   14:     /// Copyright � 2014-2017 Jasem Y. Al-Shamlan (info@ia.com.kw), Integrated Applications - Kuwait. All Rights Reserved.
   15:     /// </remarks> 
   16:     public class Subscriber
   17:     {
   18:         ////////////////////////////////////////////////////////////////////////////
   19:  
   20:         /// <summary>
   21:         ///
   22:         /// </summary>
   23:         public Subscriber() { }
   24:  
   25:         ////////////////////////////////////////////////////////////////////////////
   26:  
   27:         /// <summary>
   28:         ///
   29:         /// </summary>
   30:         public string Id { get; set; }
   31:  
   32:         ////////////////////////////////////////////////////////////////////////////
   33:  
   34:         /// <summary>
   35:         ///
   36:         /// </summary>
   37:         public string PartyId { get; set; }
   38:  
   39:         ////////////////////////////////////////////////////////////////////////////
   40:  
   41:         /// <summary>
   42:         ///
   43:         /// </summary>
   44:         public string AlternateOtasRealm { get; set; }
   45:  
   46:         ////////////////////////////////////////////////////////////////////////////
   47:  
   48:         /// <summary>
   49:         ///
   50:         /// </summary>
   51:         public bool CallerId { get; set; }
   52:  
   53:         ////////////////////////////////////////////////////////////////////////////
   54:  
   55:         /// <summary>
   56:         ///
   57:         /// </summary>
   58:         public bool CallWaiting { get; set; }
   59:  
   60:         ////////////////////////////////////////////////////////////////////////////
   61:  
   62:         /// <summary>
   63:         ///
   64:         /// </summary>
   65:         public bool CallForwarding { get; set; }
   66:  
   67:         ////////////////////////////////////////////////////////////////////////////
   68:  
   69:         /// <summary>
   70:         ///
   71:         /// </summary>
   72:         public bool ConferenceCall { get; set; }
   73:  
   74:         ////////////////////////////////////////////////////////////////////////////
   75:  
   76:         /// <summary>
   77:         ///
   78:         /// </summary>
   79:         public bool AlarmCall { get; set; }
   80:  
   81:         ////////////////////////////////////////////////////////////////////////////
   82:  
   83:         /// <summary>
   84:         ///
   85:         /// </summary>
   86:         public bool InternationalCalling { get; set; }
   87:  
   88:         ////////////////////////////////////////////////////////////////////////////
   89:  
   90:         /// <summary>
   91:         ///
   92:         /// </summary>
   93:         public bool InternationalCallingUserControlled { get; set; }
   94:  
   95:         ////////////////////////////////////////////////////////////////////////////
   96:  
   97:         /// <summary>
   98:         ///
   99:         /// </summary>
  100:         public bool AbbriviatedCalling { get; set; }
  101:  
  102:         ////////////////////////////////////////////////////////////////////////////
  103:  
  104:         /// <summary>
  105:         ///
  106:         /// </summary>
  107:         //public bool ServiceSuspension { get; set; }
  108:  
  109:         ////////////////////////////////////////////////////////////////////////////
  110:  
  111:         /// <summary>
  112:         ///
  113:         /// </summary>
  114:         public DateTime Created { get; set; }
  115:  
  116:         ////////////////////////////////////////////////////////////////////////////
  117:  
  118:         /// <summary>
  119:         ///
  120:         /// </summary>
  121:         public DateTime Updated { get; set; }
  122:  
  123:         ////////////////////////////////////////////////////////////////////////////
  124:         ////////////////////////////////////////////////////////////////////////////
  125:  
  126:         /// <summary>
  127:         ///
  128:         /// </summary>
  129:         public string ToSimpleTextString()
  130:         {
  131:             StringBuilder sb;
  132:  
  133:             sb = new StringBuilder();
  134:  
  135:             //sb.AppendLine("Vendor: " + Ia.Ftn.Cl.Model.Business.NetworkDesignDocument.Vendor.Nokia.Name);
  136:             sb.AppendLine("PartyId: " + this.PartyId);
  137:             //sb.AppendLine("AlternateOtasRealm: " + this.AlternateOtasRealm);
  138:  
  139:             sb.AppendLine("CallWaiting: " + Ia.Cl.Models.Default.YesNoText(this.CallWaiting));
  140:             sb.AppendLine("CallForwarding: " + Ia.Cl.Models.Default.YesNoText(this.CallForwarding));
  141:             sb.AppendLine("AlarmCall: " + Ia.Cl.Models.Default.YesNoText(this.AlarmCall));
  142:             sb.AppendLine("InternationalCallingUserControlled: " + Ia.Cl.Models.Default.YesNoText(this.InternationalCallingUserControlled));
  143:             sb.AppendLine("InternationalCalling: " + Ia.Cl.Models.Default.YesNoText(this.InternationalCalling));
  144:             sb.AppendLine("CallerId: " + Ia.Cl.Models.Default.YesNoText(this.CallerId));
  145:             sb.AppendLine("ConferenceCall: " + Ia.Cl.Models.Default.YesNoText(this.ConferenceCall));
  146:             sb.AppendLine("AbbriviatedCalling: " + Ia.Cl.Models.Default.YesNoText(this.AbbriviatedCalling));
  147:             sb.AppendLine("CallBarring: " + "?");
  148:             sb.AppendLine("ServiceSuspension: " + "?");
  149:  
  150:             return sb.ToString();
  151:         }
  152:  
  153:         ////////////////////////////////////////////////////////////////////////////
  154:         ////////////////////////////////////////////////////////////////////////////
  155:     }
  156:  
  157:     ////////////////////////////////////////////////////////////////////////////
  158:     ////////////////////////////////////////////////////////////////////////////
  159: }