aboutsummaryrefslogtreecommitdiff
path: root/src/ee/part
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2019-03-25 11:55:54 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2019-03-25 12:58:59 +0100
commit50ee4b871bc9d0076cabaa5d2ea4ad1ba7b8e15a (patch)
tree05ee9273b41efa1d9268b32f829881c6f6d06eaa /src/ee/part
parentb230198488ef670ed6e374e0d39d5f4e6ac07e8d (diff)
downloadee-python-50ee4b871bc9d0076cabaa5d2ea4ad1ba7b8e15a.tar.gz
ee-python-50ee4b871bc9d0076cabaa5d2ea4ad1ba7b8e15a.tar.bz2
ee-python-50ee4b871bc9d0076cabaa5d2ea4ad1ba7b8e15a.tar.xz
ee-python-50ee4b871bc9d0076cabaa5d2ea4ad1ba7b8e15a.zip
ninja tool: changing to generate the files in the current directory.
build.ninja.j2: nits. olinuxino: Improving parsing of part values.
Diffstat (limited to 'src/ee/part')
-rw-r--r--src/ee/part/fact_keys.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ee/part/fact_keys.py b/src/ee/part/fact_keys.py
new file mode 100644
index 0000000..5ca3c5b
--- /dev/null
+++ b/src/ee/part/fact_keys.py
@@ -0,0 +1,13 @@
+capacitance = "http://purl.org/ee/fact-type/capacitance"
+max_voltage = "http://purl.org/ee/fact-type/voltage"
+# https://en.wikipedia.org/wiki/Ceramic_capacitor#Class_2_ceramic_capacitors
+rs_198_class_2 = "http://purl.org/ee/fact-type/rs-198 class 2"
+resistance = "http://purl.org/ee/fact-type/resistance"
+value_tolerance = "http://purl.org/ee/fact-type/value-tolerance"
+
+# Should only be used when the type of value is unknown (i.e. not a capacitor, resistor etc)
+value = "http://purl.org/ee/fact-type/value"
+
+place_part = "http://purl.org/ee/fact-type/place-part"
+
+imperial_footprint_size = "http://purl.org/ee/fact-type/imperial-footprint-size"