2021-01-19 17:02:16 +00:00
|
|
|
// Code generated by "stringer -type deviceState -trimprefix=deviceState"; DO NOT EDIT.
|
|
|
|
|
|
|
|
package device
|
|
|
|
|
|
|
|
import "strconv"
|
|
|
|
|
2021-02-09 14:39:19 +00:00
|
|
|
const _deviceState_name = "DownUpClosed"
|
2021-01-19 17:02:16 +00:00
|
|
|
|
2021-02-09 14:39:19 +00:00
|
|
|
var _deviceState_index = [...]uint8{0, 4, 6, 12}
|
2021-01-19 17:02:16 +00:00
|
|
|
|
|
|
|
func (i deviceState) String() string {
|
|
|
|
if i >= deviceState(len(_deviceState_index)-1) {
|
|
|
|
return "deviceState(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
|
|
}
|
|
|
|
return _deviceState_name[_deviceState_index[i]:_deviceState_index[i+1]]
|
|
|
|
}
|