Split up display configuration and LED/PLC testing into separate setup pages.

This commit is contained in:
Patrick Fairbank
2018-09-03 15:24:37 -07:00
parent 03f357451a
commit 03208eaa7a
11 changed files with 232 additions and 177 deletions

View File

@@ -37,7 +37,7 @@ var handlePlcIoChange = function(data) {
$(function() {
// Set up the websocket back to the server.
websocket = new CheesyWebsocket("/setup/field/websocket", {
websocket = new CheesyWebsocket("/setup/led_plc/websocket", {
ledMode: function(event) {handleLedMode(event.data); },
plcIoChange: function(event) { handlePlcIoChange(event.data); }
});