cheliequan
2023-02-10 54747b4c57f1c44b5c973ad585768c83049429de
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
syntax="proto3";
 
package protomsg;
 
import "protomsg.proto";
import "alarm.proto";
 
message SdkmsgWithTask {
    string ipcid = 1;
    string sdktype = 2;
    bytes  sdkdata = 4;
}
 
message TaskLabel {
    string taskid = 1;
    string taskname = 2;
    repeated SdkmsgWithTask sdkinfos = 3;
    int32 index = 4 ;
}
 
message SdkMessage {
    string    cid = 1;
    string    caddr = 2;
    TaskLabel tasklab =3 ;
    bytes      data = 4;
    PushAttach push= 5;
}
 
message recvmsg {
    string  id   = 1;
    string  addr = 2;
    bytes   picdata = 3;
}
 
message RuleMessage {
    string taskid = 1;
    string taskname = 2;
    string msgtype = 3;
    SdkMessage sdkmsg = 4;
    AlarmMessage alarmmsg = 5;
}