Package org.netxms.client.datacollection
Class DciData
java.lang.Object
org.netxms.client.datacollection.DciData
Class to hold series of collected DCI data
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDataRow
(DciDataRow row) Add new valuelong
getDciId()
Get last added valuelong
void
invert()
Invert valuesvoid
setDataType
(DataType dataType) toString()
-
Constructor Details
-
DciData
public DciData(long nodeId, long dciId) - Parameters:
nodeId
- The node IDdciId
- The dci ID
-
-
Method Details
-
getNodeId
public long getNodeId()- Returns:
- the nodeId
-
getDciId
public long getDciId()- Returns:
- the dciId
-
getValues
- Returns:
- the values
-
getLastValue
Get last added value- Returns:
- last added value
-
addDataRow
Add new value- Parameters:
row
- DciDataRow
-
getDataType
- Returns:
- the dataType
-
setDataType
- Parameters:
dataType
- the dataType to set
-
invert
public void invert()Invert values -
toString
-