OSDC.UnitConversion.Conversion.UnitSystem
3.3.12
dotnet add package OSDC.UnitConversion.Conversion.UnitSystem --version 3.3.12
NuGet\Install-Package OSDC.UnitConversion.Conversion.UnitSystem -Version 3.3.12
<PackageReference Include="OSDC.UnitConversion.Conversion.UnitSystem" Version="3.3.12" />
paket add OSDC.UnitConversion.Conversion.UnitSystem --version 3.3.12
#r "nuget: OSDC.UnitConversion.Conversion.UnitSystem, 3.3.12"
// Install OSDC.UnitConversion.Conversion.UnitSystem as a Cake Addin #addin nuget:?package=OSDC.UnitConversion.Conversion.UnitSystem&version=3.3.12 // Install OSDC.UnitConversion.Conversion.UnitSystem as a Cake Tool #tool nuget:?package=OSDC.UnitConversion.Conversion.UnitSystem&version=3.3.12
Model for unit conversion of BasePhysicalQuantity
This nuget package hosts the C# model for managing sets of unit choices for physical quantities. Such a set forms a BaseUnitSystem.
More info on:
https://github.com/Open-Source-Drilling-Community/UnitConversion
Default UnitChoices for the Base Unit Systems
There are four default base unit systems: SI
, Metric
, Imperial
and US
.
It is mandatory to define the unit choice for every physical quantities for
each of these based unit systems. This is done by adding a line for each
of the BaseUnitSystem
in the file BaseUnitSystem.cs
. This line looks like that:
Choices.Add(AccelerationQuantity.Instance.ID.ToString(), AccelerationQuantity.Instance.GetUnitChoice(AccelerationQuantity.UnitChoicesEnum.MetrePerSecondSquared).ID.ToString());
Contributors
Eric Cayeux, NORCE Energy Modelling and Automation
Gilles Pelfrene, NORCE Energy Modelling and Automation
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- OSDC.UnitConversion.Conversion (>= 3.3.12)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on OSDC.UnitConversion.Conversion.UnitSystem:
Package | Downloads |
---|---|
OSDC.UnitConversion.Conversion.UnitSystem.DrillingEngineering
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.3.12 | 147 | 8/30/2024 |
3.3.11 | 124 | 8/30/2024 |
3.3.10 | 127 | 8/29/2024 |
3.3.9 | 118 | 8/29/2024 |
3.3.8 | 121 | 8/29/2024 |
3.3.7 | 131 | 8/29/2024 |
3.3.6 | 149 | 8/27/2024 |
3.3.5 | 137 | 8/27/2024 |
3.3.4 | 140 | 8/26/2024 |
3.3.3 | 133 | 8/26/2024 |
3.3.2 | 137 | 8/26/2024 |
3.3.1 | 155 | 8/23/2024 |
3.3.0 | 137 | 8/23/2024 |
3.2.11 | 152 | 8/20/2024 |
3.2.10 | 127 | 8/20/2024 |
3.2.7 | 168 | 8/20/2024 |
3.2.6 | 160 | 8/19/2024 |
3.2.1 | 183 | 8/19/2024 |
3.2.0 | 185 | 8/17/2024 |