Add manual triggering of game sounds to Field Testing page.

This commit is contained in:
Patrick Fairbank
2020-03-15 18:11:26 -07:00
parent 299a242e9c
commit 4c3850e2e4
6 changed files with 80 additions and 3 deletions

View File

@@ -5,6 +5,11 @@
var websocket;
// Sends a websocket message to play a given game sound on the audience display.
var playSound = function(sound) {
websocket.send("playSound", sound);
};
// Handles a websocket message to update the PLC IO status.
var handlePlcIoChange = function(data) {
$.each(data.Inputs, function(index, input) {