-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
InternalClasses.cs
69 lines (64 loc) · 1.33 KB
/
InternalClasses.cs
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
namespace SDRSharp.Tetra
{
public enum LCType
{
BSCH,
BNCH,
AACH,
BLCH,
CLCH,
SCH_F,
SCH_HD,
SCH_HU,
TCH,
STCH,
}
public unsafe class LogicChannel
{
public byte* Ptr;
public int Length;
public bool CrcIsOk;
public int TimeSlot;
public int Frame;
}
public enum RulesType
{
Direct = 0,
Options_bit,
Presence_bit,
More_bit,
Switch,
SwitchNot,
Reserved,
Jamp,
JampNot
}
public struct Calls
{
public int CallIdent;
public int TXer;
public int SSI1;
public int SSI2;
public bool IsEncripted;
public bool Duplex;
public int AssignedSlot;
}
public struct Rules
{
public GlobalNames GlobalName;
public int Length;
public RulesType Type;
public int Ext1;
public int Ext2;
public int Ext3;
public Rules(GlobalNames globalName, int length, RulesType type = RulesType.Direct, int ext1 = 0, int ext2 = 0, int ext3 = 0)
{
GlobalName = globalName;
Length = length;
Type = type;
Ext1 = ext1;
Ext2 = ext2;
Ext3 = ext3;
}
}
}