From 2637c4209590f557a295b0309d055704437e3fdd Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期三, 04 三月 2020 10:45:56 +0800 Subject: [PATCH] add sensor --- protomsg.proto | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/protomsg.proto b/protomsg.proto index 39558f7..433d522 100644 --- a/protomsg.proto +++ b/protomsg.proto @@ -36,6 +36,22 @@ int32 run_type = 19;//鍋氫换鍔$殑绫诲瀷锛�0锛氳疆璇紝1锛氬疄鏃讹級 string run_server_id = 20;//褰撳墠姝e湪鍝彴鏈嶅姟鍣ㄤ笂鍋氫换鍔� + int32 resolution_width = 21; //鍒嗚鲸鐜囧 + int32 resolution_height = 22; //鍒嗚鲸鐜囬珮 + + repeated Sensor sensors = 23; //浼犳劅鍣� +} + +message Sensor { + string id = 1; + int32 type = 2; + string ip = 3; + int32 port = 4; + string username = 5; + string password = 6; + int32 threshold = 7; + bool enable = 8; + string devId = 9; } //鎽勫儚鏈鸿仈鍔� -- Gitblit v1.8.0