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
12 changes: 12 additions & 0 deletions Common/UnitDefinitions/HeatTransferCoefficient.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,18 @@
}
]
},
{
"SingularName": "BtuPerSecondSquareInchDegreeFahrenheit",
"PluralName": "BtusPerSecondSquareInchDegreeFahrenheit",
"FromUnitToBaseFunc": "{x} * ((1055.05585262 / (2.54e-2 * 2.54e-2)) * 1.8)",
"FromBaseToUnitFunc": "{x} / ((1055.05585262 / (2.54e-2 * 2.54e-2)) * 1.8)",
"Localization": [
{
"Culture": "en-US",
"Abbreviations": [ "Btu/(s·in²·°F)", "Btu/(in²·s·°F)", "Btu/(hr·in²·°F)", "Btu/(in²·hr·°F)" ]
}
]
},
{
"SingularName": "CaloriePerHourSquareMeterDegreeCelsius",
"PluralName": "CaloriesPerHourSquareMeterDegreeCelsius",
Expand Down
26 changes: 26 additions & 0 deletions Common/UnitDefinitions/PowerDensity.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,32 @@
"Abbreviations": [ "W/l" ]
}
]
},
{
"SingularName": "BtuPerSecondCubicInch",
"PluralName": "BtusPerSecondCubicInch",
"XmlDocRemarks": "Based on the International Table (IT) definition of the British thermal unit (BTU), where 1 BTU is defined as exactly 1055.05585262 joules (≈1.05506 kJ). See https://en.wikipedia.org/wiki/British_thermal_unit for details.",
"FromUnitToBaseFunc": "{x} * 1055.05585262 / (2.54e-2 * 2.54e-2 * 2.54e-2)",
"FromBaseToUnitFunc": "{x} / 1055.05585262 * (2.54e-2 * 2.54e-2 * 2.54e-2)",
"Localization": [
{
"Culture": "en-US",
"Abbreviations": [ "BTU/(s·in³)" ]
}
]
},
{
"SingularName": "BtuPerSecondCubicFoot",
"PluralName": "BtusPerSecondCubicFoot",
"XmlDocRemarks": "Based on the International Table (IT) definition of the British thermal unit (BTU), where 1 BTU is defined as exactly 1055.05585262 joules (≈1.05506 kJ). See https://en.wikipedia.org/wiki/British_thermal_unit for details.",
"FromUnitToBaseFunc": "{x} * 1055.05585262 / (0.3048 * 0.3048 * 0.3048)",
"FromBaseToUnitFunc": "{x} / 1055.05585262 * (0.3048 * 0.3048 * 0.3048)",
"Localization": [
{
"Culture": "en-US",
"Abbreviations": [ "BTU/(s·ft³)" ]
}
]
}
]
}
12 changes: 12 additions & 0 deletions Common/UnitDefinitions/ThermalConductivity.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,18 @@
"Abbreviations": [ "BTU/(h·ft·°F)" ]
}
]
},
{
"SingularName": "BtuPerSecondInchFahrenheit",
"PluralName": "BtusPerSecondInchFahrenheit",
"FromUnitToBaseFunc": "{x} * ((1055.05585262 / 2.54e-2) * 1.8)",
"FromBaseToUnitFunc": "{x} / ((1055.05585262 / 2.54e-2) * 1.8)",
"Localization": [
{
"Culture": "en-US",
"Abbreviations": [ "BTU/(s·in·°F)" ]
}
]
}
]
}
10 changes: 7 additions & 3 deletions Common/UnitEnumValues.g.json
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,8 @@
"WattPerSquareMeterKelvin": 3,
"BtuPerHourSquareFootDegreeFahrenheit": 11,
"KilocaloriePerHourSquareMeterDegreeCelsius": 8,
"CaloriePerHourSquareMeterDegreeCelsius": 5
"CaloriePerHourSquareMeterDegreeCelsius": 5,
"BtuPerSecondSquareInchDegreeFahrenheit": 4
},
"Illuminance": {
"Kilolux": 1,
Expand Down Expand Up @@ -1132,7 +1133,9 @@
"WattPerCubicFoot": 41,
"WattPerCubicInch": 42,
"WattPerCubicMeter": 43,
"WattPerLiter": 44
"WattPerLiter": 44,
"BtuPerSecondCubicFoot": 47,
"BtuPerSecondCubicInch": 51
},
"PowerRatio": {
"DecibelMilliwatt": 1,
Expand Down Expand Up @@ -1489,7 +1492,8 @@
},
"ThermalConductivity": {
"BtuPerHourFootFahrenheit": 1,
"WattPerMeterKelvin": 2
"WattPerMeterKelvin": 2,
"BtuPerSecondInchFahrenheit": 6
},
"ThermalResistance": {
"DegreeCelsiusPerWatt": 10,
Expand Down

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

24 changes: 24 additions & 0 deletions UnitsNet.NanoFramework/GeneratedCode/Quantities/PowerDensity.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.

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.

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