Class OpenemsConstants


  • public class OpenemsConstants
    extends java.lang.Object
    • Field Detail

      • VERSION_MAJOR

        public static final short VERSION_MAJOR
        The major version of OpenEMS. This is usually the year of the release
        See Also:
        Constant Field Values
      • VERSION_MINOR

        public static final short VERSION_MINOR
        The minor version of OpenEMS. This is usually the number of the sprint within the year
        See Also:
        Constant Field Values
      • VERSION_PATCH

        public static final short VERSION_PATCH
        The patch version of OpenEMS. This is the number of the bugfix release
        See Also:
        Constant Field Values
      • VERSION_STRING

        public static final java.lang.String VERSION_STRING
        The additional version string
        See Also:
        Constant Field Values
      • VERSION

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

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

      • MANUFACTURER

        public static final java.lang.String MANUFACTURER
        The manufacturer of the device that is running OpenEMS Note: this should be max. 32 ASCII characters long
        See Also:
        Constant Field Values
      • MANUFACTURER_MODEL

        public static final java.lang.String MANUFACTURER_MODEL
        The model identifier of the device Note: this should be max. 32 ASCII characters long
        See Also:
        Constant Field Values
      • MANUFACTURER_OPTIONS

        public static final java.lang.String MANUFACTURER_OPTIONS
        The options of the device Note: this should be max. 32 ASCII characters long
        See Also:
        Constant Field Values
      • MANUFACTURER_VERSION

        public static final java.lang.String MANUFACTURER_VERSION
        The version of the device Note: this should be max. 32 ASCII characters long
        See Also:
        Constant Field Values
      • MANUFACTURER_SERIAL_NUMBER

        public static final java.lang.String MANUFACTURER_SERIAL_NUMBER
        The serial number of the device Note: this should be max. 32 ASCII characters long
        See Also:
        Constant Field Values
      • MANUFACTURER_EMS_SERIAL_NUMBER

        public static final java.lang.String MANUFACTURER_EMS_SERIAL_NUMBER
        The Energy-Management-System serial number of the device Note: this should be max. 32 ASCII characters long
        See Also:
        Constant Field Values
      • PROPERTY_COMPONENT_ID

        public static final java.lang.String PROPERTY_COMPONENT_ID
        See Also:
        Constant Field Values
      • PROPERTY_OSGI_COMPONENT_ID

        public static final java.lang.String PROPERTY_OSGI_COMPONENT_ID
        See Also:
        Constant Field Values
      • PROPERTY_OSGI_COMPONENT_NAME

        public static final java.lang.String PROPERTY_OSGI_COMPONENT_NAME
        See Also:
        Constant Field Values
      • PROPERTY_FACTORY_PID

        public static final java.lang.String PROPERTY_FACTORY_PID
        See Also:
        Constant Field Values
      • PROPERTY_LAST_CHANGE_BY

        public static final java.lang.String PROPERTY_LAST_CHANGE_BY
        See Also:
        Constant Field Values
      • PROPERTY_LAST_CHANGE_AT

        public static final java.lang.String PROPERTY_LAST_CHANGE_AT
        See Also:
        Constant Field Values
    • Constructor Detail

      • OpenemsConstants

        public OpenemsConstants()
    • Method Detail

      • getOpenemsDataDir

        public static final java.lang.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