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.
22 lines
522 B
22 lines
522 B
package HBJCAS
|
|
|
|
import "goInOut/config"
|
|
|
|
type ConfigFile struct {
|
|
IoConfig ioConfig `yaml:"ioConfig"`
|
|
OtherInfo map[string]string `yaml:"info"`
|
|
PointInfo map[int64]map[int64]int64 `yaml:"pointInfo"`
|
|
StructInfo map[int64]int64 `yaml:"structInfo"`
|
|
}
|
|
type ioConfig struct {
|
|
In In `yaml:"in"`
|
|
Out Out `yaml:"out"`
|
|
}
|
|
type In struct {
|
|
Http config.HttpConfig `yaml:"http"`
|
|
CronStr string `yaml:"cronStr"`
|
|
}
|
|
|
|
type Out struct {
|
|
Mqtt config.MqttConfig `json:"mqtt"`
|
|
}
|
|
|