-
Notifications
You must be signed in to change notification settings - Fork 39
/
NAS_T3502Value.go
51 lines (43 loc) · 1.05 KB
/
NAS_T3502Value.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
46
47
48
49
50
51
package nasType
// T3502Value 9.11.2.4
// GPRSTimer2Value Row, sBit, len = [0, 0], 8 , 8
type T3502Value struct {
Iei uint8
Len uint8
Octet uint8
}
func NewT3502Value(iei uint8) (t3502Value *T3502Value) {
t3502Value = &T3502Value{}
t3502Value.SetIei(iei)
return t3502Value
}
// T3502Value 9.11.2.4
// Iei Row, sBit, len = [], 8, 8
func (a *T3502Value) GetIei() (iei uint8) {
return a.Iei
}
// T3502Value 9.11.2.4
// Iei Row, sBit, len = [], 8, 8
func (a *T3502Value) SetIei(iei uint8) {
a.Iei = iei
}
// T3502Value 9.11.2.4
// Len Row, sBit, len = [], 8, 8
func (a *T3502Value) GetLen() (len uint8) {
return a.Len
}
// T3502Value 9.11.2.4
// Len Row, sBit, len = [], 8, 8
func (a *T3502Value) SetLen(len uint8) {
a.Len = len
}
// T3502Value 9.11.2.4
// GPRSTimer2Value Row, sBit, len = [0, 0], 8 , 8
func (a *T3502Value) GetGPRSTimer2Value() (gPRSTimer2Value uint8) {
return a.Octet
}
// T3502Value 9.11.2.4
// GPRSTimer2Value Row, sBit, len = [0, 0], 8 , 8
func (a *T3502Value) SetGPRSTimer2Value(gPRSTimer2Value uint8) {
a.Octet = gPRSTimer2Value
}