Class ServiceClassPeriodInformation

java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.svpol.ServiceClassPeriodInformation

public final class ServiceClassPeriodInformation extends SmfData
  • Field Details

  • Method Details

    • svpoltyp

      public long svpoltyp()
      SVPOLTYP value.
      Returns:
      long SVPOLTYP value
    • svpolprc

      public boolean svpolprc()
      Return true if SVPOLPRC bit in svpoltyp() is set.
      Returns:
      boolean SVPOLPRC bit is set in svpoltyp()

      SVPOLPRC = 0x80

    • svpolavg

      public boolean svpolavg()
      Return true if SVPOLAVG bit in svpoltyp() is set.
      Returns:
      boolean SVPOLAVG bit is set in svpoltyp()

      SVPOLAVG = 0x40

    • svpolvel

      public boolean svpolvel()
      Return true if SVPOLVEL bit in svpoltyp() is set.
      Returns:
      boolean SVPOLVEL bit is set in svpoltyp()

      SVPOLVEL = 0x20

    • svpoldsc

      public boolean svpoldsc()
      Return true if SVPOLDSC bit in svpoltyp() 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 if SVPOLTEW bit in svpoltfl() 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 if svpolrtu() equals SVPOL_RTU_MS.
      Returns:
      boolean svpolrtu() equals SVPOL_RTU_MS

      SVPOL_RTU_MS = 0x01

    • svpolRtuSecond

      public boolean svpolRtuSecond()
      Return true if svpolrtu() equals SVPOL_RTU_SECOND.
      Returns:
      boolean svpolrtu() equals SVPOL_RTU_SECOND

      SVPOL_RTU_SECOND = 0x02

    • svpolRtuMinute

      public boolean svpolRtuMinute()
      Return true if svpolrtu() equals SVPOL_RTU_MINUTE.
      Returns:
      boolean svpolrtu() equals SVPOL_RTU_MINUTE

      SVPOL_RTU_MINUTE = 0x03

    • svpolRtuHour

      public boolean svpolRtuHour()
      Return true if svpolrtu() equals SVPOL_RTU_HOUR.
      Returns:
      boolean svpolrtu() equals SVPOL_RTU_HOUR

      SVPOL_RTU_HOUR = 0x04

    • create

      public static ServiceClassPeriodInformation create(byte[] Data, int offset, int length)
      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 section
      offset - Offset of this section in the data
      length - length of the section