Versions in this module Expand all Collapse all v0 v0.5.0 May 18, 2024 Changes in this version + const DataUpdateCurrentsPerPhase + const DataUpdateEnergyConsumed + const DataUpdateEnergyProduced + const DataUpdateFrequency + const DataUpdatePower + const DataUpdatePowerPerPhase + const DataUpdateVoltagePerPhase + type UCMCPInterface interface + CurrentPerPhase func(entity spineapi.EntityRemoteInterface) ([]float64, error) + EnergyConsumed func(entity spineapi.EntityRemoteInterface) (float64, error) + EnergyProduced func(entity spineapi.EntityRemoteInterface) (float64, error) + Frequency func(entity spineapi.EntityRemoteInterface) (float64, error) + Power func(entity spineapi.EntityRemoteInterface) (float64, error) + PowerPerPhase func(entity spineapi.EntityRemoteInterface) ([]float64, error) + VoltagePerPhase func(entity spineapi.EntityRemoteInterface) ([]float64, error) + type UCMPC struct + func NewUCMPC(service eebusapi.ServiceInterface, eventCB api.EntityEventCallback) *UCMPC + func (c *UCMPC) UseCaseName() model.UseCaseNameType + func (e *UCMPC) AddFeatures() + func (e *UCMPC) AddUseCase() + func (e *UCMPC) CurrentPerPhase(entity spineapi.EntityRemoteInterface) ([]float64, error) + func (e *UCMPC) EnergyConsumed(entity spineapi.EntityRemoteInterface) (float64, error) + func (e *UCMPC) EnergyProduced(entity spineapi.EntityRemoteInterface) (float64, error) + func (e *UCMPC) Frequency(entity spineapi.EntityRemoteInterface) (float64, error) + func (e *UCMPC) HandleEvent(payload spineapi.EventPayload) + func (e *UCMPC) IsUseCaseSupported(entity spineapi.EntityRemoteInterface) (bool, error) + func (e *UCMPC) Power(entity spineapi.EntityRemoteInterface) (float64, error) + func (e *UCMPC) PowerPerPhase(entity spineapi.EntityRemoteInterface) ([]float64, error) + func (e *UCMPC) UpdateUseCaseAvailability(available bool) + func (e *UCMPC) VoltagePerPhase(entity spineapi.EntityRemoteInterface) ([]float64, error)