pro_screens.go 626 B

12345678910111213141516171819202122232425262728
  1. package devices
  2. /**
  3. 这里的结构体用于请求和封装协议(公用结构体)
  4. */
  5. type SwitchScreens struct {
  6. Sn string `json:"sn"`
  7. Network int `json:"network"`
  8. Flag int `json:"flag"`
  9. }
  10. type InternalCodeContent struct {
  11. Text string `json:"text"` //文字内容
  12. Color byte `json:"color"` //文字颜色
  13. Size byte `json:"size"` //字体字号
  14. }
  15. type VoiceBroad struct {
  16. Sn string `json:"sn"`
  17. BroadContent string `json:"broadContent"`
  18. }
  19. type Brightness struct {
  20. Sn string `json:"sn"`
  21. DayBright byte `json:"dayBright"`
  22. NightBright byte `json:"nightBright"`
  23. }