From f2d80dbaa80a1283bf1c0fe9ae1d280832652d7f Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期四, 02 十一月 2023 18:14:22 +0800 Subject: [PATCH] 增加问题诊断定时任务和查询接口,增加按channel查询工序开始和结束时间 --- constvar/const.go | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/constvar/const.go b/constvar/const.go index bb73e7e..3f6fc2b 100644 --- a/constvar/const.go +++ b/constvar/const.go @@ -97,3 +97,19 @@ SerfClusterStatusMaster = "master" //闆嗙兢master SerfClusterStatusSlave = "slave" //闆嗙兢slave ) + +type ProblemCode string + +const ( + ProblemCodeService ProblemCode = "service" //鏈嶅姟涓嶅彲鐢� + ProblemCodeNetwork ProblemCode = "network" //缃戠粶閿欒 + ProblemCodeDB ProblemCode = "db" //鏁版嵁搴撹繛鎺ラ敊璇� + ProblemCodeSerf ProblemCode = "serf" //鏈姞鍏erf闆嗙兢 + ProblemCodeNsq ProblemCode = "nsq" //鏈繛鎺ユ秷鎭槦鍒� + ProblemCodeDevice ProblemCode = "device" //鏈粦瀹氳澶� + ProblemCodeProcessModel ProblemCode = "process_model" //宸ヨ壓鍙傛暟缂哄け + ProblemCodePlcConfig ProblemCode = "plc_config" //plc閰嶇疆缂哄け + ProblemCodePlcAddressList ProblemCode = "plc_address_list" //plc鍦板潃琛ㄧ己澶� + ProblemCodePlcProcessModelAddressList ProblemCode = "plc_process_model_address_list" //plc鍦板潃琛ㄧ己澶� + ProblemCodePlcConnect ProblemCode = "plc_connect" //plc杩炴帴澶辫触 +) -- Gitblit v1.8.0