Class PValue

java.lang.Object
edu.ie3.datamodel.models.value.PValue
All Implemented Interfaces:
Value, Serializable
Direct Known Subclasses:
HeatAndPValue, SValue

public class PValue extends Object implements Value
Describes a active power value as active power
See Also:
  • Constructor Details

    • PValue

      public PValue(tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power> p)
      Parameters:
      p - Active power
  • Method Details

    • getP

      public Optional<tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power>> getP()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object