1 package org.djunits.unit;
2
3 import org.djunits.quantity.Quantity;
4 import org.djunits.unit.scale.IdentityScale;
5 import org.djunits.unit.si.SIPrefixes;
6 import org.djunits.unit.unitsystem.UnitSystem;
7
8
9
10
11
12
13
14
15
16
17 public class RadioActivityUnit extends Unit<RadioActivityUnit>
18 {
19
20
21 private static final long serialVersionUID = 20190830;
22
23
24 public static final Quantity<RadioActivityUnit> BASE = new Quantity<>("RadioActivity", "/s");
25
26
27 public static final RadioActivityUnit SI = new RadioActivityUnit().build(new Unit.Builder<RadioActivityUnit>()
28 .setQuantity(BASE).setId("Bq").setName("becquerel").setUnitSystem(UnitSystem.SI_DERIVED)
29 .setSiPrefixes(SIPrefixes.UNIT_POS, 1.0).setScale(IdentityScale.SCALE));
30
31
32 public static final RadioActivityUnit BECQUEREL = SI;
33
34
35 public static final RadioActivityUnit KILOBECQUEREL = BECQUEREL.deriveLinear(1.0E3, "kBq", "kilobequerel");
36
37
38 public static final RadioActivityUnit MEGABECQUEREL = BECQUEREL.deriveLinear(1.0E6, "MBq", "megabequerel");
39
40
41 public static final RadioActivityUnit GIGABECQUEREL = BECQUEREL.deriveLinear(1.0E9, "GBq", "gigabequerel");
42
43
44 public static final RadioActivityUnit TERABECQUEREL = BECQUEREL.deriveLinear(1.0E12, "TBq", "terabequerel");
45
46
47 public static final RadioActivityUnit PETABECQUEREL = BECQUEREL.deriveLinear(1.0E15, "PBq", "petabequerel");
48
49
50 public static final RadioActivityUnit CURIE = BECQUEREL.deriveLinear(3.7E10, "Ci", "curie", UnitSystem.OTHER);
51
52
53 public static final RadioActivityUnit MILLICURIE = CURIE.deriveLinear(1.0E-3, "mCi", "millicurie");
54
55
56 public static final RadioActivityUnit MICROCURIE =
57 CURIE.deriveLinear(1.0E-6, "muCi", "microcurie", UnitSystem.OTHER, "muCi", "muCi", "\u03BCCi");
58
59
60 public static final RadioActivityUnit NANOCURIE = CURIE.deriveLinear(1.0E-9, "nCi", "nanocurie");
61
62
63 public static final RadioActivityUnit RUTHERFORD = BECQUEREL.deriveLinear(1.0E6, "Rd", "rutherford", UnitSystem.OTHER);
64 }