Class TimeOfUseProps
java.lang.Object
io.openems.edge.app.timeofusetariff.TimeOfUseProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic final ArrayList
<EdgeConfig.Component> getComponents
(ConfigurationTarget target, String ctrlEssTimeOfUseTariffId, String controllerAlias, String providerFactoryId, String providerAlias, String timeOfUseTariffProviderId, Consumer<JsonUtils.JsonObjectBuilder> additionalProperties) Creates the commonly used components for a Time-of-Use.
-
Method Details
-
getComponents
public static final ArrayList<EdgeConfig.Component> getComponents(ConfigurationTarget target, String ctrlEssTimeOfUseTariffId, String controllerAlias, String providerFactoryId, String providerAlias, String timeOfUseTariffProviderId, Consumer<JsonUtils.JsonObjectBuilder> additionalProperties) Creates the commonly used components for a Time-of-Use.- Parameters:
target
- theConfigurationTarget
ctrlEssTimeOfUseTariffId
- The id of the ToU controller.controllerAlias
- the alias of the ToU controller.providerFactoryId
- the factoryId of the ToU provider.providerAlias
- the alias of the ToU provider.timeOfUseTariffProviderId
- the id of the ToU provider.additionalProperties
- Consumer for additional configuration of the provider.- Returns:
- the components.
-