Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
Volume.cs
1using System.Collections.Generic;
3
5{
10 public class Volume : IDerivedQuantity
11 {
16 public Volume()
17 {
18 }
19
23 public string Name => "Volume";
24
28 public Unit Reference => reference;
29
30 private static readonly Unit reference = new Unit(new AtomicUnit("l"));
31
35 public KeyValuePair<string, PhysicalQuantity>[] DerivedUnits
36 {
37 get
38 {
39 return new KeyValuePair<string, PhysicalQuantity>[]
40 {
41 new KeyValuePair<string, PhysicalQuantity>("l", new PhysicalQuantity(1, new Unit(Prefix.Milli,
42 new KeyValuePair<AtomicUnit, int>[]
43 {
44 new KeyValuePair<AtomicUnit, int>(new AtomicUnit("m"), 3)
45 })))
46 };
47 }
48 }
49 }
50}
Represents an atomic unit.
Definition: AtomicUnit.cs:7
Volume is the quantity of three-dimensional space enclosed by some closed boundary,...
Definition: Volume.cs:11
Volume()
Volume is the quantity of three-dimensional space enclosed by some closed boundary,...
Definition: Volume.cs:16
string Name
Name of derived quantity.
Definition: Volume.cs:23
Unit Reference
Reference unit of category.
Definition: Volume.cs:28
KeyValuePair< string, PhysicalQuantity >[] DerivedUnits
Derived Units supported.
Definition: Volume.cs:36
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