-
Notifications
You must be signed in to change notification settings - Fork 1
/
uformat_string.go
45 lines (40 loc) · 963 Bytes
/
uformat_string.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// Code generated by "stringer -type=UFormat"; DO NOT EDIT.
package vv104
import "strconv"
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[StartDTAct-7]
_ = x[StartDTCon-11]
_ = x[StopDTAct-19]
_ = x[StopDTCon-35]
_ = x[TestFRAct-67]
_ = x[TestFRCon-131]
}
const (
_UFormat_name_0 = "StartDTAct"
_UFormat_name_1 = "StartDTCon"
_UFormat_name_2 = "StopDTAct"
_UFormat_name_3 = "StopDTCon"
_UFormat_name_4 = "TestFRAct"
_UFormat_name_5 = "TestFRCon"
)
func (i UFormat) String() string {
switch {
case i == 7:
return _UFormat_name_0
case i == 11:
return _UFormat_name_1
case i == 19:
return _UFormat_name_2
case i == 35:
return _UFormat_name_3
case i == 67:
return _UFormat_name_4
case i == 131:
return _UFormat_name_5
default:
return "UFormat(" + strconv.FormatInt(int64(i), 10) + ")"
}
}