Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
Charge.cs
1using System.Collections.Generic;
3
5{
9 public class Charge : IDerivedQuantity
10 {
14 public Charge()
15 {
16 }
17
21 public string Name => "Charge";
22
26 public Unit Reference => reference;
27
28 private static readonly Unit reference = new Unit(new AtomicUnit("C"));
29
33 public KeyValuePair<string, PhysicalQuantity>[] DerivedUnits
34 {
35 get
36 {
37 return new KeyValuePair<string, PhysicalQuantity>[]
38 {
39 new KeyValuePair<string, PhysicalQuantity>("C", new PhysicalQuantity(1, new Unit(Prefix.None,
40 new KeyValuePair<AtomicUnit, int>[]
41 {
42 new KeyValuePair<AtomicUnit, int>(new AtomicUnit("s"), 1),
43 new KeyValuePair<AtomicUnit, int>(new AtomicUnit("A"), 1)
44 })))
45 };
46 }
47 }
48 }
49}
Represents an atomic unit.
Definition: AtomicUnit.cs:7
KeyValuePair< string, PhysicalQuantity >[] DerivedUnits
Derived Units supported.
Definition: Charge.cs:34
string Name
Name of derived quantity.
Definition: Charge.cs:21
Unit Reference
Reference unit of category.
Definition: Charge.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