Difference between revisions of "Wiring Editor Testing"

From Open Source Controls Wiki
Jump to navigation Jump to search
Line 34: Line 34:
{"name":"Modbus Master","fill":"#dbf6cb","leftArray":[{"portId":"left0","portColor":"#888891","figure":"Circle"},{"portId":"left1","portColor":"#888890","figure":"Circle"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"modbus1","size":"67 54","loc":"493.15625 17.625"},
{"name":"Modbus Master","fill":"#dbf6cb","leftArray":[{"portId":"left0","portColor":"#888891","figure":"Circle"},{"portId":"left1","portColor":"#888890","figure":"Circle"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"modbus1","size":"67 54","loc":"493.15625 17.625"},
{"name":"Control Valve (Modbus)","fill":"#febc58","color":"#ff9900","leftArray":[],"rightArray":[],"topArray":[{"portId":"top2","portColor":"#ff0000","figure":"Input"},{"portId":"top3","portColor":"#000000","signalTypes":["#000001","#000000"],"figure":"Input"},{"portId":"top0","portColor":"#888888","figure":"Circle"},{"portId":"top1","portColor":"#888889","figure":"Circle"}],"bottomArray":[],"key":"valve","size":"96 59","loc":"-84.84375 16.625"},
{"name":"Control Valve (Modbus)","fill":"#febc58","color":"#ff9900","leftArray":[],"rightArray":[],"topArray":[{"portId":"top2","portColor":"#ff0000","figure":"Input"},{"portId":"top3","portColor":"#000000","signalTypes":["#000001","#000000"],"figure":"Input"},{"portId":"top0","portColor":"#888888","figure":"Circle"},{"portId":"top1","portColor":"#888889","figure":"Circle"}],"bottomArray":[],"key":"valve","size":"96 59","loc":"-84.84375 16.625"},
{"name":"Control Valve (0-10V)","fill":"#febc58","color":"#ff9900","leftArray":[],"rightArray":[],"topArray":[{"portId":"top0","portColor":"#ffff00","figure":"Output","signalTypes":["#ffff00","#fffffe"]},{"portId":"top1","portColor":"#ffff00","figure":"Input","signalTypes":["#8827e7"]},{"portId":"top2","portColor":"#ff0000","figure":"Input"},{"portId":"top3","portColor":"#000000","figure":"Input"}],"bottomArray":[],"key":"valve2","size":"96 59","loc":"67.15625 43.625"},
{"name":"Control Valve (0-10V)","fill":"#febc58","color":"#ff9900","leftArray":[],"rightArray":[],"topArray":[{"portId":"top0","portColor":"#ffff00","figure":"Output","signalTypes":["#ffff00","#fffffe"]},{"portId":"top1","portColor":"#ffff00","figure":"Input"},{"portId":"top2","portColor":"#ff0000","figure":"Input"},{"portId":"top3","portColor":"#000000","figure":"Input"}],"bottomArray":[],"key":"valve2","size":"96 59","loc":"67.15625 43.625"},
{"name":"Control Valve (Hybrid)","fill":"#febc58","color":"#ff9900","leftArray":[],"rightArray":[],"topArray":[{"portId":"top2","portColor":"#ffff00","signalTypes":["#ffff00","#e988e3"],"figure":"Input"},{"portId":"top3","portColor":"#ffff00","signalTypes":["#ffff00","#fffffe"],"figure":"Output"},{"portId":"top4","portColor":"#ff0000","figure":"Input"},{"portId":"top5","portColor":"#000000","signalTypes":["#000000","#000001"],"figure":"Input"},{"portId":"top0","portColor":"#888888","figure":"Circle"},{"portId":"top1","portColor":"#888889","figure":"Circle"}],"bottomArray":[],"key":"valve3","size":"96 59","loc":"677.0625 54.5"},
{"name":"Control Valve (Hybrid)","fill":"#febc58","color":"#ff9900","leftArray":[],"rightArray":[],"topArray":[{"portId":"top2","portColor":"#ffff00","signalTypes":["#ffff00","#e988e3"],"figure":"Input"},{"portId":"top3","portColor":"#ffff00","signalTypes":["#ffff00","#fffffe"],"figure":"Output"},{"portId":"top4","portColor":"#ff0000","figure":"Input"},{"portId":"top5","portColor":"#000000","signalTypes":["#000000","#000001"],"figure":"Input"},{"portId":"top0","portColor":"#888888","figure":"Circle"},{"portId":"top1","portColor":"#888889","figure":"Circle"}],"bottomArray":[],"key":"valve3","size":"96 59","loc":"677.0625 54.5"},
{"name":"Control Valve (PWM)","fill":"#cfe4f7","leftArray":[],"rightArray":[],"topArray":[{"portId":"top2","portColor":"#000000","figure":"Input"},{"portId":"top1","portColor":"#40aceb","signalTypes":["#40aceb"],"figure":"Input"},{"portId":"top0","portColor":"#40aceb","signalTypes":["#0000ff"],"figure":"Output"}],"bottomArray":[],"key":"valve4","size":"90 52","loc":"678.15625 -38.375"},
{"name":"Control Valve (PWM)","fill":"#cfe4f7","leftArray":[],"rightArray":[],"topArray":[{"portId":"top2","portColor":"#000000","figure":"Input"},{"portId":"top1","portColor":"#40aceb","signalTypes":["#40aceb"],"figure":"Input"},{"portId":"top0","portColor":"#40aceb","signalTypes":["#0000ff"],"figure":"Output"}],"bottomArray":[],"key":"valve4","size":"90 52","loc":"678.15625 -38.375"},

Revision as of 23:19, 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