public final class Smf21Record extends SmfRecord
Typically you would obtain Smf21Records by reading SmfRecords and using
Smf21Record.
from(SmfRecord)
to create the specialized record after determining the record type.
Modifier and Type | Field and Description |
---|---|
static int |
SMF21160
Constant: 0xC3 = 195
|
static int |
SMF21200
Constant: 0x03 = 3
|
static int |
SMF21556
Constant: 0x43 = 67
|
static int |
SMF21625
Constant: 0xD3 = 211
|
static int |
SMF21780
Constant: 0x83 = 131
|
static int |
SMF21800
Constant: 0xCB = 203
|
static int |
SMF21CBC
Constant: 0x04 = 4
|
static int |
SMF21DBV
Constant: 0x10 = 16
|
static int |
SMF21DL
Constant: 0x12 = 18
|
static int |
SMF21F16
Constant: 0x42 = 66
|
static int |
SMF21F62
Constant: 0xC2 = 194
|
static int |
SMF21LB
Constant: 0x20 = 32
|
static int |
SMF21LS
Constant: 0x40 = 64
|
static int |
SMF21MFV
Constant: 0x08 = 8
|
static int |
SMF21NCT
Constant: 0x80 = 128
|
static int |
SMF21OUT
Constant: 0x80 = 128
|
static int |
SMF21RDB
Constant: 0x40 = 64
|
Constructor and Description |
---|
Smf21Record(byte[] data)
Constructs an Smf21Record from the specified byte array.
|
Smf21Record(SmfRecord record)
Constructs a new Smf21Record from an existing SMF record.
|
Modifier and Type | Method and Description |
---|---|
static Smf21Record |
from(byte[] data)
Constructs an Smf21Record from the specified byte array.
|
static Smf21Record |
from(SmfRecord record)
Constructs a new Smf21Record from an existing SMF record.
|
boolean |
smf21160()
Return true if
smf21den() equals SMF21160 . |
boolean |
smf21200()
Return true if
smf21den() equals SMF21200 . |
boolean |
smf21556()
Return true if
smf21den() equals SMF21556 . |
boolean |
smf21625()
Return true if
smf21den() equals SMF21625 . |
boolean |
smf21780()
Return true if
smf21den() equals SMF21780 . |
boolean |
smf21800()
Return true if
smf21den() equals SMF21800 . |
int |
smf21bls()
SMF21BLS value.
|
int |
smf21br()
3 byte SMF21BR value.
|
long |
smf21brn()
SMF21BRN value.
|
int |
smf21bw()
3 byte SMF21BW value.
|
long |
smf21bwn()
SMF21BWN value.
|
int |
smf21ca()
SMF21CA value.
|
boolean |
smf21cbc()
Return true if
SMF21CBC bit in smf21fl1() is set. |
int |
smf21cln()
SMF21CLN value.
|
long |
smf21dbr()
SMF21DBR value.
|
boolean |
smf21dbv()
Return true if
SMF21DBV bit in smf21fl1() is set. |
long |
smf21dbw()
SMF21DBW value.
|
int |
smf21den()
SMF21DEN value.
|
int |
smf21dev()
SMF21DEV value.
|
LocalDate |
smf21dte()
SMF21DTE as a LocalDate.
|
int |
smf21dteRawValue()
SMF21DTE raw value.
|
int |
smf21erg()
SMF21ERG value.
|
boolean |
smf21f16()
Return true if
smf21den() equals SMF21F16 . |
boolean |
smf21f62()
Return true if
smf21den() equals SMF21F62 . |
int |
smf21fl1()
SMF21FL1 value.
|
int |
smf21fl2()
SMF21FL2 value.
|
int |
smf21flg()
SMF21FLG value.
|
boolean |
smf21lb()
Return true if
SMF21LB bit in smf21fl1() is set. |
long |
smf21lbs()
SMF21LBS value.
|
int |
smf21len()
SMF21LEN value.
|
int |
smf21lgh()
SMF21LGH value.
|
boolean |
smf21ls()
Return true if
SMF21LS bit in smf21fl1() is set. |
long |
smf21lst()
SMF21LST value.
|
long |
smf21mcr()
SMF21MCR value.
|
long |
smf21mcw()
SMF21MCW value.
|
long |
smf21mdr()
SMF21MDR value.
|
long |
smf21mdw()
SMF21MDW value.
|
boolean |
smf21mfv()
Return true if
SMF21MFV bit in smf21fl1() is set. |
int |
smf21nb()
SMF21NB value.
|
boolean |
smf21nct()
Return true if
SMF21NCT bit in smf21fl1() is set. |
int |
smf21ofl()
SMF21OFL value.
|
boolean |
smf21out()
Return true if
SMF21OUT bit in smf21ofl() is set. |
int |
smf21pr()
SMF21PR value.
|
int |
smf21pw()
SMF21PW value.
|
boolean |
smf21rdb()
Return true if
SMF21RDB bit in smf21ofl() is set. |
int |
smf21rty()
SMF21RTY value.
|
int |
smf21seg()
SMF21SEG value.
|
String |
smf21sid()
SMF21SID value.
|
int |
smf21sio()
SMF21SIO value.
|
LocalTime |
smf21tme()
SMF21TME as a LocalTime.
|
long |
smf21tmeRawValue()
SMF21TME raw value
|
int |
smf21tr()
SMF21TR value.
|
int |
smf21trb()
SMF21TRB value.
|
int |
smf21trf()
SMF21TRF value.
|
int |
smf21tus()
SMF21TUS value.
|
int |
smf21tw()
SMF21TW value.
|
int |
smf21twf()
SMF21TWF value.
|
long |
smf21ucb()
SMF21UCB value.
|
String |
smf21vol()
SMF21VOL value.
|
equals, extendedHeader, extendedHeader, hashCode, hasSubtypes, hasSubtypes, recordLength, recordLength, recordType, recordType, sanityCheck, smfDate, smfDate, smfDateTime, smfDateTime, smfhdr1Flag, smfhdr1Iefu86, smfhdr1Len, smfhdr1Len, smfhdr1Stcke, smfhdr1StckeRawValue, smfhdr1Tzo, smfhdr1TzoRawValue, smfhdr1Version, smfhdr1Version, smfTime, smfTime, subSystem, subSystem, subType, subType, system, system, toString
createSection, dump, dump, dump, dump, getBytes, getBytes, getDataArray, getTriplet
public static final int SMF21DL
public static final int SMF21625
public static final int SMF21F62
public static final int SMF21160
public static final int SMF21F16
public static final int SMF21800
public static final int SMF21780
public static final int SMF21556
public static final int SMF21200
public static final int SMF21OUT
public static final int SMF21RDB
public static final int SMF21NCT
public static final int SMF21LS
public static final int SMF21LB
public static final int SMF21DBV
public static final int SMF21MFV
public static final int SMF21CBC
public Smf21Record(byte[] data)
data
- a byte array containing the SMF record datapublic Smf21Record(SmfRecord record)
record
- an existing SMF recordpublic static Smf21Record from(SmfRecord record)
record
- an existing SMF recordpublic static Smf21Record from(byte[] data)
data
- a byte array containing the SMF record datapublic int smf21len()
public int smf21seg()
public int smf21flg()
public int smf21rty()
public LocalTime smf21tme()
LocalTime
public long smf21tmeRawValue()
public LocalDate smf21dte()
LocalDate
public int smf21dteRawValue()
public String smf21sid()
public int smf21lgh()
public String smf21vol()
public int smf21ca()
public long smf21ucb()
public int smf21dev()
public int smf21tr()
public int smf21tw()
public int smf21sio()
public int smf21pr()
public int smf21pw()
public int smf21nb()
public int smf21erg()
public int smf21cln()
public int smf21den()
public boolean smf21625()
smf21den()
equals SMF21625
.smf21den()
equals SMF21625
SMF21625 = 0xD3
public boolean smf21f62()
smf21den()
equals SMF21F62
.smf21den()
equals SMF21F62
SMF21F62 = 0xC2
public boolean smf21160()
smf21den()
equals SMF21160
.smf21den()
equals SMF21160
SMF21160 = 0xC3
public boolean smf21f16()
smf21den()
equals SMF21F16
.smf21den()
equals SMF21F16
SMF21F16 = 0x42
public boolean smf21800()
smf21den()
equals SMF21800
.smf21den()
equals SMF21800
SMF21800 = 0xCB
public boolean smf21780()
smf21den()
equals SMF21780
.smf21den()
equals SMF21780
SMF21780 = 0x83
public boolean smf21556()
smf21den()
equals SMF21556
.smf21den()
equals SMF21556
SMF21556 = 0x43
public boolean smf21200()
smf21den()
equals SMF21200
.smf21den()
equals SMF21200
SMF21200 = 0x03
public int smf21bls()
public int smf21ofl()
public boolean smf21out()
SMF21OUT
bit in smf21ofl()
is set.SMF21OUT = 0x80
public boolean smf21rdb()
SMF21RDB
bit in smf21ofl()
is set.SMF21RDB = 0x40
public int smf21tus()
public int smf21trf()
public int smf21trb()
public int smf21twf()
public int smf21br()
public int smf21bw()
public int smf21fl1()
public boolean smf21nct()
SMF21NCT
bit in smf21fl1()
is set.SMF21NCT = 0x80
public boolean smf21ls()
SMF21LS
bit in smf21fl1()
is set.SMF21LS = 0x40
public boolean smf21lb()
SMF21LB
bit in smf21fl1()
is set.SMF21LB = 0x20
public boolean smf21dbv()
SMF21DBV
bit in smf21fl1()
is set.SMF21DBV = 0x10
public boolean smf21mfv()
SMF21MFV
bit in smf21fl1()
is set.SMF21MFV = 0x08
public boolean smf21cbc()
SMF21CBC
bit in smf21fl1()
is set.SMF21CBC = 0x04
public int smf21fl2()
public long smf21brn()
public long smf21bwn()
public long smf21lst()
public long smf21lbs()
public long smf21dbr()
public long smf21dbw()
public long smf21mcr()
public long smf21mcw()
public long smf21mdr()
public long smf21mdw()
Copyright © 2020 Black Hill Software Pty Ltd. All rights reserved.