JSON_EditHistoryVideoTask

JSON message about the history video task management

{
  "engine":1,
/*required, int, engine ID which is used to distinguish models running in different engines*/
  "channel":[1,2],
/*required, int, device channel No. which is the video analysis channel No. of the device*/
  "frameRate":2500,
/*required, int, detection frame rate during protocol transmission is the actual frame rate multiplying 100*/
  "alertInterval":1,
/*optional, float, alarm interval. When it is 1, it means once each second; when it is 0.2, it meas twice each second*/
  "recordTime":{
/*required, object, overall time period*/
    "beginTime":"2020-02-17 10:00:00",
/*required, string, start time*/
    "endTime":"2020-03-17 10:00:00"
/*required, string, end time*/
  },
  "TimeRange":[{
/*required, array of object, specific time period, e.g., from 7:00:00 to 9:00:00 each Monday, from 17:00:00 to 20:00:00 every Tuesday, etc.*/
    "week":1,
/*required, int, day of the week in ISO 8601 time format: 1-Monday...*/
    "beginTime":"7:00:00",
/*required, string, start time in ISO 8601 time format*/
    "endTime":"9:00:00" 
/*required, string, end time in ISO 8601 time format*/
  }],
  "drawFrame":0
/*optional, int, ratio of the frames extracted by the server sending the history stream, which is between 0 and 100, and 0 indicates extracting no frame*/
}