|
| 1 | +//------------------------------------------------------------------------------ |
| 2 | +// <auto-generated> |
| 3 | +// This code was generated by \generate-code.bat. |
| 4 | +// |
| 5 | +// Changes to this file will be lost when the code is regenerated. |
| 6 | +// The build server regenerates the code before each build and a pre-build |
| 7 | +// step will regenerate the code on each local build. |
| 8 | +// |
| 9 | +// See https://github.com/anjdreas/UnitsNet/wiki/Adding-a-New-Unit for how to add or edit units. |
| 10 | +// |
| 11 | +// Add CustomCode\UnitClasses\MyUnit.extra.cs files to add code to generated unit classes. |
| 12 | +// Add Extensions\MyUnitExtensions.cs to decorate unit classes with new behavior. |
| 13 | +// Add UnitDefinitions\MyUnit.json and run GeneratUnits.bat to generate new units or unit classes. |
| 14 | +// |
| 15 | +// </auto-generated> |
| 16 | +//------------------------------------------------------------------------------ |
| 17 | + |
| 18 | +// Copyright (c) 2007 Andreas Gullberg Larsen ([email protected]). |
| 19 | +// https://github.com/anjdreas/UnitsNet |
| 20 | +// |
| 21 | +// Permission is hereby granted, free of charge, to any person obtaining a copy |
| 22 | +// of this software and associated documentation files (the "Software"), to deal |
| 23 | +// in the Software without restriction, including without limitation the rights |
| 24 | +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 25 | +// copies of the Software, and to permit persons to whom the Software is |
| 26 | +// furnished to do so, subject to the following conditions: |
| 27 | +// |
| 28 | +// The above copyright notice and this permission notice shall be included in |
| 29 | +// all copies or substantial portions of the Software. |
| 30 | +// |
| 31 | +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 32 | +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 33 | +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 34 | +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 35 | +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 36 | +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
| 37 | +// THE SOFTWARE. |
| 38 | + |
| 39 | +// ReSharper disable once CheckNamespace |
| 40 | + |
| 41 | +namespace UnitsNet |
| 42 | +{ |
| 43 | + /// <summary> |
| 44 | + /// Lists all generated quantities with the same name as the quantity struct type, |
| 45 | + /// such as Length, Mass, Force etc. |
| 46 | + /// This is useful for populating options in the UI, such as creating a generic conversion |
| 47 | + /// tool with inputValue, quantityName, fromUnit and toUnit selectors. |
| 48 | + /// </summary> |
| 49 | + public enum QuantityType |
| 50 | + { |
| 51 | + Undefined = 0, |
| 52 | + Acceleration, |
| 53 | + AmplitudeRatio, |
| 54 | + Angle, |
| 55 | + ApparentPower, |
| 56 | + Area, |
| 57 | + AreaMomentOfInertia, |
| 58 | + BrakeSpecificFuelConsumption, |
| 59 | + Density, |
| 60 | + Duration, |
| 61 | + DynamicViscosity, |
| 62 | + ElectricAdmittance, |
| 63 | + ElectricCurrent, |
| 64 | + ElectricPotential, |
| 65 | + ElectricPotentialAc, |
| 66 | + ElectricPotentialDc, |
| 67 | + ElectricResistance, |
| 68 | + Energy, |
| 69 | + Flow, |
| 70 | + Force, |
| 71 | + ForceChangeRate, |
| 72 | + ForcePerLength, |
| 73 | + Frequency, |
| 74 | + Information, |
| 75 | + KinematicViscosity, |
| 76 | + Length, |
| 77 | + Level, |
| 78 | + Mass, |
| 79 | + MassFlow, |
| 80 | + MassMomentOfInertia, |
| 81 | + Molarity, |
| 82 | + Power, |
| 83 | + PowerRatio, |
| 84 | + Pressure, |
| 85 | + PressureChangeRate, |
| 86 | + Ratio, |
| 87 | + ReactivePower, |
| 88 | + RotationalAcceleration, |
| 89 | + RotationalSpeed, |
| 90 | + SpecificEnergy, |
| 91 | + SpecificWeight, |
| 92 | + Speed, |
| 93 | + Temperature, |
| 94 | + TemperatureChangeRate, |
| 95 | + TemperatureDelta, |
| 96 | + ThermalResistance, |
| 97 | + Torque, |
| 98 | + VitaminA, |
| 99 | + Volume, |
| 100 | + } |
| 101 | +} |
0 commit comments