Difference between revisions of "Wiring Editor Testing"
Jump to navigation
Jump to search
(30 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
<iframe key="wiki" align="right" width="100%" height="1150" level="" path="/gojs/samples/ | <iframe key="wiki" align="right" width="100%" height="1150" level="" path="/gojs/samples/wiring23.html?id=wiring1&palette=heatweb_sensors.json&height=800px" /> | ||
Line 17: | Line 17: | ||
<pre id="wiringPalette1" style="display:none"> | <pre id="wiringPalette1" style="display:none"> | ||
[ | [ | ||
{ | |||
"key": "node", | |||
"name": "BEMS Hat", | |||
"href": "https://hwwiki.ddns.net/", | |||
"fill": "palegreen", | |||
"image": "/images/c/c1/C2a.svg", | |||
"signalTypes": [ | |||
{ | |||
"id": "GND", | |||
"name": "Ground" | |||
}, | |||
{ | |||
"id": "NTC", | |||
"name": "NTC 10K Thermistor" | |||
}, | |||
{ | |||
"id": "NTC1K", | |||
"name": "NTC 1K Thermistor" | |||
}, | |||
{ | |||
"id": "NTC10K", | |||
"name": "NTC 10K Thermistor" | |||
}, | |||
{ | |||
"id": "10K", | |||
"name": "0-10K Resistance" | |||
}, | |||
{ | |||
"id": "1K", | |||
"name": "0-1K Resistance" | |||
} | |||
], | |||
"leftArray": [ | |||
{ | |||
"portId": "TH8GND", | |||
"block": "TH8", | |||
"portColor": "#000000", | |||
"figure": "Output", | |||
"signalTypes": [ | |||
"GND" | |||
], | |||
"name": "TH8 Ground" | |||
}, | |||
{ | |||
"portId": "TH8", | |||
"block": "TH8", | |||
"portColor": "#00ff00", | |||
"figure": "Input", | |||
"signalTypes": [ | |||
"NTC10K", | |||
"10K" | |||
], | |||
"name": "TH8 Signal", | |||
"channel": "8" | |||
}, | |||
{ | |||
"portId": "TH7GND", | |||
"block": "TH7", | |||
"portColor": "#000000", | |||
"figure": "Output", | |||
"signalTypes": [ | |||
"GND" | |||
], | |||
"name": "TH7 Ground" | |||
}, | |||
{ | |||
"portId": "TH7", | |||
"block": "TH7", | |||
"portColor": "#00ff00", | |||
"figure": "Input", | |||
"signalTypes": [ | |||
"NTC10K", | |||
"10K" | |||
], | |||
"name": "TH7 Signal", | |||
"channel": "7" | |||
}, | |||
{ | |||
"portId": "TH6GND", | |||
"block": "TH6", | |||
"portColor": "#000000", | |||
"figure": "Output", | |||
"signalTypes": [ | |||
"GND" | |||
], | |||
"name": "TH6 Ground" | |||
}, | |||
{ | |||
"portId": "TH6", | |||
"block": "TH6", | |||
"portColor": "#00ff00", | |||
"figure": "Input", | |||
"signalTypes": [ | |||
"NTC10K", | |||
"10K" | |||
], | |||
"name": "TH6 Signal", | |||
"channel": "6" | |||
}, | |||
{ | |||
"portId": "TH5GND", | |||
"block": "TH5", | |||
"portColor": "#000000", | |||
"figure": "Output", | |||
"signalTypes": [ | |||
"GND" | |||
], | |||
"name": "TH5 Ground" | |||
}, | |||
{ | |||
"portId": "TH5", | |||
"block": "TH5", | |||
"portColor": "#00ff00", | |||
"figure": "Input", | |||
"signalTypes": [ | |||
"NTC10K", | |||
"10K" | |||
], | |||
"name": "TH5 Signal", | |||
"channel": "5" | |||
}, | |||
{ | |||
"portId": "IN4GND", | |||
"block": "IN4", | |||
"portColor": "#000000", | |||
"figure": "Output", | |||
"signalTypes": [ | |||
"GND" | |||
], | |||
"name": "IN4 Ground" | |||
}, | |||
{ | |||
"portId": "IN4", | |||
"block": "IN4", | |||
"portColor": "#fffffe", | |||
"figure": "Input", | |||
"signalTypes": [ | |||
"NTC10K", | |||
"NTC1K", | |||
"0-10V", | |||
"PULSE", | |||
"DRY" | |||
], | |||
"name": "IN4 Signal", | |||
"channel": "4" | |||
}, | |||
{ | |||
"portId": "IN3GND", | |||
"block": "IN3", | |||
"portColor": "#000000", | |||
"figure": "Output" | |||
}, | |||
{ | |||
"portId": "IN3", | |||
"block": "IN3", | |||
"portColor": "#fffffe", | |||
"figure": "Input", | |||
"signalTypes": [ | |||
"NTC10K", | |||
"NTC1K", | |||
"0-10V", | |||
"PULSE", | |||
"DRY" | |||
], | |||
"name": "IN3 Signal", | |||
"channel": "3" | |||
}, | |||
{ | |||
"portId": "IN2GND", | |||
"block": "IN2", | |||
"portColor": "#000000", | |||
"figure": "Output" | |||
}, | |||
{ | |||
"portId": "IN2", | |||
"block": "IN2", | |||
"portColor": "#fffffe", | |||
"figure": "Input", | |||
"signalTypes": [ | |||
"NTC10K", | |||
"NTC1K", | |||
"0-10V", | |||
"PULSE", | |||
"DRY" | |||
], | |||
"name": "IN2 Signal", | |||
"channel": "2" | |||
}, | |||
{ | |||
"portId": "IN1GND", | |||
"block": "IN1", | |||
"portColor": "#000000", | |||
"figure": "Output" | |||
}, | |||
{ | |||
"portId": "IN1", | |||
"block": "IN1", | |||
"portColor": "#fffffe", | |||
"figure": "Input", | |||
"signalTypes": [ | |||
"NTC10K", | |||
"NTC1K", | |||
"0-10V", | |||
"PULSE", | |||
"DRY" | |||
], | |||
"name": "IN1 Signal", | |||
"channel": "1" | |||
}, | |||
{ | |||
"portId": "TH4GND", | |||
"block": "TH4", | |||
"portColor": "#000000", | |||
"figure": "Output", | |||
"signalTypes": [ | |||
"GND" | |||
], | |||
"name": "TH4 Ground" | |||
}, | |||
{ | |||
"portId": "TH4", | |||
"block": "TH4", | |||
"portColor": "#00ff00", | |||
"figure": "Input", | |||
"signalTypes": [ | |||
"NTC10K", | |||
"10K" | |||
], | |||
"name": "TH1 Signal", | |||
"channel": "4" | |||
}, | |||
{ | |||
"portId": "TH3GND", | |||
"block": " | |||
] | ] | ||
</pre> | </pre> | ||
Line 686: | Line 1,865: | ||
"linkToPortIdProperty": "toPort", | "linkToPortIdProperty": "toPort", | ||
"nodeDataArray": [ | "nodeDataArray": [ | ||
{"name":"12VDC Power","buttonArray":[{"href":"https://hwwiki.ddns.net/","color":"#000000","fill":"#0000ff","figure":"ElectricalHazard"},{"text":"Open","href":"https://hwwiki.ddns.net/","color":"#000000","fill":"#0000ff"}],"fill":"#ebebeb","leftArray":[{"portId":"left0","portColor":"#e88600","figure":"Output"},{"portId":"left2","portColor":"#000002","figure":"Output"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"12VDC22","size":"67 103","loc":" | {"name":"12VDC Power","attributes":{"title":"ppppp"},"buttonArray":[{"href":"https://hwwiki.ddns.net/","color":"#000000","fill":"#0000ff","figure":"ElectricalHazard"},{"text":"Open","href":"https://hwwiki.ddns.net/","color":"#000000","fill":"#0000ff"}],"fill":"#ebebeb","leftArray":[{"portId":"left0","portColor":"#e88600","figure":"Output"},{"portId":"left2","portColor":"#000002","figure":"Output"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"12VDC22","size":"67 103","loc":"658.4688121714489 -491.16453398276076","figure":"Procedure","color":"#000000","thickness":1,"notes":"","textColor":"#484848","showKey":false,"avoidable":true}, | ||
{"key":"node","name":"BEMS Hat","href":"https://hwwiki.ddns.net/","fill":"palegreen","image":"/images/c/c1/C2a.svg","signalTypes":[{"id":"GND","name":"Ground"},{"id":"NTC","name":"NTC 10K Thermistor"},{"id":"NTC1K","name":"NTC 1K Thermistor"},{"id":"NTC10K","name":"NTC 10K Thermistor"},{"id":"10K","name":"0-10K Resistance"},{"id":"1K","name":"0-1K Resistance"}],"leftArray":[{"portId":" | {"key":"node","name":"BEMS Hat","href":"https://hwwiki.ddns.net/","fill":"palegreen","image":"/images/c/c1/C2a.svg","signalTypes":[{"id":"GND","name":"Ground"},{"id":"NTC","name":"NTC 10K Thermistor"},{"id":"NTC1K","name":"NTC 1K Thermistor"},{"id":"NTC10K","name":"NTC 10K Thermistor"},{"id":"10K","name":"0-10K Resistance"},{"id":"1K","name":"0-1K Resistance"}],"leftArray":[{"portId":"TH8GND","block":"TH8","portColor":"#000000","figure":"Output","signalTypes":["GND"],"name":"TH8 Ground"},{"portId":"TH8","size": "15 25","block":"TH8","portColor":"#00ff00","figure":"Input","signalTypes":["NTC10K","10K"],"name":"TH8 Signal","channel":"8"},{"portId":"TH7GND","block":"TH7","portColor":"#000000","figure":"Output","signalTypes":["GND"],"name":"TH7 Ground"},{"portId":"TH7","block":"TH7","portColor":"#00ff00","figure":"Input","signalTypes":["NTC10K","10K"],"name":"TH7 Signal","channel":"7"},{"portId":"TH6GND","block":"TH6","portColor":"#000000","figure":"Output","signalTypes":["GND"],"name":"TH6 Ground"},{"portId":"TH6","block":"TH6","portColor":"#00ff00","figure":"Input","signalTypes":["NTC10K","10K"],"name":"TH6 Signal","channel":"6"},{"portId":"TH5GND","block":"TH5","portColor":"#000000","figure":"Output","signalTypes":["GND"],"name":"TH5 Ground"},{"portId":"TH5","block":"TH5","portColor":"#00ff00","figure":"Input","signalTypes":["NTC10K","10K"],"name":"TH5 Signal","channel":"5"},{"portId":"IN4GND","block":"IN4","portColor":"#000000","figure":"Output"},{"portId":"IN4","block":"IN4","portColor":"#fffffe","figure":"Input"},{"portId":"IN3gng","block":"IN3","portColor":"#000000","figure":"Output"},{"portId":"IN3","block":"IN3","portColor":"#fffffe","figure":"Input"},{"portId":"IN2GND","block":"IN2","portColor":"#000000","figure":"Output"},{"portId":"IN2","block":"IN2","portColor":"#fffffe","figure":"Input"},{"portId":"IN1GND","block":"IN1","portColor":"#000000","figure":"Output"},{"portId":"IN1","block":"IN1","portColor":"#fffffe","figure":"Input"},{"portId":"TH4GND","block":"TH4","portColor":"#000000","figure":"Output","signalTypes":["GND"],"name":"TH4 Ground"},{"portId":"TH4","block":"TH4","portColor":"#00ff00","figure":"Input","signalTypes":["NTC10K","10K"],"name":"TH1 Signal","channel":"4"},{"portId":"TH3GND","block":"TH3","portColor":"#000000","figure":"Output","signalTypes":["GND"],"name":"TH3 Ground"},{"portId":"TH3","block":"TH3","portColor":"#00ff00","figure":"Input","signalTypes":["NTC10K","10K"],"name":"TH3 Signal","channel":"3"},{"portId":"TH2GND","block":"TH2","portColor":"#000000","figure":"Output","signalTypes":["GND"],"name":"TH2 Ground"},{"portId":"TH2","block":"TH2","portColor":"#00ff00","figure":"Input","signalTypes":["NTC10K","10K"],"name":"TH2 Signal","channel":"2"},{"portId":"TH1GND","block":"TH1","portColor":"#000000","figure":"Output","signalTypes":["GND"],"name":"TH1 Ground"},{"portId":"TH1","block":"TH1","portColor":"#00ff00","figure":"Input","signalTypes":["NTC10K","10K"],"name":"TH1 Signal","channel":"1"}],"topArray":[{"portColor":"#ffc900","portId":"top01","figure":"Output"},{"portColor":"#ffc900","portId":"top02","figure":"Output"},{"portColor":"#ffc900","portId":"top03","figure":"Output"},{"portId":"top1","portColor":"#000000","figure":"Output"},{"portId":"top2","portColor":"#e88600","figure":"Input"},{"portId":"top3","portColor":"#000002","figure":"Input"},{"portColor":"#ffffff","portId":"top4"},{"portColor":"#ffffff","portId":"top5"}],"bottomArray":[{"portColor":"#000000","portId":"pin25","figure":"Output"},{"portId":"pin26","portColor":"#00ffff","figure":"Input"},{"portId":"pin27","portColor":"#000000","figure":"Output"},{"portId":"pin28","portColor":"#00ffff","figure":"Input"},{"portId":"pin29","portColor":"#000000","figure":"Output"},{"portId":"pin30","portColor":"#00ffff","figure":"Input"},{"portId":"pin31","portColor":"#000000","figure":"Output"},{"portId":"pin32","portColor":"#00ffff","figure":"Input"},{"portId":"pin33","portColor":"#000000","figure":"Output"},{"portId":"pin34","portColor":"#40aceb","figure":"Input"},{"portId":"pin35","portColor":"#000000","figure":"Output"},{"portId":"pin36","portColor":"#40aceb","figure":"Input"},{"portId":"pin37","portColor":"#000000","figure":"Output"},{"portId":"pin38","portColor":"#40aceb","figure":"Input"},{"portId":"pin39","portColor":"#000000","figure":"Output"},{"portId":"pin40","portColor":"#40aceb","figure":"Input"},{"portId":"pin41","portColor":"#ff8abd","figure":"Output"},{"portId":"pin42","portColor":"#bf6ae3","figure":"Input"},{"portId":"pin43","portColor":"#ffa3a3","figure":"Output"},{"portId":"pin44","portColor":"#ff8abd","figure":"Output"},{"portId":"pin45","portColor":"#bf6ae3","figure":"Input"},{"portId":"pin46","portColor":"#ffa3a3","figure":"Output"}],"rightArray":[{"portColor":"#000000","portId":"pin47","figure":"Circle"},{"portColor":"#888891","figure":"Circle","portId":"right1"},{"portId":"right2","portColor":"#888890","figure":"Circle"},{"portId":"right3","portColor":"#000000","figure":"Circle"},{"portId":"right4","portColor":"#888889","figure":"Circle"},{"portId":"right5","portColor":"#888888","figure":"Circle"},{"portId":"right6","portColor":"#ddddba","figure":"Circle"},{"portId":"right7","portColor":"#ddddbb","figure":"Circle"},{"portId":"right8","portColor":"#ffff00","figure":"Output"},{"portId":"right9","portColor":"#000000","figure":"Output"},{"portId":"right10","portColor":"#ffff00","figure":"Output"},{"portId":"right11","portColor":"#000000","figure":"Output"},{"portId":"right12","portColor":"#ffff00","figure":"Output"},{"portId":"right13","portColor":"#000000","figure":"Output"},{"portId":"right14","portColor":"#ffff00","figure":"Output"},{"portId":"right15","portColor":"#000000","figure":"Output"},{"portId":"right16","portColor":"#40aceb","figure":"Output"},{"portId":"right17","portColor":"#ff0000","figure":"Output"},{"portId":"right18","portColor":"#40aceb","figure":"Output"},{"portId":"right19","portColor":"#ff0000","figure":"Output"},{"portId":"right20","portColor":"#40aceb","figure":"Output"},{"portId":"right21","portColor":"#ff0000","figure":"Output"},{"portId":"right22","portColor":"#40aceb","figure":"Output"},{"portId":"right23","portColor":"#ff0000","figure":"Output"}],"loc":"167.4931815938744 -414.85671689130277","size":"231 250.5","thickness":2,"color":"palegreen"}, | ||
{"name":"NTC Pipe Sensor"," | {"name":"NTC Pipe Sensor","make":"Regin","model":"","signalTypes":[{"signalType":"GND","name":"Ground"},{"signalType":"NTC10K","name":"Resistance","map":[[97.006,-20],[72.911,-15],[72.911,-10],[42.317,-5],[32.651,0],[25.395,5],[19.903,10],[15.714,15],[12.493,20],[10,25],[8.056,30],[6.53,35],[5.325,40],[4.367,45],[3.601,50],[2.985,55],[2.467,60],[2.082,65],[1.752,70],[1.256,80],[0.916,90],[0.678,100],[0.51,110],[0.388,120]],"mapUnits":["k\u03a9","\u00b0C"]}],"fill":"#dbf6cb","leftArray":[],"rightArray":[{"portId":"gnd","signalType":"GND","portColor":"#000000","figure":"Input"},{"portId":"temperature","signalType":"NTC10K","portColor":"#00ff00","signalTypes":["#00ff00","#ffff00"],"figure":"Output"}],"topArray":[],"bottomArray":[],"key":"ntcr23","size":"71 60","loc":"-246.22910844518805 -397.8973273885425","color":"#000000","thickness":1,"showKey":true,"notes":"","textColor":"#484848","avoidable":true,"topicDevice":"DHW","topicKey":"tCo"}, | ||
{"name":"Pulsed Flow Sensor","fill":"#dbf6cb","pulsesPerLitre":"520","leftArray":[],"rightArray":[{"portId":"right1","portColor":"#ffc900","figure":"Input"},{"portId":"right2","portColor":"#000000","figure":"Input"},{"portId":"right0","portColor":"#00ffff","signalTypes":["#00ffff","#fffffe"],"figure":"Output"}],"topArray":[],"bottomArray":[],"key":"FS","size":"82.107421875 53","loc":"-279.84375 -147.71875","thickness":1,"color":"black"}, | |||
{"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":"392.15625 50.28125"}, | |||
{"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":"582.15625 -2.71875"} | |||
], | ], | ||
"linkDataArray": [ | "linkDataArray": [ | ||
{"from":"12VDC22","to":"node","fromPort":"left0","toPort":"top2","points":[ | {"from":"12VDC22","to":"node","fromPort":"left0","toPort":"top2","points":[615.9688121714489,-496.41453398276076,601.9688121714489,-496.41453398276076,467.23099688266166,-496.41453398276076,467.23099688266166,-583.6067168913028,172.7431815938744,-583.6067168913028,172.7431815938744,-549.6067168913028]}, | ||
{"from":"12VDC22","to":"node","fromPort":"left2","toPort":"top3","points":[ | {"from":"12VDC22","to":"node","fromPort":"left2","toPort":"top3","points":[615.9688121714489,-485.91453398276076,593.9688121714489,-485.91453398276076,463.23099688266166,-485.91453398276076,463.23099688266166,-575.6067168913028,183.2431815938744,-575.6067168913028,183.2431815938744,-549.6067168913028]}, | ||
{"from":" | {"from":"node","to":"ntcr23","fromPort":"TH1GND","toPort":"gnd","points":[42.4931815938744,-304.60671689130277,-147.5068184061256,-304.60671689130277,-148,-304.60671689130277,-148,-403.1473273885425,-183.72910844518805,-403.1473273885425,-201.72910844518805,-403.1473273885425]}, | ||
{"from":" | {"from":"ntcr23","to":"node","fromPort":"temperature","toPort":"TH1","points":[-201.72910844518805,-392.6473273885425,-191.72910844518805,-392.6473273885425,-157.61796342565682,-392.6473273885425,-157.61796342565682,-294.10671689130277,-155.5068184061256,-294.10671689130277,42.4931815938744,-294.10671689130277]}, | ||
{"from":"FS","to":"node","fromPort":"right0","toPort":"pin26","points":[-229.7900390625,-137.21875,-199.7900390625,-137.21875,67.7431815938744,-137.21875,67.7431815938744,-197.66273344565138,67.7431815938744,-258.10671689130277,67.7431815938744,-280.10671689130277]}, | |||
{"from":"FS","to":"node","fromPort":"right1","toPort":"top03","points":[-229.7900390625,-158.21875,-215.7900390625,-158.21875,-74.6484287343128,-158.21875,-74.6484287343128,-579.6067168913028,151.7431815938744,-579.6067168913028,151.7431815938744,-549.6067168913028]}, | |||
{"from":"FS","to":"node","fromPort":"right2","toPort":"pin25","points":[-229.7900390625,-147.71875,-207.7900390625,-147.71875,57.2431815938744,-147.71875,57.2431815938744,-206.91273344565138,57.2431815938744,-266.10671689130277,57.2431815938744,-280.10671689130277]}, | |||
{"from":"pump","to":"node","fromPort":"top0","toPort":"pin34","points":[402.65625,15.03125,402.65625,-14.96875,402.65625,-56.537733445651384,151.7431815938744,-56.537733445651384,151.7431815938744,-174.10671689130277,151.7431815938744,-280.10671689130277]}, | |||
{"from":"pump","to":"node","fromPort":"top1","toPort":"right22","points":[392.15625,15.03125,392.15625,-6.96875,392.15625,-304.60671689130277,351.3247157969372,-304.60671689130277,310.4931815938744,-304.60671689130277,292.4931815938744,-304.60671689130277]}, | |||
{"from":"pump","to":"node","fromPort":"top2","toPort":"pin33","points":[381.65625,15.03125,381.65625,1.03125,381.65625,-32.537733445651384,141.2431815938744,-32.537733445651384,141.2431815938744,-166.10671689130277,141.2431815938744,-280.10671689130277]}, | |||
{"from":"valve4","to":"node","fromPort":"top0","toPort":"pin36","points":[592.65625,-37.96875,592.65625,-67.96875,592.65625,-99.03773344565138,172.7431815938744,-99.03773344565138,172.7431815938744,-190.10671689130277,172.7431815938744,-280.10671689130277]}, | |||
{"from":"valve4","to":"node","fromPort":"top1","toPort":"right20","points":[582.15625,-37.96875,582.15625,-59.96875,582.15625,-325.60671689130277,454.3247157969372,-325.60671689130277,326.4931815938744,-325.60671689130277,292.4931815938744,-325.60671689130277]}, | |||
{"from":"valve4","to":"node","fromPort":"top2","toPort":"pin35","points":[571.65625,-37.96875,571.65625,-51.96875,571.65625,-75.03773344565138,162.2431815938744,-75.03773344565138,162.2431815938744,-182.10671689130277,162.2431815938744,-280.10671689130277]} | |||
]} | ]} | ||
</pre> | |||
== Testing Frames == | |||
<iframe key="wiki" align="right" width="48%" height="850" level="" path="/gojs/samples/wiring23.html?cid=testing.json&height=700px&palette=heatweb_sensors.json&border=none" /> | |||
<iframe is="frame1" name="frame2" key="wiki" align="right" width="48%" height="850" level="" path="/gojs/samples/wiring23.html?cid=heatweb_morden_hall_1.json&height=700px&palette=heatweb_sensors.json&border=none" /> | |||
</pre> | </pre> | ||
Line 701: | Line 1,899: | ||
<iframe key="wiki" align="right" width="100%" height="1100" level="" path="/gojs/samples/ | <iframe key="wiki" align="right" width="100%" height="1100" level="" path="/gojs/samples/wiring18.html?id=wiringPalette1&palette=wiringPalette1&height=850px" /> | ||
<pre id="wiringPalette" style="display:none"> | <pre id="wiringPalette" style="display:none"> |