use crate::dimension::*;
crate::units! {
second: Time { symbol: s, prefixes: all },
meter: Length { symbol: m, prefixes: all },
gram: Mass { symbol: g, scale: 1 / 1_000, prefixes: all },
ampere: ElectricCurrent { symbol: A, prefixes: all },
kelvin: ThermodynamicTemperature { symbol: K, prefixes: all },
mole: AmountOfSubstance { symbol: mol, prefixes: all },
candela: LuminousIntensity { symbol: cd, prefixes: all },
hertz: Frequency { symbol: Hz, prefixes: all },
meter_per_second: Velocity { symbol: mps, display: "m/s", prefixes: all },
meter_per_second_squared: Acceleration { symbol: mps2, display: "m/s²", prefixes: all },
newton: Force { symbol: N, prefixes: all },
joule: Energy { symbol: J, prefixes: all },
watt: Power { symbol: W, prefixes: all },
pascal: Pressure { symbol: Pa, prefixes: all },
volt: Voltage { symbol: V, prefixes: all },
ohm: Resistance { symbol: Ohm, display: "Ω", prefixes: all },
siemens: Conductance { symbol: S, prefixes: all },
coulomb: ElectricCharge { symbol: C, prefixes: all },
farad: Capacitance { symbol: F, prefixes: all },
henry: Inductance { symbol: H, prefixes: all },
tesla: MagneticFluxDensity { symbol: T, prefixes: all },
weber: MagneticFlux { symbol: Wb, prefixes: all },
minute: Time { symbol: min, scale: 60 },
hour: Time { symbol: h, scale: 3_600 },
celsius: ThermodynamicTemperature { symbol: degC, display: "°C", offset: 27_315 / 100 },
liter: Volume { symbol: L, scale: 1 / 1_000, prefixes: all },
inch: Length { symbol: inch, display: "in", scale: 254 / 10_000 },
bar: Pressure { symbol: bar, scale: 100_000 },
}