Class BarUnit

java.lang.Object
com.tccc.kos.commons.util.units.Unit
com.tccc.kos.commons.util.units.impl.BarUnit

public class BarUnit extends Unit
A Unit class that represents pressure in bars.

This is the kOS standard unit for pressure.

Since:
1.0
Version:
2023-02-28
  • Constructor Details

    • BarUnit

      public BarUnit()
      Creates a BarUnit with no alias and default set to true.
    • BarUnit

      public BarUnit(String alias, boolean def)
      Creates a BarUnit with the specified alias and default flag.
      Parameters:
      alias - alias for the unit
      def - true for unit to be default in the system