Skip to content

Commit 4eb94e9

Browse files
aidbalangularsen
authored andcommitted
volume-flow-imperial-gallon Added uk gallon per hour (#702)
* volume-flow-imperial-gallon Added uk gallon per hour
1 parent cf97710 commit 4eb94e9

File tree

8 files changed

+46
-0
lines changed

8 files changed

+46
-0
lines changed

Common/UnitDefinitions/VolumeFlow.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,18 @@
261261
}
262262
]
263263
},
264+
{
265+
"SingularName": "UkGallonPerHour",
266+
"PluralName": "UkGallonsPerHour",
267+
"FromUnitToBaseFunc": "x/791887.667",
268+
"FromBaseToUnitFunc": "x*791887.667",
269+
"Localization": [
270+
{
271+
"Culture": "en-US",
272+
"Abbreviations": [ "gal (imp.)/h" ]
273+
}
274+
]
275+
},
264276
{
265277
"SingularName": "UkGallonPerMinute",
266278
"PluralName": "UkGallonsPerMinute",

UnitsNet.Tests/CustomCode/VolumeFlowTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ public class VolumeFlowTests : VolumeFlowTestsBase
105105

106106
protected override double UkGallonsPerDayInOneCubicMeterPerSecond => 1.9005304e7;
107107

108+
protected override double UkGallonsPerHourInOneCubicMeterPerSecond => 791888.967;
109+
108110
protected override double UkGallonsPerMinuteInOneCubicMeterPerSecond => 1.31982e4;
109111

110112
protected override double UkGallonsPerSecondInOneCubicMeterPerSecond => 219.969;

UnitsNet.Tests/GeneratedCode/VolumeFlowTestsBase.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/Units/VolumeFlowUnit.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/VolumeFlow.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/UnitConverter.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/GeneratedCode/Units/VolumeFlowUnit.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)