mirror of
https://github.com/Team254/cheesy-arena-lite.git
synced 2026-03-10 14:16:47 -04:00
Run stringer on PLC enums.
This commit is contained in:
@@ -15,7 +15,7 @@ func _() {
|
||||
|
||||
const _armorBlock_name = "redDsblueDsarmorBlockCount"
|
||||
|
||||
var _armorBlock_index = [...]uint8{0, 5, 11}
|
||||
var _armorBlock_index = [...]uint8{0, 5, 11, 26}
|
||||
|
||||
func (i armorBlock) String() string {
|
||||
if i < 0 || i >= armorBlock(len(_armorBlock_index)-1) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Code generated by "stringer -type coil"; DO NOT EDIT.
|
||||
// Code generated by "stringer -type=coil"; DO NOT EDIT.
|
||||
|
||||
package plc
|
||||
|
||||
@@ -21,7 +21,7 @@ func _() {
|
||||
|
||||
const _coil_name = "heartbeatmatchResetstackLightGreenstackLightOrangestackLightRedstackLightBluestackLightBuzzerfieldResetLightcoilCount"
|
||||
|
||||
var _coil_index = [...]uint16{0, 9, 19, 34, 50, 63, 77, 93, 108}
|
||||
var _coil_index = [...]uint8{0, 9, 19, 34, 50, 63, 77, 93, 108, 117}
|
||||
|
||||
func (i coil) String() string {
|
||||
if i < 0 || i >= coil(len(_coil_index)-1) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Code generated by "stringer -type input"; DO NOT EDIT.
|
||||
// Code generated by "stringer -type=input"; DO NOT EDIT.
|
||||
|
||||
package plc
|
||||
|
||||
@@ -26,7 +26,7 @@ func _() {
|
||||
|
||||
const _input_name = "fieldEstopredEstop1redEstop2redEstop3blueEstop1blueEstop2blueEstop3redConnected1redConnected2redConnected3blueConnected1blueConnected2blueConnected3inputCount"
|
||||
|
||||
var _input_index = [...]uint8{0, 10, 19, 28, 37, 47, 57, 67, 80, 93, 106, 120, 134, 148}
|
||||
var _input_index = [...]uint8{0, 10, 19, 28, 37, 47, 57, 67, 80, 93, 106, 120, 134, 148, 158}
|
||||
|
||||
func (i input) String() string {
|
||||
if i < 0 || i >= input(len(_input_index)-1) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Code generated by "stringer -type register"; DO NOT EDIT.
|
||||
// Code generated by "stringer -type=register"; DO NOT EDIT.
|
||||
|
||||
package plc
|
||||
|
||||
@@ -14,7 +14,7 @@ func _() {
|
||||
|
||||
const _register_name = "fieldIoConnectionregisterCount"
|
||||
|
||||
var _register_index = [...]uint16{0, 17}
|
||||
var _register_index = [...]uint8{0, 17, 30}
|
||||
|
||||
func (i register) String() string {
|
||||
if i < 0 || i >= register(len(_register_index)-1) {
|
||||
|
||||
Reference in New Issue
Block a user