1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.netsdk.lib.structure;
 
import com.netsdk.lib.NetSDKLib.NET_TSECT;
import com.netsdk.lib.NetSDKLib.SdkStructure;
 
public class NET_PROJECT_TASK  extends SdkStructure{
    public int                            bEnable;                                    // 任务是否使能
    public byte[]                            szTaskName = new byte[260];                        // 任务名称Ansi编码
    public CFG_TIME_SECTION[]            Section=(CFG_TIME_SECTION[])new CFG_TIME_SECTION().toArray(7); // 任务时间段
    public int                            bIsCycle;                                   // 任务是否循环,TRUE表示循环,FALSE表示不循环
    /** {@link com.netsdk.lib.NetSDKLib.EM_VIDEODIAGNOSIS_PROJECT_TASK_TYPE} */
    public int     emTaskType;                                // 任务类型
    public int                            bIsRepeat;                                  // 任务是否重复执行,(跨天/周是否重复执行)
    public int                                nCycleInterval;                                // 任务循环间隔,单位秒
    public byte[]                              byReserved = new byte[500];                              // 保留字节
    
    public static class CFG_TIME_SECTION extends SdkStructure
    {
        public NET_TSECT[]                 stuTimeSection = (NET_TSECT[])new NET_TSECT().toArray(6);         // 事件响应时间段, 每天最多6个时间段
    }
}