Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
Frequency.cs
1using System.Collections.Generic;
3
5{
10 {
14 public Frequency()
15 {
16 }
17
21 public string Name => "Frequency";
22
26 public Unit Reference => reference;
27
28 private static readonly Unit reference = new Unit(new AtomicUnit("Hz"));
29
33 public KeyValuePair<string, PhysicalQuantity>[] DerivedUnits
34 {
35 get
36 {
37 return new KeyValuePair<string, PhysicalQuantity>[]
38 {
39 new KeyValuePair<string, PhysicalQuantity>("Hz", new PhysicalQuantity(1, new Unit(Prefix.None,
40 new KeyValuePair<AtomicUnit, int>[]
41 {
42 new KeyValuePair<AtomicUnit, int>(new AtomicUnit("s"), -1)
43 }))),
44 new KeyValuePair<string, PhysicalQuantity>("cps", new PhysicalQuantity(1, new Unit(Prefix.None,
45 new KeyValuePair<AtomicUnit, int>[]
46 {
47 new KeyValuePair<AtomicUnit, int>(new AtomicUnit("s"), -1)
48 }))),
49 new KeyValuePair<string, PhysicalQuantity>("rpm", new PhysicalQuantity(1, new Unit(Prefix.None,
50 new KeyValuePair<AtomicUnit, int>[]
51 {
52 new KeyValuePair<AtomicUnit, int>(new AtomicUnit("min"), -1)
53 })))
54 };
55 }
56 }
57 }
58}
Represents an atomic unit.
Definition: AtomicUnit.cs:7
Frequency is the number of occurrences of a repeating event per unit time.
Definition: Frequency.cs:10
KeyValuePair< string, PhysicalQuantity >[] DerivedUnits
Derived Units supported.
Definition: Frequency.cs:34
Frequency()
Frequency is the number of occurrences of a repeating event per unit time.
Definition: Frequency.cs:14
string Name
Name of derived quantity.
Definition: Frequency.cs:21
Unit Reference
Reference unit of category.
Definition: Frequency.cs:26
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