Skip to content

Commit 63b33ef

Browse files
committed
Addde Vascular Resistance quantity
https://en.wikipedia.org/wiki/Vascular_resistance
1 parent 88fa94e commit 63b33ef

File tree

18 files changed

+2460
-0
lines changed

18 files changed

+2460
-0
lines changed
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
{
2+
"Name": "VascularResistance",
3+
"BaseUnit": "DyneSecondPerCentimeterToTheFifth",
4+
"XmlDocSummary": "Vascular resistance is the resistance that must be overcome for blood to flow through the circulatory system.",
5+
"XmlDocRemarks": "https://en.wikipedia.org/wiki/Vascular_resistance",
6+
"BaseDimensions": {
7+
"M": 1,
8+
"L": -4,
9+
"T": -1
10+
},
11+
"Units": [
12+
{
13+
"SingularName": "DyneSecondPerCentimeterToTheFifth",
14+
"PluralName": "DyneSecondsPerCentimeterToTheFifth",
15+
"BaseUnits": {
16+
"M": "Kilogram",
17+
"L": "Meter",
18+
"T": "Second"
19+
},
20+
"FromUnitToBaseFunc": "{x}",
21+
"FromBaseToUnitFunc": "{x}",
22+
"Localization": [
23+
{
24+
"Culture": "en-US",
25+
"Abbreviations": [ "dyn·s/cm⁵", "dyn·s·cm⁻⁵" ]
26+
},
27+
{
28+
"Culture": "ru-RU",
29+
"Abbreviations": [ "дин·с/см⁵", "дин·с·см⁻⁵" ]
30+
}
31+
]
32+
},
33+
{
34+
"SingularName": "MegapascalSecondPerCubicMeter",
35+
"PluralName": "MegapascalSecondsPerCubicMeter",
36+
"BaseUnits": {
37+
"M": "Kilogram",
38+
"L": "Meter",
39+
"T": "Second"
40+
},
41+
"FromUnitToBaseFunc": "{x} * 10",
42+
"FromBaseToUnitFunc": "{x} / 10",
43+
"Localization": [
44+
{
45+
"Culture": "en-US",
46+
"Abbreviations": [ "MPa·s/m³" ]
47+
},
48+
{
49+
"Culture": "ru-RU",
50+
"Abbreviations": [ "МПа·с/м³" ]
51+
}
52+
]
53+
},
54+
{
55+
"SingularName": "WoodUnit",
56+
"PluralName": "WoodUnits",
57+
"BaseUnits": {
58+
"M": "Kilogram",
59+
"L": "Meter",
60+
"T": "Second"
61+
},
62+
"FromUnitToBaseFunc": "{x} * 80",
63+
"FromBaseToUnitFunc": "{x} / 80",
64+
"Localization": [
65+
{
66+
"Culture": "en-US",
67+
"Abbreviations": [ "WU", "HRU", "mmHg·min/l" ]
68+
},
69+
{
70+
"Culture": "ru-RU",
71+
"Abbreviations": [ "ЕВ", "ГИЕ", "мм рт.ст.·мин/л" ]
72+
}
73+
]
74+
}
75+
]
76+
}

Common/UnitEnumValues.g.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1903,5 +1903,10 @@
19031903
"MilligraySquareDecimeter": 17,
19041904
"MilligraySquareMeter": 11,
19051905
"MilligraySquareMillimeter": 12
1906+
},
1907+
"VascularResistance": {
1908+
"DyneSecondPerCentimeterToTheFifth": 5,
1909+
"MegapascalSecondPerCubicMeter": 7,
1910+
"WoodUnit": 4
19061911
}
19071912
}

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

Lines changed: 188 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/VascularResistanceUnit.g.cs

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

UnitsNet.NanoFramework/GeneratedCode/UnitsNet.nanoFramework.sln

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,8 @@ Project("{d608a2b1-6ead-4383-a205-ad1ce69d9ef7}") = "TorquePerLength", "TorquePe
238238
EndProject
239239
Project("{d608a2b1-6ead-4383-a205-ad1ce69d9ef7}") = "Turbidity", "Turbidity\Turbidity.nfproj", "{05ac8aed-49a4-5c9f-d8c2-8d2debf64791}"
240240
EndProject
241+
Project("{d608a2b1-6ead-4383-a205-ad1ce69d9ef7}") = "VascularResistance", "VascularResistance\VascularResistance.nfproj", "{e57461b3-2e74-bd44-a189-4e453551f9c5}"
242+
EndProject
241243
Project("{d608a2b1-6ead-4383-a205-ad1ce69d9ef7}") = "VitaminA", "VitaminA\VitaminA.nfproj", "{c00185af-8735-7674-5fa6-232424b04161}"
242244
EndProject
243245
Project("{d608a2b1-6ead-4383-a205-ad1ce69d9ef7}") = "Volume", "Volume\Volume.nfproj", "{66b90fb1-20d7-f563-3477-4c7c6b404f4d}"
@@ -968,6 +970,12 @@ Global
968970
{05ac8aed-49a4-5c9f-d8c2-8d2debf64791}.Release|Any CPU.ActiveCfg = Release|Any CPU
969971
{05ac8aed-49a4-5c9f-d8c2-8d2debf64791}.Release|Any CPU.Build.0 = Release|Any CPU
970972
{05ac8aed-49a4-5c9f-d8c2-8d2debf64791}.Release|Any CPU.Deploy.0 = Release|Any CPU
973+
{e57461b3-2e74-bd44-a189-4e453551f9c5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
974+
{e57461b3-2e74-bd44-a189-4e453551f9c5}.Debug|Any CPU.Build.0 = Debug|Any CPU
975+
{e57461b3-2e74-bd44-a189-4e453551f9c5}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
976+
{e57461b3-2e74-bd44-a189-4e453551f9c5}.Release|Any CPU.ActiveCfg = Release|Any CPU
977+
{e57461b3-2e74-bd44-a189-4e453551f9c5}.Release|Any CPU.Build.0 = Release|Any CPU
978+
{e57461b3-2e74-bd44-a189-4e453551f9c5}.Release|Any CPU.Deploy.0 = Release|Any CPU
971979
{c00185af-8735-7674-5fa6-232424b04161}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
972980
{c00185af-8735-7674-5fa6-232424b04161}.Debug|Any CPU.Build.0 = Debug|Any CPU
973981
{c00185af-8735-7674-5fa6-232424b04161}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
3+
<metadata>
4+
<id>UnitsNet.nanoFramework.VascularResistance</id>
5+
<version>5.64.0</version>
6+
<title>Units.NET VascularResistance - nanoFramework</title>
7+
<authors>Andreas Gullberg Larsen,nanoframework</authors>
8+
<owners>UnitsNet</owners>
9+
<license type="expression">MIT-0</license>
10+
<projectUrl>https://github.com/angularsen/UnitsNet</projectUrl>
11+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
12+
<description>Adds VascularResistance units for Units.NET on .NET nanoFramework. For .NET or .NET Core, use UnitsNet instead.</description>
13+
<iconUrl>https://raw.githubusercontent.com/angularsen/UnitsNet/ce85185429be345d77eb2ce09c99d59cc9ab8aed/Docs/Images/logo-32.png</iconUrl>
14+
<releaseNotes>
15+
</releaseNotes>
16+
<copyright>Copyright 2013 Andreas Gullberg Larsen ([email protected]).</copyright>
17+
<language>en-US</language>
18+
<tags>nanoframework vascularresistance unit units quantity quantities measurement si metric imperial abbreviation abbreviations convert conversion parse immutable</tags>
19+
<dependencies>
20+
<dependency id="nanoFramework.CoreLibrary" version="1.15.5" />
21+
</dependencies>
22+
</metadata>
23+
<files>
24+
<file src="..\..\..\Artifacts\UnitsNet.NanoFramework\VascularResistance\UnitsNet.*" target="lib" />
25+
</files>
26+
</package>

0 commit comments

Comments
 (0)