Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion Common/UnitDefinitions/Mass.json
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,24 @@
"Abbreviations": [ "em" ]
}
]
}
},
{
"SingularName": "Dalton",
"PluralName": "Daltons",
"BaseUnits": {
"M": "Dalton"
},
"XmlDocSummary": "The Dalton or unified atomic mass unit (abbreviation Da or u) is a unit of mass defined as 1/12 of the mass of an unbound neutral atom of carbon-12 in its nuclear and electronic ground state and at rest.",
"XmlDocRemarks": "https://en.wikipedia.org/wiki/Dalton_(unit)",
"FromUnitToBaseFunc": "{x} * 1.66053906660e-27",
"FromBaseToUnitFunc": "{x} / 1.66053906660e-27",
"Prefixes": [ "Kilo", "Mega" , "Giga" ],
"Localization": [
{
"Culture": "en-US",
"Abbreviations": [ "Da", "u" ]
}
]
},
]
}
6 changes: 5 additions & 1 deletion Common/UnitEnumValues.g.json
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,11 @@
"Stone": 24,
"Tonne": 25,
"Femtogram": 35,
"Picogram": 29
"Picogram": 29,
"Dalton": 37,
"Gigadalton": 33,
"Kilodalton": 26,
"Megadalton": 30
},
"MassConcentration": {
"CentigramPerDeciliter": 1,
Expand Down
4 changes: 2 additions & 2 deletions Common/UnitRelations.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"AreaMomentOfInertia.MeterToTheFourth = Volume.CubicMeter * Length.Meter",
"double = SpecificEnergy.JoulePerKilogram * BrakeSpecificFuelConsumption.KilogramPerJoule",
"DynamicViscosity.NewtonSecondPerMeterSquared = Density.KilogramPerCubicMeter * KinematicViscosity.SquareMeterPerSecond",
"ElectricCurrent.Ampere = ElectricCurrentGradient.AmperePerSecond * Duration.Second",
"ElectricCharge.AmpereHour = ElectricCurrent.Ampere * Duration.Hour",
"ElectricCurrent.Ampere = ElectricCurrentGradient.AmperePerSecond * Duration.Second",
"ElectricPotential.Volt = ElectricCurrent.Ampere * ElectricResistance.Ohm",
"Energy.Joule = ElectricPotential.Volt * ElectricCharge.Coulomb",
"Energy.Joule = EnergyDensity.JoulePerCubicMeter * Volume.CubicMeter",
Expand Down Expand Up @@ -73,8 +73,8 @@
"SpecificEnergy.JoulePerKilogram = Speed.MeterPerSecond * Speed.MeterPerSecond",
"SpecificWeight.NewtonPerCubicMeter = Acceleration.MeterPerSecondSquared * Density.KilogramPerCubicMeter",
"Speed.MeterPerSecond = Acceleration.MeterPerSecondSquared * Duration.Second",
"TemperatureDelta.DegreeCelsius = TemperatureGradient.DegreeCelsiusPerKilometer * Length.Kilometer",
"TemperatureDelta.DegreeCelsius = TemperatureChangeRate.DegreeCelsiusPerSecond * Duration.Second",
"TemperatureDelta.DegreeCelsius = TemperatureGradient.DegreeCelsiusPerKilometer * Length.Kilometer",
"Torque.NewtonMeter = ForcePerLength.NewtonPerMeter * Area.SquareMeter",
"Torque.NewtonMeter = Length.Meter * Force.Newton",
"Torque.NewtonMeter = RotationalStiffness.NewtonMeterPerRadian * Angle.Radian",
Expand Down
48 changes: 48 additions & 0 deletions UnitsNet.NanoFramework/GeneratedCode/Quantities/Mass.g.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions UnitsNet.NanoFramework/GeneratedCode/Units/MassUnit.g.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading