Class FeneconHome20
java.lang.Object
io.openems.edge.core.appmanager.AbstractOpenemsApp<FeneconHome20.PropertyParent>
io.openems.edge.core.appmanager.AbstractOpenemsAppWithProps<FeneconHome20,FeneconHome20.PropertyParent,Type.Parameter.BundleParameter>
io.openems.edge.app.integratedsystem.FeneconHome20
- All Implemented Interfaces:
ComponentManagerSupplier
,ComponentUtilSupplier
,OpenemsApp
public class FeneconHome20
extends AbstractOpenemsAppWithProps<FeneconHome20,FeneconHome20.PropertyParent,Type.Parameter.BundleParameter>
implements OpenemsApp
Describes a FENECON Home 20 energy storage system.
{ "appId":"App.FENECON.Home.20", "alias":"FENECON Home 20", "instanceId": UUID, "image": base64, "properties":{ "SAFETY_COUNTRY":SafetyCountry
, "FEED_IN_TYPE":FeedInType
, "MAX_FEED_IN_POWER":5000, "FEED_IN_SETTING":"PU_ENABLE_CURVE", "GRID_METER_CATEGORY":"SMART_METER", "CT_RATIO_FIRST": 200, "HAS_AC_METER": false, "AC_METER_TYPE":AcMeterType
, "HAS_PV_[1-4]":true, // deprecated "PV_ALIAS_[1-4]":"PV [1-4]", // deprecated "HAS_MPPT_[1-2]":true, "MPPT_ALIAS_[1-2]":"MPPT [1-2]", "HAS_EMERGENCY_RESERVE":true, "EMERGENCY_RESERVE_ENABLED":true, "EMERGENCY_RESERVE_SOC":20, "SHADOW_MANAGEMENT_DISABLED":false }, "dependencies": [ { "key": "GRID_OPTIMIZED_CHARGE", "instanceId": UUID }, { "key": "SELF_CONSUMTION_OPTIMIZATION", "instanceId": UUID }, { "key": "PREPARE_BATTERY_EXTENSION", "instanceId": UUID }, { "key": "AC_METER", "instanceId": UUID } ], "appDescriptor": { "websiteUrl":AppDescriptor.getWebsiteUrl()
} }
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static interface
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
ConstructorDescriptionFeneconHome20
(ComponentManager componentManager, org.osgi.service.component.ComponentContext componentContext, org.osgi.service.cm.ConfigurationAdmin cm, ComponentUtil componentUtil) -
Method Summary
Modifier and TypeMethodDescriptionprotected ThrowingTriFunction
<ConfigurationTarget, Map<FeneconHome20.PropertyParent, com.google.gson.JsonElement>, Language, AppConfiguration, OpenemsError.OpenemsNamedException> Provides a factory forAppConfigurations
.protected FeneconHome20
getApp()
Gets theAppDescriptor
of theOpenemsApp
.Gets theOpenemsAppPermissions
of thisOpenemsApp
.Gets theOpenemsAppCardinality
of theOpenemsApp
.Gets theOpenemsAppCategory
of theOpenemsApp
.protected FeneconHome20.PropertyParent[]
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, getComponentManager, getComponentUtil, getComponentWithFactoryId, getId, getImage, getName, getNullableTranslation, getPropertyByName, getShortName, getTranslation, getTranslationBundle, getValidateBuilder, 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, getImage, getName, getProperties, getShortName, getValidatorConfig
-
Constructor Details
-
FeneconHome20
public FeneconHome20(ComponentManager componentManager, org.osgi.service.component.ComponentContext componentContext, org.osgi.service.cm.ConfigurationAdmin cm, ComponentUtil componentUtil)
-
-
Method Details
-
appPropertyConfigurationFactory
protected ThrowingTriFunction<ConfigurationTarget,Map<FeneconHome20.PropertyParent, appPropertyConfigurationFactory()com.google.gson.JsonElement>, Language, AppConfiguration, OpenemsError.OpenemsNamedException> Description copied from class:AbstractOpenemsApp
Provides a factory forAppConfigurations
.- Specified by:
appPropertyConfigurationFactory
in classAbstractOpenemsApp<FeneconHome20.PropertyParent>
- Returns:
- a
ThrowingFunction
that creates aAppConfiguration
from aMap
of configuration properties for a givenConfigurationTarget
in the specified language.
-
getApp
- Specified by:
getApp
in classAbstractOpenemsAppWithProps<FeneconHome20,
FeneconHome20.PropertyParent, Type.Parameter.BundleParameter>
-
getAppDescriptor
Description copied from interface:OpenemsApp
Gets theAppDescriptor
of theOpenemsApp
.- Specified by:
getAppDescriptor
in interfaceOpenemsApp
- Parameters:
oem
- theOpenemsEdgeOem
- Returns:
- the
AppDescriptor
-
getAppPermissions
Description copied from interface:OpenemsApp
Gets theOpenemsAppPermissions
of thisOpenemsApp
.- Specified by:
getAppPermissions
in interfaceOpenemsApp
- Overrides:
getAppPermissions
in classAbstractOpenemsApp<FeneconHome20.PropertyParent>
- Returns:
- the permissions
-
getCardinality
Description copied from interface:OpenemsApp
Gets theOpenemsAppCardinality
of theOpenemsApp
.- Specified by:
getCardinality
in interfaceOpenemsApp
- Returns:
- the usage
-
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<FeneconHome20.PropertyParent>
-