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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
using FObjBase;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FLY.OBJComponents.OBJ_INTERFACE
{
public class BUFFER_OBJ_INTERFACE
{
#region Pack
public class Pack_GetRecordRequest
{
public int last_id;
public int count;
}
public class Pack_GetRecordNewestRequest
{
public int count;
}
public class Pack_Status
{
public int newestId;
public int count;
}
public class Pack_Params
{
public int capcity;
}
#endregion
#region SetValue
/// <summary>
/// Dictionary<string, object>
/// </summary>
public const UInt16 SET_PARAMS = 0;
#endregion
#region GetValue
/// <summary>
/// Dictionary<string, object>
/// </summary>
public const UInt16 GET_PARAMS = 0;
/// <summary>
/// Pack_Status
/// </summary>
public const UInt16 GET_STATUS = 1;
#endregion
#region PushMsg
/// <summary>
/// Dictionary<string, object>
/// </summary>
public const UInt16 PUSH_PARAMS = 0;
/// <summary>
/// Pack_Status
/// </summary>
public const UInt16 PUSH_STATUS = 1;
/// <summary>
/// NotifyBufferChangedEventArgs
/// </summary>
public const UInt16 PUSH_BUFFERCHANGED = 10;
#endregion
#region Call
/// <summary>
/// request:int last_id, int count;
/// reponse:GetRecordReponse<T>
/// </summary>
public const UInt16 CALL_GETRECORD = 1;
/// <summary>
/// request:int count;
/// reponse:GetRecordReponse<T>
/// </summary>
public const UInt16 CALL_GETRECORD_NEWEST = 2;
/// <summary>
/// null
/// </summary>
public const UInt16 CALL_RESET = 3;
#endregion
}
}