chenshijun
2020-03-02 cb6a180b96cac80928df59b147f3b43b85988008
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
syntax = "proto3";
 
import "base.proto";
import "sdk.proto";
 
package protomsg;
 
message AlarmInfo {
    string type = 1;
    string devId = 2;
    string time = 3;
    float alarmVal = 4;
    float setVal = 5;
    Rect facePos = 6;
    Image image = 7;
}
 
message AlarmRuleMessage {
    string taskid = 1;
    string taskname = 2;
    AlarmInfo alarminfo = 3;
}