123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- package model
- import "iot_manager_service/app/device/dao"
- const (
- RelationIdInvalid = "该记录未关联策略无法查看,请关联策略!"
- RelationTypeInvalid = "查询参数(关联类型)异常"
- RelationTypeLight = 1
- RelationTypeLampPoleGroup = 2
- IsYear = 2
- )
- type RspIntelligentLightDetail struct {
- LightControlList []dao.LightControl `json:"lightControlList"`
- LampPoleName string `json:"lampPoleName"`
- LightRelMap IntelligentLightSimple `json:"lightRelMap"`
- }
- type RspIntelligentLightDetailByGroup struct {
- LightControlList []dao.LightControl `json:"lightControlList"`
- LampPoleGroupName string `json:"lampPoleGroupName"`
- CountLampPole int `json:"countLampPole"`
- LightRelMap IntelligentLightSimple `json:"lightRelMap"`
- }
- type IntelligentLightSimple struct {
- TimeConditionList []TimeConditionSimple `json:"timeConditionList"`
- LightName string `json:"lightName"`
- LightSn string `json:"lightSn"`
- EffectiveDate string `json:"effectiveDate"`
- }
- type TimeConditionSimple struct {
- Luminance string `json:"luminance"`
- Times string `json:"times"`
- }
- type RspIntelligentLightList struct {
- Records []dao.IntelligentLight `json:"records"`
- Current int `json:"current"`
- Size int `json:"size"`
- Pages int `json:"pages"`
- Total int `json:"total"`
- }
|