Ejemplo n.º 1
0
 /// <summary>
 /// Constructor using a ObjectTreeRow for initialization
 /// </summary>
 public RootNode(ObjectTreeRow RootNodeRow)
 {
     this.SetID(RootNodeRow.GetObjectID());
     this.SetParentID(RootNodeRow.GetObjectParentID());
     this.SetType(RootNodeRow.GetObjectType());
     this.SetName(RootNodeRow.GetObjectName());
     this.SetDescription(RootNodeRow.GetObjectDescription());
     this.SetLastUpdated(RootNodeRow.GetObjectLastUpdated());
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructor using a ObjectTreeRow for initialization
 /// </summary>
 public DatapointNode(ObjectTreeRow RootNodeRow)
 {
     this.SetID(RootNodeRow.GetObjectID());
     this.SetParentID(RootNodeRow.GetObjectParentID());
     this.SetType(NODE_TYPE);
     this.SetName(RootNodeRow.GetObjectName());
     this.SetDescription(RootNodeRow.GetObjectDescription());
     this.SetLastUpdated(RootNodeRow.GetObjectLastUpdated());
     this.SetDatapointType(RootNodeRow.GetDatapointType());
     this.SetUnit(RootNodeRow.GetDatapointUnit());
     this.SetLastValue(RootNodeRow.GetDatapointLastValue());
     this.SetLastValueUpdate(RootNodeRow.GetDatapointLastUpdated());
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Constructor using a ObjectTreeRow for initialization
 /// </summary>
 public DeviceNode(ObjectTreeRow DeviceNodeRow)
 {
     this.SetID(DeviceNodeRow.GetObjectID());
     this.SetParentID(DeviceNodeRow.GetObjectParentID());
     this.SetType(NODE_TYPE);
     this.SetName(DeviceNodeRow.GetObjectName());
     this.SetDescription(DeviceNodeRow.GetObjectDescription());
     this.SetLastUpdated(DeviceNodeRow.GetObjectLastUpdated());
     this.SetCO2Threshold(DeviceNodeRow.GetCO2Threshold());
     this.SetLoudnessThreshold(DeviceNodeRow.GetLoudnessThreshold());
     this.SetIPAddress(DeviceNodeRow.GetDeviceIPAddress());
     this.SetPort(DeviceNodeRow.GetDevicePort());
     this.SetLastConnection(DeviceNodeRow.GetDeviceLastConnection());
 }