Enum Battery.ChannelId

    • Enum Constant Detail

      • SOC

        public static final Battery.ChannelId SOC
        State of Charge.
        • Interface: Battery
        • Type: Integer
        • Unit: %
        • Range: 0..100
      • SOH

        public static final Battery.ChannelId SOH
        State of Health.
        • Interface: Battery
        • Type: Integer
        • Unit: %
        • Range: 0..100
      • VOLTAGE

        public static final Battery.ChannelId VOLTAGE
        Voltage of battery.
        • Interface: Battery
        • Type: Integer
        • Unit: V
      • CURRENT

        public static final Battery.ChannelId CURRENT
        Current of battery.
        • Interface: Battery
        • Type: Integer
        • Unit: A
      • CAPACITY

        public static final Battery.ChannelId CAPACITY
        Capacity of battery.
        • Interface: Battery
        • Type: Integer
        • Unit: Wh
      • CHARGE_MAX_VOLTAGE

        public static final Battery.ChannelId CHARGE_MAX_VOLTAGE
        Maximal voltage for charging.
        • Interface: Battery
        • Type: Integer
        • Unit: V
      • CHARGE_MAX_CURRENT

        public static final Battery.ChannelId CHARGE_MAX_CURRENT
        Maximum current for charging.
        • Interface: Battery
        • Type: Integer
        • Unit: A
        • Usually positive, negative for force discharge mode
      • DISCHARGE_MIN_VOLTAGE

        public static final Battery.ChannelId DISCHARGE_MIN_VOLTAGE
        Minimal voltage for discharging.
        • Interface: Battery
        • Type: Integer
        • Unit: V
      • DISCHARGE_MAX_CURRENT

        public static final Battery.ChannelId DISCHARGE_MAX_CURRENT
        Maximum current for discharging.
        • Interface: Battery
        • Type: Integer
        • Unit: A
        • Usually positive, negative for force charge mode
      • MIN_CELL_TEMPERATURE

        public static final Battery.ChannelId MIN_CELL_TEMPERATURE
        Minimal Cell Temperature.
        • Interface: Battery
        • Type: Integer
        • Unit: Celsius
      • MAX_CELL_TEMPERATURE

        public static final Battery.ChannelId MAX_CELL_TEMPERATURE
        Maximum Cell Temperature.
        • Interface: Battery
        • Type: Integer
        • Unit: Celsius
        • Range: (-50)..100
      • MIN_CELL_VOLTAGE

        public static final Battery.ChannelId MIN_CELL_VOLTAGE
        Minimal cell voltage.
        • Interface: Battery
        • Type: Integer
        • Unit: mV
      • MAX_CELL_VOLTAGE

        public static final Battery.ChannelId MAX_CELL_VOLTAGE
        Maximum cell voltage.
        • Interface: Battery
        • Type: Integer
        • Unit: mV
    • Method Detail

      • values

        public static Battery.ChannelId[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Battery.ChannelId c : Battery.ChannelId.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Battery.ChannelId valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • doc

        public Doc doc()
        Description copied from interface: ChannelId
        Gets the Channel Doc for this ChannelId.
        Specified by:
        doc in interface ChannelId
        Returns:
        the Channel-Doc