)>}]
شركة التطبيقات المتكاملة لتصميم وبرمجة البرمجيات الخاصة ش.ش.و.
Integrated Applications Programming Company
Home » Code Library » Subscriber (Ia.Ftn.Cl.Model.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.Model.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:     ///
   16:     /// 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
   17:     /// the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
   18:     ///
   19:     /// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
   20:     /// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
   21:     /// 
   22:     /// You should have received a copy of the GNU General Public License along with this library. If not, see http://www.gnu.org/licenses.
   23:     /// 
   24:     /// Copyright notice: This notice may not be removed or altered from any source distribution.
   25:     /// </remarks> 
   26:     public class Subscriber
   27:     {
   28:         ////////////////////////////////////////////////////////////////////////////
   29:  
   30:         /// <summary>
   31:         ///
   32:         /// </summary>
   33:         public Subscriber() { }
   34:  
   35:         ////////////////////////////////////////////////////////////////////////////
   36:  
   37:         /// <summary>
   38:         ///
   39:         /// </summary>
   40:         public string Id { get; set; }
   41:  
   42:         ////////////////////////////////////////////////////////////////////////////
   43:  
   44:         /// <summary>
   45:         ///
   46:         /// </summary>
   47:         public string PartyId { get; set; }
   48:  
   49:         ////////////////////////////////////////////////////////////////////////////
   50:  
   51:         /// <summary>
   52:         ///
   53:         /// </summary>
   54:         public string AlternateOtasRealm { get; set; }
   55:  
   56:         ////////////////////////////////////////////////////////////////////////////
   57:  
   58:         /// <summary>
   59:         ///
   60:         /// </summary>
   61:         public bool CallerId { get; set; }
   62:  
   63:         ////////////////////////////////////////////////////////////////////////////
   64:  
   65:         /// <summary>
   66:         ///
   67:         /// </summary>
   68:         public bool CallWaiting { get; set; }
   69:  
   70:         ////////////////////////////////////////////////////////////////////////////
   71:  
   72:         /// <summary>
   73:         ///
   74:         /// </summary>
   75:         public bool CallForwarding { get; set; }
   76:  
   77:         ////////////////////////////////////////////////////////////////////////////
   78:  
   79:         /// <summary>
   80:         ///
   81:         /// </summary>
   82:         public bool ConferenceCall { get; set; }
   83:  
   84:         ////////////////////////////////////////////////////////////////////////////
   85:  
   86:         /// <summary>
   87:         ///
   88:         /// </summary>
   89:         public bool AlarmCall { get; set; }
   90:  
   91:         ////////////////////////////////////////////////////////////////////////////
   92:  
   93:         /// <summary>
   94:         ///
   95:         /// </summary>
   96:         public bool InternationalCalling { get; set; }
   97:  
   98:         ////////////////////////////////////////////////////////////////////////////
   99:  
  100:         /// <summary>
  101:         ///
  102:         /// </summary>
  103:         public bool InternationalCallingUserControlled { get; set; }
  104:  
  105:         ////////////////////////////////////////////////////////////////////////////
  106:  
  107:         /// <summary>
  108:         ///
  109:         /// </summary>
  110:         public bool AbbriviatedCalling { get; set; }
  111:  
  112:         ////////////////////////////////////////////////////////////////////////////
  113:  
  114:         /// <summary>
  115:         ///
  116:         /// </summary>
  117:         //public bool ServiceSuspension { get; set; }
  118:  
  119:         ////////////////////////////////////////////////////////////////////////////
  120:  
  121:         /// <summary>
  122:         ///
  123:         /// </summary>
  124:         public DateTime Created { get; set; }
  125:  
  126:         ////////////////////////////////////////////////////////////////////////////
  127:  
  128:         /// <summary>
  129:         ///
  130:         /// </summary>
  131:         public DateTime Updated { get; set; }
  132:  
  133:         ////////////////////////////////////////////////////////////////////////////
  134:         ////////////////////////////////////////////////////////////////////////////
  135:  
  136:         /// <summary>
  137:         ///
  138:         /// </summary>
  139:         public string ToSimpleTextString()
  140:         {
  141:             StringBuilder sb;
  142:  
  143:             sb = new StringBuilder();
  144:  
  145:             //sb.AppendLine("Vendor: " + Ia.Ftn.Cl.Model.Business.NetworkDesignDocument.Vendor.Nokia.Name);
  146:             sb.AppendLine("PartyId: " + this.PartyId);
  147:             //sb.AppendLine("AlternateOtasRealm: " + this.AlternateOtasRealm);
  148:  
  149:             sb.AppendLine("CallWaiting: " + Ia.Cl.Models.Default.YesNoText(this.CallWaiting));
  150:             sb.AppendLine("CallForwarding: " + Ia.Cl.Models.Default.YesNoText(this.CallForwarding));
  151:             sb.AppendLine("AlarmCall: " + Ia.Cl.Models.Default.YesNoText(this.AlarmCall));
  152:             sb.AppendLine("InternationalCallingUserControlled: " + Ia.Cl.Models.Default.YesNoText(this.InternationalCallingUserControlled));
  153:             sb.AppendLine("InternationalCalling: " + Ia.Cl.Models.Default.YesNoText(this.InternationalCalling));
  154:             sb.AppendLine("CallerId: " + Ia.Cl.Models.Default.YesNoText(this.CallerId));
  155:             sb.AppendLine("ConferenceCall: " + Ia.Cl.Models.Default.YesNoText(this.ConferenceCall));
  156:             sb.AppendLine("AbbriviatedCalling: " + Ia.Cl.Models.Default.YesNoText(this.AbbriviatedCalling));
  157:             sb.AppendLine("CallBarring: " + "?");
  158:             sb.AppendLine("ServiceSuspension: " + "?");
  159:  
  160:             return sb.ToString();
  161:         }
  162:  
  163:         ////////////////////////////////////////////////////////////////////////////
  164:         ////////////////////////////////////////////////////////////////////////////
  165:     }
  166:  
  167:     ////////////////////////////////////////////////////////////////////////////
  168:     ////////////////////////////////////////////////////////////////////////////
  169: }