Class SmartHomeUnits

  • All Implemented Interfaces:
    javax.measure.spi.SystemOfUnits, tec.uom.lib.common.function.Nameable

    @NonNullByDefault
    public final class SmartHomeUnits
    extends tec.uom.se.AbstractSystemOfUnits
    Delegate common units to Units to hide this dependency from the rest of openHAB. See members of Units for a detailed description. Also: Define common additional units used in SIUnits and ImperialUnits.
    Author:
    Henning Treu - Initial contribution
    • Field Detail

      • METRE_PER_SQUARE_SECOND

        public static final javax.measure.Unit<javax.measure.quantity.Acceleration> METRE_PER_SQUARE_SECOND
      • STANDARD_GRAVITY

        public static final javax.measure.Unit<javax.measure.quantity.Acceleration> STANDARD_GRAVITY
      • MOLE

        public static final javax.measure.Unit<javax.measure.quantity.AmountOfSubstance> MOLE
      • DEUTSCHE_HAERTE

        public static final javax.measure.Unit<javax.measure.quantity.AmountOfSubstance> DEUTSCHE_HAERTE
      • DEGREE_ANGLE

        public static final javax.measure.Unit<javax.measure.quantity.Angle> DEGREE_ANGLE
      • RADIAN

        public static final javax.measure.Unit<javax.measure.quantity.Angle> RADIAN
      • DOBSON_UNIT

        public static final javax.measure.Unit<ArealDensity> DOBSON_UNIT
      • KATAL

        public static final javax.measure.Unit<javax.measure.quantity.CatalyticActivity> KATAL
      • KILOGRAM_PER_CUBICMETRE

        public static final javax.measure.Unit<Density> KILOGRAM_PER_CUBICMETRE
      • MICROGRAM_PER_CUBICMETRE

        public static final javax.measure.Unit<Density> MICROGRAM_PER_CUBICMETRE
      • ONE

        public static final javax.measure.Unit<javax.measure.quantity.Dimensionless> ONE
      • PERCENT

        public static final javax.measure.Unit<javax.measure.quantity.Dimensionless> PERCENT
      • PARTS_PER_MILLION

        public static final javax.measure.Unit<javax.measure.quantity.Dimensionless> PARTS_PER_MILLION
      • DECIBEL

        public static final javax.measure.Unit<javax.measure.quantity.Dimensionless> DECIBEL
      • AMPERE

        public static final javax.measure.Unit<javax.measure.quantity.ElectricCurrent> AMPERE
      • FARAD

        public static final javax.measure.Unit<javax.measure.quantity.ElectricCapacitance> FARAD
      • COULOMB

        public static final javax.measure.Unit<javax.measure.quantity.ElectricCharge> COULOMB
      • SIEMENS

        public static final javax.measure.Unit<javax.measure.quantity.ElectricConductance> SIEMENS
      • HENRY

        public static final javax.measure.Unit<javax.measure.quantity.ElectricInductance> HENRY
      • VOLT

        public static final javax.measure.Unit<javax.measure.quantity.ElectricPotential> VOLT
      • OHM

        public static final javax.measure.Unit<javax.measure.quantity.ElectricResistance> OHM
      • JOULE

        public static final javax.measure.Unit<javax.measure.quantity.Energy> JOULE
      • WATT_SECOND

        public static final javax.measure.Unit<javax.measure.quantity.Energy> WATT_SECOND
      • WATT_HOUR

        public static final javax.measure.Unit<javax.measure.quantity.Energy> WATT_HOUR
      • KILOWATT_HOUR

        public static final javax.measure.Unit<javax.measure.quantity.Energy> KILOWATT_HOUR
      • MEGAWATT_HOUR

        public static final javax.measure.Unit<javax.measure.quantity.Energy> MEGAWATT_HOUR
      • KILOVAR

        public static final javax.measure.Unit<javax.measure.quantity.Power> KILOVAR
      • KILOVAR_HOUR

        public static final javax.measure.Unit<javax.measure.quantity.Energy> KILOVAR_HOUR
      • NEWTON

        public static final javax.measure.Unit<javax.measure.quantity.Force> NEWTON
      • HERTZ

        public static final javax.measure.Unit<javax.measure.quantity.Frequency> HERTZ
      • IRRADIANCE

        public static final javax.measure.Unit<Intensity> IRRADIANCE
      • MICROWATT_PER_SQUARE_CENTIMETRE

        public static final javax.measure.Unit<Intensity> MICROWATT_PER_SQUARE_CENTIMETRE
      • LUX

        public static final javax.measure.Unit<javax.measure.quantity.Illuminance> LUX
      • LUMEN

        public static final javax.measure.Unit<javax.measure.quantity.LuminousFlux> LUMEN
      • CANDELA

        public static final javax.measure.Unit<javax.measure.quantity.LuminousIntensity> CANDELA
      • WEBER

        public static final javax.measure.Unit<javax.measure.quantity.MagneticFlux> WEBER
      • TESLA

        public static final javax.measure.Unit<javax.measure.quantity.MagneticFluxDensity> TESLA
      • WATT

        public static final javax.measure.Unit<javax.measure.quantity.Power> WATT
      • DECIBEL_MILLIWATTS

        public static final javax.measure.Unit<javax.measure.quantity.Power> DECIBEL_MILLIWATTS
      • MILLIMETRE_OF_MERCURY

        public static final javax.measure.Unit<javax.measure.quantity.Pressure> MILLIMETRE_OF_MERCURY
      • BAR

        public static final javax.measure.Unit<javax.measure.quantity.Pressure> BAR
      • MILLIBAR

        public static final javax.measure.Unit<javax.measure.quantity.Pressure> MILLIBAR
      • BECQUEREL

        public static final javax.measure.Unit<javax.measure.quantity.Radioactivity> BECQUEREL
      • GRAY

        public static final javax.measure.Unit<javax.measure.quantity.RadiationDoseAbsorbed> GRAY
      • SIEVERT

        public static final javax.measure.Unit<javax.measure.quantity.RadiationDoseEffective> SIEVERT
      • MILLIMETRE_PER_HOUR

        public static final javax.measure.Unit<javax.measure.quantity.Speed> MILLIMETRE_PER_HOUR
      • INCHES_PER_HOUR

        public static final javax.measure.Unit<javax.measure.quantity.Speed> INCHES_PER_HOUR
      • METRE_PER_SECOND

        public static final javax.measure.Unit<javax.measure.quantity.Speed> METRE_PER_SECOND
      • KNOT

        public static final javax.measure.Unit<javax.measure.quantity.Speed> KNOT
      • STERADIAN

        public static final javax.measure.Unit<javax.measure.quantity.SolidAngle> STERADIAN
      • KELVIN

        public static final javax.measure.Unit<javax.measure.quantity.Temperature> KELVIN
      • SECOND

        public static final javax.measure.Unit<javax.measure.quantity.Time> SECOND
      • MINUTE

        public static final javax.measure.Unit<javax.measure.quantity.Time> MINUTE
      • HOUR

        public static final javax.measure.Unit<javax.measure.quantity.Time> HOUR
      • DAY

        public static final javax.measure.Unit<javax.measure.quantity.Time> DAY
      • WEEK

        public static final javax.measure.Unit<javax.measure.quantity.Time> WEEK
      • YEAR

        public static final javax.measure.Unit<javax.measure.quantity.Time> YEAR
      • LITRE

        public static final javax.measure.Unit<javax.measure.quantity.Volume> LITRE
      • LITRE_PER_MINUTE

        public static final javax.measure.Unit<VolumetricFlowRate> LITRE_PER_MINUTE
      • CUBICMETRE_PER_SECOND

        public static final javax.measure.Unit<VolumetricFlowRate> CUBICMETRE_PER_SECOND
      • CUBICMETRE_PER_MINUTE

        public static final javax.measure.Unit<VolumetricFlowRate> CUBICMETRE_PER_MINUTE
      • CUBICMETRE_PER_HOUR

        public static final javax.measure.Unit<VolumetricFlowRate> CUBICMETRE_PER_HOUR
      • CUBICMETRE_PER_DAY

        public static final javax.measure.Unit<VolumetricFlowRate> CUBICMETRE_PER_DAY
      • BIT

        public static final javax.measure.Unit<DataAmount> BIT
      • MEGABIT

        public static final javax.measure.Unit<DataAmount> MEGABIT
      • KILOBIT

        public static final javax.measure.Unit<DataAmount> KILOBIT
      • GIGABIT

        public static final javax.measure.Unit<DataAmount> GIGABIT
      • TERABIT

        public static final javax.measure.Unit<DataAmount> TERABIT
      • BYTE

        public static final javax.measure.Unit<DataAmount> BYTE
      • OCTET

        public static final javax.measure.Unit<DataAmount> OCTET
      • KIBIOCTET

        public static final javax.measure.Unit<DataAmount> KIBIOCTET
      • MEBIOCTET

        public static final javax.measure.Unit<DataAmount> MEBIOCTET
      • GIBIOCTET

        public static final javax.measure.Unit<DataAmount> GIBIOCTET
      • BIT_PER_SECOND

        public static final javax.measure.Unit<DataTransferRate> BIT_PER_SECOND
      • KILOBIT_PER_SECOND

        public static final javax.measure.Unit<DataTransferRate> KILOBIT_PER_SECOND
      • MEGABIT_PER_SECOND

        public static final javax.measure.Unit<DataTransferRate> MEGABIT_PER_SECOND
      • GIGABIT_PER_SECOND

        public static final javax.measure.Unit<DataTransferRate> GIGABIT_PER_SECOND
      • TERABIT_PER_SECOND

        public static final javax.measure.Unit<DataTransferRate> TERABIT_PER_SECOND
    • Method Detail

      • getInstance

        public static javax.measure.spi.SystemOfUnits getInstance()
        Returns the unique instance of this class.
        Returns:
        the Units instance.
      • getName

        public String getName()
        Specified by:
        getName in interface tec.uom.lib.common.function.Nameable
        Specified by:
        getName in interface javax.measure.spi.SystemOfUnits
        Specified by:
        getName in class tec.uom.se.AbstractSystemOfUnits