public final class UsageDataSection extends SmfData
Modifier and Type | Field and Description |
---|---|
static int |
SMF30UUN
Constant: 0x80 = 128
|
Modifier and Type | Method and Description |
---|---|
static UsageDataSection |
create(byte[] Data,
int offset,
int length)
create is intended for internal use only.
|
Duration |
smf30ucs()
SMF30UCS as a Duration.
|
long |
smf30ucsRawValue()
SMF30UCS raw value.
|
double |
smf30ucsSeconds()
SMF30UCS in seconds.
|
Duration |
smf30uct()
SMF30UCT as a Duration.
|
long |
smf30uctRawValue()
SMF30UCT raw value.
|
double |
smf30uctSeconds()
SMF30UCT in seconds.
|
int |
smf30udf()
SMF30UDF value.
|
int |
smf30ufg()
SMF30UFG value.
|
String |
smf30upi()
SMF30UPI value.
|
String |
smf30upn()
SMF30UPN value.
|
String |
smf30upo()
SMF30UPO value.
|
String |
smf30upq()
SMF30UPQ value.
|
String |
smf30upv()
SMF30UPV value.
|
byte[] |
smf30urd()
SMF30URD data.
|
BigInteger |
smf30urdBigInteger()
Get SMF30URD 64 bit integer value as a BigInteger.
|
long |
smf30urdBinary()
Get SMF30URD 64 bit integer value
|
Duration |
smf30urdCpuTime()
Get SMF30URD in seconds
|
double |
smf30urdFloatingPoint()
Get SMF30URD floating point value
|
boolean |
smf30uun()
Return true if
SMF30UUN bit in smf30ufg() is set. |
createSection, dump, dump, dump, dump, equals, getBytes, getBytes, getDataArray, getTriplet, hashCode, toString
public static final int SMF30UUN
public Duration smf30urdCpuTime()
public double smf30urdFloatingPoint()
public long smf30urdBinary()
IllegalArgumentException
- If the value of SMF30URD exceeds the maximum
value of a signed 64 bit integer (i.e. the high order bit is set in SMF30URD).
Use smf30urdBigInteger()
if this is possible.public BigInteger smf30urdBigInteger()
smf30urdBinary()
may provide better performance
if the value will not exceed the maximum value for a signed long.
public String smf30upo()
public String smf30upn()
public String smf30upv()
public String smf30upq()
public String smf30upi()
public Duration smf30uct()
Duration
public double smf30uctSeconds()
public long smf30uctRawValue()
public Duration smf30ucs()
Duration
public double smf30ucsSeconds()
public long smf30ucsRawValue()
public byte[] smf30urd()
public int smf30udf()
public int smf30ufg()
public boolean smf30uun()
SMF30UUN
bit in smf30ufg()
is set.SMF30UUN = 0x80
public static UsageDataSection create(byte[] Data, int offset, int length)
Data
- Array of bytes containing data for this sectionoffset
- Offset of this section in the datalength
- length of the sectionCopyright © 2020 Black Hill Software Pty Ltd. All rights reserved.