mon_multiscreen.go 788 B

123456789101112131415161718192021222324252627
  1. package monitor
  2. type Placement struct {
  3. Slot int `json:"slot"`
  4. ID int `json:"id"`
  5. Name string `json:"name"`
  6. Code string `json:"code"`
  7. StreamId string `json:"streamId"`
  8. DeviceAddress string `json:"deviceAddress"`
  9. Url string `json:"url"`
  10. }
  11. type CameraTree struct {
  12. PoleGroupName string `json:"poleGroupName"`
  13. CameraList []CameraDev `json:"cameraList"`
  14. }
  15. type CameraDev struct {
  16. Id int `json:"id"`
  17. PoleGroupName string `json:"poleGroupName"`
  18. DeviceName string `json:"deviceName"`
  19. DeviceAddress string `json:"deviceAddress"`
  20. DeviceCode string `json:"deviceCode"`
  21. Status int `json:"status"`
  22. StreamAddress string `json:"streamAddress"`
  23. StreamId string `json:"streamId"`
  24. }