tsSE_PricePublishCalorificValueCmdPayload#
This structure is used to hold information to be added to a calorific value list of the Price cluster:
typedef struct {
zenum8 u8CalorificValueUnit;
zbmap8 u8CalorificValueTrailingDigit;
uint32 u32IssuerEventId;
uint32 u32StartTime;
uint32 u32CalorificValue;
}tsSE_PricePublishCalorificValueCmdPayload;
where:
u8CalorificValueUnitis an 8-bit enumerated value which defines the unit for theu32CalorificValuefield (below). It indicates whether the calorific value is quantified per unit volume or per unit mass - see Section 40.12.3.u8CalorificValueTrailingDigitis an 8-bit bitmap which indicates the location of the decimal point in theu32CalorificValuefield (below). The most significant 4 bits indicate the number of digits after the decimal point. The remaining bits are reservedu32IssuerEventIdis a unique identifier for the calorific value information - the higher the value, the more recently the information was issuedu32StartTimeis the start-time of the calorific value. This is the time at which the conversion factor value is scheduled to become activeu32CalorificValueis used only for gas and indicates the quantity of energy in MJ that is generated per unit volume or unit mass of gas burned (seeu8CalorificValueUnit). The position of the decimal point is indicated byu8CalorificValueTrailingDigitdescribed above
Parent topic:Structures