tsCLD_PPEntry
This structure contains the data for a power profile table entry.
typedef struct
{
zuint8 u8PowerProfileId;
zuint8 u8NumOfTransferredEnergyPhases;
zuint8 u8NumOfScheduledEnergyPhases;
zuint8 u8ActiveEnergyPhaseId;
tsCLD_PP_EnergyPhaseDelay
asEnergyPhaseDelay[CLD_PP_NUM_OF_ENERGY_PHASES];
tsCLD_PP_EnergyPhaseInfo
asEnergyPhaseInfo[CLD_PP_NUM_OF_ENERGY_PHASES];
zbool bPowerProfileRemoteControl;
zenum8 u8PowerProfileState;
zuint16 u16StartAfter;
zuint16 u16StopBefore;
} tsCLD_PPEntry;
where:
u8PowerProfileIdis the identifier of the power profile in the range 1 to 255 (0 is reserved)u8NumOfTransferredEnergyPhasesis the number of energy phases supported within the power profileu8NumOfScheduledEnergyPhasesis the number of energy phases actually scheduled within the power profile (must be less than or equal to the value ofu8NumOfTransferredEnergyPhases)u8ActiveEnergyPhaseIdis the identifier of the energy phase that is currently active or will be active next (if currently between energy phases)asEnergyPhaseDelay[]is an array containing timing information on the scheduled energy phases, where each array element corresponds to one energy phase of the schedule (see Section 21.10.12)asEnergyPhaseInfo[]is an array containing various information on the supported energy phases, where each array element corresponds to one energy phase of the profile (see Section 21.10.11)bPowerProfileRemoteControlis a boolean indicating whether the power profile can be remotely controlled: TRUE if it can be remotely controlled, FALSE otherwise (this property directly affects the attributebEnergyRemote)u8PowerProfileStateis a value indicating the current state of the power profile (enumerations are provided - see Section 21.9.2)u16StartAfteris the minimum time-delay, in minutes, to be implemented between an instruction to start the power profile schedule and actually starting the scheduleu16StopBeforeis the maximum time-delay, in minutes, to be implemented between an instruction to stop the power profile schedule and actually stopping the schedule
Parent topic:Structures