Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add vascular resistance quantity #1474

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 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
76 changes: 76 additions & 0 deletions Common/UnitDefinitions/VascularResistance.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"Name": "VascularResistance",
"BaseUnit": "DyneSecondPerCentimeterToTheFifth",
"XmlDocSummary": "Vascular resistance is the resistance that must be overcome for blood to flow through the circulatory system.",
"XmlDocRemarks": "https://en.wikipedia.org/wiki/Vascular_resistance",
Jagailo marked this conversation as resolved.
Show resolved Hide resolved
"BaseDimensions": {
"M": 1,
"L": -4,
"T": -1
},
"Units": [
{
"SingularName": "DyneSecondPerCentimeterToTheFifth",
"PluralName": "DyneSecondsPerCentimeterToTheFifth",
"BaseUnits": {
"M": "Kilogram",
"L": "Meter",
"T": "Second"
},
"FromUnitToBaseFunc": "{x}",
"FromBaseToUnitFunc": "{x}",
"Localization": [
{
"Culture": "en-US",
"Abbreviations": [ "dyn·s/cm⁵", "dyn·s·cm⁻⁵" ]
},
{
"Culture": "ru-RU",
"Abbreviations": [ "дин·с/см⁵", "дин·с·см⁻⁵" ]
}
]
},
{
"SingularName": "MegapascalSecondPerCubicMeter",
"PluralName": "MegapascalSecondsPerCubicMeter",
"BaseUnits": {
"M": "Kilogram",
"L": "Meter",
"T": "Second"
},
"FromUnitToBaseFunc": "{x} * 10",
"FromBaseToUnitFunc": "{x} / 10",
"Localization": [
{
"Culture": "en-US",
"Abbreviations": [ "MPa·s/m³" ]
},
{
"Culture": "ru-RU",
"Abbreviations": [ "МПа·с/м³" ]
}
]
},
{
"SingularName": "WoodUnit",
"PluralName": "WoodUnits",
"BaseUnits": {
"M": "Kilogram",
"L": "Meter",
"T": "Second"
},
"FromUnitToBaseFunc": "{x} * 80",
"FromBaseToUnitFunc": "{x} / 80",
"Localization": [
{
"Culture": "en-US",
"Abbreviations": [ "WU", "HRU", "mmHg·min/l" ]
},
{
"Culture": "ru-RU",
"Abbreviations": [ "ЕВ", "ЕГС", "мм рт.ст.·мин/л" ]
}
]
}
]
}
5 changes: 5 additions & 0 deletions Common/UnitEnumValues.g.json
Original file line number Diff line number Diff line change
Expand Up @@ -1903,5 +1903,10 @@
"MilligraySquareDecimeter": 17,
"MilligraySquareMeter": 11,
"MilligraySquareMillimeter": 12
},
"VascularResistance": {
"DyneSecondPerCentimeterToTheFifth": 5,
"MegapascalSecondPerCubicMeter": 7,
"WoodUnit": 4
}
}

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.

Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,8 @@ Project("{d608a2b1-6ead-4383-a205-ad1ce69d9ef7}") = "TorquePerLength", "TorquePe
EndProject
Project("{d608a2b1-6ead-4383-a205-ad1ce69d9ef7}") = "Turbidity", "Turbidity\Turbidity.nfproj", "{05ac8aed-49a4-5c9f-d8c2-8d2debf64791}"
EndProject
Project("{d608a2b1-6ead-4383-a205-ad1ce69d9ef7}") = "VascularResistance", "VascularResistance\VascularResistance.nfproj", "{e57461b3-2e74-bd44-a189-4e453551f9c5}"
EndProject
Project("{d608a2b1-6ead-4383-a205-ad1ce69d9ef7}") = "VitaminA", "VitaminA\VitaminA.nfproj", "{c00185af-8735-7674-5fa6-232424b04161}"
EndProject
Project("{d608a2b1-6ead-4383-a205-ad1ce69d9ef7}") = "Volume", "Volume\Volume.nfproj", "{66b90fb1-20d7-f563-3477-4c7c6b404f4d}"
Expand Down Expand Up @@ -968,6 +970,12 @@ Global
{05ac8aed-49a4-5c9f-d8c2-8d2debf64791}.Release|Any CPU.ActiveCfg = Release|Any CPU
{05ac8aed-49a4-5c9f-d8c2-8d2debf64791}.Release|Any CPU.Build.0 = Release|Any CPU
{05ac8aed-49a4-5c9f-d8c2-8d2debf64791}.Release|Any CPU.Deploy.0 = Release|Any CPU
{e57461b3-2e74-bd44-a189-4e453551f9c5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{e57461b3-2e74-bd44-a189-4e453551f9c5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{e57461b3-2e74-bd44-a189-4e453551f9c5}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{e57461b3-2e74-bd44-a189-4e453551f9c5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{e57461b3-2e74-bd44-a189-4e453551f9c5}.Release|Any CPU.Build.0 = Release|Any CPU
{e57461b3-2e74-bd44-a189-4e453551f9c5}.Release|Any CPU.Deploy.0 = Release|Any CPU
{c00185af-8735-7674-5fa6-232424b04161}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{c00185af-8735-7674-5fa6-232424b04161}.Debug|Any CPU.Build.0 = Debug|Any CPU
{c00185af-8735-7674-5fa6-232424b04161}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>UnitsNet.nanoFramework.VascularResistance</id>
<version>5.64.0</version>
<title>Units.NET VascularResistance - nanoFramework</title>
<authors>Andreas Gullberg Larsen,nanoframework</authors>
<owners>UnitsNet</owners>
<license type="expression">MIT-0</license>
<projectUrl>https://github.com/angularsen/UnitsNet</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Adds VascularResistance units for Units.NET on .NET nanoFramework. For .NET or .NET Core, use UnitsNet instead.</description>
<iconUrl>https://raw.githubusercontent.com/angularsen/UnitsNet/ce85185429be345d77eb2ce09c99d59cc9ab8aed/Docs/Images/logo-32.png</iconUrl>
<releaseNotes>
</releaseNotes>
<copyright>Copyright 2013 Andreas Gullberg Larsen ([email protected]).</copyright>
<language>en-US</language>
<tags>nanoframework vascularresistance unit units quantity quantities measurement si metric imperial abbreviation abbreviations convert conversion parse immutable</tags>
<dependencies>
<dependency id="nanoFramework.CoreLibrary" version="1.15.5" />
</dependencies>
</metadata>
<files>
<file src="..\..\..\Artifacts\UnitsNet.NanoFramework\VascularResistance\UnitsNet.*" target="lib" />
</files>
</package>
Loading