Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
Speed.cs
1using System.Collections.Generic;
3
5{
10 public class Speed : IDerivedQuantity
11 {
16 public Speed()
17 {
18 }
19
23 public string Name => "Speed";
24
28 public Unit Reference => reference;
29
30 private static readonly Unit reference = new Unit(new AtomicUnit("knot"));
31
35 public KeyValuePair<string, PhysicalQuantity>[] DerivedUnits
36 {
37 get
38 {
39 return new KeyValuePair<string, PhysicalQuantity>[]
40 {
41 new KeyValuePair<string, PhysicalQuantity>("knot", new PhysicalQuantity(0.514444, new Unit(Prefix.None,
42 new KeyValuePair<AtomicUnit, int>[]
43 {
44 new KeyValuePair<AtomicUnit, int>(new AtomicUnit("m"), 1),
45 new KeyValuePair<AtomicUnit, int>(new AtomicUnit("s"), -1)
46 }))),
47 new KeyValuePair<string, PhysicalQuantity>("kn", new PhysicalQuantity(0.514444, new Unit(Prefix.None,
48 new KeyValuePair<AtomicUnit, int>[]
49 {
50 new KeyValuePair<AtomicUnit, int>(new AtomicUnit("m"), 1),
51 new KeyValuePair<AtomicUnit, int>(new AtomicUnit("s"), -1)
52 }))),
53 new KeyValuePair<string, PhysicalQuantity>("kt", new PhysicalQuantity(0.514444, new Unit(Prefix.None,
54 new KeyValuePair<AtomicUnit, int>[]
55 {
56 new KeyValuePair<AtomicUnit, int>(new AtomicUnit("m"), 1),
57 new KeyValuePair<AtomicUnit, int>(new AtomicUnit("s"), -1)
58 })))
59 };
60 }
61 }
62 }
63}
Represents an atomic unit.
Definition: AtomicUnit.cs:7
In everyday use and in kinematics, the speed of an object is the magnitude of its velocity (the rate ...
Definition: Speed.cs:11
Speed()
In everyday use and in kinematics, the speed of an object is the magnitude of its velocity (the rate ...
Definition: Speed.cs:16
Unit Reference
Reference unit of category.
Definition: Speed.cs:28
KeyValuePair< string, PhysicalQuantity >[] DerivedUnits
Derived Units supported.
Definition: Speed.cs:36
string Name
Name of derived quantity.
Definition: Speed.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