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