1: using System.Collections.Generic;
2:
3: namespace Ia.Ngn.Cl.Model.Business.Siemens
4: {
5: ////////////////////////////////////////////////////////////////////////////
6:
7: /// <summary publish="true">
8: /// EWSD Subscriber support class for Optical Fiber Network (OFN) business model.
9: /// </summary>
10: ///
11: /// <remarks>
12: /// Copyright © 2018-2020 Jasem Y. Al-Shamlan (info@ia.com.kw), Integrated Applications - Kuwait. All Rights Reserved.
13: ///
14: /// 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
15: /// the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
16: ///
17: /// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
18: /// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
19: ///
20: /// You should have received a copy of the GNU General Public License along with this library. If not, see http://www.gnu.org/licenses.
21: ///
22: /// Copyright notice: This notice may not be removed or altered from any source distribution.
23: /// </remarks>
24: public class Subscriber
25: {
26: ////////////////////////////////////////////////////////////////////////////
27:
28: /// <summary>
29: ///
30: /// </summary>
31: public Subscriber() { }
32:
33: ////////////////////////////////////////////////////////////////////////////
34:
35: /// <summary>
36: ///
37: /// </summary>
38: public static string SubscriberId(int dn)
39: {
40: int serviceType;
41: string serviceId;
42:
43: serviceType = Ia.Ngn.Cl.Model.Business.Service.ServiceType.PstnService;
44:
45: serviceId = Ia.Ngn.Cl.Model.Business.Service.ServiceToServiceId(dn.ToString(), serviceType);
46:
47: return serviceId;
48: }
49:
50: ////////////////////////////////////////////////////////////////////////////
51: ////////////////////////////////////////////////////////////////////////////
52: }
53:
54: ////////////////////////////////////////////////////////////////////////////
55: ////////////////////////////////////////////////////////////////////////////
56: }