From 50ee4b871bc9d0076cabaa5d2ea4ad1ba7b8e15a Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Mon, 25 Mar 2019 11:55:54 +0100 Subject: ninja tool: changing to generate the files in the current directory. build.ninja.j2: nits. olinuxino: Improving parsing of part values. --- src/ee/part/fact_keys.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/ee/part/fact_keys.py (limited to 'src/ee/part') 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" -- cgit v1.2.3