Skip to content

Commit 5993ec0

Browse files
authored
Add mmHg/s to PressureChangeRate (#1010)
1 parent cece3f3 commit 5993ec0

File tree

14 files changed

+110
-13
lines changed

14 files changed

+110
-13
lines changed

Common/UnitDefinitions/PressureChangeRate.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,22 @@
4141
"Abbreviations": [ "Па/мин" ]
4242
}
4343
]
44+
},
45+
{
46+
"SingularName": "MillimeterOfMercuryPerSecond",
47+
"PluralName": "MillimetersOfMercuryPerSecond",
48+
"FromUnitToBaseFunc": "x*133.322",
49+
"FromBaseToUnitFunc": "x/133.322",
50+
"Localization": [
51+
{
52+
"Culture": "en-US",
53+
"Abbreviations": [ "mmHg/s" ],
54+
},
55+
{
56+
"Culture": "ru-RU",
57+
"Abbreviations": [ "mmHg/с" ],
58+
}
59+
]
4460
},
4561
{
4662
"SingularName": "AtmospherePerSecond",
@@ -97,4 +113,4 @@
97113
]
98114
}
99115
]
100-
}
116+
}

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

Lines changed: 13 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/PressureChangeRateUnit.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.NumberExtensions.Tests/GeneratedCode/NumberToPressureChangeRateExtensionsTest.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.

UnitsNet.NumberExtensions/GeneratedCode/NumberToPressureChangeRateExtensions.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.

UnitsNet.Tests/CustomCode/PressureChangeRateTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,7 @@ public class PressureChangeRateTests : PressureChangeRateTestsBase
3131
protected override double KilopascalsPerMinuteInOnePascalPerSecond => 6e-2;
3232

3333
protected override double PascalsPerMinuteInOnePascalPerSecond => 60;
34+
35+
protected override double MillimetersOfMercuryPerSecondInOnePascalPerSecond => 7.500637554192106e-3;
3436
}
3537
}

UnitsNet.Tests/GeneratedCode/TestsBase/PressureChangeRateTestsBase.g.cs

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

0 commit comments

Comments
 (0)