package CDJYSN import "goUpload/config" type ConfigFile struct { config.Consumer IoConfig ioConfig `json:"ioConfig"` SensorMap sensorConfig `json:"sensorMap"` Info map[string]string `json:"info,omitempty"` } type ioConfig struct { In In `json:"in"` Out OUT `json:"out"` } type In struct { Http config.HttpConfig `json:"http"` CronStr string `json:"cronStr"` } type OUT struct { File config.FileConfig `json:"file"` } type sensorConfig struct { GnssSensorMap map[string]string `json:"GnssSensorMap"` RainSensorMap map[string]string `json:"RainSensorMap"` //内部位移 NBWYSensorMap map[string]string `json:"NBWYSensorMap"` }