From b93d95a77ae3681a8c97859f446644190e84170e Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期四, 22 八月 2024 14:44:06 +0800 Subject: [PATCH] 添加摄像机运行方向 --- config/config.go | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/config/config.go b/config/config.go index 8c39c4c..5e15af7 100644 --- a/config/config.go +++ b/config/config.go @@ -60,9 +60,10 @@ // 姊帶璁惧 type nvcs struct { - Model string `mapstructure:"model"` // 鍨嬪彿 - Port string `mapstructure:"port"` // 绔彛 - OSD string `mapstructure:"osd"` + Model string `mapstructure:"model"` // 鍨嬪彿 + Port string `mapstructure:"port"` // 绔彛 + OSD string `mapstructure:"osd"` + RunState bool `mapstructure:"run-state"` } type rateLimitConfig struct { -- Gitblit v1.8.0