simplified conditions, switch from "parts" to "format" with named fields

This commit is contained in:
john30
2016-03-20 13:37:11 +01:00
parent 4d55204db4
commit e659286298
+3 -3
View File
@@ -9,11 +9,11 @@
{"name":"HcReturn", "anchor": [1, 0.96, 1, 0]} {"name":"HcReturn", "anchor": [1, 0.96, 1, 0]}
], ],
"items": [ "items": [
{"name": "Status", "parts": "2", "top": 0.04, "left": 0.04}, {"name": "Status", "format": "$2", "top": 0.04, "left": 0.04},
{"circuit": "uih", "name": "HcName2", "top": 0.25, "leftc": 0.5}, {"circuit": "uih", "name": "HcName2", "top": 0.25, "leftc": 0.5},
{"name": "Mode", "parts": "1 0", "topc": 0.4, "leftc": 0.5}, {"name": "Mode", "format": "$1 $0", "topc": 0.4, "leftc": 0.5},
{"circuit": "ehp", "name": "Hc2Pump", "topc": 0.56, "leftc": 0.22}, {"circuit": "ehp", "name": "Hc2Pump", "topc": 0.56, "leftc": 0.22},
{"circuit": "ehp", "name": "Mixer1DutyCycle", "topc": 0.73, "leftc": 0.24}, {"circuit": "ehp", "name": "Mixer1DutyCycle", "topc": 0.73, "leftc": 0.24},
{"name": "Status", "parts": "1 0", "topc": 0.9, "leftc": 0.4} {"name": "Status", "format": "$1 $0", "topc": 0.9, "leftc": 0.4}
] ]
} }