| | |
| | | package models |
| | | |
| | | type LocalConfig struct { |
| | | ID int `json:"-"` |
| | | Alarm_ip string `json:"alarm_ip,omitempty" example:"192.168.1.182"` |
| | | Alarm_port int `json:"alarm_port,omitempty" example:"22122"` |
| | | Web_pic_ip string `json:"web_pic_ip,omitempty" example:""` |
| | | Web_pic_port int `json:"web_pic_port,omitempty" example:"22122"` |
| | | Es_pic_ip string `json:"es_pic_ip,omitempty" example:""` |
| | | Es_pic_port int `json:"es_pic_port,omitempty" example:"22122"` |
| | | Cut_max_duration int `json:"cut_max_duration,omitempty" example:"20"` |
| | | Cut_min_duration int `json:"cut_min_duration,omitempty" example:"5"` |
| | | Dev_id string `json:"dev_id,omitempty" example:"分析设备id"` |
| | | Dev_name string `json:"dev_name,omitempty" example:"分析设备名称"` |
| | | Dev_type int `json:"dev_type,omitempty" example:"1"` |
| | | Reserved string `json:"dev_type,omitempty" example:"1"` |
| | | } |
| | | //type LocalConfig struct { |
| | | // ID int `json:"-"` |
| | | // Alarm_ip string `json:"alarm_ip,omitempty" example:"192.168.1.182"` |
| | | // Alarm_port int `json:"alarm_port,omitempty" example:"22122"` |
| | | // Web_pic_ip string `json:"web_pic_ip,omitempty" example:""` |
| | | // Web_pic_port int `json:"web_pic_port,omitempty" example:"22122"` |
| | | // Es_pic_ip string `json:"es_pic_ip,omitempty" example:""` |
| | | // Es_pic_port int `json:"es_pic_port,omitempty" example:"22122"` |
| | | // Cut_max_duration int `json:"cut_max_duration,omitempty" example:"20"` |
| | | // Cut_min_duration int `json:"cut_min_duration,omitempty" example:"5"` |
| | | // Dev_id string `json:"dev_id,omitempty" example:"分析设备id"` |
| | | // Dev_name string `json:"dev_name,omitempty" example:"分析设备名称"` |
| | | // Dev_type int `json:"dev_type,omitempty" example:"1"` |
| | | // Reserved string `json:"dev_type,omitempty" example:"1"` |
| | | //} |