From e659286298c42ade459854681821c6ee58e19548 Mon Sep 17 00:00:00 2001 From: john30 Date: Sun, 20 Mar 2016 13:36:28 +0100 Subject: [PATCH] simplified conditions, switch from "parts" to "format" with named fields --- contrib/html/items/mc.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/contrib/html/items/mc.json b/contrib/html/items/mc.json index d72d151c..29ab4cee 100644 --- a/contrib/html/items/mc.json +++ b/contrib/html/items/mc.json @@ -1,4 +1,4 @@ - { +{ "title": "Mischer", "bounds": [820,120,116,212], "image": "mc.svg", @@ -9,11 +9,11 @@ {"name":"HcReturn", "anchor": [1, 0.96, 1, 0]} ], "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}, - {"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": "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} ] - } +}