Difference between revisions of "Wiring Editor Testing"

From Open Source Controls Wiki
Jump to navigation Jump to search
Line 75: Line 75:
{"name":"The board is\npowered from\na 12VDC supply","fill":"#ffffff00","background":"/images/thumb/3/3f/Sticky.png/597px-Sticky.png","leftArray":[],"rightArray":[],"topArray":[{"portId":"top0","portColor":"#ffffff"},{"portId":"top1","portColor":"#ffffff"},{"portId":"top2","portColor":"#ffffff"},{"portId":"top3","portColor":"#ffffff"},{"portId":"top4","portColor":"#ffffff"},{"portId":"top5","portColor":"#ffffff"},{"portId":"top6","portColor":"#ffffff"},{"portId":"top7","portColor":"#ffffff"}],"bottomArray":[{"portId":"bottom0","portColor":"#ffffff"}],"key":"12VDC","size":"150 150","loc":"517.7352528763336 -394.88991630252093"},
{"name":"The board is\npowered from\na 12VDC supply","fill":"#ffffff00","background":"/images/thumb/3/3f/Sticky.png/597px-Sticky.png","leftArray":[],"rightArray":[],"topArray":[{"portId":"top0","portColor":"#ffffff"},{"portId":"top1","portColor":"#ffffff"},{"portId":"top2","portColor":"#ffffff"},{"portId":"top3","portColor":"#ffffff"},{"portId":"top4","portColor":"#ffffff"},{"portId":"top5","portColor":"#ffffff"},{"portId":"top6","portColor":"#ffffff"},{"portId":"top7","portColor":"#ffffff"}],"bottomArray":[{"portId":"bottom0","portColor":"#ffffff"}],"key":"12VDC","size":"150 150","loc":"517.7352528763336 -394.88991630252093"},
{"name":"5VDC Power\nwith Battery\nBackup","fill":"#ffffff00","background":"/images/thumb/3/3f/Sticky.png/597px-Sticky.png","leftArray":[],"rightArray":[],"topArray":[{"portId":"top0","portColor":"#ffffff"},{"portId":"top1","portColor":"#ffffff"},{"portId":"top2","portColor":"#ffffff"},{"portId":"top3","portColor":"#ffffff"},{"portId":"top4","portColor":"#ffffff"},{"portId":"top5","portColor":"#ffffff"},{"portId":"top6","portColor":"#ffffff"},{"portId":"top7","portColor":"#ffffff"}],"bottomArray":[{"portId":"bottom0","portColor":"#ffffff"}],"key":"5VDC","size":"150 150","loc":"310.94221537633337 -392.7899163025209"},
{"name":"5VDC Power\nwith Battery\nBackup","fill":"#ffffff00","background":"/images/thumb/3/3f/Sticky.png/597px-Sticky.png","leftArray":[],"rightArray":[],"topArray":[{"portId":"top0","portColor":"#ffffff"},{"portId":"top1","portColor":"#ffffff"},{"portId":"top2","portColor":"#ffffff"},{"portId":"top3","portColor":"#ffffff"},{"portId":"top4","portColor":"#ffffff"},{"portId":"top5","portColor":"#ffffff"},{"portId":"top6","portColor":"#ffffff"},{"portId":"top7","portColor":"#ffffff"}],"bottomArray":[{"portId":"bottom0","portColor":"#ffffff"}],"key":"5VDC","size":"150 150","loc":"310.94221537633337 -392.7899163025209"},
{"name":"\nNext ...\n\nClick one of the\ndrawings below\n to open","buttonArray":[{"href":"wiring1","color":"#000000","fill":"#0000ff","figure":"ElectricalHazard","txt":"wiring1"},{"text":"wiring2","figure":"Cube1","href":"wiring2","color":"#000000","fill":"#0000ff"}],"fill":"#ffffff00","background":"/images/thumb/3/3f/Sticky.png/597px-Sticky.png","leftArray":[],"rightArray":[],"topArray":[],"bottomArray":[],"key":"note","size":"197 210","loc":"1157.2316612997972 -151.6310119035976"}
{"name":"\nNext ...\n\nClick one of the\ndrawings below\n to open","buttonArray":[{"href":"wiring1","color":"#000000","fill":"#0000ff","figure":"ElectricalHazard","text":"wiring1"},{"text":"wiring2","figure":"Cube1","href":"wiring2","color":"#000000","fill":"#0000ff"}],"fill":"#ffffff00","background":"/images/thumb/3/3f/Sticky.png/597px-Sticky.png","leftArray":[],"rightArray":[],"topArray":[],"bottomArray":[],"key":"note","size":"197 210","loc":"1157.2316612997972 -151.6310119035976"}
],
],
   "linkDataArray": [
   "linkDataArray": [

Revision as of 21:41, 27 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





Testing 2


Images

Controller Layout
Controller Layout

Rad.svg