package JSNCGLQL import "goInOut/config" type ConfigFile struct { config.Consumer IoConfig ioConfig `json:"ioConfig"` SensorConfig `json:"sensorInfo"` OtherInfo map[string]string `json:"info"` } type ioConfig struct { In In `json:"in"` Out OUT `json:"out"` } type In struct { Mqtt config.MqttConfig `json:"mqtt"` } type OUT struct { Mqtt config.MqttConfig `json:"mqtt"` } type SensorConfig struct { TYCJsensorMap map[string]string `json:"TYCJsensorMap"` ZDsensorMap map[string]string `json:"ZDsensorMap"` GDNDsensorMap map[string]string `json:"GDNDsensorMap"` ZDSLensorMap map[string]string `json:"ZDSLensorMap"` } type SensorInfo struct { Name string `json:"name"` //测点名称 Code string `json:"code"` //测点编号 宜由“桥名简称-监测类别简称-构件类型编码-截面序号-构件序号-测点编号”组成 }