From 6b18afff0c157bdfa98a78b00652721b0f577025 Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期三, 08 二月 2023 10:57:39 +0800 Subject: [PATCH] 修改提交的dataprocess.proto --- sysset.proto | 69 ++++++++++++++++++++++++++++++++++ 1 files changed, 69 insertions(+), 0 deletions(-) diff --git a/sysset.proto b/sysset.proto index e69de29..6c6eee2 100644 --- a/sysset.proto +++ b/sysset.proto @@ -0,0 +1,69 @@ +syntax = "proto3"; + +package protomsg; + +message LocalConfig { + string server_id = 1; + string server_name = 2; + int32 server_type = 3; + 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