Skip to content

Commit e242296

Browse files
authored
Add VolumeFlowPerArea (#1005)
1 parent 97436d1 commit e242296

File tree

24 files changed

+2613
-3
lines changed

24 files changed

+2613
-3
lines changed

Common/UnitDefinitions/VolumeFlow.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
"Localization": [
8888
{
8989
"Culture": "en-US",
90-
"Abbreviations": [ "ft³/min" ]
90+
"Abbreviations": [ "ft³/min", "CFM" ]
9191
}
9292
]
9393
},
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"Name": "VolumeFlowPerArea",
3+
"BaseUnit": "CubicMeterPerSecondPerSquareMeter",
4+
"XmlDoc": "The volumetric flow rate per area is the volume of fluid which passes through a given unit surface area per unit time.",
5+
"BaseDimensions": {
6+
"L": 1,
7+
"T": -1
8+
},
9+
"Units": [
10+
{
11+
"SingularName": "CubicMeterPerSecondPerSquareMeter",
12+
"PluralName": "CubicMetersPerSecondPerSquareMeter",
13+
"BaseUnits": {
14+
"L": "Meter",
15+
"T": "Second"
16+
},
17+
"FromUnitToBaseFunc": "x",
18+
"FromBaseToUnitFunc": "x",
19+
"Localization": [
20+
{
21+
"Culture": "en-US",
22+
"Abbreviations": [ "m³/(s·m²)" ]
23+
}
24+
]
25+
},
26+
{
27+
"SingularName": "CubicFootPerMinutePerSquareFoot",
28+
"PluralName": "CubicFeetPerMinutePerSquareFoot",
29+
"BaseUnits": {
30+
"L": "Foot",
31+
"T": "Minute"
32+
33+
},
34+
"FromUnitToBaseFunc": "x/196.850394",
35+
"FromBaseToUnitFunc": "x*196.850394",
36+
"Localization": [
37+
{
38+
"Culture": "en-US",
39+
"Abbreviations": [ "CFM/ft²" ]
40+
}
41+
]
42+
}
43+
44+
]
45+
}

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

Lines changed: 176 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/VolumeFlowPerAreaUnit.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
@@ -218,6 +218,8 @@ Project("{d608a2b1-6ead-4383-a205-ad1ce69d9ef7}") = "VolumeConcentration", "Volu
218218
EndProject
219219
Project("{d608a2b1-6ead-4383-a205-ad1ce69d9ef7}") = "VolumeFlow", "VolumeFlow\VolumeFlow.nfproj", "{b22e47e1-9506-56e6-3d19-780b887d8cb3}"
220220
EndProject
221+
Project("{d608a2b1-6ead-4383-a205-ad1ce69d9ef7}") = "VolumeFlowPerArea", "VolumeFlowPerArea\VolumeFlowPerArea.nfproj", "{753bcc52-c451-8b29-6ae7-520b02ee6960}"
222+
EndProject
221223
Project("{d608a2b1-6ead-4383-a205-ad1ce69d9ef7}") = "VolumePerLength", "VolumePerLength\VolumePerLength.nfproj", "{b66e3a3e-7945-3d40-24ef-73fa6e1b8d41}"
222224
EndProject
223225
Project("{d608a2b1-6ead-4383-a205-ad1ce69d9ef7}") = "VolumetricHeatCapacity", "VolumetricHeatCapacity\VolumetricHeatCapacity.nfproj", "{cd2b60c1-a4b5-36f2-afa3-6cf1031f9e7f}"
@@ -878,6 +880,12 @@ Global
878880
{b22e47e1-9506-56e6-3d19-780b887d8cb3}.Release|Any CPU.ActiveCfg = Release|Any CPU
879881
{b22e47e1-9506-56e6-3d19-780b887d8cb3}.Release|Any CPU.Build.0 = Release|Any CPU
880882
{b22e47e1-9506-56e6-3d19-780b887d8cb3}.Release|Any CPU.Deploy.0 = Release|Any CPU
883+
{753bcc52-c451-8b29-6ae7-520b02ee6960}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
884+
{753bcc52-c451-8b29-6ae7-520b02ee6960}.Debug|Any CPU.Build.0 = Debug|Any CPU
885+
{753bcc52-c451-8b29-6ae7-520b02ee6960}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
886+
{753bcc52-c451-8b29-6ae7-520b02ee6960}.Release|Any CPU.ActiveCfg = Release|Any CPU
887+
{753bcc52-c451-8b29-6ae7-520b02ee6960}.Release|Any CPU.Build.0 = Release|Any CPU
888+
{753bcc52-c451-8b29-6ae7-520b02ee6960}.Release|Any CPU.Deploy.0 = Release|Any CPU
881889
{b66e3a3e-7945-3d40-24ef-73fa6e1b8d41}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
882890
{b66e3a3e-7945-3d40-24ef-73fa6e1b8d41}.Debug|Any CPU.Build.0 = Debug|Any CPU
883891
{b66e3a3e-7945-3d40-24ef-73fa6e1b8d41}.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.VolumeFlowPerArea</id>
5+
<version>4.110.0</version>
6+
<title>Units.NET VolumeFlowPerArea - nanoFramework</title>
7+
<authors>Andreas Gullberg Larsen,nanoFramework project contributors</authors>
8+
<owners>UnitsNet</owners>
9+
<license type="expression">MIT</license>
10+
<projectUrl>https://github.com/angularsen/UnitsNet</projectUrl>
11+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
12+
<description>Adds VolumeFlowPerArea 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 unit units measurement si metric imperial abbreviation abbreviations convert conversion parse c# .net immutable uwp uap winrt win10 windows runtime component volumeflowperarea</tags>
19+
<dependencies>
20+
<dependency id="nanoFramework.CoreLibrary" version="1.11.7" />
21+
</dependencies>
22+
</metadata>
23+
<files>
24+
<file src="..\..\..\Artifacts\UnitsNet.NanoFramework\VolumeFlowPerArea\UnitsNet.*" target="lib" />
25+
</files>
26+
</package>
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup Label="Globals">
4+
<NanoFrameworkProjectSystemPath>$(MSBuildToolsPath)..\..\..\nanoFramework\v1.0\</NanoFrameworkProjectSystemPath>
5+
</PropertyGroup>
6+
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.Default.props" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.Default.props')" />
7+
<PropertyGroup>
8+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
9+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
10+
<ProjectTypeGuids>{11A8DD76-328B-46DF-9F39-F559912D0360};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
11+
<ProjectGuid>{753bcc52-c451-8b29-6ae7-520b02ee6960}</ProjectGuid>
12+
<OutputType>Library</OutputType>
13+
<AppDesignerFolder>Properties</AppDesignerFolder>
14+
<FileAlignment>512</FileAlignment>
15+
<RootNamespace>UnitsNet</RootNamespace>
16+
<AssemblyName>UnitsNet.VolumeFlowPerArea</AssemblyName>
17+
<TargetFrameworkVersion>v1.0</TargetFrameworkVersion>
18+
<DocumentationFile>bin\$(Configuration)\$(AssemblyName).xml</DocumentationFile>
19+
</PropertyGroup>
20+
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.props" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.props')" />
21+
<ItemGroup>
22+
<Compile Include="..\Quantities\VolumeFlowPerArea.g.cs" />
23+
<Compile Include="..\Units\VolumeFlowPerAreaUnit.g.cs" />
24+
<Compile Include="..\Properties\AssemblyInfo.cs" />
25+
</ItemGroup>
26+
<ItemGroup>
27+
<Reference Include="mscorlib, Version=1.11.7.2, Culture=neutral, PublicKeyToken=c07d481e9758c731">
28+
<HintPath>..\packages\nanoFramework.CoreLibrary.1.11.7\lib\mscorlib.dll</HintPath>
29+
<Private>True</Private>
30+
<SpecificVersion>True</SpecificVersion>
31+
</Reference>
32+
</ItemGroup>
33+
<ItemGroup>
34+
<None Include="packages.config" />
35+
</ItemGroup>
36+
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.CSharp.targets" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.CSharp.targets')" />
37+
<ProjectExtensions>
38+
<ProjectCapabilities>
39+
<ProjectConfigurationsDeclaredAsItems />
40+
</ProjectCapabilities>
41+
</ProjectExtensions>
42+
</Project>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<packages>
3+
<package id="nanoFramework.CoreLibrary" version="1.11.7" targetFramework="netnanoframework10" />
4+
</packages>

0 commit comments

Comments
 (0)