| | |
| | | string link_group_id = 12; |
| | | } |
| | | |
| | | //摄像机布防的时间规则,可以设置多个,用id关联到具体的规则配置中 |
| | | message CameraTimerule { |
| | | string id = 1;//id |
| | | string name = 2;//规则名称 |
| | | string camera_id = 3;//摄像机id |
| | | repeated DayCtl time_rule = 4;//具体时间规则设置 |
| | | } |
| | | |
| | | //DayCtl struct 每天的时间控制规则 |
| | | message DayCtl { |
| | | int32 day = 1;//1-7表示星期一到星期日 |
| | |
| | | T_Sdk = 6;//sdk变化 |
| | | } |
| | | |
| | | //广播消息 |
| | | message PublishMessage { |
| | | enum DbAction { |
| | | Insert = 0;//Insert |
| | | Update = 1;//Update |
| | | Delete = 2;//Delete |
| | | } |
| | | |
| | | //publish db change message |
| | | message DbChangeMessage { |
| | | TableChanged table = 1;//变化的表 |
| | | string info = 4;//内容 |
| | | string id = 2;//变化数据id |
| | | DbAction action = 3;//action |
| | | string info = 4;//变化内容 |
| | | } |