Package io.openems.common
Class OpenemsConstants
java.lang.Object
io.openems.common.OpenemsConstants
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The manufacturer of the device that is running OpenEMS.static final String
The Energy-Management-System serial number of the device.static final String
The model identifier of the device.static final String
The options of the device.static final String
The serial number of the device.static final String
The version of the device.static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final SemanticVersion
The complete version as a SemanticVersion.static final short
The major version of OpenEMS.static final short
The minor version of OpenEMS.static final short
The patch version of OpenEMS.static final String
The additional version string. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final String
Gets the path of the OpenEMS Data Directory, configured by "openems.data.dir" command line parameter.
-
Field Details
-
VERSION_MAJOR
public static final short VERSION_MAJORThe major version of OpenEMS.This is the year of the release.
- See Also:
-
VERSION_MINOR
public static final short VERSION_MINORThe minor version of OpenEMS.This is the month of the release.
- See Also:
-
VERSION_PATCH
public static final short VERSION_PATCHThe patch version of OpenEMS.This is always `0` for OpenEMS open source releases and reserved for private distributions.
- See Also:
-
VERSION_STRING
The additional version string.- See Also:
-
VERSION
The complete version as a SemanticVersion.Use toString()-method to get something like "2022.1.0-SNAPSHOT"
-
MANUFACTURER
The manufacturer of the device that is running OpenEMS.Note: this should be max. 32 ASCII characters long
- See Also:
-
MANUFACTURER_MODEL
The model identifier of the device.Note: this should be max. 32 ASCII characters long
- See Also:
-
MANUFACTURER_OPTIONS
The options of the device.Note: this should be max. 32 ASCII characters long
- See Also:
-
MANUFACTURER_VERSION
The version of the device.Note: this should be max. 32 ASCII characters long
- See Also:
-
MANUFACTURER_SERIAL_NUMBER
The serial number of the device.Note: this should be max. 32 ASCII characters long
- See Also:
-
MANUFACTURER_EMS_SERIAL_NUMBER
The Energy-Management-System serial number of the device.Note: this should be max. 32 ASCII characters long
-
PROPERTY_COMPONENT_ID
- See Also:
-
PROPERTY_OSGI_COMPONENT_ID
- See Also:
-
PROPERTY_OSGI_COMPONENT_NAME
- See Also:
-
PROPERTY_PID
- See Also:
-
PROPERTY_FACTORY_PID
- See Also:
-
PROPERTY_LAST_CHANGE_BY
- See Also:
-
PROPERTY_LAST_CHANGE_AT
- See Also:
-
-
Constructor Details
-
OpenemsConstants
public OpenemsConstants()
-
-
Method Details
-
getOpenemsDataDir
Gets the path of the OpenEMS Data Directory, configured by "openems.data.dir" command line parameter.- Returns:
- the path of the OpenEMS Data Directory
-