Package org.netxms.client.datacollection
Class ConditionDciInfo
java.lang.Object
org.netxms.client.datacollection.ConditionDciInfo
- All Implemented Interfaces:
NodeItemPair
DCI information used in condition objects
-
Constructor Summary
ConstructorDescriptionConditionDciInfo
(long nodeId, long dciId, int type, int function, int polls) ConditionDciInfo
(NXCPMessage msg, long baseId) Create DCI information from NXCP messageCopy constructor -
Method Summary
Modifier and TypeMethodDescriptionlong
getDciId()
Get DCI idint
long
Get node IDint
getPolls()
int
getType()
void
setFunction
(int function) void
setPolls
(int polls)
-
Constructor Details
-
ConditionDciInfo
public ConditionDciInfo(long nodeId, long dciId, int type, int function, int polls) - Parameters:
nodeId
- The node iddciId
- The dci idtype
- The typefunction
- The functionpolls
- The polls
-
ConditionDciInfo
Create DCI information from NXCP message- Parameters:
msg
- The NXCPMessagebaseId
- The base id
-
ConditionDciInfo
Copy constructor- Parameters:
src
- source object
-
-
Method Details
-
getNodeId
public long getNodeId()Description copied from interface:NodeItemPair
Get node ID- Specified by:
getNodeId
in interfaceNodeItemPair
- Returns:
- the nodeId
-
getDciId
public long getDciId()Description copied from interface:NodeItemPair
Get DCI id- Specified by:
getDciId
in interfaceNodeItemPair
- Returns:
- the dciId
-
getType
public int getType()- Returns:
- the type
-
getFunction
public int getFunction()- Returns:
- the function
-
getPolls
public int getPolls()- Returns:
- the polls
-
setFunction
public void setFunction(int function) - Parameters:
function
- the function to set
-
setPolls
public void setPolls(int polls) - Parameters:
polls
- the polls to set
-