| | |
| | | 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 FaceTempInfo { |
| | | float alarmVal = 1; |
| | | float setVal = 2; |
| | | Rect facePos = 3; |
| | | } |
| | | |
| | | message AlarmRuleMessage { |
| | | string taskid = 1; |
| | | string taskname = 2; |
| | | AlarmInfo alarminfo = 3; |
| | | message AlarmInfo { |
| | | string type = 1; |
| | | bytes data = 2; |
| | | } |
| | | |
| | | message AlarmMessage { |
| | | string devId = 1; |
| | | string time = 2; |
| | | repeated AlarmInfo alarmInfo = 3; |
| | | bytes data = 4; |
| | | } |