public abstract class DciValue extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
dataType |
protected String |
description |
protected long |
id |
protected String |
name |
protected long |
nodeId |
protected int |
source |
protected int |
status |
protected String |
value |
| Modifier | Constructor and Description |
|---|---|
protected |
DciValue()
Simple constructor for DciValue
|
protected |
DciValue(long nodeId,
org.netxms.base.NXCPMessage msg,
long base)
Constructor for creating DciValue from NXCP message
|
| Modifier and Type | Method and Description |
|---|---|
static DciValue |
createFromMessage(long nodeId,
org.netxms.base.NXCPMessage msg,
long base)
Factory method to create correct DciValue subclass from NXCP message.
|
String |
format(String formatString)
Returns formated DCI value or string with format error and correct type of DCI value;
|
Threshold |
getActiveThreshold() |
int |
getDataType() |
int |
getDcObjectType() |
String |
getDescription() |
int |
getErrorCount() |
long |
getId() |
String |
getName() |
long |
getNodeId() |
int |
getSource() |
int |
getStatus() |
long |
getTemplateDciId() |
Severity |
getThresholdSeverity()
Get severity of active threshold
|
Date |
getTimestamp() |
String |
getValue() |
protected long id
protected long nodeId
protected String name
protected String description
protected String value
protected int source
protected int dataType
protected int status
protected DciValue()
protected DciValue(long nodeId,
org.netxms.base.NXCPMessage msg,
long base)
nodeId - owning node IDmsg - NXCP messagebase - Base field ID for value objectpublic static DciValue createFromMessage(long nodeId, org.netxms.base.NXCPMessage msg, long base)
nodeId - owning node IDmsg - NXCP messagebase - Base variable ID for value objectpublic String format(String formatString)
formatString - the string into which will be placed DCI valuepublic long getId()
public String getName()
public String getDescription()
public String getValue()
public int getSource()
public int getDataType()
public int getStatus()
public Date getTimestamp()
public long getNodeId()
public Threshold getActiveThreshold()
public int getDcObjectType()
public int getErrorCount()
public final long getTemplateDciId()
public Severity getThresholdSeverity()
Copyright © 2018. All rights reserved.