1: using System;
2: using System.Text;
3:
4: namespace Ia.Ngn.Cl.Model.Ui.Nokia
5: {
6: ////////////////////////////////////////////////////////////////////////////
7:
8: /// <summary publish="true">
9: /// AGCF Endpoint Entity Framework class for Optical Fiber Network (OFN) 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: ///
15: /// 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
16: /// the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
17: ///
18: /// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
19: /// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
20: ///
21: /// You should have received a copy of the GNU General Public License along with this library. If not, see http://www.gnu.org/licenses.
22: ///
23: /// Copyright notice: This notice may not be removed or altered from any source distribution.
24: /// </remarks>
25: public class AgcfEndpoint
26: {
27: ////////////////////////////////////////////////////////////////////////////
28:
29: /// <summary>
30: ///
31: /// </summary>
32: public AgcfEndpoint() { }
33:
34: ////////////////////////////////////////////////////////////////////////////
35:
36: /// <summary>
37: ///
38: /// </summary>
39: public string Id { get; set; }
40:
41: ////////////////////////////////////////////////////////////////////////////
42:
43: /// <summary>
44: ///
45: /// </summary>
46: public string PrividUser { get; set; }
47:
48: ////////////////////////////////////////////////////////////////////////////
49:
50: /// <summary>
51: ///
52: /// </summary>
53: public int GwId { get; set; }
54:
55: ////////////////////////////////////////////////////////////////////////////
56:
57: /// <summary>
58: ///
59: /// </summary>
60: public string Dn { get; set; }
61:
62: ////////////////////////////////////////////////////////////////////////////
63:
64: /// <summary>
65: ///
66: /// </summary>
67: public int FlatTermID { get; set; }
68:
69: ////////////////////////////////////////////////////////////////////////////
70:
71: /// <summary>
72: ///
73: /// </summary>
74: public bool CallHoldLc { get; set; }
75:
76: ////////////////////////////////////////////////////////////////////////////
77:
78: /// <summary>
79: ///
80: /// </summary>
81: public bool CallWaitingLc { get; set; }
82:
83: ////////////////////////////////////////////////////////////////////////////
84:
85: /// <summary>
86: ///
87: /// </summary>
88: public bool CallToggleLc { get; set; }
89:
90: ////////////////////////////////////////////////////////////////////////////
91:
92: /// <summary>
93: ///
94: /// </summary>
95: public bool ThreeWayCallLc { get; set; }
96:
97: ////////////////////////////////////////////////////////////////////////////
98:
99: /// <summary>
100: ///
101: /// </summary>
102: public bool McidLc { get; set; }
103:
104: ////////////////////////////////////////////////////////////////////////////
105:
106: /// <summary>
107: ///
108: /// </summary>
109: public string Password { get; set; }
110:
111: ////////////////////////////////////////////////////////////////////////////
112:
113: /// <summary>
114: ///
115: /// </summary>
116: public bool CallTransferLc { get; set; }
117:
118: ////////////////////////////////////////////////////////////////////////////
119:
120: /// <summary>
121: ///
122: /// </summary>
123: public int AgcfGatewayRecordId { get; set; }
124:
125: ////////////////////////////////////////////////////////////////////////////
126:
127: /// <summary>
128: ///
129: /// </summary>
130: public DateTime Created { get; set; }
131:
132: ////////////////////////////////////////////////////////////////////////////
133:
134: /// <summary>
135: ///
136: /// </summary>
137: public DateTime Updated { get; set; }
138:
139: ////////////////////////////////////////////////////////////////////////////
140: ////////////////////////////////////////////////////////////////////////////
141:
142: /// <summary>
143: ///
144: /// </summary>
145: public string ToSimpleTextString()
146: {
147: StringBuilder sb;
148:
149: sb = new StringBuilder();
150:
151: //sb.AppendLine("Vendor: " + Ia.Ngn.Cl.Model.Business.NetworkDesignDocument.Vendor.Nokia.Name);
152: sb.AppendLine("PrividUser: " + this.PrividUser);
153: sb.AppendLine("GwId: " + this.GwId);
154: //sb.AppendLine("Dn: " + this.Dn);
155: sb.AppendLine("FlatTermID: " + this.FlatTermID);
156: //sb.AppendLine("CallHoldLc: " + Ia.Cl.Model.Default.YesNoText(this.CallHoldLc));
157: //sb.AppendLine("CallWaitingLc: " + Ia.Cl.Model.Default.YesNoText(this.CallWaitingLc));
158: //sb.AppendLine("CallToggleLc: " + Ia.Cl.Model.Default.YesNoText(this.CallToggleLc));
159: //sb.AppendLine("ThreeWayCallLc: " + Ia.Cl.Model.Default.YesNoText(this.ThreeWayCallLc));
160: //sb.AppendLine("McidLc: " + Ia.Cl.Model.Default.YesNoText(this.McidLc));
161: //sb.AppendLine("Password: " + this.Password);
162: //sb.AppendLine("CallTransferLc: " + Ia.Cl.Model.Default.YesNoText(this.CallTransferLc));
163:
164: return sb.ToString();
165: }
166:
167: ////////////////////////////////////////////////////////////////////////////
168: ////////////////////////////////////////////////////////////////////////////
169: }
170:
171: ////////////////////////////////////////////////////////////////////////////
172: ////////////////////////////////////////////////////////////////////////////
173: }