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

Integrated Applications Programming Company

Skip Navigation LinksHome » Code Library » ServiceRequestHistory

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

Service Request History support class of Next Generation Network'a (NGN's) business model.

   1:  using System;
   2:  using System.Collections.Generic;
   3:  using System.Linq;
   4:  using System.Text.RegularExpressions;
   5:  using System.Data;
   6:   
   7:  namespace Ia.Ngn.Cl.Model.Business
   8:  {
   9:      ////////////////////////////////////////////////////////////////////////////
  10:   
  11:      /// <summary publish="true">
  12:      /// Service Request History support class of Next Generation Network'a (NGN's) business model.
  13:      /// </summary>
  14:      /// 
  15:      /// <remarks> 
  16:      /// Copyright © 2019-2019 Jasem Y. Al-Shamlan (info@ia.com.kw), Internet Applications - Kuwait. All Rights Reserved.
  17:      ///
  18:      /// 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
  19:      /// the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
  20:      ///
  21:      /// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
  22:      /// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  23:      /// 
  24:      /// You should have received a copy of the GNU General Public License along with this library. If not, see http://www.gnu.org/licenses.
  25:      /// 
  26:      /// Copyright notice: This notice may not be removed or altered from any source distribution.
  27:      /// </remarks> 
  28:      public partial class ServiceRequestHistory
  29:      {
  30:          /// <summary/>
  31:          public ServiceRequestHistory() { }
  32:   
  33:          ////////////////////////////////////////////////////////////////////////////
  34:   
  35:          /// <summary>
  36:          ///
  37:          /// </summary>
  38:          public static string ServiceRequestHistoryId(int number, int serial, int serviceServiceId, DateTime serviceDateTime)
  39:          {
  40:              string serviceId, ctag, id;
  41:   
  42:              serviceId = Ia.Ngn.Cl.Model.Business.Service2.ServiceId(number.ToString(), 1); // <type id="1" name="Dn"
  43:   
  44:              //ctag = Ia.Cl.Model.Default.RandomNumber(4);
  45:   
  46:              id = serviceId + ":" + serial + ":" + serviceServiceId + ":" + serviceDateTime.ToString("yyyy-MM-dd");// + ":" + ctag;
  47:   
  48:              return id;
  49:          }
  50:   
  51:          ////////////////////////////////////////////////////////////////////////////
  52:          ////////////////////////////////////////////////////////////////////////////
  53:      }
  54:   
  55:      ////////////////////////////////////////////////////////////////////////////
  56:      ////////////////////////////////////////////////////////////////////////////
  57:  }