Package com.blackhillsoftware.smf.smf90
Class CapacityChangeSection
java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.smf90.CapacityChangeSection
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Constant: 0x40 = 64static final int
Constant: 0x20 = 32static final int
Constant: 0x80 = 128 -
Method Summary
Modifier and TypeMethodDescriptionstatic CapacityChangeSection
create
(byte[] Data, int offset, int length) create is intended for internal use only.int
SMF90T34_Capacity_Adjustment_Ind value.int
SMF90T34_Capacity_Change_Reason value.SMF90T34_Capacity_Change_Time STCK value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).SMF90T34_Capacity_Change_Time STCK value.boolean
Return true ifSMF90T34_Capacity_Data_err
bit insmf90t34Flags()
is set.int
SMF90T34_Flags value.boolean
Return true ifSMF90T34_PCD_Rsvd_Exists
bit insmf90t34Flags()
is set.long
SMF90T34_RCTPCPUA_Actual value.long
SMF90T34_RCTPCPUA_Nominal value.long
SMF90T34_RCTPCPUA_scaling_factor value.long
SMF90T34_RMCTADJN_Nominal value.long
SMF90T34_RQSVSUS value.boolean
Return true ifSMF90T34_RQSVSUS_Err
bit insmf90t34Flags()
is set.Methods inherited from class com.blackhillsoftware.smf.SmfData
createSection, getTriplet
-
Field Details
-
SMF90T34_RQSVSUS_Err
public static final int SMF90T34_RQSVSUS_ErrConstant: 0x80 = 128- See Also:
-
SMF90T34_Capacity_Data_err
public static final int SMF90T34_Capacity_Data_errConstant: 0x40 = 64- See Also:
-
SMF90T34_PCD_Rsvd_Exists
public static final int SMF90T34_PCD_Rsvd_ExistsConstant: 0x20 = 32- See Also:
-
-
Method Details
-
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
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 ifSMF90T34_RQSVSUS_Err
bit insmf90t34Flags()
is set.- Returns:
- boolean SMF90T34_RQSVSUS_Err bit is set in smf90t34Flags()
SMF90T34_RQSVSUS_Err = 0x80
-
smf90t34CapacityDataErr
public boolean smf90t34CapacityDataErr()Return true ifSMF90T34_Capacity_Data_err
bit insmf90t34Flags()
is set.- Returns:
- boolean SMF90T34_Capacity_Data_err bit is set in smf90t34Flags()
SMF90T34_Capacity_Data_err = 0x40
-
smf90t34PcdRsvdExists
public boolean smf90t34PcdRsvdExists()Return true ifSMF90T34_PCD_Rsvd_Exists
bit insmf90t34Flags()
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
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
-