数据上报
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
434 B

package HTJC
import "goUpload/config"
type ConfigFile struct {
config.Consumer
Config UserConfig `json:"ioConfig"`
SensorMap sensorConfig `json:"sensorMap"`
}
type UserConfig struct {
InMqtt config.MqttConfig `json:"inMqtt"`
OutUdp config.UdpConfig `json:"outUdp"`
}
type sensorConfig struct {
TYCJsensorNameMap map[string]int16 `json:"TYCJsensorNameMap"`
ZDsensorMCMap map[string]int16 `json:"ZDsensorM-CMap"`
}