OSDC.UnitConversion.Conversion.DrillingEngineering 3.3.12

dotnet add package OSDC.UnitConversion.Conversion.DrillingEngineering --version 3.3.12                
NuGet\Install-Package OSDC.UnitConversion.Conversion.DrillingEngineering -Version 3.3.12                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OSDC.UnitConversion.Conversion.DrillingEngineering" Version="3.3.12" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OSDC.UnitConversion.Conversion.DrillingEngineering --version 3.3.12                
#r "nuget: OSDC.UnitConversion.Conversion.DrillingEngineering, 3.3.12"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install OSDC.UnitConversion.Conversion.DrillingEngineering as a Cake Addin
#addin nuget:?package=OSDC.UnitConversion.Conversion.DrillingEngineering&version=3.3.12

// Install OSDC.UnitConversion.Conversion.DrillingEngineering as a Cake Tool
#tool nuget:?package=OSDC.UnitConversion.Conversion.DrillingEngineering&version=3.3.12                

Model for unit conversion of PhysicalQuantity

This nuget package hosts the C# model for converting units of a PhysicalQuantity. Classes and methods are scoped within the namespace: UnitConversion.Conversion.DrillingEngineering

More info on:

https://github.com/Open-Source-Drilling-Community/UnitConversion

Generation of Enumerations

This project has one file that is automaticaly generated EnumerationQuantities.cs. This file contains partial classes for each of the physical quantities. Each partial class definition defines an enumeration for each of the unit choices that are defined for this physical quantity and a lookup table that defines the association between the enumeration and the GUID of the unit choice.

To generate the file EnumerationQuantities.cs, one must run the program GenerateEnumerations. The generation of the file is necessary each time a modification is made in the list of unit choices of a physical quantity or when a new physical quantity is added or removed. However, there is a potential bootstrap problem with the definitions of the unit choices for the UnitSystem. As each UnitSystem has a list of unit choices and these choices are usually defined using the unit choice enumeration, if the enumeration does not yet exist or its name is changed, then the project does not compile and it is not possible to generate the enumerations using the program GenerateEnumerations. So it is advised to define the unit choice for the particular physical quantity using its name or its GUID, then generate the enumerations by running the program GenerateEnumerationand finally replace the name of the unit choice with its equivalent enumeration.

Choices.Add(AccelerationDrillingQuantity.Instance.ID.ToString(), AccelerationDrillingQuantity.Instance.GetUnitChoice("metre per second squared").ID.ToString());
GenerateEnumerations
Choices.Add(AccelerationDrillingQuantity.Instance.ID.ToString(), AccelerationDrillingQuantity.Instance.GetUnitChoice(AccelerationDrillingQuantity.UnitChoicesEnum.MetrePerSecondSquared).ID.ToString());

Contributors

Eric Cayeux, NORCE Energy Modelling and Automation

Gilles Pelfrene, NORCE Energy Modelling and Automation

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on OSDC.UnitConversion.Conversion.DrillingEngineering:

Package Downloads
DWIS.Vocabulary.Utils

Utilities for loading and writing vocabulary, mostly towards markdown representation.

OSDC.DotnetLibraries.Drilling.DrillingProperties

Package Description

OSDC.UnitConversion.DrillingRazorComponents

A package with Blazor components to manage unit and reference conversions.

OSDC.UnitConversion.Conversion.UnitSystem.DrillingEngineering

Package Description

OSDC.DotnetLibraries.General.DrillingProperties

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.3.12 895 8/30/2024
3.3.11 124 8/30/2024
3.3.10 117 8/29/2024
3.3.9 111 8/29/2024
3.3.8 114 8/29/2024
3.3.7 122 8/29/2024
3.3.6 169 8/27/2024
3.3.5 133 8/27/2024
3.3.4 136 8/26/2024
3.3.3 129 8/26/2024
3.3.2 122 8/26/2024
3.3.1 137 8/23/2024
3.3.0 137 8/23/2024
3.2.10 152 8/20/2024
3.2.9 128 8/20/2024
3.2.8 143 8/20/2024
3.2.7 119 8/20/2024
3.2.6 152 8/19/2024
3.2.1 201 8/17/2024
3.2.0 142 8/17/2024
3.1.0 99 8/8/2024
3.0.7 198 8/5/2024
3.0.6 89 8/5/2024
3.0.5 86 8/5/2024
3.0.4 108 7/30/2024
3.0.3 98 7/26/2024
3.0.2 79 7/25/2024
3.0.1 86 7/25/2024
3.0.0 77 7/25/2024
2.0.2 155 7/23/2024
2.0.1 109 7/23/2024
2.0.0 181 7/18/2024
1.0.49 113 7/18/2024
1.0.48 142 7/12/2024
1.0.46 160 7/12/2024
1.0.45 102 7/12/2024
1.0.44 115 7/11/2024
1.0.43 109 7/10/2024
1.0.42 112 7/10/2024
1.0.40 111 7/10/2024
1.0.39 102 7/9/2024
1.0.38 108 7/9/2024
1.0.37 95 7/9/2024
1.0.36 100 7/9/2024
1.0.35 102 7/5/2024
1.0.33 101 7/5/2024
1.0.32 95 7/4/2024
1.0.31 114 7/3/2024
1.0.30 398 5/6/2024
1.0.29 512 4/18/2024
1.0.28 205 4/11/2024
1.0.27 1,662 11/3/2023
1.0.26 230 10/30/2023
1.0.25 162 10/29/2023
1.0.24 179 10/29/2023
1.0.23 187 10/29/2023
1.0.22 173 10/28/2023
1.0.21 133 10/28/2023
1.0.20 185 10/27/2023
1.0.19 205 10/26/2023
1.0.18 241 8/15/2023
1.0.17 921 5/5/2023
1.0.16 184 5/5/2023
1.0.15 525 3/26/2023
1.0.14 317 3/26/2023
1.0.13 301 3/24/2023
1.0.12 273 3/23/2023
1.0.11 352 3/21/2023
1.0.10 275 3/17/2023
1.0.9 256 3/17/2023
1.0.8 282 3/17/2023
1.0.7 221 3/17/2023
1.0.6 547 3/16/2023