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