Difference between revisions of "Wiring Editor Testing"

From Open Source Controls Wiki
Jump to navigation Jump to search
Line 24: Line 24:
{"name":"Room Thermostat","fill":"#dbf6cb","leftArray":[],"rightArray":[{"portId":"right0","portColor":"#000000","figure":"Input"},{"portId":"right1","portColor":"#00ffff","signalTypes":["#00ffff","#ffff00"],"figure":"Output"}],"topArray":[],"bottomArray":[],"key":"roomstat","size":"78.78515625 47","loc":"70.15625 -246.375"},
{"name":"Room Thermostat","fill":"#dbf6cb","leftArray":[],"rightArray":[{"portId":"right0","portColor":"#000000","figure":"Input"},{"portId":"right1","portColor":"#00ffff","signalTypes":["#00ffff","#ffff00"],"figure":"Output"}],"topArray":[],"bottomArray":[],"key":"roomstat","size":"78.78515625 47","loc":"70.15625 -246.375"},
{"name":"Switch","fill":"#dbf6cb","leftArray":[{"portId":"left0","portColor":"#00ffff","signalTypes":["#00ffff","#ffff00"],"figure":"Output"},{"portId":"left1","portColor":"#000000","figure":"Input"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"switch","size":"69 47","loc":"67.0625 -80.5"},
{"name":"Switch","fill":"#dbf6cb","leftArray":[{"portId":"left0","portColor":"#00ffff","signalTypes":["#00ffff","#ffff00"],"figure":"Output"},{"portId":"left1","portColor":"#000000","figure":"Input"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"switch","size":"69 47","loc":"67.0625 -80.5"},
{"name":"Pressure + Temp Sensor","range":"6 bar","fill":"#dbf6cb","leftArray":[],"rightArray":[{"portId":"right1","portColor":"#ffc900","figure":"Input"},{"portId":"right2","portColor":"#000000","figure":"Input"},{"portId":"right0","portColor":"#ffff00","signalTypes":["#ffff00"],"figure":"Output"},{"portId":"right3","portColor":"#ffff00","signalTypes":["#ffff00"],"figure":"Output"}],"topArray":[],"bottomArray":[],"key":"RPS","size":"88 55","loc":"217.0625 -46.5"},
{"name":"Pressure + Temp Sensor","range":"6 bar","fill":"#dbf6cb","leftArray":[],"rightArray":[{"portId":"right1","portColor":"#ffc900","figure":"Input"},{"portId":"right2","portColor":"#000000","figure":"Input"},{"portId":"right0","portColor":"#ffff00","figure":"Output"},{"portId":"right3","portColor":"#ffff00","figure":"Output"}],"topArray":[],"bottomArray":[],"key":"RPS","size":"88 55","loc":"217.0625 -46.5"},
{"name":"DP + Temp Sensor","range":"300 kPa","fill":"#dbf6cb","leftArray":[],"rightArray":[{"portId":"right1","portColor":"#ffc900","figure":"Input"},{"portId":"right2","portColor":"#000000","figure":"Input"},{"portId":"right0","portColor":"#ffff00","signalTypes":["#ffff00"],"figure":"Output"},{"portId":"right3","portColor":"#ffff00","signalTypes":["#ffff00"],"figure":"Output"}],"topArray":[],"bottomArray":[],"key":"DPS","size":"88 55","loc":"300.15625 -157.375"},
{"name":"DP + Temp Sensor","range":"300 kPa","fill":"#dbf6cb","leftArray":[],"rightArray":[{"portId":"right1","portColor":"#ffc900","figure":"Input"},{"portId":"right2","portColor":"#000000","figure":"Input"},{"portId":"right0","portColor":"#ffff00","figure":"Output"},{"portId":"right3","portColor":"#ffff00","figure":"Output"}],"topArray":[],"bottomArray":[],"key":"DPS","size":"88 55","loc":"300.15625 -157.375"},
{"name":"Flow + Temp Sensor","range":"4-30 lpm","fill":"#dbf6cb","leftArray":[],"rightArray":[{"portId":"right1","portColor":"#ffc900","figure":"Input"},{"portId":"right2","portColor":"#000000","figure":"Input"},{"portId":"right0","portColor":"#8827e7","signalTypes":["#ffff00"],"figure":"Output"},{"portId":"right3","portColor":"#8827e7","signalTypes":["#ffff00"],"figure":"Output"}],"topArray":[],"bottomArray":[],"key":"VFS","size":"88 55","loc":"314.15625 -257.375"},
{"name":"Flow + Temp Sensor","range":"4-30 lpm","fill":"#dbf6cb","leftArray":[],"rightArray":[{"portId":"right1","portColor":"#ffc900","figure":"Input"},{"portId":"right2","portColor":"#000000","figure":"Input"},{"portId":"right0","portColor":"#8827e7","figure":"Output"},{"portId":"right3","portColor":"#8827e7","figure":"Output"}],"topArray":[],"bottomArray":[],"key":"VFS","size":"88 55","loc":"314.15625 -257.375"},
{"name":"12v Power","fill":"#dbf6cb","leftArray":[{"portId":"left0","portColor":"#e88600","figure":"Output"},{"portId":"left2","portColor":"#000002","figure":"Output"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"12VDC","size":"90 50","loc":"380.0625 -350.5"},
{"name":"12v Power","fill":"#dbf6cb","leftArray":[{"portId":"left0","portColor":"#e88600","figure":"Output"},{"portId":"left2","portColor":"#000002","figure":"Output"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"12VDC","size":"90 50","loc":"380.0625 -350.5"},
{"name":"24v Power","fill":"#dbf6cb","leftArray":[{"portId":"left0","portColor":"#ff0000","figure":"Output"},{"portId":"left2","portColor":"#000001","figure":"Output"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"24VDC","size":"90 50","loc":"498.15625 -218.375"},
{"name":"24v Power","fill":"#dbf6cb","leftArray":[{"portId":"left0","portColor":"#ff0000","figure":"Output"},{"portId":"left2","portColor":"#000001","figure":"Output"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"24VDC","size":"90 50","loc":"498.15625 -218.375"},

Revision as of 23:24, 25 June 2022

Work In progress

  • Labels on wires. Will be draggable for positioning and can be used primarily to number (reference) individual wires. In controls wiring these would be the id tags on wires.
    • Draggable to any point along wire
    • Include a wire colour indicator
    • Is it possible to optionally have two labels, with one at each end?
  • Menu for editing wire colour, width, arrows and type (solid/dashed/dotted). Can you have a green/yellow (earth) dashed line?
  • Port colours updated to a fuller list to match scale.
  • Ports currently have a side, an order, and a colour (color). Wiki page to include JSON that describes ports in more detail, adding attributes. These can include a port type (portType) as well as compatible port types (compatibleWith) used to check wires are wired to compatible ports (so you can't wire a 24V to a GND without raising a warning).
  • Add a sidebar palette with standard devices.
    • Slider categories for electrical, mechanical etc.
    • Should be able to load custom palettes from wiki page JSON
Concons1.png



Testing 2


Images

Controller Layout
Controller Layout

Rad.svg