Package io.openems.edge.app.pvinverter
Class KostalPvInverter
java.lang.Object
io.openems.edge.core.appmanager.AbstractOpenemsApp<PROPERTY>
io.openems.edge.core.appmanager.AbstractEnumOpenemsApp<PROPERTY>
io.openems.edge.app.pvinverter.AbstractPvInverter<KostalPvInverter.Property>
io.openems.edge.app.pvinverter.KostalPvInverter
- All Implemented Interfaces:
OpenemsApp
public class KostalPvInverter
extends AbstractPvInverter<KostalPvInverter.Property>
implements OpenemsApp
Describes a App for Kostal PV-Inverter.
{
"appId":"App.PvInverter.Kostal",
"alias":"Kostal PV-Wechselrichter",
"instanceId": UUID,
"image": base64,
"properties":{
"PV_INVERTER_ID": "pvInverter0",
"MODBUS_ID": "modbus0",
"IP": "192.168.178.85",
"PORT": "1502",
"MODBUS_UNIT_ID": "71"
},
"appDescriptor": {
"websiteUrl": AppDescriptor.getWebsiteUrl()
}
}
-
Nested Class Summary
Nested Classes -
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
ConstructorsConstructorDescriptionKostalPvInverter
(ComponentManager componentManager, org.osgi.service.component.ComponentContext context, org.osgi.service.cm.ConfigurationAdmin cm, ComponentUtil componentUtil) -
Method Summary
Modifier and TypeMethodDescriptionprotected ThrowingTriFunction<ConfigurationTarget,
EnumMap<KostalPvInverter.Property, com.google.gson.JsonElement>, Language, AppConfiguration, OpenemsError.OpenemsNamedException> getAppAssistant
(Language language) Gets theAppAssistant
for thisOpenemsApp
.Gets theAppDescriptor
of theOpenemsApp
.Gets theOpenemsAppCardinality
of theOpenemsApp
.protected Class<KostalPvInverter.Property>
Methods inherited from class io.openems.edge.app.pvinverter.AbstractPvInverter
buildIp, buildModbusUnitId, buildPort, getCategories, getComponents
Methods inherited from class io.openems.edge.core.appmanager.AbstractEnumOpenemsApp
appPropertyConfigurationFactory, getId, 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
getAppConfiguration, getAppId, getAppPermissions, getCategories, getImage, getName, getProperties, getValidatorConfig, validate
-
Constructor Details
-
KostalPvInverter
public KostalPvInverter(ComponentManager componentManager, org.osgi.service.component.ComponentContext context, org.osgi.service.cm.ConfigurationAdmin cm, ComponentUtil componentUtil)
-
-
Method Details
-
appConfigurationFactory
protected ThrowingTriFunction<ConfigurationTarget,EnumMap<KostalPvInverter.Property, appConfigurationFactory()com.google.gson.JsonElement>, Language, AppConfiguration, OpenemsError.OpenemsNamedException> - Specified by:
appConfigurationFactory
in classAbstractEnumOpenemsApp<KostalPvInverter.Property>
-
getAppAssistant
Description copied from interface:OpenemsApp
Gets theAppAssistant
for thisOpenemsApp
.- Specified by:
getAppAssistant
in interfaceOpenemsApp
- Parameters:
language
- the language of theAppAssistant
- Returns:
- the AppAssistant
-
getAppDescriptor
Description copied from interface:OpenemsApp
Gets theAppDescriptor
of theOpenemsApp
.- Specified by:
getAppDescriptor
in interfaceOpenemsApp
- Returns:
- the
AppDescriptor
-
getPropertyClass
- Specified by:
getPropertyClass
in classAbstractEnumOpenemsApp<KostalPvInverter.Property>
-
getCardinality
Description copied from interface:OpenemsApp
Gets theOpenemsAppCardinality
of theOpenemsApp
.- Specified by:
getCardinality
in interfaceOpenemsApp
- Returns:
- the usage
-