Class POWER_EVENT


  • public class POWER_EVENT
    extends java.lang.Object
    Contains the parameters of power event and getters/setters of those parameters. This class is used to manage the received power event data and used by corresponding event handlers.
    • Constructor Detail

      • POWER_EVENT

        public POWER_EVENT()
    • Method Detail

      • getCause

        public java.lang.String getCause()
      • setCause

        public void setCause​(java.lang.String cause)
      • getVoltage

        public float getVoltage()
      • setVoltage

        public void setVoltage​(float voltage)
      • getCurrent

        public float getCurrent()
      • setCurrent

        public void setCurrent​(float current)
      • getPower

        public float getPower()
      • setPower

        public void setPower​(float power)