Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
Pressure.cs
1using System.Collections.Generic;
3
5{
11 {
16 public Pressure()
17 {
18 }
19
23 public string Name => "Pressure";
24
28 public Unit Reference => reference;
29
30 private static readonly Unit reference = new Unit(new AtomicUnit("Pa"));
31
35 public KeyValuePair<string, PhysicalQuantity>[] DerivedUnits
36 {
37 get
38 {
39 return new KeyValuePair<string, PhysicalQuantity>[]
40 {
41 new KeyValuePair<string, PhysicalQuantity>("Pa", new PhysicalQuantity(1, new Unit(Prefix.Kilo,
42 new KeyValuePair<AtomicUnit, int>[]
43 {
44 new KeyValuePair<AtomicUnit, int>(new AtomicUnit("g"), 1),
45 new KeyValuePair<AtomicUnit, int>(new AtomicUnit("m"), -1),
46 new KeyValuePair<AtomicUnit, int>(new AtomicUnit("s"), -2)
47 }))),
48 new KeyValuePair<string, PhysicalQuantity>("bar", new PhysicalQuantity(100, new Unit(Prefix.Mega,
49 new KeyValuePair<AtomicUnit, int>[]
50 {
51 new KeyValuePair<AtomicUnit, int>(new AtomicUnit("g"), 1),
52 new KeyValuePair<AtomicUnit, int>(new AtomicUnit("m"), -1),
53 new KeyValuePair<AtomicUnit, int>(new AtomicUnit("s"), -2)
54 }))),
55 new KeyValuePair<string, PhysicalQuantity>("psi", new PhysicalQuantity(6.894757, new Unit(Prefix.Mega,
56 new KeyValuePair<AtomicUnit, int>[]
57 {
58 new KeyValuePair<AtomicUnit, int>(new AtomicUnit("g"), 1),
59 new KeyValuePair<AtomicUnit, int>(new AtomicUnit("m"), -1),
60 new KeyValuePair<AtomicUnit, int>(new AtomicUnit("s"), -2)
61 }))),
62 new KeyValuePair<string, PhysicalQuantity>("atm", new PhysicalQuantity(101325, new Unit(Prefix.Kilo,
63 new KeyValuePair<AtomicUnit, int>[]
64 {
65 new KeyValuePair<AtomicUnit, int>(new AtomicUnit("g"), 1),
66 new KeyValuePair<AtomicUnit, int>(new AtomicUnit("m"), -1),
67 new KeyValuePair<AtomicUnit, int>(new AtomicUnit("s"), -2)
68 })))
69 };
70 }
71 }
72 }
73}
Represents an atomic unit.
Definition: AtomicUnit.cs:7
Pressure (symbol: p or P) is the force applied perpendicular to the surface of an object per unit are...
Definition: Pressure.cs:11
Unit Reference
Reference unit of category.
Definition: Pressure.cs:28
KeyValuePair< string, PhysicalQuantity >[] DerivedUnits
Derived Units supported.
Definition: Pressure.cs:36
Pressure()
Pressure (symbol: p or P) is the force applied perpendicular to the surface of an object per unit are...
Definition: Pressure.cs:16
string Name
Name of derived quantity.
Definition: Pressure.cs:23
Represents a unit.
Definition: Unit.cs:15
Interface for derived quantities
Prefix
SI prefixes. http://physics.nist.gov/cuu/Units/prefixes.html
Definition: Prefixes.cs:11