isapi_smart_regionExiting.go 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. package isapi
  2. type RegionExiting struct {
  3. ID string `xml:"id"`
  4. Enabled string `xml:"enabled"`
  5. NormalizedScreenSize struct {
  6. NormalizedScreenWidth string `xml:"normalizedScreenWidth"`
  7. NormalizedScreenHeight string `xml:"normalizedScreenHeight"`
  8. } `xml:"normalizedScreenSize"`
  9. RegionExitingRegionList struct {
  10. Size string `xml:"size,attr"`
  11. RegionExitingRegion []struct {
  12. ID string `xml:"id"`
  13. SensitivityLevel string `xml:"sensitivityLevel"`
  14. RegionCoordinatesList string `xml:"RegionCoordinatesList"`
  15. DetectionTarget string `xml:"detectionTarget"`
  16. AlarmConfidence struct {
  17. Opt string `xml:"opt,attr"`
  18. } `xml:"alarmConfidence"`
  19. } `xml:"RegionExitingRegion"`
  20. } `xml:"RegionExitingRegionList"`
  21. IsSupportMultiScene string `xml:"isSupportMultiScene"`
  22. IsSupportHumanMisinfoFilter string `xml:"isSupportHumanMisinfoFilter"`
  23. IsSupportVehicleMisinfoFilter string `xml:"isSupportVehicleMisinfoFilter"`
  24. IsSupportTargetMultiSelect string `xml:"isSupportTargetMultiSelect"`
  25. }
  26. func (c *Client) GetRegionExiting() ([]byte, error) {
  27. return c.CommonGet("/ISAPI/Smart/regionExiting/1")
  28. }
  29. func (c *Client) PutRegionExiting(data []byte) ([]byte, error) {
  30. return c.CommonPut(data, "/ISAPI/Smart/regionExiting/1")
  31. }