2018-04-15 18:33:04 -07:00
|
|
|
// Code generated by "stringer -type=coil"; DO NOT EDIT.
|
|
|
|
|
|
|
|
|
|
package field
|
|
|
|
|
|
|
|
|
|
import "strconv"
|
|
|
|
|
|
2018-08-18 21:31:22 -07:00
|
|
|
const _coil_name = "heartbeatmatchResetstackLightGreenstackLightOrangestackLightRedstackLightBluered1EthernetDisablered2EthernetDisablered3EthernetDisableblue1EthernetDisableblue2EthernetDisableblue3EthernetDisablecoilCount"
|
2018-04-15 18:33:04 -07:00
|
|
|
|
2018-08-18 21:31:22 -07:00
|
|
|
var _coil_index = [...]uint8{0, 9, 19, 34, 50, 63, 77, 96, 115, 134, 154, 174, 194, 203}
|
2018-04-15 18:33:04 -07:00
|
|
|
|
|
|
|
|
func (i coil) String() string {
|
|
|
|
|
if i < 0 || i >= coil(len(_coil_index)-1) {
|
|
|
|
|
return "coil(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
|
|
|
}
|
|
|
|
|
return _coil_name[_coil_index[i]:_coil_index[i+1]]
|
|
|
|
|
}
|