public final class CpuDataSection extends SmfData
Modifier and Type | Field and Description |
---|---|
static int |
SMF70DCI
Constant: 0x08 = 8
|
static int |
SMF70MTI
Constant: 0x10 = 16
|
static int |
SMF70PAR
Constant: 0x04 = 4
|
static int |
SMF70STA
Constant: 0x01 = 1
|
static int |
SMF70TCP
Constant: 0x00 = 0
|
static int |
SMF70TIF
Constant: 0x01 = 1
|
static int |
SMF70TSU
Constant: 0x02 = 2
|
static int |
SMF70VAC
Constant: 0x02 = 2
|
static int |
SMF70VON
Constant: 0x80 = 128
|
Modifier and Type | Method and Description |
---|---|
static CpuDataSection |
create(byte[] Data,
int offset,
int length)
create is intended for internal use only.
|
int |
smf70cid()
SMF70CID value.
|
int |
smf70cnf()
SMF70CNF value.
|
String |
smf70cpm()
SMF70CPM value.
|
boolean |
smf70dci()
Return true if
SMF70DCI bit in smf70cnf() is set. |
boolean |
smf70mti()
Return true if
SMF70MTI bit in smf70cnf() is set. |
long |
smf70nio()
SMF70NIO value, throws exception if SMF70NIO overflows 64 bit signed integer.
|
BigInteger |
smf70nioAsBigInteger()
SMF70NIO value as a BigInteger.
|
boolean |
smf70par()
Return true if
SMF70PAR bit in smf70cnf() is set. |
Duration |
smf70pat()
SMF70PAT as a Duration.
|
long |
smf70patRawValue()
SMF70PAT raw value.
|
double |
smf70patSeconds()
SMF70PAT in seconds.
|
int |
smf70rv3()
SMF70RV3 value.
|
int |
smf70ser()
3 byte SMF70SER value.
|
long |
smf70sig()
SMF70SIG value, throws exception if SMF70SIG overflows 64 bit signed integer.
|
BigInteger |
smf70sigAsBigInteger()
SMF70SIG value as a BigInteger.
|
long |
smf70slh()
SMF70SLH value.
|
long |
smf70srb()
SMF70SRB value, throws exception if SMF70SRB overflows 64 bit signed integer.
|
BigInteger |
smf70srbAsBigInteger()
SMF70SRB value as a BigInteger.
|
boolean |
smf70sta()
Return true if
SMF70STA bit in smf70cnf() is set. |
long |
smf70tcb()
SMF70TCB value, throws exception if SMF70TCB overflows 64 bit signed integer.
|
BigInteger |
smf70tcbAsBigInteger()
SMF70TCB value as a BigInteger.
|
boolean |
smf70tcp()
Return true if
smf70typ() equals SMF70TCP . |
boolean |
smf70tif()
Return true if
smf70typ() equals SMF70TIF . |
long |
smf70tpi()
SMF70TPI value.
|
boolean |
smf70tsu()
Return true if
smf70typ() equals SMF70TSU . |
int |
smf70typ()
SMF70TYP value.
|
int |
smf70v()
SMF70V value.
|
boolean |
smf70vac()
Return true if
SMF70VAC bit in smf70cnf() is set. |
long |
smf70vfs()
SMF70VFS value.
|
boolean |
smf70von()
|
Duration |
smf70wat()
SMF70WAT as a Duration.
|
long |
smf70watRawValue()
SMF70WAT raw value.
|
double |
smf70watSeconds()
SMF70WAT in seconds.
|
long |
smf70wtd()
SMF70WTD value, throws exception if SMF70WTD overflows 64 bit signed integer.
|
BigInteger |
smf70wtdAsBigInteger()
SMF70WTD value as a BigInteger.
|
long |
smf70wti()
SMF70WTI value.
|
long |
smf70wts()
SMF70WTS value.
|
long |
smf70wtu()
SMF70WTU value.
|
createSection, dump, dump, dump, dump, equals, getBytes, getBytes, getDataArray, getTriplet, hashCode, toString
public static final int SMF70MTI
public static final int SMF70DCI
public static final int SMF70PAR
public static final int SMF70VAC
public static final int SMF70STA
public static final int SMF70VON
public static final int SMF70TCP
public static final int SMF70TIF
public static final int SMF70TSU
public Duration smf70wat()
Duration
public double smf70watSeconds()
public long smf70watRawValue()
public int smf70cid()
public int smf70cnf()
public boolean smf70mti()
SMF70MTI
bit in smf70cnf()
is set.SMF70MTI = 0x10
public boolean smf70dci()
SMF70DCI
bit in smf70cnf()
is set.SMF70DCI = 0x08
public boolean smf70par()
SMF70PAR
bit in smf70cnf()
is set.SMF70PAR = 0x04
public boolean smf70vac()
SMF70VAC
bit in smf70cnf()
is set.SMF70VAC = 0x02
public boolean smf70sta()
SMF70STA
bit in smf70cnf()
is set.SMF70STA = 0x01
public int smf70rv3()
public int smf70ser()
public int smf70typ()
public long smf70slh()
public long smf70tpi()
public long smf70vfs()
public int smf70v()
public boolean smf70von()
SMF70VON = 0x80
public String smf70cpm()
public Duration smf70pat()
Duration
public double smf70patSeconds()
public long smf70patRawValue()
public long smf70tcb()
IllegalArgumentException
- If the value of SMF70TCB exceeds the maximum
value of a signed 64 bit integer (i.e. the high order bit is set in SMF70TCB).
Use smf70tcbAsBigInteger()
if this is possible.public BigInteger smf70tcbAsBigInteger()
smf70tcb()
may provide better performance
if the value will not exceed the maximum value for a signed long.
public long smf70srb()
IllegalArgumentException
- If the value of SMF70SRB exceeds the maximum
value of a signed 64 bit integer (i.e. the high order bit is set in SMF70SRB).
Use smf70srbAsBigInteger()
if this is possible.public BigInteger smf70srbAsBigInteger()
smf70srb()
may provide better performance
if the value will not exceed the maximum value for a signed long.
public long smf70nio()
IllegalArgumentException
- If the value of SMF70NIO exceeds the maximum
value of a signed 64 bit integer (i.e. the high order bit is set in SMF70NIO).
Use smf70nioAsBigInteger()
if this is possible.public BigInteger smf70nioAsBigInteger()
smf70nio()
may provide better performance
if the value will not exceed the maximum value for a signed long.
public long smf70sig()
IllegalArgumentException
- If the value of SMF70SIG exceeds the maximum
value of a signed 64 bit integer (i.e. the high order bit is set in SMF70SIG).
Use smf70sigAsBigInteger()
if this is possible.public BigInteger smf70sigAsBigInteger()
smf70sig()
may provide better performance
if the value will not exceed the maximum value for a signed long.
public long smf70wtd()
IllegalArgumentException
- If the value of SMF70WTD exceeds the maximum
value of a signed 64 bit integer (i.e. the high order bit is set in SMF70WTD).
Use smf70wtdAsBigInteger()
if this is possible.public BigInteger smf70wtdAsBigInteger()
smf70wtd()
may provide better performance
if the value will not exceed the maximum value for a signed long.
public long smf70wts()
public long smf70wtu()
public long smf70wti()
public boolean smf70tcp()
smf70typ()
equals SMF70TCP
.smf70typ()
equals SMF70TCP
SMF70TCP = 0x00
public boolean smf70tif()
smf70typ()
equals SMF70TIF
.smf70typ()
equals SMF70TIF
SMF70TIF = 0x01
public boolean smf70tsu()
smf70typ()
equals SMF70TSU
.smf70typ()
equals SMF70TSU
SMF70TSU = 0x02
public static CpuDataSection 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 © 2021 Black Hill Software Pty Ltd. All rights reserved.