Class PersistenceModelPredictorImpl
- java.lang.Object
-
- io.openems.edge.common.component.AbstractOpenemsComponent
-
- io.openems.edge.predictor.api.oneday.AbstractPredictor24Hours
-
- io.openems.edge.predictor.persistencemodel.PersistenceModelPredictorImpl
-
- All Implemented Interfaces:
OpenemsComponent
,Predictor24Hours
public class PersistenceModelPredictorImpl extends AbstractPredictor24Hours implements Predictor24Hours, OpenemsComponent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.openems.edge.predictor.api.oneday.AbstractPredictor24Hours
AbstractPredictor24Hours.PredictionContainer
-
Nested classes/interfaces inherited from interface io.openems.edge.common.component.OpenemsComponent
OpenemsComponent.ChannelId
-
-
Constructor Summary
Constructors Constructor Description PersistenceModelPredictorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
activate(org.osgi.service.component.ComponentContext context, io.openems.edge.predictor.persistencemodel.Config config)
protected Prediction24Hours
createNewPrediction(ChannelAddress channelAddress)
protected void
deactivate()
Handles @Deactivate of implementations.protected ClockProvider
getClockProvider()
-
Methods inherited from class io.openems.edge.predictor.api.oneday.AbstractPredictor24Hours
activate, activate, get24HoursPrediction, getChannelAddresses
-
Methods inherited from class io.openems.edge.common.component.AbstractOpenemsComponent
_channel, activate, addChannel, addChannels, addChannels, alias, channels, getComponentContext, id, isEnabled, logDebug, logError, logInfo, logWarn, modified, removeChannel
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.openems.edge.common.component.OpenemsComponent
_channel, _getChannelAs, alias, channel, channel, channels, debugLog, getComponentContext, getState, getStateChannel, hasFaults, id, isEnabled, serviceFactoryPid, servicePid
-
Methods inherited from interface io.openems.edge.predictor.api.oneday.Predictor24Hours
get24HoursPrediction, getChannelAddresses
-
-
-
-
Constructor Detail
-
PersistenceModelPredictorImpl
public PersistenceModelPredictorImpl() throws OpenemsError.OpenemsNamedException
-
-
Method Detail
-
activate
protected void activate(org.osgi.service.component.ComponentContext context, io.openems.edge.predictor.persistencemodel.Config config) throws OpenemsError.OpenemsNamedException
-
deactivate
protected void deactivate()
Description copied from class:AbstractOpenemsComponent
Handles @Deactivate of implementations. Prints log output.- Overrides:
deactivate
in classAbstractOpenemsComponent
-
createNewPrediction
protected Prediction24Hours createNewPrediction(ChannelAddress channelAddress)
- Specified by:
createNewPrediction
in classAbstractPredictor24Hours
-
getClockProvider
protected ClockProvider getClockProvider()
- Specified by:
getClockProvider
in classAbstractPredictor24Hours
-
-