Class StromdaoCorrently
java.lang.Object
io.openems.edge.core.appmanager.AbstractOpenemsApp<StromdaoCorrently.Property>
io.openems.edge.core.appmanager.AbstractOpenemsAppWithProps<StromdaoCorrently,StromdaoCorrently.Property,Type.Parameter.BundleParameter>
io.openems.edge.app.timeofusetariff.StromdaoCorrently
- All Implemented Interfaces:
ComponentManagerSupplier
,ComponentUtilSupplier
,OpenemsApp
public class StromdaoCorrently
extends AbstractOpenemsAppWithProps<StromdaoCorrently,StromdaoCorrently.Property,Type.Parameter.BundleParameter>
implements OpenemsApp
Describes a App for StromdaoCorrently.
{ "appId":"App.TimeOfUseTariff.Stromdao", "alias":"Stromdao Corrently", "instanceId": UUID, "image": base64, "properties":{ "CTRL_ESS_TIME_OF_USE_TARIFF_ID": "ctrlEssTimeOfUseTariff0", "TIME_OF_USE_TARIFF_PROVIDER_ID": "timeOfUseTariff0", "ZIP_CODE": "12345678", "CONTROL_MODE":}, "appDescriptor": { "websiteUrl":invalid reference
ControlMode
AppDescriptor.getWebsiteUrl()
} }
-
Nested Class Summary
Nested classes/interfaces inherited from class io.openems.edge.core.appmanager.AbstractOpenemsAppWithProps
AbstractOpenemsAppWithProps.Singleton<T>
-
Field Summary
Fields inherited from class io.openems.edge.core.appmanager.AbstractOpenemsApp
cm, componentContext, componentManager, componentUtil
Fields inherited from interface io.openems.edge.core.appmanager.OpenemsApp
FALLBACK_IMAGE
-
Constructor Summary
ConstructorDescriptionStromdaoCorrently
(ComponentManager componentManager, org.osgi.service.component.ComponentContext context, org.osgi.service.cm.ConfigurationAdmin cm, ComponentUtil componentUtil) -
Method Summary
Modifier and TypeMethodDescriptionprotected ThrowingTriFunction
<ConfigurationTarget, Map<StromdaoCorrently.Property, com.google.gson.JsonElement>, Language, AppConfiguration, OpenemsError.OpenemsNamedException> Provides a factory forAppConfigurations
.protected StromdaoCorrently
getApp()
Gets theAppDescriptor
of theOpenemsApp
.Gets theOpenemsAppCardinality
of theOpenemsApp
.Gets theOpenemsAppCategory
of theOpenemsApp
.protected ValidatorConfig.Builder
protected StromdaoCorrently.Property[]
Methods inherited from class io.openems.edge.core.appmanager.AbstractOpenemsAppWithProps
flags, getAppAssistant, getAppConfiguration, getBoolean, getBoolean, getEnum, getEnum, getId, getInt, getInt, getJsonArray, getProperties, getStatus, getString, getString, getString, getValueOrDefault
Methods inherited from class io.openems.edge.core.appmanager.AbstractOpenemsApp
base64OfImage, createResourceBundle, fillUpProperties, getAppAssistant, getAppId, getAppPermissions, getComponentManager, getComponentUtil, getComponentWithFactoryId, getId, getImage, getName, getNullableTranslation, getPropertyByName, getShortName, getTranslation, getTranslationBundle, getValidatorConfig, getValueOrDefault, hasProperty, installationValidation
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.core.appmanager.OpenemsApp
flags, getAppAssistant, getAppConfiguration, getAppId, getAppPermissions, getImage, getName, getProperties, getShortName, getValidatorConfig
-
Constructor Details
-
StromdaoCorrently
public StromdaoCorrently(ComponentManager componentManager, org.osgi.service.component.ComponentContext context, org.osgi.service.cm.ConfigurationAdmin cm, ComponentUtil componentUtil)
-
-
Method Details
-
appPropertyConfigurationFactory
protected ThrowingTriFunction<ConfigurationTarget,Map<StromdaoCorrently.Property, appPropertyConfigurationFactory()com.google.gson.JsonElement>, Language, AppConfiguration, OpenemsError.OpenemsNamedException> Description copied from class:AbstractOpenemsApp
Provides a factory forAppConfigurations
.- Specified by:
appPropertyConfigurationFactory
in classAbstractOpenemsApp<StromdaoCorrently.Property>
- Returns:
- a
ThrowingFunction
that creates aAppConfiguration
from aMap
of configuration properties for a givenConfigurationTarget
in the specified language.
-
getAppDescriptor
Description copied from interface:OpenemsApp
Gets theAppDescriptor
of theOpenemsApp
.- Specified by:
getAppDescriptor
in interfaceOpenemsApp
- Parameters:
oem
- theOpenemsEdgeOem
- Returns:
- the
AppDescriptor
-
getCategories
Description copied from interface:OpenemsApp
Gets theOpenemsAppCategory
of theOpenemsApp
.- Specified by:
getCategories
in interfaceOpenemsApp
- Returns:
- the category's
-
propertyValues
- Specified by:
propertyValues
in classAbstractOpenemsApp<StromdaoCorrently.Property>
-
getCardinality
Description copied from interface:OpenemsApp
Gets theOpenemsAppCardinality
of theOpenemsApp
.- Specified by:
getCardinality
in interfaceOpenemsApp
- Returns:
- the usage
-
getValidateBuilder
- Overrides:
getValidateBuilder
in classAbstractOpenemsApp<StromdaoCorrently.Property>
-
getApp
- Specified by:
getApp
in classAbstractOpenemsAppWithProps<StromdaoCorrently,
StromdaoCorrently.Property, Type.Parameter.BundleParameter>
-