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

Integrated Applications Programming Company

Skip Navigation LinksHome » Code Library » EmsVoipPstnUser

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

Huawei's EMS VOIP PSTN User Entity Framework class for Next Generation Network (NGN) entity model.

   1:  using System;
   2:  using System.ComponentModel.DataAnnotations;
   3:  using System.ComponentModel.DataAnnotations.Schema;
   4:   
   5:  namespace Ia.Ngn.Cl.Model.Huawei
   6:  {
   7:      ////////////////////////////////////////////////////////////////////////////
   8:   
   9:      /// <summary publish="true">
  10:      /// Huawei's EMS VOIP PSTN User Entity Framework class for Next Generation Network (NGN) entity model.
  11:      /// </summary>
  12:      /// 
  13:      /// <remarks> 
  14:      /// Copyright © 2017-2018 Jasem Y. Al-Shamlan (info@ia.com.kw), Internet 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 partial class EmsVoipPstnUser : IEquatable<EmsVoipPstnUser>
  27:      {
  28:          /*
  29:           * iManager_U2000_V200R014C60_TL1_NBI_User_Guide_13.pdf
  30:           * 
  31:           * 14.19.1 Querying a VoIP PSTN User (LST-VOIPPSTNUSER)
  32:           * 
  33:           * Usage Note: This command is used to query the service data of a VoIP PSTN user. Run this command when you need to query the service data of a VoIP PSTN user configured in the system.
  34:           * 
  35:           * Command Format LST-VOIPPSTNUSER::(((DID=Device-ID|DEV=Device-name),FN=Frame-num,SN=Slotnum,PN=Port-num)|(MGID=MediaGateway-ID|MGNAME=MediaGateway-Name,TID=Terminal-ID)| DN=Telephone-Number|ALIAS=Port-alias):{ctag}::[SHOWOPTION=CidTransWhen CidFormat MGNAME OverloadPRI ImpedanceProfile SendVoiceGain RecvVoiceGain RevPolarityMode PortRunState PortTestState PortLineState PortLoopState ServiceRunState ServiceAdminState ActualSendVoiceGain ActualRecvVoiceGain AGCEnable AGCEnableLevel SNSEnable SNSEnableLevel NlpMode LineLockEnable DspInputGain DspOutputGain ClipReversePole DEFAULTCLI USERGROUPID ADJUSTFACTOR DSPPROFILE]; 
  36:           *   
  37:           */
  38:   
  39:          /// <summary/>
  40:          public EmsVoipPstnUser() { }
  41:   
  42:          /// <summary/>
  43:          [Key, DatabaseGenerated(DatabaseGeneratedOption.None)]
  44:          public string Id { get; set; }
  45:   
  46:          /// <summary> 
  47:          /// DID INTEGER - Indicates the device ID. 
  48:          /// </summary>
  49:          public int DID { get; set; }
  50:   
  51:          /// <summary> 
  52:          /// FN INTEGER 0-255 Indicates the subrack ID. 
  53:          /// </summary>
  54:          public int FN { get; set; }
  55:   
  56:          /// <summary> 
  57:          /// SN INTEGER 0-35 Indicates the slot ID. 
  58:          /// </summary>
  59:          public int SN { get; set; }
  60:   
  61:          /// <summary> 
  62:          /// PN INTEGER 0-63 Indicates the port ID. 
  63:          /// </summary>
  64:          public int PN { get; set; }
  65:   
  66:          /// <summary> 
  67:          /// MGID INTEGER 0-16777215 Indicates MG ID. 
  68:          /// </summary>
  69:          public int MGID { get; set; }
  70:   
  71:          /// <summary> 
  72:          /// MGNAME OCTET STRING SIZE (32) Indicates the MG name. 
  73:          /// </summary>
  74:          public string MGNAME { get; set; }
  75:   
  76:          /// <summary> 
  77:          /// TID INTEGER 0-9999 Indicates the terminal ID
  78:          /// </summary>
  79:          public int TID { get; set; }
  80:   
  81:          /// <summary> 
  82:          /// DN OCTET STRING SIZE (64) l UA5000(PVM): When the SIP protocol is used, the DN value is a character string consisting of no more than 32 characters. When the H. 248 protocol is used, the DN value is a numeral consisting of no more than 16 digits. l Other devices: When the SIP protocol is used, the DN value is a character string consisting of no more than 64 characters. When the H. 248 protocol is used, the DN value is a numeral consisting of no more than 16 digits. Indicates the telephone number. 
  83:          /// </summary>
  84:          public string DN { get; set; }
  85:   
  86:          /// <summary> 
  87:          /// LayeredConf OCTET STRING l Not Layered l Layered Specifies whether to enable the layered configuration. NOTE This parameter is not applicable to the MDU.
  88:          /// </summary>
  89:          public string LayeredConf { get; set; }
  90:   
  91:          /// <summary> 
  92:          /// HighLevelWidth INTEGER 20-500 Indicates the width of the high level. Unit: ms.
  93:          /// </summary>
  94:          public int HighLevelWidth { get; set; }
  95:   
  96:          /// <summary> 
  97:          /// LowerLevelWidth INTEGER 20-500 Indicates the width of the low level. Unit: ms. 
  98:          /// </summary>
  99:          public int LowerLevelWidth { get; set; }
 100:   
 101:          /// <summary> 
 102:          /// Voltage OCTET STRING See Table D-20. Indicates the effective value of level. Unit: Vrms. 
 103:          /// </summary>
 104:          public string Voltage { get; set; }
 105:   
 106:          /// <summary> 
 107:          /// KCType OCTET STRING 16KC 12KC Indicates the KC accounting mode. 
 108:          /// </summary>
 109:          public string KCType { get; set; }
 110:   
 111:          /// <summary> 
 112:          /// VoiceGain OCTET STRING See Table D-19. Indicates the voice gain. Unit: dB.
 113:          /// </summary>
 114:          public string VoiceGain { get; set; }
 115:   
 116:          /// <summary> 
 117:          /// LimitPulseDial OCTET STRING l Disable l Enable l DTMF-Pulse-both l DTMF-only l Pulse-only Specifies the dialing mode. The meanings of the options are as follows: l Disable: The dialing mode is not restricted. l Enable: The dialing mode is restricted. l DTMF-Pulse-both: The pulse dialing and the DTMF dialing are permitted. l DTMF-only: Only the DTMF dialing is permitted. l Pulse-only: Only the pulse dialing is permitted. The UA5000PVMR15, MA5600T, MA5603T, MA5606T, MA5620E, MA5620G, MA5610, and MA5616 support the following options: DTMF-Pulse-both, DTMF-only and Pulseonly. The UA5000PVMR13 supports the following options: Disable and Enable.
 118:          /// </summary>
 119:          public string LimitPulseDial { get; set; }
 120:   
 121:          /// <summary> 
 122:          /// RevPolarity OCTET STRING l Disable l Enable Specifies whether to enable the polarity reversal. The UA5000 (PVM), MA5616, MA5620E, and MA5620G support this parameter.
 123:          /// </summary>
 124:          public string RevPolarity { get; set; }
 125:   
 126:          /// <summary> 
 127:          /// RevPoleLevel INTEGER l UA5000 (PVM): 20-2560 l MA5600T, MA5603T, MA5606T, MA5620E, MA5620G, MA5610, and MA5616: 20-1270 Indicates the level width of the reversed polarity pulse. Unit: ms.
 128:          /// </summary>
 129:          public int RevPoleLevel { get; set; }
 130:   
 131:          /// <summary> 
 132:          /// RevPolePulse OCTET STRING l Disable l Enable Specifies whether to enable the reversed polarity pulse.
 133:          /// </summary>
 134:          public string RevPolePulse { get; set; }
 135:   
 136:          /// <summary> 
 137:          /// PSTAT OCTET STRING l Idle l Fault l Testing l Lock l Busy l Localloopback l Remoteloopback Indicates the port status. The UA5000 (PVM) supports this parameter, and the MA5600T, MA5603T, MA5606T, MA5620E, MA5620G, MA5610, and MA5616 do not support this parameter.
 138:          /// </summary>
 139:          public string PSTAT { get; set; }
 140:   
 141:          /// <summary> 
 142:          /// ConfigStatus OCTET STRING l VoIP Configured l Narrowband Voice ConfigStatus l Not Configured Indicates the configuration status.
 143:          /// </summary>
 144:          public string ConfigStatus { get; set; }
 145:   
 146:          /// <summary> 
 147:          /// ServiceStatus OCTET STRING l Local Terminate l ServiceRemote Terminate l ServiceAuto Terminate l ServiceEnable Service Indicates the service status. The UA5000 (PVM) supports this parameter, and the MA5600T, MA5603T, MA5606T, MA5620E, MA5620G, MA5610, and MA5616 do not support this parameter.
 148:          /// </summary>
 149:          public string ServiceStatus { get; set; }
 150:   
 151:          /// <summary> 
 152:          /// ServiceType OCTET STRING l Instant Service l Internal SPC l V5 SPC l V5-PRE l Leased Line l IP SPC Indicates the service type. The UA5000 (PVM) supports this parameter, and the MA5600T, MA5603T, MA5606T, MA5620E, MA5620G, MA5610, and MA5616 do not support this parameter.
 153:          /// </summary>
 154:          public string ServiceType { get; set; }
 155:   
 156:          /// <summary> 
 157:          /// ALIAS OCTET STRING SIZE (32) Indicates the port alias.
 158:          /// </summary>
 159:          public string ALIAS { get; set; }
 160:   
 161:          /// <summary> 
 162:          /// UserType OCTET STRING (20) l DEL user l Loop Calling PBX l Earth Calling PBX l PayPhone Indicates the user type.
 163:          /// </summary>
 164:          public string UserType { get; set; }
 165:   
 166:          /// <summary> 
 167:          /// Impedance OCTET STRING (100) l Bureau machine in China l User Machine in China l 600ohm Interface l Interface of russian l (220+820||115nf) l (220+820||120nf) l 900ohm Interface l Interface of Brazil l BT0 l HK_BT3 l HK_BT5 l BT1 l BT2 l BT3 l Commonly used in Europe l Private definition Indicates the impedance of the port. The complete specifications are as follows: l 1: Bureau machine in China(200+680|| 100nf) l 2: User Machine in China(200+560|| 100nf) l 3: 600ohm Interface l 4: Interface of russian(150+510|| 47nf) l 5: (220+820||115nf) l 6: (220+820||120nf) l 7: 900ohm Interface l 8: Interface of Brazil(800||50nf) l 9: BT0(Zin=300+1000|| 220nf,Zload=370+62 0||310nf) l 10: HK_BT3(Zin=370+6 20|| 310nf,Zload=600) l 11: HK_BT5(Zin=270+2 64||357nf+1434|| 265nf,Zload=600) l 12: BT1(BT0 without AGC) l 13: BT2 l 14: BT3 l 15: Commonly used in Europe (Zin= 270+750|| 150nf) l 255: Private definition Default: 600ohm Interface.
 168:          /// </summary>
 169:          public string Impedance { get; set; }
 170:   
 171:          /// <summary> 
 172:          /// Current OCTET STRING (32) UA5000 (PVM): l 25mA steady current l 16mA steady current l 32mA steady current l 40mA steady current l 35mA 2*200ohm l 35mA 2*250ohm l 35mA 2*400ohm l 47mA 2*200ohm l 47mA 2*250ohm l 47mA 2*400ohm l 20mA 2*200ohm l 20mA 2*250ohm l 20mA 2*400ohm l 30mA 2*200ohm l 30mA 2*250ohm l 30mA 2*400ohm l 40mA 2*200ohm l 40mA 2*250ohm l 40mA 2*400ohm MA5600T, MA5603T, MA5606T, MA5620E, MA5620G, MA5610, and MA5616: l 16mA l 20mA l 25mA l 30mA l 35mA l 40mA l 45mA Indicates the current of the port.
 173:          /// </summary>
 174:          public string Current { get; set; }
 175:   
 176:          /// <summary> 
 177:          /// DCTime INTEGER 0-100 Indicates the power outage duration of the terminal. Unit: 10 ms.
 178:          /// </summary>
 179:          public int DCTime { get; set; }
 180:   
 181:          /// <summary> 
 182:          /// PITime INTEGER 0-20 Indicates the duration of waiting to collect digits. Unit: 10 ms. The MA5600T, MA5603T, MA5606T, MA5620E, MA5620G, MA5610, and MA5616 do not support this parameter. 
 183:          /// </summary>
 184:          public int PITime { get; set; }
 185:   
 186:          /// <summary> 
 187:          /// FSKDelayInterval INTEGER 0-100 Indicates the delay in issuing the calling number. Unit: 10 ms.
 188:          /// </summary>
 189:          public int FSKDelayInterval { get; set; }
 190:   
 191:          /// <summary> 
 192:          /// ActualVoiceGain OCTET STRING (32) l high l low l [3~0] l [3~-3.5] l [3~-7] l [3~-12] l [3~-8.5] l [0~0] l [0~-3.5] l [0~-7] l [0~-12] l [0~-8.5] l [-3~0] l [-3~-3.5] l [-3~-7] l [-3~-12] l [-3~-8.5] l [3~-3] l [3~-6] l [3~-9] l [0~-3] l [0~-6] l [0~-9] l [-3~-3] l [-3~-6] l [-3~-9] l [-4~-9] l [-2.5~-7.5] l [-1~-6] l [1.5~-3.5] l [4~-1] l Auto Voice Gain[-1~-4~-6~9] Indicates the actual voice gain. l The UA5000 (PVM) supports this parameter, and the MA5600T, MA5603T, MA5606T, MA5620E, MA5620G, MA5610, and MA5616 do not support this parameter. l The expression [A~B] indicates a pair of values instead of a value range. A indicates the receive voice gain, and B indicates the transmit voice gain with dB as its unit. For example, values [3~0] indicate that the receive voice gain is 3 dB, and the transmit voice gain is 0 dB.
 193:          /// </summary>
 194:          public string ActualVoiceGain { get; set; }
 195:   
 196:          /// <summary> 
 197:          /// CidTransWhen OCTET STRING AfterRing BeforeRing Indicates the time when the calling number is issued.
 198:          /// </summary>
 199:          public string CidTransWhen { get; set; }
 200:   
 201:          /// <summary> 
 202:          /// CidFormat OCTET STRING l SDMF l MDMF l DTMF l R15(RUSSIA) l ETSI Indicates the format for issuing the calling number. The UA5000PVM V200R013C03 supports the value R15(RUSSIA). The MA5600T, MA5603T, and MA5606T V800R062 support the values R15(RUSSIA) and ETSI. The meanings of the options are as follows: l SDMF: Indicates the caller identification display in the FSK format. l MDMF: Indicates the caller identification display in the FSK format. l DTMF: Indicates the caller identification display in the DTMF format. l R15(RUSSIA): Indicates the caller identification display of telephones in Russia. l ETSI: Indicates the caller identification display for BT that complies with the ETSI standard.
 203:          /// </summary>
 204:          public string CidFormat { get; set; }
 205:   
 206:          /// <summary> 
 207:          /// OverloadPRI OCTET STRING l cat1 l cat2 l cat3 Indicates the overload priority. This parameter is displayed only when the entered SHOWOPTION contains the OverloadPRI parameter. By default, this parameter is not displayed.
 208:          /// </summary>
 209:          public string OverloadPRI { get; set; }
 210:   
 211:          /// <summary> 
 212:          /// ImpedanceProfile OCTET STRING SIZE (32) Indicates the name of the impedance attenuation profile. The UA5000 (PVM) supports this parameter, and the MA5600T, MA5603T, MA5606T, MA5620E, MA5620G, MA5610, and MA5616 do not support this parameter.
 213:          /// </summary>
 214:          public string ImpedanceProfile { get; set; }
 215:   
 216:          /// <summary> 
 217:          /// SendVoiceGain OCTET STRING 5/4.5/4/3.5/3/2.5/2/1.5/1/0.5/0/-0 . 5/-1/-1.5/-2/-2.5/-3/-3.5/-4/-4.5/5/-5.5/-6/Auto Voice Gain Indicates the transmit voice gain. Unit: dB. The MA5600T, MA5603T, MA5606T, MA5620E, MA5620G, MA5610, and MA5616 support this parameter, and the UA5000 (PVM) does not support this parameter.
 218:          /// </summary>
 219:          public string SendVoiceGain { get; set; }
 220:   
 221:          /// <summary> 
 222:          /// RecvVoiceGain OCTET STRING 0/-0.5/-1/-1.5/-2/-2.5/-3/-3.5/-4/4.5/-5/-5.5/-6/-6.5/-7/-7.5/-8/-8.5 /-9/-9.5/-10/-10.5/-11/-11.5/-12/ Auto Voice Gain Indicates the receive voice gain. Unit: dB. The MA5600T, MA5603T, MA5606T, MA5620E, MA5620G, MA5610, and MA5616 support this parameter, and the UA5000 (PVM) does not support this parameter.
 223:          /// </summary>
 224:          public string RecvVoiceGain { get; set; }
 225:   
 226:          /// <summary> 
 227:          /// RevPolarityMode OCTET STRING l Hard l Soft Indicates the polarity reversal mode. The MA5600T, MA5603T, MA5606T, MA5620E, MA5620G, MA5610, and MA5616 support this parameter, and the UA5000 (PVM) does not support this parameter.
 228:          /// </summary>
 229:          public string RevPolarityMode { get; set; }
 230:   
 231:          /// <summary> 
 232:          /// PortRunState OCTET STRING l Normal l Fault l Deactive l Low Power Indicates the running status of the port. The MA5600T, MA5603T, MA5606T, MA5620E, MA5620G, MA5610, and MA5616 support this parameter, and the UA5000 (PVM) does not support this parameter.
 233:          /// </summary>
 234:          public string PortRunState { get; set; }
 235:   
 236:          /// <summary> 
 237:          /// PortTestState OCTET STRING l Not Test l Testing Indicates the testing status of the port. The MA5600T, MA5603T, MA5606T, MA5620E, MA5620G, MA5610, and MA5616 support this parameter, and the UA5000 (PVM) does not support this parameter.
 238:          /// </summary>
 239:          public string PortTestState { get; set; }
 240:   
 241:          /// <summary> 
 242:          /// PortLineState OCTET STRING Normal On Earth Indicates the line status of the port. The MA5600T, MA5603T, MA5606T, MA5620E, MA5620G, MA5610, and MA5616 support this parameter, and the UA5000 (PVM) does not support this parameter.
 243:          /// </summary>
 244:          public string PortLineState { get; set; }
 245:   
 246:          /// <summary> 
 247:          /// PortLoopState OCTET STRING l Not Loopback l Local Loopback l Remote Loopback Indicates the loopback status of the port. The MA5600T, MA5603T, MA5606T, MA5620E, MA5620G, MA5610, and MA5616 support this parameter, and the UA5000 (PVM) does not support this parameter.
 248:          /// </summary>
 249:          public string PortLoopState { get; set; }
 250:   
 251:          /// <summary> 
 252:          /// ServiceRunState OCTET STRING l Fault l Idle l Off-hook l Lock l Ring Indicates the running status of the ongoing service of the port. The MA5600T, MA5603T, MA5606T, MA5620E, MA5620G, MA5610, and MA5616 support this parameter, and the UA5000 (PVM) does not support this parameter.
 253:          /// </summary>
 254:          public string ServiceRunState { get; set; }
 255:   
 256:          /// <summary> 
 257:          /// ServiceAdminState OCTET STRING l Local Terminate Service l Peer Terminate Service l Enable Service Indicates the management status of the ongoing service of the port. The MA5600T, MA5603T, MA5606T, MA5620E, MA5620G, MA5610, and MA5616 support this parameter, and the UA5000 (PVM) does not support this parameter.
 258:          /// </summary>
 259:          public string ServiceAdminState { get; set; }
 260:   
 261:          /// <summary> 
 262:          /// ActualSendVoiceGain OCTET STRING 5/4.5/4/3.5/3/2.5/2/1.5/1/0.5/0/-0 . 5/-1/-1.5/-2/-2.5/-3/-3.5/-4/-4.5/5/-5.5/-6/Auto Voice Gain Indicates the actual transmit voice gain. Unit: dB. The MA5600T, MA5603T, MA5606T, MA5620E, MA5620G, MA5610, and MA5616 support this parameter, and the UA5000 (PVM) does not support this parameter.
 263:          /// </summary>
 264:          public string ActualSendVoiceGain { get; set; }
 265:   
 266:          /// <summary> 
 267:          /// ActualRecvVo iceGain OCTET STRING 0/-0.5/-1/-1.5/-2/-2.5/-3/-3.5/-4/4.5/-5/-5.5/-6/-6.5/-7/-7.5/-8/-8.5 /-9/-9.5/-10/-10.5/-11/-11.5/-12/ Auto Voice Gain Indicates the actual receive voice gain. Unit: dB. The MA5600T, MA5603T, MA5606T, MA5620E, MA5620G, MA5610, and MA5616 support this parameter, and the UA5000 (PVM) does not support this parameter.
 268:          /// </summary>
 269:          public string ActualRecvVo { get; set; }
 270:   
 271:          /// <summary> 
 272:          /// AGCEnable OCTET STRING l Disable l Enable Specifies whether to support the automatic gain control (AGC). The UA5000PVM V200R13C03 and MA5600T, MA5603T, and MA5606T V800R62 support this parameter. Default: Disable.
 273:          /// </summary>
 274:          public string AGCEnable { get; set; }
 275:   
 276:          /// <summary> 
 277:          /// AGCEnableLevel INTEGER -24 to -9 Indicates the target value of AGC. The UA5000PVM V200R13C03 and MA5600T, MA5603T, and MA5606T V800R62 support this parameter. Unit: dBm0. Default: -22. 
 278:          /// </summary>
 279:          public int AGCEnableLevel { get; set; }
 280:   
 281:          /// <summary> 
 282:          /// SNSEnable OCTET STRING l Disable l Enable Specifies whether to support the spectral noise suppression (SNS). The UA5000PVM V200R13C03 and MA5600T, MA5603T, and MA5606T V800R62 support this parameter. Default: Disable. 
 283:          /// </summary>
 284:          public string SNSEnable { get; set; }
 285:   
 286:          /// <summary> 
 287:          /// SNSEnableLevel INTEGER 6-20 Indicates the SNS suppression. The UA5000PVM V200R13C03 and MA5600T, MA5603T, and MA5606T V800R62 support this parameter. Unit: dB. Default: 12.
 288:          /// </summary>
 289:          public int SNSEnableLevel { get; set; }
 290:   
 291:          /// <summary> 
 292:          /// NlpMode OCTET STRING Normal Mode Ecgain Mode Increased Mode Reduced Mode Close DtmfEchoCancel NOTE The V800R011C00 and later versions of MA5600T, MA5603T, and MA5603U support the DTMF echo cancellation mode. Indicates the Nlp mode. The following devices and later versions support this parameter: l MA5620E: MA5600 V800R305C01B057 l MA5620G: MA5600 V800R305C02B031 l MA5606T l MA5600 V800R005C23B090 l MA5600 V800R005C63B090 l MA5600T: MA5600 V800R005C33B090 l MA5610: MA5610 V800R306C01B000 l MA5616: MA5616 V800R306C01B000 l MA5603T l MA5603U
 293:          /// </summary>
 294:          public string NlpMode { get; set; }
 295:   
 296:          /// <summary> 
 297:          /// LineLockEnable OCTET STRING l Enable l Disable Specifies whether to enable port locking. The MA5600T, MA5603T, and MA5606T V800R62 support this parameter. Default: Enable.
 298:          /// </summary>
 299:          public string LineLockEnable { get; set; }
 300:   
 301:          /// <summary> 
 302:          /// DspInputGain OCTET STRING -10 db to +5 db Indicates the input gain of the digital signal processor (DSP). NOTE The following device types and corresponding device versions support this parameter: l MA5600T: MA5600 V800R006C32 and later versions l MA5603T: MA5600 V800R006C32 and later versions l MA5606T: MA5600 V800R006C22 and later versions l MA5610: MA5610 V800R306C000 and later versions l MA5616: MA5616 V800R306C000 and later versions l MA5620E: MA5620E V800R307C00B001 and later versions l MA5620G: MA5620G V800R307C00B001 and later versions l MA5652G: MA5652 V800R306C01B050 and later versions l MA5620 l MA5612
 303:          /// </summary>
 304:          public string DspInputGain { get; set; }
 305:   
 306:          /// <summary> 
 307:          /// DspOutputGain OCTET STRING -10db to +10db Indicates the output gain of the DSP. NOTE The following device types and corresponding device versions support this parameter in the response: l MA5600T: MA5600 V800R006C32 and later versions l MA5603T: MA5600 V800R006C32 and later versions l MA5606T: MA5600 V800R006C22 and later versions l MA5610: MA5610 V800R306C000 and later versions l MA5616: MA5616 V800R306C000 and later versions l MA5620E: MA5620E V800R307C00B001 and later versions l MA5620G: MA5620G V800R307C00B001 and later versions l MA5652G: MA5652 V800R306C01B050 and later versions l MA5620 l MA5612
 308:          /// </summary>
 309:          public string DspOutputGain { get; set; }
 310:   
 311:          /// <summary> 
 312:          /// ClipReversePole OCTET STRING l Enable l Disable Default: Disable Specifies whether to enable the polarity reversal. Devices that support this parameter are as follows: l MA5620E: MA5600 V800R305C01B112 l MA5620G: MA5600 V800R305C02B051
 313:          /// </summary>
 314:          public string ClipReversePole { get; set; }
 315:   
 316:          /// <summary> 
 317:          /// DEFAULTCLI OCTET STRING SIZE (64) Indicates the default outgoing calling number. Ensure that the number exists on the device. NOTE The following versions support this parameter: l MA5600T: MA5600 V800R011C00 and later versions l MA5603T: MA5603 V800R011C00 and later versions
 318:          /// </summary>
 319:          public string DEFAULTCLI { get; set; }
 320:   
 321:          /// <summary> 
 322:          /// USERGROUPID INTEGER 0-65535 Indicates the SIP user group ID. Ensure that the user group exists on the device and it contains MGID. NOTE The following versions support this parameter: l MA5600T: MA5600 V800R011C00 and later versions l MA5603T: MA5603 V800R011C00 and later versions
 323:          /// </summary>
 324:          public int USERGROUPID { get; set; }
 325:   
 326:          /// <summary> 
 327:          /// ADJUSTFACTOR INTEGER 0-100 Indicates the adjustive speed of the DC output voltage. l MA5600T: MA5600V800R010C 00 and later versions l MA5603T: MA5600 V800R010C00 and later versions l MA5608T: MA5600 V800R012C00 and later versions
 328:          /// </summary>
 329:          public int ADJUSTFACTOR { get; set; }
 330:   
 331:          /// <summary> 
 332:          /// DSPPROFILE OCTET STRING SIZE (32) Indicates the name of the DSP profile.
 333:          /// </summary>
 334:          public string DSPPROFILE { get; set; }
 335:   
 336:          /// <summary/>
 337:          public DateTime Created { get; set; }
 338:   
 339:          /// <summary/>
 340:          public DateTime Updated { get; set; }
 341:   
 342:          /// <summary/>
 343:          public virtual Ia.Ngn.Cl.Model.Huawei.EmsOnt EmsOnt { get; set; }
 344:   
 345:          ////////////////////////////////////////////////////////////////////////////
 346:   
 347:          /// <summary>
 348:          ///
 349:          /// </summary>
 350:          public static bool operator ==(Ia.Ngn.Cl.Model.Huawei.EmsVoipPstnUser a, Ia.Ngn.Cl.Model.Huawei.EmsVoipPstnUser b)
 351:          {
 352:              bool areEqual;
 353:   
 354:              if (ReferenceEquals(a, b)) areEqual = true;
 355:              else if (ReferenceEquals(a, null)) areEqual = false;
 356:              else if (ReferenceEquals(b, null)) areEqual = false;
 357:              else
 358:              {
 359:                  if (a.DID != b.DID) areEqual = false;
 360:                  else if (a.FN != b.FN) areEqual = false;
 361:                  else if (a.SN != b.SN) areEqual = false;
 362:                  else if (a.PN != b.PN) areEqual = false;
 363:                  else if (a.MGID != b.MGID) areEqual = false;
 364:                  else if (a.MGNAME != b.MGNAME) areEqual = false;
 365:                  else if (a.TID != b.TID) areEqual = false;
 366:                  else if (a.DN != b.DN) areEqual = false;
 367:                  else if (a.LayeredConf != b.LayeredConf) areEqual = false;
 368:                  else if (a.HighLevelWidth != b.HighLevelWidth) areEqual = false;
 369:                  else if (a.LowerLevelWidth != b.LowerLevelWidth) areEqual = false;
 370:                  else if (a.Voltage != b.Voltage) areEqual = false;
 371:                  else if (a.KCType != b.KCType) areEqual = false;
 372:                  else if (a.VoiceGain != b.VoiceGain) areEqual = false;
 373:                  else if (a.LimitPulseDial != b.LimitPulseDial) areEqual = false;
 374:                  else if (a.RevPolarity != b.RevPolarity) areEqual = false;
 375:                  else if (a.RevPoleLevel != b.RevPoleLevel) areEqual = false;
 376:                  else if (a.RevPolePulse != b.RevPolePulse) areEqual = false;
 377:                  else if (a.PSTAT != b.PSTAT) areEqual = false;
 378:                  else if (a.ConfigStatus != b.ConfigStatus) areEqual = false;
 379:                  else if (a.ServiceStatus != b.ServiceStatus) areEqual = false;
 380:                  else if (a.ServiceType != b.ServiceType) areEqual = false;
 381:                  else if (a.ALIAS != b.ALIAS) areEqual = false;
 382:                  else if (a.UserType != b.UserType) areEqual = false;
 383:                  else if (a.Impedance != b.Impedance) areEqual = false;
 384:                  else if (a.Current != b.Current) areEqual = false;
 385:                  else if (a.DCTime != b.DCTime) areEqual = false;
 386:                  else if (a.PITime != b.PITime) areEqual = false;
 387:                  else if (a.FSKDelayInterval != b.FSKDelayInterval) areEqual = false;
 388:                  else if (a.ActualVoiceGain != b.ActualVoiceGain) areEqual = false;
 389:                  else if (a.CidTransWhen != b.CidTransWhen) areEqual = false;
 390:                  else if (a.CidFormat != b.CidFormat) areEqual = false;
 391:                  else if (a.OverloadPRI != b.OverloadPRI) areEqual = false;
 392:                  else if (a.ImpedanceProfile != b.ImpedanceProfile) areEqual = false;
 393:                  else if (a.SendVoiceGain != b.SendVoiceGain) areEqual = false;
 394:                  else if (a.RecvVoiceGain != b.RecvVoiceGain) areEqual = false;
 395:                  else if (a.RevPolarityMode != b.RevPolarityMode) areEqual = false;
 396:                  else if (a.PortRunState != b.PortRunState) areEqual = false;
 397:                  else if (a.PortTestState != b.PortTestState) areEqual = false;
 398:                  else if (a.PortLineState != b.PortLineState) areEqual = false;
 399:                  else if (a.PortLoopState != b.PortLoopState) areEqual = false;
 400:                  else if (a.ServiceRunState != b.ServiceRunState) areEqual = false;
 401:                  else if (a.ServiceAdminState != b.ServiceAdminState) areEqual = false;
 402:                  else if (a.ActualSendVoiceGain != b.ActualSendVoiceGain) areEqual = false;
 403:                  else if (a.ActualRecvVo != b.ActualRecvVo) areEqual = false;
 404:                  else if (a.AGCEnable != b.AGCEnable) areEqual = false;
 405:                  else if (a.AGCEnableLevel != b.AGCEnableLevel) areEqual = false;
 406:                  else if (a.SNSEnable != b.SNSEnable) areEqual = false;
 407:                  else if (a.SNSEnableLevel != b.SNSEnableLevel) areEqual = false;
 408:                  else if (a.NlpMode != b.NlpMode) areEqual = false;
 409:                  else if (a.LineLockEnable != b.LineLockEnable) areEqual = false;
 410:                  else if (a.DspInputGain != b.DspInputGain) areEqual = false;
 411:                  else if (a.DspOutputGain != b.DspOutputGain) areEqual = false;
 412:                  else if (a.ClipReversePole != b.ClipReversePole) areEqual = false;
 413:                  else if (a.DEFAULTCLI != b.DEFAULTCLI) areEqual = false;
 414:                  else if (a.USERGROUPID != b.USERGROUPID) areEqual = false;
 415:                  else if (a.ADJUSTFACTOR != b.ADJUSTFACTOR) areEqual = false;
 416:                  else if (a.DSPPROFILE != b.DSPPROFILE) areEqual = false;
 417:                  else areEqual = true;
 418:              }
 419:   
 420:              return areEqual;
 421:          }
 422:   
 423:          ////////////////////////////////////////////////////////////////////////////
 424:   
 425:          /// <summary>
 426:          ///
 427:          /// </summary>
 428:          public static bool operator !=(Ia.Ngn.Cl.Model.Huawei.EmsVoipPstnUser a, Ia.Ngn.Cl.Model.Huawei.EmsVoipPstnUser b)
 429:          {
 430:              return !(a == b);
 431:          }
 432:   
 433:          ////////////////////////////////////////////////////////////////////////////
 434:   
 435:          /// <summary>
 436:          ///
 437:          /// </summary>
 438:          public bool Equals(EmsVoipPstnUser emsVoipPstnUser)
 439:          {
 440:              // below: this will not check the Id, Created, Updated fields
 441:              bool areEqual;
 442:   
 443:              if (ReferenceEquals(null, emsVoipPstnUser)) areEqual = false;
 444:              else if (ReferenceEquals(this, emsVoipPstnUser)) areEqual = true;
 445:              else
 446:              {
 447:                  if (this.DID != emsVoipPstnUser.DID) areEqual = false;
 448:                  else if (this.FN != emsVoipPstnUser.FN) areEqual = false;
 449:                  else if (this.SN != emsVoipPstnUser.SN) areEqual = false;
 450:                  else if (this.PN != emsVoipPstnUser.PN) areEqual = false;
 451:                  else if (this.MGID != emsVoipPstnUser.MGID) areEqual = false;
 452:                  else if (this.MGNAME != emsVoipPstnUser.MGNAME) areEqual = false;
 453:                  else if (this.TID != emsVoipPstnUser.TID) areEqual = false;
 454:                  else if (this.DN != emsVoipPstnUser.DN) areEqual = false;
 455:                  else if (this.LayeredConf != emsVoipPstnUser.LayeredConf) areEqual = false;
 456:                  else if (this.HighLevelWidth != emsVoipPstnUser.HighLevelWidth) areEqual = false;
 457:                  else if (this.LowerLevelWidth != emsVoipPstnUser.LowerLevelWidth) areEqual = false;
 458:                  else if (this.Voltage != emsVoipPstnUser.Voltage) areEqual = false;
 459:                  else if (this.KCType != emsVoipPstnUser.KCType) areEqual = false;
 460:                  else if (this.VoiceGain != emsVoipPstnUser.VoiceGain) areEqual = false;
 461:                  else if (this.LimitPulseDial != emsVoipPstnUser.LimitPulseDial) areEqual = false;
 462:                  else if (this.RevPolarity != emsVoipPstnUser.RevPolarity) areEqual = false;
 463:                  else if (this.RevPoleLevel != emsVoipPstnUser.RevPoleLevel) areEqual = false;
 464:                  else if (this.RevPolePulse != emsVoipPstnUser.RevPolePulse) areEqual = false;
 465:                  else if (this.PSTAT != emsVoipPstnUser.PSTAT) areEqual = false;
 466:                  else if (this.ConfigStatus != emsVoipPstnUser.ConfigStatus) areEqual = false;
 467:                  else if (this.ServiceStatus != emsVoipPstnUser.ServiceStatus) areEqual = false;
 468:                  else if (this.ServiceType != emsVoipPstnUser.ServiceType) areEqual = false;
 469:                  else if (this.ALIAS != emsVoipPstnUser.ALIAS) areEqual = false;
 470:                  else if (this.UserType != emsVoipPstnUser.UserType) areEqual = false;
 471:                  else if (this.Impedance != emsVoipPstnUser.Impedance) areEqual = false;
 472:                  else if (this.Current != emsVoipPstnUser.Current) areEqual = false;
 473:                  else if (this.DCTime != emsVoipPstnUser.DCTime) areEqual = false;
 474:                  else if (this.PITime != emsVoipPstnUser.PITime) areEqual = false;
 475:                  else if (this.FSKDelayInterval != emsVoipPstnUser.FSKDelayInterval) areEqual = false;
 476:                  else if (this.ActualVoiceGain != emsVoipPstnUser.ActualVoiceGain) areEqual = false;
 477:                  else if (this.CidTransWhen != emsVoipPstnUser.CidTransWhen) areEqual = false;
 478:                  else if (this.CidFormat != emsVoipPstnUser.CidFormat) areEqual = false;
 479:                  else if (this.OverloadPRI != emsVoipPstnUser.OverloadPRI) areEqual = false;
 480:                  else if (this.ImpedanceProfile != emsVoipPstnUser.ImpedanceProfile) areEqual = false;
 481:                  else if (this.SendVoiceGain != emsVoipPstnUser.SendVoiceGain) areEqual = false;
 482:                  else if (this.RecvVoiceGain != emsVoipPstnUser.RecvVoiceGain) areEqual = false;
 483:                  else if (this.RevPolarityMode != emsVoipPstnUser.RevPolarityMode) areEqual = false;
 484:                  else if (this.PortRunState != emsVoipPstnUser.PortRunState) areEqual = false;
 485:                  else if (this.PortTestState != emsVoipPstnUser.PortTestState) areEqual = false;
 486:                  else if (this.PortLineState != emsVoipPstnUser.PortLineState) areEqual = false;
 487:                  else if (this.PortLoopState != emsVoipPstnUser.PortLoopState) areEqual = false;
 488:                  else if (this.ServiceRunState != emsVoipPstnUser.ServiceRunState) areEqual = false;
 489:                  else if (this.ServiceAdminState != emsVoipPstnUser.ServiceAdminState) areEqual = false;
 490:                  else if (this.ActualSendVoiceGain != emsVoipPstnUser.ActualSendVoiceGain) areEqual = false;
 491:                  else if (this.ActualRecvVo != emsVoipPstnUser.ActualRecvVo) areEqual = false;
 492:                  else if (this.AGCEnable != emsVoipPstnUser.AGCEnable) areEqual = false;
 493:                  else if (this.AGCEnableLevel != emsVoipPstnUser.AGCEnableLevel) areEqual = false;
 494:                  else if (this.SNSEnable != emsVoipPstnUser.SNSEnable) areEqual = false;
 495:                  else if (this.SNSEnableLevel != emsVoipPstnUser.SNSEnableLevel) areEqual = false;
 496:                  else if (this.NlpMode != emsVoipPstnUser.NlpMode) areEqual = false;
 497:                  else if (this.LineLockEnable != emsVoipPstnUser.LineLockEnable) areEqual = false;
 498:                  else if (this.DspInputGain != emsVoipPstnUser.DspInputGain) areEqual = false;
 499:                  else if (this.DspOutputGain != emsVoipPstnUser.DspOutputGain) areEqual = false;
 500:                  else if (this.ClipReversePole != emsVoipPstnUser.ClipReversePole) areEqual = false;
 501:                  else if (this.DEFAULTCLI != emsVoipPstnUser.DEFAULTCLI) areEqual = false;
 502:                  else if (this.USERGROUPID != emsVoipPstnUser.USERGROUPID) areEqual = false;
 503:                  else if (this.ADJUSTFACTOR != emsVoipPstnUser.ADJUSTFACTOR) areEqual = false;
 504:                  else if (this.DSPPROFILE != emsVoipPstnUser.DSPPROFILE) areEqual = false;
 505:                  else if (this.EmsOnt.Id != emsVoipPstnUser.EmsOnt.Id) areEqual = false;
 506:                  else areEqual = true;
 507:              }
 508:   
 509:              return areEqual;
 510:          }
 511:   
 512:          ////////////////////////////////////////////////////////////////////////////
 513:   
 514:          /// <summary>
 515:          ///
 516:          /// </summary>
 517:          public override bool Equals(object obj)
 518:          {
 519:              bool areEqual;
 520:   
 521:              if (ReferenceEquals(null, obj)) areEqual = false;
 522:              else if (ReferenceEquals(this, obj)) areEqual = true;
 523:              else
 524:              {
 525:                  areEqual = obj.GetType() == GetType() && Equals((EmsVoipPstnUser)obj);
 526:              }
 527:   
 528:              return areEqual;
 529:          }
 530:   
 531:          ////////////////////////////////////////////////////////////////////////////
 532:   
 533:          /// <summary>
 534:          ///
 535:          /// </summary>
 536:          public override int GetHashCode()
 537:          {
 538:              unchecked
 539:              {
 540:                  int hashCode;
 541:                  
 542:                  hashCode = DID.GetHashCode();
 543:                  hashCode = (hashCode * 397) ^ FN.GetHashCode();
 544:                  hashCode = (hashCode * 397) ^ SN.GetHashCode();
 545:                  hashCode = (hashCode * 397) ^ PN.GetHashCode();
 546:                  hashCode = (hashCode * 397) ^ MGID.GetHashCode();
 547:                  hashCode = (hashCode * 397) ^ MGNAME.GetHashCode();
 548:                  hashCode = (hashCode * 397) ^ TID.GetHashCode();
 549:                  hashCode = (hashCode * 397) ^ DN.GetHashCode();
 550:                  hashCode = (hashCode * 397) ^ LayeredConf.GetHashCode();
 551:                  hashCode = (hashCode * 397) ^ HighLevelWidth.GetHashCode();
 552:                  hashCode = (hashCode * 397) ^ LowerLevelWidth.GetHashCode();
 553:                  hashCode = (hashCode * 397) ^ Voltage.GetHashCode();
 554:                  hashCode = (hashCode * 397) ^ KCType.GetHashCode();
 555:                  hashCode = (hashCode * 397) ^ VoiceGain.GetHashCode();
 556:                  hashCode = (hashCode * 397) ^ LimitPulseDial.GetHashCode();
 557:                  hashCode = (hashCode * 397) ^ RevPolarity.GetHashCode();
 558:                  hashCode = (hashCode * 397) ^ RevPoleLevel.GetHashCode();
 559:                  hashCode = (hashCode * 397) ^ RevPolePulse.GetHashCode();
 560:                  hashCode = (hashCode * 397) ^ PSTAT.GetHashCode();
 561:                  hashCode = (hashCode * 397) ^ ConfigStatus.GetHashCode();
 562:                  hashCode = (hashCode * 397) ^ ServiceStatus.GetHashCode();
 563:                  hashCode = (hashCode * 397) ^ ServiceType.GetHashCode();
 564:                  hashCode = (hashCode * 397) ^ ALIAS.GetHashCode();
 565:                  hashCode = (hashCode * 397) ^ UserType.GetHashCode();
 566:                  hashCode = (hashCode * 397) ^ Impedance.GetHashCode();
 567:                  hashCode = (hashCode * 397) ^ Current.GetHashCode();
 568:                  hashCode = (hashCode * 397) ^ DCTime.GetHashCode();
 569:                  hashCode = (hashCode * 397) ^ PITime.GetHashCode();
 570:                  hashCode = (hashCode * 397) ^ FSKDelayInterval.GetHashCode();
 571:                  hashCode = (hashCode * 397) ^ ActualVoiceGain.GetHashCode();
 572:                  hashCode = (hashCode * 397) ^ CidTransWhen.GetHashCode();
 573:                  hashCode = (hashCode * 397) ^ CidFormat.GetHashCode();
 574:                  hashCode = (hashCode * 397) ^ OverloadPRI.GetHashCode();
 575:                  hashCode = (hashCode * 397) ^ ImpedanceProfile.GetHashCode();
 576:                  hashCode = (hashCode * 397) ^ SendVoiceGain.GetHashCode();
 577:                  hashCode = (hashCode * 397) ^ RecvVoiceGain.GetHashCode();
 578:                  hashCode = (hashCode * 397) ^ RevPolarityMode.GetHashCode();
 579:                  hashCode = (hashCode * 397) ^ PortRunState.GetHashCode();
 580:                  hashCode = (hashCode * 397) ^ PortTestState.GetHashCode();
 581:                  hashCode = (hashCode * 397) ^ PortLineState.GetHashCode();
 582:                  hashCode = (hashCode * 397) ^ PortLoopState.GetHashCode();
 583:                  hashCode = (hashCode * 397) ^ ServiceRunState.GetHashCode();
 584:                  hashCode = (hashCode * 397) ^ ServiceAdminState.GetHashCode();
 585:                  hashCode = (hashCode * 397) ^ ActualSendVoiceGain.GetHashCode();
 586:                  hashCode = (hashCode * 397) ^ ActualRecvVo.GetHashCode();
 587:                  hashCode = (hashCode * 397) ^ AGCEnable.GetHashCode();
 588:                  hashCode = (hashCode * 397) ^ AGCEnableLevel.GetHashCode();
 589:                  hashCode = (hashCode * 397) ^ SNSEnable.GetHashCode();
 590:                  hashCode = (hashCode * 397) ^ SNSEnableLevel.GetHashCode();
 591:                  hashCode = (hashCode * 397) ^ NlpMode.GetHashCode();
 592:                  hashCode = (hashCode * 397) ^ LineLockEnable.GetHashCode();
 593:                  hashCode = (hashCode * 397) ^ DspInputGain.GetHashCode();
 594:                  hashCode = (hashCode * 397) ^ DspOutputGain.GetHashCode();
 595:                  hashCode = (hashCode * 397) ^ ClipReversePole.GetHashCode();
 596:                  hashCode = (hashCode * 397) ^ DEFAULTCLI.GetHashCode();
 597:                  hashCode = (hashCode * 397) ^ USERGROUPID.GetHashCode();
 598:                  hashCode = (hashCode * 397) ^ ADJUSTFACTOR.GetHashCode();
 599:                  hashCode = (hashCode * 397) ^ DSPPROFILE.GetHashCode();
 600:                  hashCode = (hashCode * 397) ^ EmsOnt.Id.GetHashCode();
 601:   
 602:                  return hashCode;
 603:              }
 604:          }
 605:          
 606:          ////////////////////////////////////////////////////////////////////////////
 607:   
 608:          /// <summary>
 609:          ///
 610:          /// </summary>
 611:          public bool Update(Ia.Ngn.Cl.Model.Huawei.EmsVoipPstnUser updateItem)
 612:          {
 613:              // below: this will not update Id, Created
 614:              bool updated;
 615:   
 616:              updated = false;
 617:   
 618:              if (this.DID != updateItem.DID) { this.DID = updateItem.DID; updated = true; }
 619:              if (this.FN != updateItem.FN) { this.FN = updateItem.FN; updated = true; }
 620:              if (this.SN != updateItem.SN) { this.SN = updateItem.SN; updated = true; }
 621:              if (this.PN != updateItem.PN) { this.PN = updateItem.PN; updated = true; }
 622:              if (this.MGID != updateItem.MGID) { this.MGID = updateItem.MGID; updated = true; }
 623:              if (this.MGNAME != updateItem.MGNAME) { this.MGNAME = updateItem.MGNAME; updated = true; }
 624:              if (this.TID != updateItem.TID) { this.TID = updateItem.TID; updated = true; }
 625:              if (this.DN != updateItem.DN) { this.DN = updateItem.DN; updated = true; }
 626:              if (this.LayeredConf != updateItem.LayeredConf) { this.LayeredConf = updateItem.LayeredConf; updated = true; }
 627:              if (this.HighLevelWidth != updateItem.HighLevelWidth) { this.HighLevelWidth = updateItem.HighLevelWidth; updated = true; }
 628:              if (this.LowerLevelWidth != updateItem.LowerLevelWidth) { this.LowerLevelWidth = updateItem.LowerLevelWidth; updated = true; }
 629:              if (this.Voltage != updateItem.Voltage) { this.Voltage = updateItem.Voltage; updated = true; }
 630:              if (this.KCType != updateItem.KCType) { this.KCType = updateItem.KCType; updated = true; }
 631:              if (this.VoiceGain != updateItem.VoiceGain) { this.VoiceGain = updateItem.VoiceGain; updated = true; }
 632:              if (this.LimitPulseDial != updateItem.LimitPulseDial) { this.LimitPulseDial = updateItem.LimitPulseDial; updated = true; }
 633:              if (this.RevPolarity != updateItem.RevPolarity) { this.RevPolarity = updateItem.RevPolarity; updated = true; }
 634:              if (this.RevPoleLevel != updateItem.RevPoleLevel) { this.RevPoleLevel = updateItem.RevPoleLevel; updated = true; }
 635:              if (this.RevPolePulse != updateItem.RevPolePulse) { this.RevPolePulse = updateItem.RevPolePulse; updated = true; }
 636:              if (this.PSTAT != updateItem.PSTAT) { this.PSTAT = updateItem.PSTAT; updated = true; }
 637:              if (this.ConfigStatus != updateItem.ConfigStatus) { this.ConfigStatus = updateItem.ConfigStatus; updated = true; }
 638:              if (this.ServiceStatus != updateItem.ServiceStatus) { this.ServiceStatus = updateItem.ServiceStatus; updated = true; }
 639:              if (this.ServiceType != updateItem.ServiceType) { this.ServiceType = updateItem.ServiceType; updated = true; }
 640:              if (this.ALIAS != updateItem.ALIAS) { this.ALIAS = updateItem.ALIAS; updated = true; }
 641:              if (this.UserType != updateItem.UserType) { this.UserType = updateItem.UserType; updated = true; }
 642:              if (this.Impedance != updateItem.Impedance) { this.Impedance = updateItem.Impedance; updated = true; }
 643:              if (this.Current != updateItem.Current) { this.Current = updateItem.Current; updated = true; }
 644:              if (this.DCTime != updateItem.DCTime) { this.DCTime = updateItem.DCTime; updated = true; }
 645:              if (this.PITime != updateItem.PITime) { this.PITime = updateItem.PITime; updated = true; }
 646:              if (this.FSKDelayInterval != updateItem.FSKDelayInterval) { this.FSKDelayInterval = updateItem.FSKDelayInterval; updated = true; }
 647:              if (this.ActualVoiceGain != updateItem.ActualVoiceGain) { this.ActualVoiceGain = updateItem.ActualVoiceGain; updated = true; }
 648:              if (this.CidTransWhen != updateItem.CidTransWhen) { this.CidTransWhen = updateItem.CidTransWhen; updated = true; }
 649:              if (this.CidFormat != updateItem.CidFormat) { this.CidFormat = updateItem.CidFormat; updated = true; }
 650:              if (this.OverloadPRI != updateItem.OverloadPRI) { this.OverloadPRI = updateItem.OverloadPRI; updated = true; }
 651:              if (this.ImpedanceProfile != updateItem.ImpedanceProfile) { this.ImpedanceProfile = updateItem.ImpedanceProfile; updated = true; }
 652:              if (this.SendVoiceGain != updateItem.SendVoiceGain) { this.SendVoiceGain = updateItem.SendVoiceGain; updated = true; }
 653:              if (this.RecvVoiceGain != updateItem.RecvVoiceGain) { this.RecvVoiceGain = updateItem.RecvVoiceGain; updated = true; }
 654:              if (this.RevPolarityMode != updateItem.RevPolarityMode) { this.RevPolarityMode = updateItem.RevPolarityMode; updated = true; }
 655:              if (this.PortRunState != updateItem.PortRunState) { this.PortRunState = updateItem.PortRunState; updated = true; }
 656:              if (this.PortTestState != updateItem.PortTestState) { this.PortTestState = updateItem.PortTestState; updated = true; }
 657:              if (this.PortLineState != updateItem.PortLineState) { this.PortLineState = updateItem.PortLineState; updated = true; }
 658:              if (this.PortLoopState != updateItem.PortLoopState) { this.PortLoopState = updateItem.PortLoopState; updated = true; }
 659:              if (this.ServiceRunState != updateItem.ServiceRunState) { this.ServiceRunState = updateItem.ServiceRunState; updated = true; }
 660:              if (this.ServiceAdminState != updateItem.ServiceAdminState) { this.ServiceAdminState = updateItem.ServiceAdminState; updated = true; }
 661:              if (this.ActualSendVoiceGain != updateItem.ActualSendVoiceGain) { this.ActualSendVoiceGain = updateItem.ActualSendVoiceGain; updated = true; }
 662:              if (this.ActualRecvVo != updateItem.ActualRecvVo) { this.ActualRecvVo = updateItem.ActualRecvVo; updated = true; }
 663:              if (this.AGCEnable != updateItem.AGCEnable) { this.AGCEnable = updateItem.AGCEnable; updated = true; }
 664:              if (this.AGCEnableLevel != updateItem.AGCEnableLevel) { this.AGCEnableLevel = updateItem.AGCEnableLevel; updated = true; }
 665:              if (this.SNSEnable != updateItem.SNSEnable) { this.SNSEnable = updateItem.SNSEnable; updated = true; }
 666:              if (this.SNSEnableLevel != updateItem.SNSEnableLevel) { this.SNSEnableLevel = updateItem.SNSEnableLevel; updated = true; }
 667:              if (this.NlpMode != updateItem.NlpMode) { this.NlpMode = updateItem.NlpMode; updated = true; }
 668:              if (this.LineLockEnable != updateItem.LineLockEnable) { this.LineLockEnable = updateItem.LineLockEnable; updated = true; }
 669:              if (this.DspInputGain != updateItem.DspInputGain) { this.DspInputGain = updateItem.DspInputGain; updated = true; }
 670:              if (this.DspOutputGain != updateItem.DspOutputGain) { this.DspOutputGain = updateItem.DspOutputGain; updated = true; }
 671:              if (this.ClipReversePole != updateItem.ClipReversePole) { this.ClipReversePole = updateItem.ClipReversePole; updated = true; }
 672:              if (this.DEFAULTCLI != updateItem.DEFAULTCLI) { this.DEFAULTCLI = updateItem.DEFAULTCLI; updated = true; }
 673:              if (this.USERGROUPID != updateItem.USERGROUPID) { this.USERGROUPID = updateItem.USERGROUPID; updated = true; }
 674:              if (this.ADJUSTFACTOR != updateItem.ADJUSTFACTOR) { this.ADJUSTFACTOR = updateItem.ADJUSTFACTOR; updated = true; }
 675:              if (this.DSPPROFILE != updateItem.DSPPROFILE) { this.DSPPROFILE = updateItem.DSPPROFILE; updated = true; }
 676:              if (this.EmsOnt != updateItem.EmsOnt) { this.EmsOnt = updateItem.EmsOnt; updated = true; }
 677:   
 678:              if (updated) this.Updated = DateTime.UtcNow.AddHours(3);
 679:   
 680:              return updated;
 681:          }
 682:   
 683:          ////////////////////////////////////////////////////////////////////////////
 684:          ////////////////////////////////////////////////////////////////////////////
 685:   
 686:          /// <summary>
 687:          ///
 688:          /// </summary>
 689:          public string ToSimpleTextString()
 690:          {
 691:              return Ia.Ngn.Cl.Model.Data.Huawei.VoipPstnUser.ToSimpleTextString(this);
 692:          }
 693:   
 694:          ////////////////////////////////////////////////////////////////////////////
 695:          ////////////////////////////////////////////////////////////////////////////
 696:      }
 697:   
 698:      ////////////////////////////////////////////////////////////////////////////
 699:      ////////////////////////////////////////////////////////////////////////////
 700:  }