Skip to content

Commit b308750

Browse files
tmilnthorpangularsen
authored andcommitted
Add Btu/ft²·hr·°F to HeatTransferCoefficient (#670)
1 parent 9dd7e3e commit b308750

File tree

9 files changed

+61
-0
lines changed

9 files changed

+61
-0
lines changed

Common/UnitDefinitions/HeatTransferCoefficient.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,18 @@
3131
"Abbreviations": [ "W/m²·°C" ]
3232
}
3333
]
34+
},
35+
{
36+
"SingularName": "BtuPerSquareFootDegreeFahrenheit",
37+
"PluralName": "BtusPerSquareFootDegreeFahrenheit",
38+
"FromUnitToBaseFunc": "x * 5.6782633411134878",
39+
"FromBaseToUnitFunc": "x / 5.6782633411134878",
40+
"Localization": [
41+
{
42+
"Culture": "en-US",
43+
"Abbreviations": [ "Btu/ft²·hr·°F" ]
44+
}
45+
]
3446
}
3547
]
3648
}

UnitsNet.Tests/CustomCode/HeatTransferCoefficientTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,6 @@ public class HeatTransferCoefficientTests : HeatTransferCoefficientTestsBase
2929
{
3030
protected override double WattsPerSquareMeterCelsiusInOneWattPerSquareMeterKelvin => 1;
3131
protected override double WattsPerSquareMeterKelvinInOneWattPerSquareMeterKelvin => 1;
32+
protected override double BtusPerSquareFootDegreeFahrenheitInOneWattPerSquareMeterKelvin => 1.7611018368230584e-1;
3233
}
3334
}

UnitsNet.Tests/GeneratedCode/HeatTransferCoefficientTestsBase.g.cs

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

UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/HeatTransferCoefficient.g.cs

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

UnitsNet.WindowsRuntimeComponent/GeneratedCode/UnitAbbreviationsCache.g.cs

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

UnitsNet.WindowsRuntimeComponent/GeneratedCode/Units/HeatTransferCoefficientUnit.g.cs

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

UnitsNet/GeneratedCode/Quantities/HeatTransferCoefficient.g.cs

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

UnitsNet/GeneratedCode/UnitAbbreviationsCache.g.cs

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

UnitsNet/GeneratedCode/Units/HeatTransferCoefficientUnit.g.cs

Lines changed: 1 addition & 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)