public class ParameterDataBlock
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
curStatusStr |
java.lang.String |
curValueStr |
static java.lang.String |
noneStr |
java.lang.String |
paramName |
java.lang.String |
prevStatusStr |
java.lang.String |
prevValueStr |
Constructor and Description |
---|
ParameterDataBlock(java.lang.String paramName,
java.lang.String prevValueStr,
java.lang.String prevStatusStr,
java.lang.String curValueStr,
java.lang.String curStatusStr)
Creates a data block of items necessary for a report on a
station detail parameter change event.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplayString()
Returns a report-format display string of the items in this data
block.
|
java.lang.String |
getDisplayString(boolean shortFlag)
Returns a report-format display string of the items in this data
block.
|
public static final java.lang.String noneStr
public final java.lang.String paramName
public final java.lang.String prevValueStr
public final java.lang.String prevStatusStr
public final java.lang.String curValueStr
public final java.lang.String curStatusStr
public ParameterDataBlock(java.lang.String paramName, java.lang.String prevValueStr, java.lang.String prevStatusStr, java.lang.String curValueStr, java.lang.String curStatusStr)
paramName
- parameter name.prevValueStr
- previous value string.prevStatusStr
- previous status level name.curValueStr
- current value string.curStatusStr
- current status level name.public java.lang.String getDisplayString(boolean shortFlag)
shortFlag
- if true then a short version of the display string
is returned.public java.lang.String getDisplayString()