-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMassUnit.g.cs
More file actions
111 lines (96 loc) · 4.94 KB
/
Copy pathMassUnit.g.cs
File metadata and controls
111 lines (96 loc) · 4.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by \generate-code.bat.
//
// Changes to this file will be lost when the code is regenerated.
// The build server regenerates the code before each build and a pre-build
// step will regenerate the code on each local build.
//
// See https://github.com/angularsen/UnitsNet/wiki/Adding-a-New-Unit for how to add or edit units.
//
// Add CustomCode\Quantities\MyQuantity.extra.cs files to add code to generated quantities.
// Add UnitDefinitions\MyQuantity.json and run generate-code.bat to generate new units or quantities.
//
// </auto-generated>
//------------------------------------------------------------------------------
// Licensed under MIT No Attribution, see LICENSE file at the root.
// Copyright 2013 Andreas Gullberg Larsen (andreas.larsen84@gmail.com). Maintained at https://github.com/angularsen/UnitsNet.
// ReSharper disable once CheckNamespace
namespace UnitsNet.Units
{
// Disable missing XML comment warnings for the generated unit enums.
#pragma warning disable 1591
public enum MassUnit
{
Undefined = 0,
Centigram,
Decagram,
Decigram,
/// <summary>
/// Earth mass is a ratio unit to the mass of planet Earth.
/// </summary>
/// <remarks>https://en.wikipedia.org/wiki/Earth_mass</remarks>
EarthMass,
/// <summary>
/// A grain is a unit of measurement of mass, and in the troy weight, avoirdupois, and Apothecaries' system, equal to exactly 64.79891 milligrams.
/// </summary>
/// <remarks>https://en.wikipedia.org/wiki/Grain_(unit)</remarks>
Grain,
Gram,
Hectogram,
Kilogram,
Kilopound,
Kilotonne,
/// <summary>
/// The long or imperial hundredweight (abbreviation cwt) is a unit of mass equal to 112 pounds in US and Canada.
/// </summary>
/// <remarks>https://en.wikipedia.org/wiki/Hundredweight</remarks>
LongHundredweight,
/// <summary>
/// Long ton (weight ton or Imperial ton) is a unit of mass equal to 2,240 pounds (1,016 kg) and is the name for the unit called the "ton" in the avoirdupois or Imperial system of measurements that was used in the United Kingdom and several other Commonwealth countries before metrication.
/// </summary>
/// <remarks>http://en.wikipedia.org/wiki/Long_ton</remarks>
LongTon,
Megapound,
Megatonne,
Microgram,
Milligram,
Nanogram,
/// <summary>
/// An ounce (abbreviated oz) is usually the international avoirdupois ounce as used in the United States customary and British imperial systems, which is equal to one-sixteenth of a pound or approximately 28 grams. The abbreviation 'oz' derives from the Italian word onza (now spelled oncia).
/// </summary>
/// <remarks>http://en.wikipedia.org/wiki/Ounce</remarks>
Ounce,
/// <summary>
/// The pound or pound-mass (abbreviations: lb, lbm) is a unit of mass used in the imperial, United States customary and other systems of measurement. A number of different definitions have been used, the most common today being the international avoirdupois pound which is legally defined as exactly 0.45359237 kilograms, and which is divided into 16 avoirdupois ounces.
/// </summary>
Pound,
/// <summary>
/// The short hundredweight (abbreviation cwt) is a unit of mass equal to 100 pounds in US and Canada. In British English, the short hundredweight is referred to as the "cental".
/// </summary>
/// <remarks>https://en.wikipedia.org/wiki/Hundredweight</remarks>
ShortHundredweight,
/// <summary>
/// The short ton is a unit of mass equal to 2,000 pounds (907.18474 kg), that is most commonly used in the United States – known there simply as the ton.
/// </summary>
/// <remarks>http://en.wikipedia.org/wiki/Short_ton</remarks>
ShortTon,
/// <summary>
/// The slug (abbreviation slug) is a unit of mass that is accelerated by 1 ft/s² when a force of one pound (lbf) is exerted on it.
/// </summary>
/// <remarks>http://en.wikipedia.org/wiki/Slug_(unit)</remarks>
Slug,
/// <summary>
/// Solar mass is a ratio unit to the mass of the solar system star, the sun.
/// </summary>
/// <remarks>https://en.wikipedia.org/wiki/Solar_mass</remarks>
SolarMass,
/// <summary>
/// The stone (abbreviation st) is a unit of mass equal to 14 pounds avoirdupois (about 6.35 kilograms) used in Great Britain and Ireland for measuring human body weight.
/// </summary>
/// <remarks>http://en.wikipedia.org/wiki/Stone_(unit)</remarks>
Stone,
Tonne,
}
#pragma warning restore 1591
}