Class OpenemsConstants

java.lang.Object
io.openems.common.OpenemsConstants

public class OpenemsConstants extends Object
  • Field Details

    • VERSION_MAJOR

      public static final short VERSION_MAJOR
      The major version of OpenEMS.

      This is the year of the release.

      See Also:
    • VERSION_MINOR

      public static final short VERSION_MINOR
      The minor version of OpenEMS.

      This is the month of the release.

      See Also:
    • VERSION_PATCH

      public static final short VERSION_PATCH
      The patch version of OpenEMS.

      This is always `0` for OpenEMS open source releases and reserved for private distributions.

      See Also:
    • VERSION_STRING

      public static final String VERSION_STRING
      The additional version string.
      See Also:
    • VERSION

      public static final SemanticVersion VERSION
      The complete version as a SemanticVersion.

      Use toString()-method to get something like "2022.1.0-SNAPSHOT"

    • MANUFACTURER

      public static final String MANUFACTURER
      The manufacturer of the device that is running OpenEMS.

      Note: this should be max. 32 ASCII characters long

      See Also:
    • MANUFACTURER_MODEL

      public static final String MANUFACTURER_MODEL
      The model identifier of the device.

      Note: this should be max. 32 ASCII characters long

      See Also:
    • MANUFACTURER_OPTIONS

      public static final String MANUFACTURER_OPTIONS
      The options of the device.

      Note: this should be max. 32 ASCII characters long

      See Also:
    • MANUFACTURER_VERSION

      public static final String MANUFACTURER_VERSION
      The version of the device.

      Note: this should be max. 32 ASCII characters long

      See Also:
    • MANUFACTURER_SERIAL_NUMBER

      public static final String MANUFACTURER_SERIAL_NUMBER
      The serial number of the device.

      Note: this should be max. 32 ASCII characters long

      See Also:
    • MANUFACTURER_EMS_SERIAL_NUMBER

      public static final String 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

      public static final String PROPERTY_COMPONENT_ID
      See Also:
    • PROPERTY_OSGI_COMPONENT_ID

      public static final String PROPERTY_OSGI_COMPONENT_ID
      See Also:
    • PROPERTY_OSGI_COMPONENT_NAME

      public static final String PROPERTY_OSGI_COMPONENT_NAME
      See Also:
    • PROPERTY_PID

      public static final String PROPERTY_PID
      See Also:
    • PROPERTY_FACTORY_PID

      public static final String PROPERTY_FACTORY_PID
      See Also:
    • PROPERTY_LAST_CHANGE_BY

      public static final String PROPERTY_LAST_CHANGE_BY
      See Also:
    • PROPERTY_LAST_CHANGE_AT

      public static final String PROPERTY_LAST_CHANGE_AT
      See Also:
  • Constructor Details

    • OpenemsConstants

      public OpenemsConstants()
  • Method Details

    • getOpenemsDataDir

      public static final String 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