Package io.openems.edge.app.evcs
Class HardyBarthEvcs
java.lang.Object
io.openems.edge.core.appmanager.AbstractOpenemsApp<PROPERTY>
io.openems.edge.core.appmanager.AbstractOpenemsAppWithProps<HardyBarthEvcs,HardyBarthEvcs.PropertyParent,Type.Parameter.BundleParameter>
io.openems.edge.app.evcs.HardyBarthEvcs
- All Implemented Interfaces:
OpenemsApp
public class HardyBarthEvcs
extends AbstractOpenemsAppWithProps<HardyBarthEvcs,HardyBarthEvcs.PropertyParent,Type.Parameter.BundleParameter>
implements OpenemsApp
Describes a Hardy Barth evcs App.
{
"appId":"App.Evcs.HardyBarth",
"alias":"eCharge Hardy Barth Ladestation",
"instanceId": UUID,
"image": base64,
"properties":{
"EVCS_ID": "evcs0",
"CTRL_EVCS_ID": "ctrlEvcs0",
"IP": "192.168.25.30",
"NUMBER_OF_CHARGING_STATIONS": 1,
"EVCS_ID_CP_2": "evcs0",
"CTRL_EVCS_ID_CP_2": "ctrlEvcs0",
"ALIAS_CP_2": "eCharge Hardy Barth Ladestation - Rechts",
"IP_CP_2": "192.168.25.31"
},
"appDescriptor": {
"websiteUrl": AppDescriptor.getWebsiteUrl()
}
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
static interface
static enum
static enum
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
ConstructorsConstructorDescriptionHardyBarthEvcs
(ComponentManager componentManager, org.osgi.service.component.ComponentContext componentContext, org.osgi.service.cm.ConfigurationAdmin cm, ComponentUtil componentUtil) -
Method Summary
Modifier and TypeMethodDescriptionprotected ThrowingTriFunction<ConfigurationTarget,
Map<HardyBarthEvcs.PropertyParent, com.google.gson.JsonElement>, Language, AppConfiguration, OpenemsError.OpenemsNamedException> Provides a factory forAppConfigurations
.protected HardyBarthEvcs
getApp()
Gets theAppDescriptor
of theOpenemsApp
.Gets theOpenemsAppCardinality
of theOpenemsApp
.Gets theOpenemsAppCategory
of theOpenemsApp
.protected HardyBarthEvcs.PropertyParent[]
Methods inherited from class io.openems.edge.core.appmanager.AbstractOpenemsAppWithProps
fillUpProperties, getAppAssistant, getAppConfiguration, getBoolean, getBoolean, getEnum, getEnum, getId, getInt, getInt, getJsonArray, getProperties, getString, getString, getValidationErrors, getValueOrDefault
Methods inherited from class io.openems.edge.core.appmanager.AbstractOpenemsApp
assertCheckables, base64OfImage, getAppId, getAppPermissions, getComponentWithFactoryId, getId, getImage, getName, getPropertyByName, getTranslation, getTranslationBundle, getValidateBuilder, getValidatorConfig, getValueOrDefault, hasProperty, installationValidation, validate
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
getAppAssistant, getAppConfiguration, getAppId, getAppPermissions, getImage, getName, getProperties, getValidatorConfig, validate
-
Constructor Details
-
HardyBarthEvcs
public HardyBarthEvcs(ComponentManager componentManager, org.osgi.service.component.ComponentContext componentContext, org.osgi.service.cm.ConfigurationAdmin cm, ComponentUtil componentUtil)
-
-
Method Details
-
appPropertyConfigurationFactory
protected ThrowingTriFunction<ConfigurationTarget,Map<HardyBarthEvcs.PropertyParent, appPropertyConfigurationFactory()com.google.gson.JsonElement>, Language, AppConfiguration, OpenemsError.OpenemsNamedException> Description copied from class:AbstractOpenemsApp
Provides a factory forAppConfigurations
.- Specified by:
appPropertyConfigurationFactory
in classAbstractOpenemsApp<HardyBarthEvcs.PropertyParent>
- 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
- Returns:
- the
AppDescriptor
-
propertyValues
- Specified by:
propertyValues
in classAbstractOpenemsApp<HardyBarthEvcs.PropertyParent>
-
getCardinality
Description copied from interface:OpenemsApp
Gets theOpenemsAppCardinality
of theOpenemsApp
.- Specified by:
getCardinality
in interfaceOpenemsApp
- Returns:
- the usage
-
getApp
- Specified by:
getApp
in classAbstractOpenemsAppWithProps<HardyBarthEvcs,
HardyBarthEvcs.PropertyParent, Type.Parameter.BundleParameter>
-
getCategories
Description copied from interface:OpenemsApp
Gets theOpenemsAppCategory
of theOpenemsApp
.- Specified by:
getCategories
in interfaceOpenemsApp
- Returns:
- the category's
-