Class CapacityChangeSection

java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.smf90.CapacityChangeSection

public final class CapacityChangeSection extends SmfData
  • Field Details

    • SMF90T34_RQSVSUS_Err

      public static final int SMF90T34_RQSVSUS_Err
      Constant: 0x80 = 128
      See Also:
    • SMF90T34_Capacity_Data_err

      public static final int SMF90T34_Capacity_Data_err
      Constant: 0x40 = 64
      See Also:
    • SMF90T34_PCD_Rsvd_Exists

      public static final int SMF90T34_PCD_Rsvd_Exists
      Constant: 0x20 = 32
      See Also:
  • Method Details

    • smf90t34CapacityChangeTime

      public ZonedDateTime smf90t34CapacityChangeTime()
      SMF90T34_Capacity_Change_Time STCK value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).

      Use smf90t34CapacityChangeTimeRawValue() for a BigInteger containing the complete STCK value.

      Returns:
      DateTime SMF90T34_Capacity_Change_Time STCK converted to ZonedDateTime
      See Also:
    • smf90t34CapacityChangeTimeRawValue

      public BigInteger smf90t34CapacityChangeTimeRawValue()
      SMF90T34_Capacity_Change_Time STCK value.
      Returns:
      BigInteger SMF90T34_Capacity_Change_Time STCK value
    • smf90t34Rqsvsus

      public long smf90t34Rqsvsus()
      SMF90T34_RQSVSUS value.
      Returns:
      long SMF90T34_RQSVSUS value
    • smf90t34RctpCpuaActual

      public long smf90t34RctpCpuaActual()
      SMF90T34_RCTPCPUA_Actual value.
      Returns:
      long SMF90T34_RCTPCPUA_Actual value
    • smf90t34RctpCpuaNominal

      public long smf90t34RctpCpuaNominal()
      SMF90T34_RCTPCPUA_Nominal value.
      Returns:
      long SMF90T34_RCTPCPUA_Nominal value
    • smf90t34RctpCpuaScalingFactor

      public long smf90t34RctpCpuaScalingFactor()
      SMF90T34_RCTPCPUA_scaling_factor value.
      Returns:
      long SMF90T34_RCTPCPUA_scaling_factor value
    • smf90t34CapacityAdjustmentInd

      public int smf90t34CapacityAdjustmentInd()
      SMF90T34_Capacity_Adjustment_Ind value.
      Returns:
      int SMF90T34_Capacity_Adjustment_Ind value
    • smf90t34CapacityChangeReason

      public int smf90t34CapacityChangeReason()
      SMF90T34_Capacity_Change_Reason value.
      Returns:
      int SMF90T34_Capacity_Change_Reason value
    • smf90t34Flags

      public int smf90t34Flags()
      SMF90T34_Flags value.
      Returns:
      int SMF90T34_Flags value
    • smf90t34RqsvsusErr

      public boolean smf90t34RqsvsusErr()
      Return true if SMF90T34_RQSVSUS_Err bit in smf90t34Flags() is set.
      Returns:
      boolean SMF90T34_RQSVSUS_Err bit is set in smf90t34Flags()

      SMF90T34_RQSVSUS_Err = 0x80

    • smf90t34CapacityDataErr

      public boolean smf90t34CapacityDataErr()
      Return true if SMF90T34_Capacity_Data_err bit in smf90t34Flags() is set.
      Returns:
      boolean SMF90T34_Capacity_Data_err bit is set in smf90t34Flags()

      SMF90T34_Capacity_Data_err = 0x40

    • smf90t34PcdRsvdExists

      public boolean smf90t34PcdRsvdExists()
      Return true if SMF90T34_PCD_Rsvd_Exists bit in smf90t34Flags() is set.
      Returns:
      boolean SMF90T34_PCD_Rsvd_Exists bit is set in smf90t34Flags()

      SMF90T34_PCD_Rsvd_Exists = 0x20

    • smf90t34RmctAdjnNominal

      public long smf90t34RmctAdjnNominal()
      SMF90T34_RMCTADJN_Nominal value.
      Returns:
      long SMF90T34_RMCTADJN_Nominal value
    • create

      public static CapacityChangeSection 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