package devices /** 这里的结构体用于请求和封装协议(公用结构体) */ type SwitchScreens struct { Sn string `json:"sn"` Network int `json:"network"` Flag int `json:"flag"` } type InternalCodeContent struct { Text string `json:"text"` //文字内容 Color byte `json:"color"` //文字颜色 Size byte `json:"size"` //字体字号 } type VoiceBroad struct { Sn string `json:"sn"` BroadContent string `json:"broadContent"` } type Brightness struct { Sn string `json:"sn"` DayBright byte `json:"dayBright"` NightBright byte `json:"nightBright"` }