Esempio n. 1
0
 /// <summary>
 /// Override this to made changes before property load.
 /// </summary>
 protected override void OnDeserializing(bool designMode)
 {
     this.Values = new GXValueItemCollection();
     this.AccessMode = Gurux.Device.AccessMode.ReadWrite;
     Statistics = new GXPropertyStatistics();
     BitMask = false;
     //Use device value for transaction delay.
     TransactionDelay = -1;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the GXProperty class.
 /// </summary>
 public GXProperty(string name)
 {
     this.Values = new GXValueItemCollection();
     this.AccessMode = Gurux.Device.AccessMode.ReadWrite;
     Statistics = new GXPropertyStatistics();
     BitMask = false;            
     //Use device value for transaction delay.
     TransactionDelay = -1;
     if (name != null)
     {
         Name = name;
     }
 }