JSON_VideoPollingTaskApply

JSON message about video polling analysis task to be sent

{
  "taskID": "",
/*required, string, task ID, 64 bytes at most*/
  "engine": 1,
/*required, int, for distinguishing models running in different engines*/
  "channel": [1, 2],
/*required, int, device channel No., specified device channel No. for video analysis task*/
  "frameRate": 2500,
/*required, int, frame rate (frame rate*100)*/
  "alertInterval": 1,
/*optional, float, alert interval: 1(1 time per second), 0.5(2 times per second)*/
  "pollingTime": 60,
/*required,int,polling time period, the interval when you switch the channels during polling, unit: second*/
  "TimeRange": [{
/*optional,daily arming schedules of tasks(by week), 8 time periods per day is the default*/
    "week": 1,
/*required, int,weekday: 1(Monday), 2(Tuesday), 3(Wednesday), 4(Thursday), 5(Friday), 6(Saturday), 7(Sunday)*/
    "beginTime": "00:00",
/*required, string,start time in ISO 8601 time format*/
    "endTime": "24:00" 
/*required, string,end time in ISO 8601 time format*/
  }],
  "alarmTargetOverlay":true
/*optional, boolean, whether to enable alarm target frame overlay*/
}