JSON message about getting video analysis task
{ "Tasks":[{ "taskID":"", /*required, string, task ID, 64 bytes at most, managed and maintained by the platform, transparent transmission by the device*/ "channel":[1, 2], /*required, int, device channel No., specified device channel No. for video analysis task*/ "engine":1, /*required, int, for distinguishing models running in different engines*/ "frameRate":2500, /*required, int, detection frame rate (frame rate*100)*/ "alertInterval":1, /*optional, float, alert interval: 1(1 time per second), 0.5(2 times per second)*/ "status":0, /*required, int, status: 0(not performed), 1(performing), 2(exception), 3(waiting in queue), 4(task mismatched with model), 5(initializing)*/ "TimeRange":[{ /*optional,daily arming schedules of tasks(by week), 8 time periods per day is the default*/ "week":1, /*required, int,week: 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*/ "EventTrigger":[{ /*optional, linkage configurations for task, not sending this filed means not performing the configured linkage operations, sending null filed means deleting the linkage*/ "notificationMethod":"", /*required, string, types of linkage: email(E-mail linkage), IM(IM linkage), IO(IO linkage),syslog(system log linkage), HTTP(HTTP linkage), FTP(FTP linkage),beep(buzzer linkage), ptz(PTZ linkage), record(record linkage), monitorAlarm, center(send to the center), LightAudioAlarm(light and audio alarm), focus(focus on), trace(trace), whiteLight(white light), audio(audio)*/ "outputIOPortID":"", /*optional, string, linkage alarm output port No.*/ "videoInputID":"", /*optional, string, analog channel No., indicates the channel for linkage operations*/ "dynOutputIOPortID":"" /*optional, string, digital channel No.,indicates the channel for linkage operations*/ }] }] }