pub enum EngineeringUnits {
Show 429 variants
SquareMeters,
SquareFeet,
Milliamperes,
Amperes,
Ohms,
Volts,
Kilovolts,
Megavolts,
VoltAmperes,
KilovoltAmperes,
MegavoltAmperes,
VoltAmperesReactive,
KilovoltAmperesReactive,
MegavoltAmperesReactive,
DegreesPhase,
PowerFactor,
Joules,
Kilojoules,
WattHours,
KilowattHours,
Btus,
Therms,
TonHours,
JoulesPerKilogramDryAir,
BtusPerPoundDryAir,
CyclesPerHour,
CyclesPerMinute,
Hertz,
GramsOfWaterPerKilogramDryAir,
PercentRelativeHumidity,
Millimeters,
Meters,
Inches,
Feet,
WattsPerSquareFoot,
WattsPerSquareMeter,
Lumens,
Luxes,
FootCandles,
Kilograms,
PoundsMass,
Tons,
KilogramsPerSecond,
KilogramsPerMinute,
KilogramsPerHour,
PoundsMassPerMinute,
PoundsMassPerHour,
Watts,
Kilowatts,
Megawatts,
BtusPerHour,
Horsepower,
TonsRefrigeration,
Pascals,
Kilopascals,
Bars,
PoundsForcePerSquareInch,
CentimetersOfWater,
InchesOfWater,
MillimetersOfMercury,
CentimetersOfMercury,
InchesOfMercury,
DegreesCelsius,
Kelvin,
DegreesFahrenheit,
DegreeDaysCelsius,
DegreeDaysFahrenheit,
Years,
Months,
Weeks,
Days,
Hours,
Minutes,
Seconds,
MetersPerSecond,
KilometersPerHour,
FeetPerSecond,
FeetPerMinute,
MilesPerHour,
CubicFeet,
CubicMeters,
ImperialGallons,
Liters,
UsGallons,
CubicFeetPerMinute,
CubicMetersPerSecond,
ImperialGallonsPerMinute,
LitersPerSecond,
LitersPerMinute,
UsGallonsPerMinute,
DegreesAngular,
DegreesCelsiusPerHour,
DegreesCelsiusPerMinute,
DegreesFahrenheitPerHour,
DegreesFahrenheitPerMinute,
NoUnits,
PartsPerMillion,
PartsPerBillion,
Percent,
PercentPerSecond,
PerMinute,
PerSecond,
PsiPerDegreeFahrenheit,
Radians,
RevolutionsPerMinute,
Currency1,
Currency2,
Currency3,
Currency4,
Currency5,
Currency6,
Currency7,
Currency8,
Currency9,
Currency10,
SquareInches,
SquareCentimeters,
BtusPerPound,
Centimeters,
PoundsMassPerSecond,
DeltaDegreesFahrenheit,
DeltaKelvin,
Kiloohms,
Megaohms,
Millivolts,
KilojoulesPerKilogram,
Megajoules,
JoulesPerKelvin,
JoulesPerKilogramKelvin,
Kilohertz,
Megahertz,
PerHour,
Milliwatts,
Hectopascals,
Millibars,
CubicMetersPerHour,
LitersPerHour,
KilowattHoursPerSquareMeter,
KilowattHoursPerSquareFoot,
MegajoulesPerSquareMeter,
MegajoulesPerSquareFoot,
WattsPerSquareMeterPerKelvin,
CubicFeetPerSecond,
PercentObscurationPerFoot,
PercentObscurationPerMeter,
Milliohms,
MegawattHours,
KiloBtus,
MegaBtus,
KilojoulesPerKilogramDryAir,
MegajoulesPerKilogramDryAir,
KilojoulesPerKelvin,
MegajoulesPerKelvin,
Newton,
GramsPerSecond,
GramsPerMinute,
TonsPerHour,
KiloBtusPerHour,
HundredthsSeconds,
Milliseconds,
NewtonMeters,
MillimetersPerSecond,
MillimetersPerMinute,
MetersPerMinute,
MetersPerHour,
CubicMetersPerMinute,
MetersPerSecondPerSecond,
AmperesPerMeter,
AmperesPerSquareMeter,
AmpereSquareMeters,
Farads,
Henrys,
OhmMeters,
Siemens,
SiemensPerMeter,
Teslas,
VoltsPerKelvin,
VoltsPerMeter,
Webers,
Candelas,
CandelasPerSquareMeter,
KelvinPerHour,
KelvinPerMinute,
JouleSeconds,
RadiansPerSecond,
SquareMetersPerNewton,
KilogramsPerCubicMeter,
NewtonSeconds,
NewtonsPerMeter,
WattsPerMeterPerKelvin,
Microsiemens,
CubicFeetPerHour,
UsGallonsPerHour,
Kilometers,
Micrometers,
Grams,
Milligrams,
Milliliters,
MillilitersPerSecond,
Decibels,
DecibelsMillivolt,
DecibelsVolt,
Millisiemens,
WattHoursReactive,
KilowattHoursReactive,
MegawattHoursReactive,
MillimetersOfWater,
PerMille,
GramsPerGram,
KilogramsPerKilogram,
GramsPerKilogram,
MilligramsPerGram,
MilligramsPerKilogram,
GramsPerMilliliter,
GramsPerLiter,
MilligramsPerLiter,
MicrogramsPerLiter,
GramsPerCubicMeter,
MilligramsPerCubicMeter,
MicrogramsPerCubicMeter,
NanogramsPerCubicMeter,
GramsPerCubicCentimeter,
Becquerels,
Kilobecquerels,
Megabecquerels,
Gray,
Milligray,
Microgray,
Sieverts,
Millisieverts,
Microsieverts,
MicrosievertsPerHour,
DecibelsA,
NephelometricTurbidityUnit,
Ph,
GramsPerSquareMeter,
MinutesPerKelvin,
OhmMeterSquaredPerMeter,
AmpereSeconds,
VoltAmpereHours,
KilovoltAmpereHours,
MegavoltAmpereHours,
VoltAmpereHoursReactive,
KilovoltAmpereHoursReactive,
MegavoltAmpereHoursReactive,
VoltSquareHours,
AmpereSquareHours,
JoulesPerHour,
CubicFeetPerDay,
CubicMetersPerDay,
WattHoursPerCubicMeter,
JoulesPerCubicMeter,
MolePercent,
PascalSeconds,
MillionStandardCubicFeetPerMinute,
StandardCubicFeetPerDay,
MillionStandardCubicFeetPerDay,
ThousandCubicFeetPerDay,
ThousandStandardCubicFeetPerDay,
PoundsMassPerDay,
Millirems,
MilliremsPerHour,
DegreesLovibond,
AlcoholByVolume,
InternationalBitteringUnits,
EuropeanBitternessUnits,
DegreesPlato,
SpecificGravity,
EuropeanBrewingConvention,
PerDay,
PerMillisecond,
Yards,
Miles,
NauticalMiles,
Nanograms,
Micrograms,
MetricTonnes,
ShortTons,
LongTons,
GramsPerHour,
GramsPerDay,
KilogramsPerDay,
ShortTonsPerSecond,
ShortTonsPerMinute,
ShortTonsPerHour,
ShortTonsPerDay,
MetricTonnesPerSecond,
MetricTonnesPerMinute,
MetricTonnesPerHour,
MetricTonnesPerDay,
LongTonsPerSecond,
LongTonsPerMinute,
LongTonsPerHour,
LongTonsPerDay,
BtusPerSecond,
BtusPerMinute,
BtusPerDay,
KiloBtusPerSecond,
KiloBtusPerMinute,
KiloBtusPerDay,
MegaBtusPerSecond,
MegaBtusPerMinute,
MegaBtusPerHour,
MegaBtusPerDay,
JoulesPerSecond,
JoulesPerMinute,
JoulesPerDay,
KilojoulesPerSecond,
KilojoulesPerMinute,
KilojoulesPerHour,
KilojoulesPerDay,
MegajoulesPerSecond,
MegajoulesPerMinute,
MegajoulesPerHour,
MegajoulesPerDay,
DegreesCelsiusPerDay,
KelvinPerDay,
DegreesFahrenheitPerDay,
DeltaDegreesCelsius,
MillionCubicFeetPerMinute,
MillionCubicFeetPerDay,
ImperialGallonsPerSecond,
ImperialGallonsPerHour,
ImperialGallonsPerDay,
LitersPerDay,
UsGallonsPerSecond,
UsGallonsPerDay,
PercentPerMinute,
PercentPerHour,
PercentPerDay,
PerMillion,
PerBillion,
MicrogramsPerGram,
NanogramsPerGram,
MicrogramsPerKilogram,
NanogramsPerKilogram,
MilligramsPerMilliliter,
MicrogramsPerMilliliter,
NanogramsPerMilliliter,
KilogramsPerLiter,
NanogramsPerLiter,
MilligramsPerCubicCentimeter,
MicrogramsPerCubicCentimeter,
NanogramsPerCubicCentimeter,
BtuPerHourPerWatt,
BtuPerWattHourSeasonal,
CoefficientOfPerformance,
CoefficientOfPerformanceSeasonal,
KilowattPerTonRefrigeration,
LumensPerWatt,
PoundForceFeet,
PoundForceInches,
OunceForceInches,
PoundsForcePerSquareInchAbsolute,
PoundsForcePerSquareInchGauge,
MicrosiemensPerCentimeter,
MillisiemensPerCentimeter,
MillisiemensPerMeter,
MillionsOfUsGallons,
MillionsOfImperialGallons,
MillilitersPerMinute,
MilsPerYear,
MillimetersPerYear,
PulsesPerMinute,
ActiveEnergyPulseValue,
ReactiveEnergyPulseValue,
ApparentEnergyPulseValue,
VoltSquaredHourPulseValue,
AmpereSquaredHourPulseValue,
CubicMeterPulseValue,
Gigawatts,
Gigajoules,
Terajoules,
GigawattHours,
GigawattReactiveHours,
BitsPerSecond,
KilobitsPerSecond,
MegabitsPerSecond,
GigabitsPerSecond,
BytesPerSecond,
KilobytesPerSecond,
MegabytesPerSecond,
GigabytesPerSecond,
Volume1,
Volume2,
Volume3,
Volume4,
Volume5,
Volume6,
Volume7,
Volume8,
Volume9,
Volume10,
VolumetricFlow1,
VolumetricFlow2,
VolumetricFlow3,
VolumetricFlow4,
VolumetricFlow5,
VolumetricFlow6,
VolumetricFlow7,
VolumetricFlow8,
VolumetricFlow9,
VolumetricFlow10,
SiteUnit1,
SiteUnit2,
SiteUnit3,
SiteUnit4,
SiteUnit5,
SiteUnit6,
SiteUnit7,
SiteUnit8,
SiteUnit9,
SiteUnit10,
ParticlesPerCubicFoot,
ParticlesPerCubicMeter,
PicocuriesPerLiter,
BecquerelsPerCubicMeter,
GrainsOfWaterPerPoundDryAir,
DegreeHoursCelsius,
DegreeHoursFahrenheit,
DegreeMinutesCelsius,
DegreeMinutesFahrenheit,
DegreeSecondsCelsius,
DegreeSecondsFahrenheit,
Microseconds,
Nanoseconds,
Picoseconds,
Reserved(EngineeringUnitsValue),
Custom(EngineeringUnitsValue),
}Expand description
BACnet Engineering Units enumeration
Represents all engineering units defined in the BACnet standard
(ANSI/ASHRAE Standard 135-2024).
Values 0-255 and 47808-49999 are reserved for definition by ASHRAE.
Values 256-47807 and 50000-65535 may be used by others and are represented
by the Custom(EngineeringUnitsValue) variant.
Variants§
SquareMeters
SquareFeet
Milliamperes
Amperes
Ohms
Volts
Kilovolts
Megavolts
VoltAmperes
KilovoltAmperes
MegavoltAmperes
VoltAmperesReactive
KilovoltAmperesReactive
MegavoltAmperesReactive
DegreesPhase
PowerFactor
Joules
Kilojoules
WattHours
KilowattHours
Btus
Therms
TonHours
JoulesPerKilogramDryAir
BtusPerPoundDryAir
CyclesPerHour
CyclesPerMinute
Hertz
GramsOfWaterPerKilogramDryAir
PercentRelativeHumidity
Millimeters
Meters
Inches
Feet
WattsPerSquareFoot
WattsPerSquareMeter
Lumens
Luxes
FootCandles
Kilograms
PoundsMass
Tons
KilogramsPerSecond
KilogramsPerMinute
KilogramsPerHour
PoundsMassPerMinute
PoundsMassPerHour
Watts
Kilowatts
Megawatts
BtusPerHour
Horsepower
TonsRefrigeration
Pascals
Kilopascals
Bars
PoundsForcePerSquareInch
CentimetersOfWater
InchesOfWater
MillimetersOfMercury
CentimetersOfMercury
InchesOfMercury
DegreesCelsius
Kelvin
DegreesFahrenheit
DegreeDaysCelsius
DegreeDaysFahrenheit
Years
Months
Weeks
Days
Hours
Minutes
Seconds
MetersPerSecond
KilometersPerHour
FeetPerSecond
FeetPerMinute
MilesPerHour
CubicFeet
CubicMeters
ImperialGallons
Liters
UsGallons
CubicFeetPerMinute
CubicMetersPerSecond
ImperialGallonsPerMinute
LitersPerSecond
LitersPerMinute
UsGallonsPerMinute
DegreesAngular
DegreesCelsiusPerHour
DegreesCelsiusPerMinute
DegreesFahrenheitPerHour
DegreesFahrenheitPerMinute
NoUnits
PartsPerMillion
PartsPerBillion
Percent
PercentPerSecond
PerMinute
PerSecond
PsiPerDegreeFahrenheit
Radians
RevolutionsPerMinute
Currency1
Currency2
Currency3
Currency4
Currency5
Currency6
Currency7
Currency8
Currency9
Currency10
SquareInches
SquareCentimeters
BtusPerPound
Centimeters
PoundsMassPerSecond
DeltaDegreesFahrenheit
DeltaKelvin
Kiloohms
Megaohms
Millivolts
KilojoulesPerKilogram
Megajoules
JoulesPerKelvin
JoulesPerKilogramKelvin
Kilohertz
Megahertz
PerHour
Milliwatts
Hectopascals
Millibars
CubicMetersPerHour
LitersPerHour
KilowattHoursPerSquareMeter
KilowattHoursPerSquareFoot
MegajoulesPerSquareMeter
MegajoulesPerSquareFoot
WattsPerSquareMeterPerKelvin
CubicFeetPerSecond
PercentObscurationPerFoot
PercentObscurationPerMeter
Milliohms
MegawattHours
KiloBtus
MegaBtus
KilojoulesPerKilogramDryAir
MegajoulesPerKilogramDryAir
KilojoulesPerKelvin
MegajoulesPerKelvin
Newton
GramsPerSecond
GramsPerMinute
TonsPerHour
KiloBtusPerHour
HundredthsSeconds
Milliseconds
NewtonMeters
MillimetersPerSecond
MillimetersPerMinute
MetersPerMinute
MetersPerHour
CubicMetersPerMinute
MetersPerSecondPerSecond
AmperesPerMeter
AmperesPerSquareMeter
AmpereSquareMeters
Farads
Henrys
OhmMeters
Siemens
SiemensPerMeter
Teslas
VoltsPerKelvin
VoltsPerMeter
Webers
Candelas
CandelasPerSquareMeter
KelvinPerHour
KelvinPerMinute
JouleSeconds
RadiansPerSecond
SquareMetersPerNewton
KilogramsPerCubicMeter
NewtonSeconds
NewtonsPerMeter
WattsPerMeterPerKelvin
Microsiemens
CubicFeetPerHour
UsGallonsPerHour
Kilometers
Micrometers
Grams
Milligrams
Milliliters
MillilitersPerSecond
Decibels
DecibelsMillivolt
DecibelsVolt
Millisiemens
WattHoursReactive
KilowattHoursReactive
MegawattHoursReactive
MillimetersOfWater
PerMille
GramsPerGram
KilogramsPerKilogram
GramsPerKilogram
MilligramsPerGram
MilligramsPerKilogram
GramsPerMilliliter
GramsPerLiter
MilligramsPerLiter
MicrogramsPerLiter
GramsPerCubicMeter
MilligramsPerCubicMeter
MicrogramsPerCubicMeter
NanogramsPerCubicMeter
GramsPerCubicCentimeter
Becquerels
Kilobecquerels
Megabecquerels
Gray
Milligray
Microgray
Sieverts
Millisieverts
Microsieverts
MicrosievertsPerHour
DecibelsA
NephelometricTurbidityUnit
Ph
GramsPerSquareMeter
MinutesPerKelvin
OhmMeterSquaredPerMeter
AmpereSeconds
VoltAmpereHours
KilovoltAmpereHours
MegavoltAmpereHours
VoltAmpereHoursReactive
KilovoltAmpereHoursReactive
MegavoltAmpereHoursReactive
VoltSquareHours
AmpereSquareHours
JoulesPerHour
CubicFeetPerDay
CubicMetersPerDay
WattHoursPerCubicMeter
JoulesPerCubicMeter
MolePercent
PascalSeconds
MillionStandardCubicFeetPerMinute
StandardCubicFeetPerDay
MillionStandardCubicFeetPerDay
ThousandCubicFeetPerDay
ThousandStandardCubicFeetPerDay
PoundsMassPerDay
Millirems
MilliremsPerHour
DegreesLovibond
AlcoholByVolume
InternationalBitteringUnits
EuropeanBitternessUnits
DegreesPlato
SpecificGravity
EuropeanBrewingConvention
PerDay
PerMillisecond
Yards
Miles
NauticalMiles
Nanograms
Micrograms
MetricTonnes
ShortTons
LongTons
GramsPerHour
GramsPerDay
KilogramsPerDay
ShortTonsPerSecond
ShortTonsPerMinute
ShortTonsPerHour
ShortTonsPerDay
MetricTonnesPerSecond
MetricTonnesPerMinute
MetricTonnesPerHour
MetricTonnesPerDay
LongTonsPerSecond
LongTonsPerMinute
LongTonsPerHour
LongTonsPerDay
BtusPerSecond
BtusPerMinute
BtusPerDay
KiloBtusPerSecond
KiloBtusPerMinute
KiloBtusPerDay
MegaBtusPerSecond
MegaBtusPerMinute
MegaBtusPerHour
MegaBtusPerDay
JoulesPerSecond
JoulesPerMinute
JoulesPerDay
KilojoulesPerSecond
KilojoulesPerMinute
KilojoulesPerHour
KilojoulesPerDay
MegajoulesPerSecond
MegajoulesPerMinute
MegajoulesPerHour
MegajoulesPerDay
DegreesCelsiusPerDay
KelvinPerDay
DegreesFahrenheitPerDay
DeltaDegreesCelsius
MillionCubicFeetPerMinute
MillionCubicFeetPerDay
ImperialGallonsPerSecond
ImperialGallonsPerHour
ImperialGallonsPerDay
LitersPerDay
UsGallonsPerSecond
UsGallonsPerDay
PercentPerMinute
PercentPerHour
PercentPerDay
PerMillion
PerBillion
MicrogramsPerGram
NanogramsPerGram
MicrogramsPerKilogram
NanogramsPerKilogram
MilligramsPerMilliliter
MicrogramsPerMilliliter
NanogramsPerMilliliter
KilogramsPerLiter
NanogramsPerLiter
MilligramsPerCubicCentimeter
MicrogramsPerCubicCentimeter
NanogramsPerCubicCentimeter
BtuPerHourPerWatt
BtuPerWattHourSeasonal
CoefficientOfPerformance
CoefficientOfPerformanceSeasonal
KilowattPerTonRefrigeration
LumensPerWatt
PoundForceFeet
PoundForceInches
OunceForceInches
PoundsForcePerSquareInchAbsolute
PoundsForcePerSquareInchGauge
MicrosiemensPerCentimeter
MillisiemensPerCentimeter
MillisiemensPerMeter
MillionsOfUsGallons
MillionsOfImperialGallons
MillilitersPerMinute
MilsPerYear
MillimetersPerYear
PulsesPerMinute
ActiveEnergyPulseValue
ReactiveEnergyPulseValue
ApparentEnergyPulseValue
VoltSquaredHourPulseValue
AmpereSquaredHourPulseValue
CubicMeterPulseValue
Gigawatts
Gigajoules
Terajoules
GigawattHours
GigawattReactiveHours
BitsPerSecond
KilobitsPerSecond
MegabitsPerSecond
GigabitsPerSecond
BytesPerSecond
KilobytesPerSecond
MegabytesPerSecond
GigabytesPerSecond
Volume1
Volume2
Volume3
Volume4
Volume5
Volume6
Volume7
Volume8
Volume9
Volume10
VolumetricFlow1
VolumetricFlow2
VolumetricFlow3
VolumetricFlow4
VolumetricFlow5
VolumetricFlow6
VolumetricFlow7
VolumetricFlow8
VolumetricFlow9
VolumetricFlow10
SiteUnit1
SiteUnit2
SiteUnit3
SiteUnit4
SiteUnit5
SiteUnit6
SiteUnit7
SiteUnit8
SiteUnit9
SiteUnit10
ParticlesPerCubicFoot
ParticlesPerCubicMeter
PicocuriesPerLiter
BecquerelsPerCubicMeter
GrainsOfWaterPerPoundDryAir
DegreeHoursCelsius
DegreeHoursFahrenheit
DegreeMinutesCelsius
DegreeMinutesFahrenheit
DegreeSecondsCelsius
DegreeSecondsFahrenheit
Microseconds
Nanoseconds
Picoseconds
Reserved(EngineeringUnitsValue)
Custom(EngineeringUnitsValue)
Implementations§
Source§impl EngineeringUnits
impl EngineeringUnits
pub fn bacnet_name(&self) -> String
pub fn unit_symbol(&self) -> &str
Trait Implementations§
Source§impl Clone for EngineeringUnits
impl Clone for EngineeringUnits
Source§fn clone(&self) -> EngineeringUnits
fn clone(&self) -> EngineeringUnits
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EngineeringUnits
Source§impl Debug for EngineeringUnits
impl Debug for EngineeringUnits
Source§impl Default for EngineeringUnits
impl Default for EngineeringUnits
impl Eq for EngineeringUnits
Source§impl From<EngineeringUnits> for u32
impl From<EngineeringUnits> for u32
Source§fn from(value: EngineeringUnits) -> Self
fn from(value: EngineeringUnits) -> Self
Converts to this type from the input type.
Source§impl From<u32> for EngineeringUnits
impl From<u32> for EngineeringUnits
Source§impl Hash for EngineeringUnits
impl Hash for EngineeringUnits
Source§impl PartialEq for EngineeringUnits
impl PartialEq for EngineeringUnits
Source§fn eq(&self, other: &EngineeringUnits) -> bool
fn eq(&self, other: &EngineeringUnits) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EngineeringUnits
Auto Trait Implementations§
impl Freeze for EngineeringUnits
impl RefUnwindSafe for EngineeringUnits
impl Send for EngineeringUnits
impl Sync for EngineeringUnits
impl Unpin for EngineeringUnits
impl UnsafeUnpin for EngineeringUnits
impl UnwindSafe for EngineeringUnits
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more