- Notifications
You must be signed in to change notification settings - Fork 416
Add StandardVolumeFlow quantity#870
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,119 @@ | ||
| { | ||
| "Name": "StandardVolumeFlow", | ||
| "BaseUnit": "StandardCubicMeterPerSecond", | ||
| "XmlDoc": "The molar flow rate of a gas corrected to standardized conditions of temperature and pressure thus representing a fixed number of moles of gas regardless of composition and actual flow conditions.", | ||
| "BaseDimensions": { | ||
| "M": 1, | ||
| "T": -1 | ||
| }, | ||
| "Units": [ | ||
| { | ||
| "SingularName": "StandardCubicMeterPerSecond", | ||
| "PluralName": "StandardCubicMetersPerSecond", | ||
| "FromUnitToBaseFunc": "x", | ||
| "FromBaseToUnitFunc": "x", | ||
| "Localization": [ | ||
| { | ||
| "Culture": "en-US", | ||
| "Abbreviations": [ "Sm³/s" ] | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "SingularName": "StandardCubicMeterPerMinute", | ||
| "PluralName": "StandardCubicMetersPerMinute", | ||
| "FromUnitToBaseFunc": "x/60", | ||
| "FromBaseToUnitFunc": "x*60", | ||
| "Localization": [ | ||
| { | ||
| "Culture": "en-US", | ||
| "Abbreviations": [ "Sm³/min" ] | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "SingularName": "StandardCubicMeterPerHour", | ||
| "PluralName": "StandardCubicMetersPerHour", | ||
| "FromUnitToBaseFunc": "x/3600", | ||
| "FromBaseToUnitFunc": "x*3600", | ||
| "Localization": [ | ||
| { | ||
| "Culture": "en-US", | ||
| "Abbreviations": [ "Sm³/h" ] | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "SingularName": "StandardCubicMeterPerDay", | ||
| "PluralName": "StandardCubicMetersPerDay", | ||
| "FromUnitToBaseFunc": "x/86400", | ||
| "FromBaseToUnitFunc": "x*86400", | ||
| "Localization": [ | ||
| { | ||
| "Culture": "en-US", | ||
| "Abbreviations": [ "Sm³/d" ] | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "SingularName": "StandardCubicCentimeterPerMinute", | ||
| "PluralName": "StandardCubicCentimetersPerMinute", | ||
| "FromUnitToBaseFunc": "x/6e7", | ||
| "FromBaseToUnitFunc": "x*6e7", | ||
| "Localization": [ | ||
| { | ||
| "Culture": "en-US", | ||
| "Abbreviations": [ "sccm" ] | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "SingularName": "StandardLiterPerMinute", | ||
| "PluralName": "StandardLitersPerMinute", | ||
| "FromUnitToBaseFunc": "x/60000", | ||
| "FromBaseToUnitFunc": "x*60000", | ||
| "Localization": [ | ||
| { | ||
| "Culture": "en-US", | ||
| "Abbreviations": [ "slm" ] | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "SingularName": "StandardCubicFootPerSecond", | ||
| "PluralName": "StandardCubicFeetPerSecond", | ||
| "FromUnitToBaseFunc": "x/35.314666721", | ||
| "FromBaseToUnitFunc": "x*35.314666721", | ||
| "Localization": [ | ||
| { | ||
| "Culture": "en-US", | ||
| "Abbreviations": [ "Sft³/s" ] | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "SingularName": "StandardCubicFootPerMinute", | ||
| "PluralName": "StandardCubicFeetPerMinute", | ||
| "FromUnitToBaseFunc": "x/2118.88000326", | ||
| "FromBaseToUnitFunc": "x*2118.88000326", | ||
| "Localization": [ | ||
| { | ||
| "Culture": "en-US", | ||
| "Abbreviations": [ "scfm" ] | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "SingularName": "StandardCubicFootPerHour", | ||
| "PluralName": "StandardCubicFeetPerHour", | ||
| "FromUnitToBaseFunc": "x*7.8657907199999087346816086183876e-6", | ||
| "FromBaseToUnitFunc": "x/7.8657907199999087346816086183876e-6", | ||
| "Localization": [ | ||
| { | ||
| "Culture": "en-US", | ||
| "Abbreviations": [ "scfh" ] | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| //------------------------------------------------------------------------------ | ||
| // <auto-generated> | ||
| // This code was generated by \generate-code.bat. | ||
| // | ||
| // Changes to this file will be lost when the code is regenerated. | ||
| // The build server regenerates the code before each build and a pre-build | ||
| // step will regenerate the code on each local build. | ||
| // | ||
| // See https://github.com/angularsen/UnitsNet/wiki/Adding-a-New-Unit for how to add or edit units. | ||
| // | ||
| // Add CustomCode\Quantities\MyQuantity.extra.cs files to add code to generated quantities. | ||
| // Add UnitDefinitions\MyQuantity.json and run generate-code.bat to generate new units or quantities. | ||
| // | ||
| // </auto-generated> | ||
| //------------------------------------------------------------------------------ | ||
| // Licensed under MIT No Attribution, see LICENSE file at the root. | ||
| // Copyright 2013 Andreas Gullberg Larsen (andreas.larsen84@gmail.com). Maintained at https://github.com/angularsen/UnitsNet. | ||
| using System; | ||
| namespace UnitsNet.Tests.CustomCode | ||
| { | ||
| public class StandardVolumeFlowTests : StandardVolumeFlowTestsBase | ||
| { | ||
| // Override properties in base class here | ||
| protected override bool SupportsSIUnitSystem { get; } | ||
| protected override double StandardCubicCentimetersPerMinuteInOneStandardCubicMeterPerSecond => 6e7; | ||
| protected override double StandardCubicFeetPerHourInOneStandardCubicMeterPerSecond => 1.271328001973604e+5; | ||
| protected override double StandardCubicFeetPerMinuteInOneStandardCubicMeterPerSecond => 2.11888E3; | ||
| protected override double StandardCubicFeetPerSecondInOneStandardCubicMeterPerSecond => 35.314666721489; | ||
| protected override double StandardCubicMetersPerDayInOneStandardCubicMeterPerSecond => 8.64e4; | ||
| protected override double StandardCubicMetersPerHourInOneStandardCubicMeterPerSecond => 3.6e3; | ||
| protected override double StandardCubicMetersPerMinuteInOneStandardCubicMeterPerSecond => 6.0e1; | ||
| protected override double StandardCubicMetersPerSecondInOneStandardCubicMeterPerSecond => 1; | ||
| protected override double StandardLitersPerMinuteInOneStandardCubicMeterPerSecond => 60000; | ||
angularsen marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| } | ||
| } | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.