Class UnitType

java.lang.Object
org.yamcs.xtce.UnitType
All Implemented Interfaces:
Serializable

public class UnitType extends Object implements Serializable
Used to hold the unit(s) plus possibly the exponent and factor for the units
See Also:
  • Constructor Details

    • UnitType

      public UnitType(String unit)
  • Method Details

    • setDescription

      public void setDescription(String description)
    • getDescription

      public String getDescription()
    • getPower

      public double getPower()
    • setPower

      public void setPower(double power)
    • getFactor

      public String getFactor()
    • setFactor

      public void setFactor(String factor)
    • getUnit

      public String getUnit()
    • toString

      public String toString()
      Overrides:
      toString in class Object