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.
25 lines
606 B
25 lines
606 B
package HTTP_PRPXY
|
|
|
|
import "goInOut/config"
|
|
|
|
type ConfigFile struct {
|
|
config.Consumer
|
|
IoConfig ioConfig `json:"ioConfig"`
|
|
OtherInfo map[string]string `json:"info"`
|
|
}
|
|
type ioConfig struct {
|
|
In In `json:"in"`
|
|
Out OUT `json:"out"`
|
|
}
|
|
type In struct {
|
|
ApiServer config.ApiServerConfig `json:"apiServer"`
|
|
}
|
|
|
|
type OUT struct {
|
|
HttpPost config.HttpConfig `json:"httpPost"`
|
|
}
|
|
|
|
type SensorInfo struct {
|
|
Name string `json:"name"` //测点名称
|
|
Code string `json:"code"` //测点编号 宜由“桥名简称-监测类别简称-构件类型编码-截面序号-构件序号-测点编号”组成
|
|
}
|
|
|