Package io.openems.edge.app.meter
Class AbstractMeterApp<PROPERTY extends Enum<PROPERTY> & Nameable>
java.lang.Object
io.openems.edge.core.appmanager.AbstractOpenemsApp<PROPERTY>
io.openems.edge.core.appmanager.AbstractEnumOpenemsApp<PROPERTY>
io.openems.edge.app.meter.AbstractMeterApp<PROPERTY>
- All Implemented Interfaces:
OpenemsApp
- Direct Known Subclasses:
CarloGavazziMeter
,JanitzaMeter
,KdkMeter
,SocomecMeter
public abstract class AbstractMeterApp<PROPERTY extends Enum<PROPERTY> & Nameable>
extends AbstractEnumOpenemsApp<PROPERTY>
-
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
ConstructorsModifierConstructorDescriptionprotected
AbstractMeterApp
(ComponentManager componentManager, org.osgi.service.component.ComponentContext componentContext, org.osgi.service.cm.ConfigurationAdmin cm, ComponentUtil componentUtil) -
Method Summary
Modifier and TypeMethodDescriptionprotected final com.google.gson.JsonArray
buildMeterOptions
(Language language) final OpenemsAppCategory[]
Gets theOpenemsAppCategory
of theOpenemsApp
.Methods inherited from class io.openems.edge.core.appmanager.AbstractEnumOpenemsApp
appConfigurationFactory, appPropertyConfigurationFactory, getId, getPropertyClass, getValueOrDefault, propertyValues
Methods inherited from class io.openems.edge.core.appmanager.AbstractOpenemsApp
assertCheckables, base64OfImage, getAppConfiguration, getAppId, getAppPermissions, getComponentWithFactoryId, getId, getImage, getName, getProperties, getPropertyByName, getTranslation, getTranslationBundle, getValidateBuilder, getValidationErrors, 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, getAppDescriptor, getCardinality
-
Constructor Details
-
AbstractMeterApp
protected AbstractMeterApp(ComponentManager componentManager, org.osgi.service.component.ComponentContext componentContext, org.osgi.service.cm.ConfigurationAdmin cm, ComponentUtil componentUtil)
-
-
Method Details
-
getCategories
Description copied from interface:OpenemsApp
Gets theOpenemsAppCategory
of theOpenemsApp
.- Returns:
- the category's
-
buildMeterOptions
-