Skip to content

Commit e07e025

Browse files
rutemjarutemja
andauthored
Add lb/mil² and Wh/lbs (#1092)
Co-authored-by: rutemja <rutemja@wuh-group.com>
1 parent 8afabd2 commit e07e025

File tree

23 files changed

+781
-127
lines changed

23 files changed

+781
-127
lines changed

Common/UnitDefinitions/Pressure.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,20 @@
213213
}
214214
]
215215
},
216+
{
217+
"SingularName": "PoundForcePerSquareMil",
218+
"PluralName": "PoundsForcePerSquareMil",
219+
"FromUnitToBaseFunc": "{x} * 6.894757293168361e9",
220+
"FromBaseToUnitFunc": "{x} / 6.894757293168361e9",
221+
"Prefixes": [ "Kilo" ],
222+
"Localization": [
223+
{
224+
"Culture": "en-US",
225+
"Abbreviations": [ "lb/mil²", "lbs/mil²" ],
226+
"AbbreviationsForPrefixes": { "Kilo": "kipf/mil²" }
227+
}
228+
]
229+
},
216230
{
217231
"SingularName": "PoundForcePerSquareFoot",
218232
"PluralName": "PoundsForcePerSquareFoot",

Common/UnitDefinitions/SpecificEnergy.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,19 @@
8686
}
8787
]
8888
},
89+
{
90+
"SingularName": "WattHourPerPound",
91+
"PluralName": "WattHoursPerPound",
92+
"FromUnitToBaseFunc": "{x} * 7.93664e3",
93+
"FromBaseToUnitFunc": "{x} / 7.93664e3",
94+
"Prefixes": [ "Kilo", "Mega", "Giga" ],
95+
"Localization": [
96+
{
97+
"Culture": "en-US",
98+
"Abbreviations": [ "Wh/lbs" ]
99+
}
100+
]
101+
},
89102
{
90103
"SingularName": "BtuPerPound",
91104
"PluralName": "BtuPerPound",

UnitsNet.NanoFramework/GeneratedCode/Quantities/Pressure.g.cs

Lines changed: 26 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnitsNet.NanoFramework/GeneratedCode/Quantities/SpecificEnergy.g.cs

Lines changed: 52 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnitsNet.NanoFramework/GeneratedCode/Units/PressureUnit.g.cs

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnitsNet.NanoFramework/GeneratedCode/Units/SpecificEnergyUnit.g.cs

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)