Package com.blackhillsoftware.svpol
Class ServiceClassPeriodInformation
java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.svpol.ServiceClassPeriodInformation
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Constant: 0x04 = 4static final int
Constant: 0x03 = 3static final int
Constant: 0x01 = 1static final int
Constant: 0x02 = 2static final int
Constant: 0x40 = 64static final int
Constant: 0x10 = 16static final int
Constant: 0x80 = 128static final int
Constant: 0x08 = 8static final int
Constant: 0x80 = 128static final int
Constant: 0x20 = 32 -
Method Summary
Modifier and TypeMethodDescriptioncreate
(byte[] Data, int offset, int length) create is intended for internal use only.boolean
svpolavg()
Return true if SVPOLAVG bit insvpoltyp()
is set.boolean
svpoldsc()
Return true if SVPOLDSC bit insvpoltyp()
is set.long
svpoldur()
SVPOLDUR value.int
svpolimp()
SVPOLIMP value.int
svpolper()
SVPOLPER value.boolean
svpolprc()
Return true if SVPOLPRC bit insvpoltyp()
is set.int
svpolrtu()
SVPOLRTU value.boolean
Return true ifsvpolrtu()
equalsSVPOL_RTU_HOUR
.boolean
Return true ifsvpolrtu()
equalsSVPOL_RTU_MINUTE
.boolean
Return true ifsvpolrtu()
equalsSVPOL_RTU_MS
.boolean
Return true ifsvpolrtu()
equalsSVPOL_RTU_SECOND
.boolean
svpoltew()
Return true ifSVPOLTEW
bit insvpoltfl()
is set.int
svpoltfl()
SVPOLTFL value.long
svpoltyp()
SVPOLTYP value.long
svpolval()
SVPOLVAL value.boolean
svpolvel()
Return true if SVPOLVEL bit insvpoltyp()
is set.Methods inherited from class com.blackhillsoftware.smf.SmfData
createSection, getTriplet
-
Field Details
-
SVPOLPRC
public static final int SVPOLPRCConstant: 0x80 = 128- See Also:
-
SVPOLAVG
public static final int SVPOLAVGConstant: 0x40 = 64- See Also:
-
SVPOLVEL
public static final int SVPOLVELConstant: 0x20 = 32- See Also:
-
SVPOLDSC
public static final int SVPOLDSCConstant: 0x10 = 16- See Also:
-
SVPOLSTM
public static final int SVPOLSTMConstant: 0x08 = 8- See Also:
-
SVPOLTEW
public static final int SVPOLTEWConstant: 0x80 = 128- See Also:
-
SVPOL_RTU_MS
public static final int SVPOL_RTU_MSConstant: 0x01 = 1- See Also:
-
SVPOL_RTU_SECOND
public static final int SVPOL_RTU_SECONDConstant: 0x02 = 2- See Also:
-
SVPOL_RTU_MINUTE
public static final int SVPOL_RTU_MINUTEConstant: 0x03 = 3- See Also:
-
SVPOL_RTU_HOUR
public static final int SVPOL_RTU_HOURConstant: 0x04 = 4- See Also:
-
-
Method Details
-
svpoltyp
public long svpoltyp()SVPOLTYP value.- Returns:
- long SVPOLTYP value
-
svpolprc
public boolean svpolprc()Return true if SVPOLPRC bit insvpoltyp()
is set.- Returns:
- boolean SVPOLPRC bit is set in svpoltyp()
SVPOLPRC = 0x80
-
svpolavg
public boolean svpolavg()Return true if SVPOLAVG bit insvpoltyp()
is set.- Returns:
- boolean SVPOLAVG bit is set in svpoltyp()
SVPOLAVG = 0x40
-
svpolvel
public boolean svpolvel()Return true if SVPOLVEL bit insvpoltyp()
is set.- Returns:
- boolean SVPOLVEL bit is set in svpoltyp()
SVPOLVEL = 0x20
-
svpoldsc
public boolean svpoldsc()Return true if SVPOLDSC bit insvpoltyp()
is set.- Returns:
- boolean SVPOLDSC bit is set in svpoltyp()
SVPOLDSC = 0x10
-
svpoltfl
public int svpoltfl()SVPOLTFL value.- Returns:
- int SVPOLTFL value
-
svpoltew
public boolean svpoltew()Return true ifSVPOLTEW
bit insvpoltfl()
is set.- Returns:
- boolean SVPOLTEW bit is set in svpoltfl()
SVPOLTEW = 0x80
-
svpolrtu
public int svpolrtu()SVPOLRTU value.- Returns:
- int SVPOLRTU value
-
svpolper
public int svpolper()SVPOLPER value.- Returns:
- int SVPOLPER value
-
svpolimp
public int svpolimp()SVPOLIMP value.- Returns:
- int SVPOLIMP value
-
svpolval
public long svpolval()SVPOLVAL value.- Returns:
- long SVPOLVAL value
-
svpoldur
public long svpoldur()SVPOLDUR value.- Returns:
- long SVPOLDUR value
-
svpolRtuMs
public boolean svpolRtuMs()Return true ifsvpolrtu()
equalsSVPOL_RTU_MS
.- Returns:
- boolean
svpolrtu()
equals SVPOL_RTU_MSSVPOL_RTU_MS = 0x01
-
svpolRtuSecond
public boolean svpolRtuSecond()Return true ifsvpolrtu()
equalsSVPOL_RTU_SECOND
.- Returns:
- boolean
svpolrtu()
equals SVPOL_RTU_SECONDSVPOL_RTU_SECOND = 0x02
-
svpolRtuMinute
public boolean svpolRtuMinute()Return true ifsvpolrtu()
equalsSVPOL_RTU_MINUTE
.- Returns:
- boolean
svpolrtu()
equals SVPOL_RTU_MINUTESVPOL_RTU_MINUTE = 0x03
-
svpolRtuHour
public boolean svpolRtuHour()Return true ifsvpolrtu()
equalsSVPOL_RTU_HOUR
.- Returns:
- boolean
svpolrtu()
equals SVPOL_RTU_HOURSVPOL_RTU_HOUR = 0x04
-
create
create is intended for internal use only. Instances of this section are created by the parent record or section.- Parameters:
Data
- Array of bytes containing data for this sectionoffset
- Offset of this section in the datalength
- length of the section
-