mirror of
https://github.com/Team254/cheesy-arena-lite.git
synced 2026-03-09 21:56:50 -04:00
Move PLC into its own module.
This commit is contained in:
@@ -11,6 +11,7 @@ import (
|
||||
"github.com/Team254/cheesy-arena/led"
|
||||
"github.com/Team254/cheesy-arena/model"
|
||||
"github.com/Team254/cheesy-arena/partner"
|
||||
"github.com/Team254/cheesy-arena/plc"
|
||||
"github.com/Team254/cheesy-arena/vaultled"
|
||||
"log"
|
||||
"math/rand"
|
||||
@@ -42,7 +43,7 @@ type Arena struct {
|
||||
EventSettings *model.EventSettings
|
||||
accessPoint *AccessPoint
|
||||
networkSwitch *NetworkSwitch
|
||||
Plc Plc
|
||||
Plc plc.Plc
|
||||
TbaClient *partner.TbaClient
|
||||
StemTvClient *partner.StemTvClient
|
||||
AllianceStations map[string]*AllianceStation
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by "stringer -type=coil"; DO NOT EDIT.
|
||||
|
||||
package field
|
||||
package plc
|
||||
|
||||
import "strconv"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by "stringer -type=input"; DO NOT EDIT.
|
||||
|
||||
package field
|
||||
package plc
|
||||
|
||||
import "strconv"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
//
|
||||
// Methods for interfacing with the field PLC.
|
||||
|
||||
package field
|
||||
package plc
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright 2017 Team 254. All Rights Reserved.
|
||||
// Author: pat@patfairbank.com (Patrick Fairbank)
|
||||
|
||||
package field
|
||||
package plc
|
||||
|
||||
import (
|
||||
"github.com/stretchr/testify/assert"
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by "stringer -type=register"; DO NOT EDIT.
|
||||
|
||||
package field
|
||||
package plc
|
||||
|
||||
import "strconv"
|
||||
|
||||
Reference in New Issue
Block a user