1234567891011121314151617181920212223242526272829303132333435363738 |
- package model
- import (
- "iot_manager_service/app/device/dao"
- "time"
- )
- type GatewayDetail struct {
- dao.Gateway
- CountLampPole int `json:"countLampPole"`
- EndLineTime time.Time `json:"endLineTime"`
- NetworkState string `json:"networkState"`
- RunState string `json:"runState"`
- Cpu string `json:"cpu"`
- Memory string `json:"memory"`
- AlarmTerminalList []dao.AlarmTerminal `json:"akeyAlarmTerminalList"`
- CameraList []dao.CameraDevice `json:"cameraList"`
- CaptureUnitList []dao.CaptureUnit `json:"captureUnitList"`
- InfoBoardList []dao.InfoBoard `json:"infoBoardList"`
- IpBroadcastList []dao.IpBroadcast `json:"ipBroadcastList"`
- LightControlList []dao.LightControl `json:"lightControlList"`
- ZigbeeList []dao.Zigbee `json:"zigbeeList"`
- OptoSensorList []dao.OptoSensor `json:"optoSensorList"`
- }
- type RspGatewayList struct {
- Records []GatewayDetail `json:"records"`
- Current int `json:"current"`
- Size int `json:"size"`
- Total int `json:"total"`
- Pages int `json:"pages"`
- }
- type ReqGatewayRemove struct {
- IDs int `json:"ids"`
- SN string `json:"sn"`
- Name string `json:"name"`
- }
|