Developing with ZBOSS for Zigbee
|
#include <zb_zcl_price.h>
PublishTariffInformation command payload
zb_uint24_t zb_zcl_price_publish_tariff_information_payload_s::block_threshold_devisor |
BlockThresholdDivisor provides a value to divide the result of applying the ThresholdMultiplier attribute to BlockThreshold values to derive values that can be compared against the CurrentBlockPeriodConsumptionDelivered attribute within the Metering cluster. This attribute must be used in conjunction with the BlockThresholdMultiplier parameter(s). In case no divisor is defined, this field shall be set to 1.
zb_uint24_t zb_zcl_price_publish_tariff_information_payload_s::block_threshold_multiplier |
BlockThresholdMultiplier provides a value to be multiplied against Threshold parameter(s). If present, this attribute must be applied to all BlockThreshold values to derive values that can be compared against the CurrentBlockPeriodConsumptionDelivered attribute within the Metering cluster. This parameter must be used in conjunction with the BlockThresholdDivisor parameter(s).
zb_uint16_t zb_zcl_price_publish_tariff_information_payload_s::currency |
The format and use of this field is the same as for the Currencyattribute
zb_uint32_t zb_zcl_price_publish_tariff_information_payload_s::issuer_event_id |
Unique identifier generated by the commodity provider. When new information is provided that replaces older information for the same time period, this field allows devices to determine which information is newer.
zb_uint32_t zb_zcl_price_publish_tariff_information_payload_s::issuer_tariff_id |
Unique identifier generated by the commodity supplier.
zb_uint8_t zb_zcl_price_publish_tariff_information_payload_s::number_of_block_thresholds_in_use |
The format and use of this field is the same as for the NumberOfBlockThresholdsInUse attribute or ReceivedNumberOfBlockThresholdsInUse attribute
zb_uint8_t zb_zcl_price_publish_tariff_information_payload_s::number_of_price_tiers_in_use |
The format and use of this field is the same as for the NumberOfPriceTiersInUse attribute or ReceivedNumberOfPriceTiersInUse attribute
zb_uint8_t zb_zcl_price_publish_tariff_information_payload_s::price_trailing_digit |
The format and use of this field is the same as for the PriceTrailingDigit attribute
zb_uint32_t zb_zcl_price_publish_tariff_information_payload_s::provider_id |
A unique identifier for the commodity supplier.
zb_uint32_t zb_zcl_price_publish_tariff_information_payload_s::standing_charge |
The format and use of this field is the same as for the StandingCharge attribute. A value of 0xFFFFFFFF indicates the field is not used
zb_uint32_t zb_zcl_price_publish_tariff_information_payload_s::start_time |
A UTC Time field to denote the time at which the price signal becomes valid.
zb_uint8_t zb_zcl_price_publish_tariff_information_payload_s::tariff_label[25] |
The format and use of this field is the same as for the TariffLabel attribute or ReceivedTariffLabel attribute
zb_uint8_t zb_zcl_price_publish_tariff_information_payload_s::tariff_type_charging_scheme |
An 8-bit bitmap identifying the type of tariff published in this command. The least significant nibble represents an enumeration of the tariff type, the most significant nibble represents an enumeration specifying the charging scheme.
zb_uint8_t zb_zcl_price_publish_tariff_information_payload_s::tier_block_mode |
The format and use of this field is the same as for the TierBlockMode attribute or ReceivedTierBlockMode attribute
zb_uint8_t zb_zcl_price_publish_tariff_information_payload_s::unit_of_measure |
The format and use of this field is the same as for the UnitOfMeasure attribute