From dff6e09c415988cc0b5c558013822548ffab254e Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期二, 19 十一月 2019 20:19:03 +0800 Subject: [PATCH] change float to double --- protomsg.proto | 34 +++++++++++++++++++++++++++------- 1 files changed, 27 insertions(+), 7 deletions(-) diff --git a/protomsg.proto b/protomsg.proto index 99cdcc3..8c4b6e9 100644 --- a/protomsg.proto +++ b/protomsg.proto @@ -20,9 +20,9 @@ string snapshot_url = 4;//鎽勫儚鏈哄簳鍥惧揩鐓� int32 type = 5; string addr = 6; - int32 areaid = 7; - float longitude = 8; - float latitude = 9; + float longitude = 7; + float latitude = 8; + int32 floor = 9; string rtsp = 10; string ip = 11; int32 port = 12; @@ -242,24 +242,35 @@ string cameraId = 2; string taskId = 3; int64 imgId = 4; - repeated string sdkIds = 5; - int32 type = 6; + string videoUrl = 5; + repeated string sdkIds = 6; + int32 type = 7; } message CompareArgs { repeated string tableIds = 1; float compareThreshold = 2; bytes faceFeature = 3; - repeated string tasks = 4; repeated string treeNodes = 5; repeated string tabs = 6; - repeated string alarmLevel = 7; + repeated int32 alarmLevel = 7; repeated string searchTime = 8; string inputValue = 9; string collection = 10; bool source = 11; string analyServerId = 12; +} + +message CompareEvent { + CompareEventType eventType =1; + bytes payload = 2; +} + +enum CompareEventType { + ReInitCache = 0; // 閲嶆柊鍒濆鍖栧簳搴撶紦瀛橈紙鍔犲叆闆嗙兢鍚庢墽琛岋級 + UpdateCache = 1; // 鏇存柊搴曞簱鍜屼汉鍛樼紦瀛� + Compare = 2; // 鍋氭瘮瀵硅姹� } message SdkCompareEach { @@ -308,6 +319,15 @@ bool enable = 2; } +message PushAttach { + string push_id = 1; + Camera cam = 2; + string server_id = 3; + string server_name = 4; + string local_ip = 5; + string video_url = 6; +} + enum EsCacheChanged { T_DbTable = 0;//搴曞簱鏈夋晥鐘舵�佸彉鍖� T_DbTablePerson = 1;//搴曞簱浜哄憳鏈夋晥鐘舵�佸彉鍖� -- Gitblit v1.8.0