Difference between revisions of "Wiring Editor Testing"

From Open Source Controls Wiki
Jump to navigation Jump to search
Line 26: Line 26:
{"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","signalTypes":["#ffff00","#fffffe"]},{"portId":"right3","portColor":"#ffff00","figure":"Output","signalTypes":["#ffff00","#fffffe"]}],"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","signalTypes":["#ffff00","#fffffe"]},{"portId":"right3","portColor":"#ffff00","figure":"Output","signalTypes":["#ffff00","#fffffe"]}],"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","figure":"Output","signalTypes":["#ffff00","#fffffe"]},{"portId":"right3","portColor":"#ffff00","figure":"Output","signalTypes":["#ffff00","#fffffe"]}],"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","signalTypes":["#ffff00","#fffffe"]},{"portId":"right3","portColor":"#ffff00","figure":"Output","signalTypes":["#ffff00","#fffffe"]}],"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","figure":"Output"},{"portId":"right3","portColor":"#8827e7","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":"#ffff00","figure":"Output"},{"portId":"right3","portColor":"#ffff00","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"},
Line 36: Line 36:
{"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 (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","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","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","figure":"Output"}],"bottomArray":[],"key":"valve4","size":"90 52","loc":"678.15625 -38.375"},
{"name":"Pump (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":"pump","size":"57.3212890625 52","loc":"668.0625 -156.5"},
{"name":"Pump (PWM)","fill":"#cfe4f7","leftArray":[],"rightArray":[],"topArray":[{"portId":"top2","portColor":"#000000","figure":"Input"},{"portId":"top1","portColor":"#40aceb","signalTypes":["#40aceb"],"figure":"Input"},{"portId":"top0","portColor":"#40aceb","figure":"Output"}],"bottomArray":[],"key":"pump","size":"57.3212890625 52","loc":"668.0625 -156.5"},
{"name":"Pump (0-10V)","fill":"#dbf6cb","leftArray":[],"rightArray":[],"topArray":[{"portId":"top0","portColor":"#ffff00","signalTypes":["#ffff00","#fffffe"],"figure":"Output"},{"portId":"top1","portColor":"#ffff00","signalTypes":["#8827e7"],"figure":"Input"},{"portId":"top2","portColor":"#000000","figure":"Input"}],"bottomArray":[],"key":"pump2","size":"57.3212890625 52","loc":"669.15625 -268.375"},
{"name":"Pump (0-10V)","fill":"#dbf6cb","leftArray":[],"rightArray":[],"topArray":[{"portId":"top0","portColor":"#ffff00","signalTypes":["#ffff00","#fffffe"],"figure":"Output"},{"portId":"top1","portColor":"#ffff00","signalTypes":["#8827e7"],"figure":"Input"},{"portId":"top2","portColor":"#000000","figure":"Input"}],"bottomArray":[],"key":"pump2","size":"57.3212890625 52","loc":"669.15625 -268.375"},
{"name":"Sticky Note","fill":"#ffffff00","background":"/images/thumb/3/3f/Sticky.png/597px-Sticky.png","leftArray":[],"rightArray":[],"topArray":[],"bottomArray":[],"key":"note","size":"150 150"},
{"name":"Sticky Note","fill":"#ffffff00","background":"/images/thumb/3/3f/Sticky.png/597px-Sticky.png","leftArray":[],"rightArray":[],"topArray":[],"bottomArray":[],"key":"note","size":"150 150"},

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