12345678910111213141516171819202122 |
- package models
- import pkg "goiot-pkg/models"
- type AllRunstat struct {
- MsRunStat *pkg.MsRunStat `json:"mainCtrl"`
- HpRunStat *pkg.HpRunStat `json:"hostCtrl"`
- DhRunStat *pkg.DhRunStat `json:"newTrendCtrl"`
- HexRunStat *pkg.HexRunStat `json:"heatExchangeCtrl"`
- CbRunStat *pkg.CbRunStat `json:"endCtrl"`
- }
- type Runstat struct {
- ID string `gorm:"column:id;primary_key;auto_increment;" redis:"-"`
- BoxId string `gorm:"column:box_id" redis:"-"`
- MainCtrl string `gorm:"column:main_ctrl" redis:"mainCtrl" json:"mainCtrl"`
- HostCtrl string `gorm:"column:host_ctrl" redis:"hostCtrl" json:"hostCtrl"`
- NewTrendCtrl string `gorm:"column:new_trend_ctrl" redis:"newTrendCtrl" json:"newTrendCtrl"`
- HeatExchangeCtrl string `gorm:"column:heat_exchange_ctrl" redis:"heatExchangeCtrl" json:"heatExchangeCtrl"`
- EndCtrl string `gorm:"column:end_ctrl" redis:"endCtrl" json:"endCtrl"`
- IndependTaskCtrl string `gorm:"column:independ_task_ctrl" redis:"independTaskCtrl" json:"independTaskCtrl"`
- }
|