Update assumptions about PLC interface.

This commit is contained in:
Patrick Fairbank
2018-04-15 10:45:03 -07:00
parent 19f1681477
commit 8b8468f4c8
5 changed files with 97 additions and 138 deletions

View File

@@ -30,7 +30,7 @@ func (web *Web) fieldGetHandler(w http.ResponseWriter, r *http.Request) {
Counters []uint16
Coils []bool
}{web.arena.EventSettings, web.arena.AllianceStationDisplays, web.arena.FieldTestMode, web.arena.Plc.Inputs[:],
web.arena.Plc.Counters[:], web.arena.Plc.Coils[:]}
web.arena.Plc.Registers[:], web.arena.Plc.Coils[:]}
err = template.ExecuteTemplate(w, "base", data)
if err != nil {
handleWebErr(w, err)