From 83c0d2211a541e24f615c774b495ebdafc115119 Mon Sep 17 00:00:00 2001 From: heyujie <516346543@qq.com> Date: 星期一, 15 十一月 2021 20:00:52 +0800 Subject: [PATCH] 添加iconblob2字段 app.proto --- sysset.proto | 69 ++++++++++++++++++++++++++++++---- 1 files changed, 60 insertions(+), 9 deletions(-) diff --git a/sysset.proto b/sysset.proto index d89d5af..6c6eee2 100644 --- a/sysset.proto +++ b/sysset.proto @@ -6,13 +6,64 @@ string server_id = 1; string server_name = 2; int32 server_type = 3; - string alarm_ip = 4; - int32 alarm_port = 5; - string web_pic_ip = 6; - int32 web_pic_port = 7; - string es_pic_ip = 8; - int32 es_pic_port = 9; - int32 cut_max_duration = 10; - int32 cut_min_duration = 11; - string reserved = 12; + string server_ip = 4;//鏈嶅姟鍣╥p,璋冪敤绯荤粺鍛戒护鑾峰彇 + string alarm_ip = 5; + int32 alarm_port = 6; + string web_pic_ip = 7; + int32 web_pic_port = 8; + string es_pic_ip = 9; + int32 es_pic_port = 10; + int32 cut_max_duration = 11; + int32 cut_min_duration = 12; + string reserved = 13; + + string gate_way = 14; + string net_mask = 15; + int32 real_max = 16;//瀹炴椂澶勭悊鐨勬渶澶ц矾鏁� + int32 alarm_threshold_type = 17;//鎶ヨ闃堝�艰缃�(1:鎸夋渶楂樺垎锛�2锛氭寜闃堝�间互涓�) + int32 alarm_threshold = 18; +} + +message PollConfig { + string server_id = 1;//鏈嶅姟鍣╥d + int32 poll_period = 2;//杞鍛ㄦ湡 + int32 delay = 3;//寤惰繜鏃堕棿 + bool enable = 4;//鏄惁鍚敤杞 + int32 pollChannelCount = 5;//杞閫氶亾鏁伴噺 +} + +message Cluster { + string cluster_id = 1; + string cluster_name = 2; + string password = 3; + string virtual_ip = 4; + repeated ClusterNode nodes = 5; +} + +message ClusterNode { + string id = 1; + string cluster_id = 2; + string server_id = 3; + string server_name = 4; + string node_id = 5; + string node_ip = 6; + string create_time = 7; +} + +message ResourceConfig { + int32 ipType = 1; + string serviceIp = 2; + string domain = 3; + int32 filePort = 4; +} + +message Gb28181Config { + string Id = 1; + string ServerIp = 2; + string ServerPort = 3; + string PublicId = 4; + string GbServerPort = 5; + bool IsAuth = 6; + string Password = 7; + string UpdateTime = 8; } \ No newline at end of file -- Gitblit v1.8.0