Skip to content

Commit d72bac0

Browse files
mcgougwmWill McGough
andauthored
Added sqft/s to Kinematic Viscosity (#942)
Co-authored-by: Will McGough <[email protected]>
1 parent 9ccaa91 commit d72bac0

File tree

14 files changed

+97
-6
lines changed

14 files changed

+97
-6
lines changed

Common/UnitDefinitions/KinematicViscosity.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,18 @@
4040
"Abbreviations": [ "Ст" ]
4141
}
4242
]
43+
},
44+
{
45+
"SingularName": "SquareFootPerSecond",
46+
"PluralName": "SquareFeetPerSecond",
47+
"FromUnitToBaseFunc": "x/10.7639",
48+
"FromBaseToUnitFunc": "x*10.7639",
49+
"Localization": [
50+
{
51+
"Culture": "en-US",
52+
"Abbreviations": [ "ft²/s" ]
53+
}
54+
]
4355
}
4456
]
4557
}

UnitsNet.NanoFramework/GeneratedCode/Quantities/KinematicViscosity.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/KinematicViscosityUnit.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/NumberToKinematicViscosityExtensionsTest.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/NumberToKinematicViscosityExtensions.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/KinematicViscosityTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ public class KinematicViscosityTests : KinematicViscosityTestsBase
2626

2727
protected override double StokesInOneSquareMeterPerSecond => 1e4;
2828

29+
protected override double SquareFeetPerSecondInOneSquareMeterPerSecond => 10.7639;
30+
2931
[Fact]
3032
public static void DurationTimesKinematicViscosityEqualsArea()
3133
{

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

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

UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/KinematicViscosity.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/KinematicViscosityUnit.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)