public class CPVAL extends SecsDataStructure
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
cvsRev |
theData
Constructor and Description |
---|
CPVAL(boolean newData)
Create a new message with Boolean (SecsFormat11) data.
|
CPVAL(byte newData)
Create a new message with an 1-Byte integer (SecsFormat31).
|
CPVAL(double newData)
Create a new message with an 8-Byte floating point number (SecsFormat40).
|
CPVAL(float newData)
Create a new message with an 4-Byte floating point number (SecsFormat44).
|
CPVAL(int newData)
Create a new message with an 4-Byte integer (SecsFormat34).
|
CPVAL(long newData)
Create a new message with an 8-Byte integer (SecsFormat30).
|
CPVAL(SecsFormat newData)
Create a new message with the data contained in a SecsFormat object.
|
CPVAL(short newData)
Create a new message with an 2-Byte integer (SecsFormat32).
|
CPVAL(java.lang.String newData)
Create a new message with ASCII (format 20) data.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(CPVAL newData)
Performs a comparision of the string value this object to the string value the passed object.
|
boolean |
equals(java.lang.String newData)
Performs a comparision of the string value this object to the String passed.
|
java.lang.String |
toString()
Returns the string representation of this object.
|
equals, getArray, getBoolValue, getByteValue, getData, getDoubleValue, getFloatValue, getFormattedBytes, getIntValue, getLength, getLongValue, getNumberOfLengthBytes, getShortValue, getStringValue, hashCode, setArray, setDataFromByteArray, setLength, setNumberOfLengthBytes, toString, zeroLength
public static final java.lang.String cvsRev
public CPVAL(boolean newData)
public CPVAL(byte newData)
public CPVAL(double newData)
public CPVAL(float newData)
public CPVAL(int newData)
public CPVAL(long newData)
public CPVAL(SecsFormat newData) throws SecsException
SecsException
public CPVAL(short newData)
public CPVAL(java.lang.String newData)
public boolean equals(CPVAL newData)
public boolean equals(java.lang.String newData)
public java.lang.String toString()
toString
in class SecsDataStructure
Copyright © 1999-2025 ErgoTech Systems, Inc. All Rights Reserved.