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.
21 lines
551 B
21 lines
551 B
package CQZG
|
|
|
|
import "goUpload/config"
|
|
|
|
type ConfigFile struct {
|
|
config.Consumer
|
|
Config UserConfig `json:"config"`
|
|
SensorMap sensorConfig `json:"sensorMap"`
|
|
}
|
|
|
|
type UserConfig struct {
|
|
InMqtt config.MqttConfig `json:"inMqtt"`
|
|
OutMqtt config.MqttConfig `json:"outMqtt"`
|
|
Rc4key string `json:"rc4key,omitempty"`
|
|
}
|
|
|
|
type sensorConfig struct {
|
|
TYCJsensorNameMap map[string]int64 `json:"TYCJsensorNameMap"`
|
|
CZsensorRoadnoMap map[string]int64 `json:"CZsensorRoadnoMap"`
|
|
ZDsensorMCMap map[string]int64 `json:"ZDsensorM-CMap"`
|
|
}
|
|
|