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

Integrated Applications Programming Company

Skip Navigation Links

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

Huawei's EMS VAG 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 VAG Entity Framework class for Next Generation Network (NGN) entity model.
  11:      /// </summary>
  12:      /// 
  13:      /// <remarks> 
  14:      /// Copyright © 2019-2020 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 partial class EmsVag : IEquatable<EmsVag>
  27:      {
  28:          /*
  29:           * iManager_U2000_V200R014C60_TL1_NBI_User_Guide_13.pdf
  30:           * 14.19.21 Querying a VAG (LST-VAG)
  31:           * Command Format LST-VAG::(DID=Device-ID|DEV=Device-name)[,(VAGNAME=VAG-Name|VAGID=MG-ID)]:CTAG:: [SHOWOPTION=SIPPFNAME REGMODE];          
  32:           */
  33:   
  34:          /*
  35:           * Response Format:
  36:           * It complies with the response format of the query command provided in 10.3 Response Format Description.
  37:           * title="VAG information of the device "+device-name name of attributes:DID  VAGNAME  VAGID  SIGIP  SIGMASK  SIGGW  SIGPORT SIGVLANID   SIGVLANID  SIGQOS  SIGDSCP  SIGIPPRI  SIGTOSPRI  SIGVLANPRI  MEDIAIP  MEDIAMASK  MEDIAGW  MEDIAPORT  MEDIAVLANID  MEDIAQOS  MEDIADSCP  MEDIAIPPRI  MEDIATOSPRI  MEDIAVLANPRI  DOMAINNAME  ACTIVEMGCDNAME STANDBYMGCDNAME  VAGSTAT  PROTOCOLTYPE  TIDLAYER H248PFNAME SIPPFNAME REGMODE 
  38:           */
  39:   
  40:          /// <summary/>
  41:          public EmsVag() { }
  42:   
  43:          /// <summary/>
  44:          [Key, DatabaseGenerated(DatabaseGeneratedOption.None)]
  45:          public string Id { get; set; }
  46:   
  47:          /// <summary>
  48:          /// DID INTEGER Indicates the device ID.
  49:          /// </summary>
  50:          public int DID { get; set; }
  51:   
  52:          /// <summary>
  53:          /// VAGNAME OCTET STRING SIZE (32) Indicates the VAG name.
  54:          /// </summary>
  55:          public string VAGNAME { get; set; }
  56:   
  57:          /// <summary>
  58:          /// VAGID INTEGER 0-16777215 Indicates the MG ID.
  59:          /// </summary>
  60:          public int VAGID { get; set; }
  61:   
  62:          /// <summary>
  63:          /// SIGIP OCTET STRING SIZE (16) Indicates the signaling IP address.
  64:          /// </summary>
  65:          public string SIGIP { get; set; }
  66:   
  67:          /// <summary>
  68:          /// SIGMASK OCTET STRING SIZE (16) Indicates the subnet mask of the signaling IP address.
  69:          /// </summary>
  70:          public string SIGMASK { get; set; }
  71:   
  72:          /// <summary>
  73:          /// SIGGW OCTET STRING SIZE (16) Indicates the gateway of the signaling IP address.
  74:          /// </summary>
  75:          public string SIGGW { get; set; }
  76:   
  77:          /// <summary>
  78:          /// SIGPORT INTEGER 0-65534 Indicates the signaling port ID that is the same as the original communication port.
  79:          /// </summary>
  80:          public int SIGPORT { get; set; }
  81:   
  82:          /// <summary>
  83:          /// SIGVLANID INTEGER 0 - 4095 For the range of this parameter in the case of different devices. Indicates the signaling VLAN ID.
  84:          /// </summary>
  85:          public int SIGVLANID { get; set; }
  86:   
  87:          /// <summary>
  88:          /// SIGQOS OCTET STRING l NONE l ToS l DSCP Indicates the QoS policy of the signaling IP address.
  89:          /// </summary>
  90:          public string SIGQOS { get; set; }
  91:   
  92:          /// <summary>
  93:          /// SIGDSCP INTEGER 0-63 Indicates the differentiated services code point (DSCP) value of the signaling packet.
  94:          /// </summary>
  95:          public int SIGDSCP { get; set; }
  96:   
  97:          /// <summary>
  98:          /// SIGIPPRI INTEGER 0-7 Indicates the IP priority of the signaling packet.
  99:          /// </summary>
 100:          public int SIGIPPRI { get; set; }
 101:   
 102:          /// <summary>
 103:          /// SIGTOSPRI INTEGER 0-15 Indicates the ToS priority of the signaling packet.
 104:          /// </summary>
 105:          public int SIGTOSPRI { get; set; }
 106:   
 107:          /// <summary>
 108:          /// SIGVLANPRI INTEGER 0-7 Indicates the VLAN priority of the signaling packet.
 109:          /// </summary>
 110:          public int SIGVLANPRI { get; set; }
 111:   
 112:          /// <summary>
 113:          /// MEDIAIP OCTET STRING SIZE (16) Indicates the media IP address.
 114:          /// </summary>
 115:          public string MEDIAIP { get; set; }
 116:   
 117:          /// <summary>
 118:          /// MEDIAMASK OCTET STRING SIZE (16) Indicates the subnet mask of the media IP address.
 119:          /// </summary>
 120:          public string MEDIAMASK { get; set; }
 121:   
 122:          /// <summary>
 123:          /// MEDIAGW OCTET STRING SIZE (16) Indicates the gateway of the media IP address.
 124:          /// </summary>
 125:          public string MEDIAGW { get; set; }
 126:   
 127:          /// <summary>
 128:          /// MEDIAPORT INTEGER 0-65534 Indicates the media port ID.
 129:          /// </summary>
 130:          public int MEDIAPORT { get; set; }
 131:   
 132:          /// <summary>
 133:          /// MEDIAVLANID INTEGER 0 - 4095 For the range of this parameter in the case of different devices, see Table D-11 Indicates the media VLAN ID.
 134:          /// </summary>
 135:          public int MEDIAVLANID { get; set; }
 136:   
 137:          /// <summary>
 138:          /// MEDIAQOS OCTET STRING l NONE l ToS l DSCP Indicates the QoS policy of the media IP address.
 139:          /// </summary>
 140:          public string MEDIAQOS { get; set; }
 141:   
 142:          /// <summary>
 143:          /// MEDIADSCP INTEGER 0-63 Indicates the DSCP of the media packet.
 144:          /// </summary>
 145:          public int MEDIADSCP { get; set; }
 146:   
 147:          /// <summary>
 148:          /// MEDIAIPPRI INTEGER 0-7 Indicates the IP priority of the media packet.
 149:          /// </summary>
 150:          public int MEDIAIPPRI { get; set; }
 151:   
 152:          /// <summary>
 153:          /// MEDIATOSPRI INTEGER 0-15 Indicates the ToS priority of the media packet.
 154:          /// </summary>
 155:          public int MEDIATOSPRI { get; set; }
 156:   
 157:          /// <summary>
 158:          /// MEDIAVLANPRI INTEGER 0-7 Indicates the VLAN priority of the media packet.
 159:          /// </summary>
 160:          public int MEDIAVLANPRI { get; set; }
 161:   
 162:          /// <summary>
 163:          /// DOMAINNAME OCTET STRING SIZE (64) Indicates the domain name.
 164:          /// </summary>
 165:          public string DOMAINNAME { get; set; }
 166:   
 167:          /// <summary>
 168:          /// ACTIVEMGCDNAME OCTET STRING SIZE (32) Indicates the name of the active MGC.
 169:          /// </summary>
 170:          public string ACTIVEMGCDNAME { get; set; }
 171:   
 172:          /// <summary>
 173:          /// STANDBYMGCDNAME OCTET STRING SIZE (32) Indicates the name of the standby MGC.
 174:          /// </summary>
 175:          public string STANDBYMGCDNAME { get; set; }
 176:   
 177:          /// <summary>
 178:          /// VAGSTAT OCTET STRING l Up l Down l Fault l Waiting l Unknown l Not Start Indicates the VAG status.
 179:          /// </summary>
 180:          public string VAGSTAT { get; set; }
 181:   
 182:          /// <summary>
 183:          /// PROTOCOLTYPE OCTET STRING l H248 l MGCP Indicates the type of protocol that the VAG supports. Currently, the VAG does not support the MGCP protocol.
 184:          /// </summary>
 185:          public string PROTOCOLTYPE { get; set; }
 186:   
 187:          /// <summary>
 188:          /// TIDLAYER OCTET STRING l No l Yes (Optional). Specifies whether to enable the layering configuration.
 189:          /// </summary>
 190:          public string TIDLAYER { get; set; }
 191:   
 192:          /// <summary>
 193:          /// H248PFNAME OCTET STRING SIZE (64) Indicates the name of the H248 profile configured for the MG. The UA5000PVM V100R017C02B010 and the later versions support this parameter.
 194:          /// </summary>
 195:          public string H248PFNAME { get; set; }
 196:   
 197:          /// <summary>
 198:          /// SIPPFNAME OCTET STRING SIZE (64) Indicates the name of the SIP profile configured for the MG.
 199:          /// </summary>
 200:          public string SIPPFNAME { get; set; }
 201:   
 202:          /// <summary>
 203:          /// REGMODE OCTET STRING l Wildcard l Single Indicates the SIP interface user and the account registration mode. Only MA5600Ts and MA5603Ts of V800R11C00 and later versions support this parameter. Options are as follows: l Wildcard: indicates a wildcard registration mode. When there is a coordinate-subordinate relationship between accounts, only the coordinate account is registered. l Single: indicates an independent registration mode. Every account needs to be registered independently.
 204:          /// </summary>
 205:          public string REGMODE { get; set; }
 206:   
 207:          /// <summary/>
 208:          public DateTime Created { get; set; }
 209:   
 210:          /// <summary/>
 211:          public DateTime Updated { get; set; }
 212:   
 213:          /// <summary/>
 214:          public virtual Ia.Ngn.Cl.Model.Huawei.EmsOnt EmsOnt { get; set; }
 215:   
 216:          ////////////////////////////////////////////////////////////////////////////
 217:   
 218:          /// <summary>
 219:          ///
 220:          /// </summary>
 221:          public static bool operator ==(Ia.Ngn.Cl.Model.Huawei.EmsVag a, Ia.Ngn.Cl.Model.Huawei.EmsVag b)
 222:          {
 223:              bool areEqual;
 224:   
 225:              if (ReferenceEquals(a, b)) areEqual = true;
 226:              else if (a is null) areEqual = false;
 227:              else if (b is null) areEqual = false;
 228:              else
 229:              {
 230:                  if (a.DID != b.DID) areEqual = false;
 231:                  else if (a.VAGNAME != b.VAGNAME) areEqual = false;
 232:                  else if (a.VAGID != b.VAGID) areEqual = false;
 233:                  else if (a.SIGIP != b.SIGIP) areEqual = false;
 234:                  else if (a.SIGMASK != b.SIGMASK) areEqual = false;
 235:                  else if (a.SIGGW != b.SIGGW) areEqual = false;
 236:                  else if (a.SIGPORT != b.SIGPORT) areEqual = false;
 237:                  else if (a.SIGVLANID != b.SIGVLANID) areEqual = false;
 238:                  else if (a.SIGQOS != b.SIGQOS) areEqual = false;
 239:                  else if (a.SIGDSCP != b.SIGDSCP) areEqual = false;
 240:                  else if (a.SIGIPPRI != b.SIGIPPRI) areEqual = false;
 241:                  else if (a.SIGTOSPRI != b.SIGTOSPRI) areEqual = false;
 242:                  else if (a.SIGVLANPRI != b.SIGVLANPRI) areEqual = false;
 243:                  else if (a.MEDIAIP != b.MEDIAIP) areEqual = false;
 244:                  else if (a.MEDIAMASK != b.MEDIAMASK) areEqual = false;
 245:                  else if (a.MEDIAGW != b.MEDIAGW) areEqual = false;
 246:                  else if (a.MEDIAPORT != b.MEDIAPORT) areEqual = false;
 247:                  else if (a.MEDIAVLANID != b.MEDIAVLANID) areEqual = false;
 248:                  else if (a.MEDIAQOS != b.MEDIAQOS) areEqual = false;
 249:                  else if (a.MEDIADSCP != b.MEDIADSCP) areEqual = false;
 250:                  else if (a.MEDIAIPPRI != b.MEDIAIPPRI) areEqual = false;
 251:                  else if (a.MEDIATOSPRI != b.MEDIATOSPRI) areEqual = false;
 252:                  else if (a.MEDIAVLANPRI != b.MEDIAVLANPRI) areEqual = false;
 253:                  else if (a.DOMAINNAME != b.DOMAINNAME) areEqual = false;
 254:                  else if (a.ACTIVEMGCDNAME != b.ACTIVEMGCDNAME) areEqual = false;
 255:                  else if (a.STANDBYMGCDNAME != b.STANDBYMGCDNAME) areEqual = false;
 256:                  else if (a.VAGSTAT != b.VAGSTAT) areEqual = false;
 257:                  else if (a.PROTOCOLTYPE != b.PROTOCOLTYPE) areEqual = false;
 258:                  else if (a.TIDLAYER != b.TIDLAYER) areEqual = false;
 259:                  else if (a.H248PFNAME != b.H248PFNAME) areEqual = false;
 260:                  else if (a.SIPPFNAME != b.SIPPFNAME) areEqual = false;
 261:                  else if (a.REGMODE != b.REGMODE) areEqual = false;
 262:                  else if (a.EmsOnt.Id != b.EmsOnt.Id) areEqual = false;
 263:                  else areEqual = true;
 264:              }
 265:   
 266:              return areEqual;
 267:          }
 268:   
 269:          ////////////////////////////////////////////////////////////////////////////
 270:   
 271:          /// <summary>
 272:          ///
 273:          /// </summary>
 274:          public static bool operator !=(Ia.Ngn.Cl.Model.Huawei.EmsVag a, Ia.Ngn.Cl.Model.Huawei.EmsVag b)
 275:          {
 276:              return !(a == b);
 277:          }
 278:   
 279:          ////////////////////////////////////////////////////////////////////////////
 280:   
 281:          /// <summary>
 282:          ///
 283:          /// </summary>
 284:          public bool Equals(EmsVag vag)
 285:          {
 286:              // below: this will not check the Id, Created, Updated fields
 287:              bool areEqual;
 288:   
 289:              if (vag is null) areEqual = false;
 290:              else if (ReferenceEquals(this, vag)) areEqual = true;
 291:              else
 292:              {
 293:                  if (this.DID != vag.DID) areEqual = false;
 294:                  else if (this.VAGNAME != vag.VAGNAME) areEqual = false;
 295:                  else if (this.VAGID != vag.VAGID) areEqual = false;
 296:                  else if (this.SIGIP != vag.SIGIP) areEqual = false;
 297:                  else if (this.SIGMASK != vag.SIGMASK) areEqual = false;
 298:                  else if (this.SIGGW != vag.SIGGW) areEqual = false;
 299:                  else if (this.SIGPORT != vag.SIGPORT) areEqual = false;
 300:                  else if (this.SIGVLANID != vag.SIGVLANID) areEqual = false;
 301:                  else if (this.SIGQOS != vag.SIGQOS) areEqual = false;
 302:                  else if (this.SIGDSCP != vag.SIGDSCP) areEqual = false;
 303:                  else if (this.SIGIPPRI != vag.SIGIPPRI) areEqual = false;
 304:                  else if (this.SIGTOSPRI != vag.SIGTOSPRI) areEqual = false;
 305:                  else if (this.SIGVLANPRI != vag.SIGVLANPRI) areEqual = false;
 306:                  else if (this.MEDIAIP != vag.MEDIAIP) areEqual = false;
 307:                  else if (this.MEDIAMASK != vag.MEDIAMASK) areEqual = false;
 308:                  else if (this.MEDIAGW != vag.MEDIAGW) areEqual = false;
 309:                  else if (this.MEDIAPORT != vag.MEDIAPORT) areEqual = false;
 310:                  else if (this.MEDIAVLANID != vag.MEDIAVLANID) areEqual = false;
 311:                  else if (this.MEDIAQOS != vag.MEDIAQOS) areEqual = false;
 312:                  else if (this.MEDIADSCP != vag.MEDIADSCP) areEqual = false;
 313:                  else if (this.MEDIAIPPRI != vag.MEDIAIPPRI) areEqual = false;
 314:                  else if (this.MEDIATOSPRI != vag.MEDIATOSPRI) areEqual = false;
 315:                  else if (this.MEDIAVLANPRI != vag.MEDIAVLANPRI) areEqual = false;
 316:                  else if (this.DOMAINNAME != vag.DOMAINNAME) areEqual = false;
 317:                  else if (this.ACTIVEMGCDNAME != vag.ACTIVEMGCDNAME) areEqual = false;
 318:                  else if (this.STANDBYMGCDNAME != vag.STANDBYMGCDNAME) areEqual = false;
 319:                  else if (this.VAGSTAT != vag.VAGSTAT) areEqual = false;
 320:                  else if (this.PROTOCOLTYPE != vag.PROTOCOLTYPE) areEqual = false;
 321:                  else if (this.TIDLAYER != vag.TIDLAYER) areEqual = false;
 322:                  else if (this.H248PFNAME != vag.H248PFNAME) areEqual = false;
 323:                  else if (this.SIPPFNAME != vag.SIPPFNAME) areEqual = false;
 324:                  else if (this.REGMODE != vag.REGMODE) areEqual = false;
 325:                  else if (this.EmsOnt.Id != vag.EmsOnt.Id) areEqual = false;
 326:                  else areEqual = true;
 327:              }
 328:   
 329:              return areEqual;
 330:          }
 331:   
 332:          ////////////////////////////////////////////////////////////////////////////
 333:   
 334:          /// <summary>
 335:          ///
 336:          /// </summary>
 337:          public override bool Equals(object obj)
 338:          {
 339:              bool areEqual;
 340:   
 341:              if (obj is null) areEqual = false;
 342:              else if (ReferenceEquals(this, obj)) areEqual = true;
 343:              else
 344:              {
 345:                  areEqual = obj.GetType() == GetType() && Equals((EmsVag)obj);
 346:              }
 347:   
 348:              return areEqual;
 349:          }
 350:   
 351:          ////////////////////////////////////////////////////////////////////////////
 352:   
 353:          /// <summary>
 354:          ///
 355:          /// </summary>
 356:          public override int GetHashCode()
 357:          {
 358:              unchecked
 359:              {
 360:                  int hashCode;
 361:   
 362:                  hashCode = DID.GetHashCode();
 363:                  hashCode = (hashCode * 397) ^ DID.GetHashCode();
 364:                  hashCode = (hashCode * 397) ^ VAGNAME.GetHashCode();
 365:                  hashCode = (hashCode * 397) ^ VAGID.GetHashCode();
 366:                  hashCode = (hashCode * 397) ^ SIGIP.GetHashCode();
 367:                  hashCode = (hashCode * 397) ^ SIGMASK.GetHashCode();
 368:                  hashCode = (hashCode * 397) ^ SIGGW.GetHashCode();
 369:                  hashCode = (hashCode * 397) ^ SIGPORT.GetHashCode();
 370:                  hashCode = (hashCode * 397) ^ SIGVLANID.GetHashCode();
 371:                  hashCode = (hashCode * 397) ^ SIGQOS.GetHashCode();
 372:                  hashCode = (hashCode * 397) ^ SIGDSCP.GetHashCode();
 373:                  hashCode = (hashCode * 397) ^ SIGIPPRI.GetHashCode();
 374:                  hashCode = (hashCode * 397) ^ SIGTOSPRI.GetHashCode();
 375:                  hashCode = (hashCode * 397) ^ SIGVLANPRI.GetHashCode();
 376:                  hashCode = (hashCode * 397) ^ MEDIAIP.GetHashCode();
 377:                  hashCode = (hashCode * 397) ^ MEDIAMASK.GetHashCode();
 378:                  hashCode = (hashCode * 397) ^ MEDIAGW.GetHashCode();
 379:                  hashCode = (hashCode * 397) ^ MEDIAPORT.GetHashCode();
 380:                  hashCode = (hashCode * 397) ^ MEDIAVLANID.GetHashCode();
 381:                  hashCode = (hashCode * 397) ^ MEDIAQOS.GetHashCode();
 382:                  hashCode = (hashCode * 397) ^ MEDIADSCP.GetHashCode();
 383:                  hashCode = (hashCode * 397) ^ MEDIAIPPRI.GetHashCode();
 384:                  hashCode = (hashCode * 397) ^ MEDIATOSPRI.GetHashCode();
 385:                  hashCode = (hashCode * 397) ^ MEDIAVLANPRI.GetHashCode();
 386:                  hashCode = (hashCode * 397) ^ DOMAINNAME.GetHashCode();
 387:                  hashCode = (hashCode * 397) ^ ACTIVEMGCDNAME.GetHashCode();
 388:                  hashCode = (hashCode * 397) ^ STANDBYMGCDNAME.GetHashCode();
 389:                  hashCode = (hashCode * 397) ^ VAGSTAT.GetHashCode();
 390:                  hashCode = (hashCode * 397) ^ PROTOCOLTYPE.GetHashCode();
 391:                  hashCode = (hashCode * 397) ^ TIDLAYER.GetHashCode();
 392:                  hashCode = (hashCode * 397) ^ H248PFNAME.GetHashCode();
 393:                  hashCode = (hashCode * 397) ^ SIPPFNAME.GetHashCode();
 394:                  hashCode = (hashCode * 397) ^ REGMODE.GetHashCode();
 395:                  hashCode = (hashCode * 397) ^ EmsOnt.Id.GetHashCode();
 396:   
 397:                  return hashCode;
 398:              }
 399:          }
 400:   
 401:          ////////////////////////////////////////////////////////////////////////////
 402:   
 403:          /// <summary>
 404:          ///
 405:          /// </summary>
 406:          public bool Update(Ia.Ngn.Cl.Model.Huawei.EmsVag updateVag)
 407:          {
 408:              // below: this will not update Id, Created
 409:              bool updated;
 410:   
 411:              updated = false;
 412:   
 413:              if (this.DID != updateVag.DID) { this.DID = updateVag.DID; updated = true; }
 414:              if (this.VAGNAME != updateVag.VAGNAME) { this.VAGNAME = updateVag.VAGNAME; updated = true; }
 415:              if (this.VAGID != updateVag.VAGID) { this.VAGID = updateVag.VAGID; updated = true; }
 416:              if (this.SIGIP != updateVag.SIGIP) { this.SIGIP = updateVag.SIGIP; updated = true; }
 417:              if (this.SIGMASK != updateVag.SIGMASK) { this.SIGMASK = updateVag.SIGMASK; updated = true; }
 418:              if (this.SIGGW != updateVag.SIGGW) { this.SIGGW = updateVag.SIGGW; updated = true; }
 419:              if (this.SIGPORT != updateVag.SIGPORT) { this.SIGPORT = updateVag.SIGPORT; updated = true; }
 420:              if (this.SIGVLANID != updateVag.SIGVLANID) { this.SIGVLANID = updateVag.SIGVLANID; updated = true; }
 421:              if (this.SIGQOS != updateVag.SIGQOS) { this.SIGQOS = updateVag.SIGQOS; updated = true; }
 422:              if (this.SIGDSCP != updateVag.SIGDSCP) { this.SIGDSCP = updateVag.SIGDSCP; updated = true; }
 423:              if (this.SIGIPPRI != updateVag.SIGIPPRI) { this.SIGIPPRI = updateVag.SIGIPPRI; updated = true; }
 424:              if (this.SIGTOSPRI != updateVag.SIGTOSPRI) { this.SIGTOSPRI = updateVag.SIGTOSPRI; updated = true; }
 425:              if (this.SIGVLANPRI != updateVag.SIGVLANPRI) { this.SIGVLANPRI = updateVag.SIGVLANPRI; updated = true; }
 426:              if (this.MEDIAIP != updateVag.MEDIAIP) { this.MEDIAIP = updateVag.MEDIAIP; updated = true; }
 427:              if (this.MEDIAMASK != updateVag.MEDIAMASK) { this.MEDIAMASK = updateVag.MEDIAMASK; updated = true; }
 428:              if (this.MEDIAGW != updateVag.MEDIAGW) { this.MEDIAGW = updateVag.MEDIAGW; updated = true; }
 429:              if (this.MEDIAPORT != updateVag.MEDIAPORT) { this.MEDIAPORT = updateVag.MEDIAPORT; updated = true; }
 430:              if (this.MEDIAVLANID != updateVag.MEDIAVLANID) { this.MEDIAVLANID = updateVag.MEDIAVLANID; updated = true; }
 431:              if (this.MEDIAQOS != updateVag.MEDIAQOS) { this.MEDIAQOS = updateVag.MEDIAQOS; updated = true; }
 432:              if (this.MEDIADSCP != updateVag.MEDIADSCP) { this.MEDIADSCP = updateVag.MEDIADSCP; updated = true; }
 433:              if (this.MEDIAIPPRI != updateVag.MEDIAIPPRI) { this.MEDIAIPPRI = updateVag.MEDIAIPPRI; updated = true; }
 434:              if (this.MEDIATOSPRI != updateVag.MEDIATOSPRI) { this.MEDIATOSPRI = updateVag.MEDIATOSPRI; updated = true; }
 435:              if (this.MEDIAVLANPRI != updateVag.MEDIAVLANPRI) { this.MEDIAVLANPRI = updateVag.MEDIAVLANPRI; updated = true; }
 436:              if (this.DOMAINNAME != updateVag.DOMAINNAME) { this.DOMAINNAME = updateVag.DOMAINNAME; updated = true; }
 437:              if (this.ACTIVEMGCDNAME != updateVag.ACTIVEMGCDNAME) { this.ACTIVEMGCDNAME = updateVag.ACTIVEMGCDNAME; updated = true; }
 438:              if (this.STANDBYMGCDNAME != updateVag.STANDBYMGCDNAME) { this.STANDBYMGCDNAME = updateVag.STANDBYMGCDNAME; updated = true; }
 439:              if (this.VAGSTAT != updateVag.VAGSTAT) { this.VAGSTAT = updateVag.VAGSTAT; updated = true; }
 440:              if (this.PROTOCOLTYPE != updateVag.PROTOCOLTYPE) { this.PROTOCOLTYPE = updateVag.PROTOCOLTYPE; updated = true; }
 441:              if (this.TIDLAYER != updateVag.TIDLAYER) { this.TIDLAYER = updateVag.TIDLAYER; updated = true; }
 442:              if (this.H248PFNAME != updateVag.H248PFNAME) { this.H248PFNAME = updateVag.H248PFNAME; updated = true; }
 443:              if (this.SIPPFNAME != updateVag.SIPPFNAME) { this.SIPPFNAME = updateVag.SIPPFNAME; updated = true; }
 444:              if (this.REGMODE != updateVag.REGMODE) { this.REGMODE = updateVag.REGMODE; updated = true; }
 445:              if (this.EmsOnt != updateVag.EmsOnt) { this.EmsOnt = updateVag.EmsOnt; updated = true; }
 446:   
 447:              if (updated) this.Updated = DateTime.UtcNow.AddHours(3);
 448:   
 449:              return updated;
 450:          }
 451:   
 452:          ////////////////////////////////////////////////////////////////////////////
 453:          ////////////////////////////////////////////////////////////////////////////
 454:   
 455:          /// <summary>
 456:          ///
 457:          /// </summary>
 458:          public string ToSimpleTextString()
 459:          {
 460:              return Ia.Ngn.Cl.Model.Data.Huawei.Vag.ToSimpleTextString(this);
 461:          }
 462:   
 463:          ////////////////////////////////////////////////////////////////////////////
 464:          ////////////////////////////////////////////////////////////////////////////
 465:      }
 466:   
 467:      ////////////////////////////////////////////////////////////////////////////
 468:      ////////////////////////////////////////////////////////////////////////////
 469:  }