public class SPR extends SecsDataStructure
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
cvsRev |
theData
Constructor and Description |
---|
SPR(boolean newData)
Create a new message with Boolean (SecsFormat11) data.
|
SPR(byte newData)
Create a new message with an 1-Byte integer (SecsFormat31).
|
SPR(byte[] newData)
Create a new message with binary (format 10) data.
|
SPR(double newData)
Create a new message with an 8-Byte floating point number (SecsFormat40).
|
SPR(float newData)
Create a new message with an 4-Byte floating point number (SecsFormat44).
|
SPR(int newData)
Create a new message with an 4-Byte integer (SecsFormat34).
|
SPR(long newData)
Create a new message with an 8-Byte integer (SecsFormat30).
|
SPR(SecsFormat newData)
Create a new message with data contained in a SecsFormat object.
|
SPR(short newData)
Create a new message with an 2-Byte integer (SecsFormat32).
|
SPR(java.lang.String newData)
Create a new message with ASCII (format 20) data.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(SPR 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 incoming string and the string
representation of this object.
|
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 SPR(boolean newData)
public SPR(byte newData)
public SPR(byte[] newData)
public SPR(double newData)
public SPR(float newData)
public SPR(int newData)
public SPR(long newData)
public SPR(SecsFormat newData)
public SPR(short newData)
public SPR(java.lang.String newData)
public boolean equals(SPR 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.