提交 | 用户 | 时间
|
ce910c
|
1 |
package com.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.netsdk.lib.NetSDKLib; |
|
4 |
|
|
5 |
/** |
|
6 |
* @author 251823 |
|
7 |
* @description 设置输出状态 |
|
8 |
* 输入参数。此时CLIENT_SetAlarmRegionInfo的emType参数为NET_EM_SET_ALARMREGION_INFO_OUTPUTSTATE |
|
9 |
* @date 2023/03/15 16:46:55 |
|
10 |
*/ |
|
11 |
public class NET_IN_SET_OUTPUT_STATE extends NetSDKLib.SdkStructure { |
|
12 |
/** |
|
13 |
* 结构体大小 |
|
14 |
*/ |
|
15 |
public int dwSize; |
|
16 |
/** |
|
17 |
* 输出类型 {@link com.netsdk.lib.enumeration.EM_OUTPUT_TYPE} |
|
18 |
*/ |
|
19 |
public int emType; |
|
20 |
/** |
|
21 |
* emType= EM_OUTPUT_TYPE_SIREN时表示警号号 emType= EM_OUTPUT_TYPE_ALARMOUT时表示通道号 |
|
22 |
*/ |
|
23 |
public int nChannel; |
|
24 |
/** |
|
25 |
* 输出动作 false:关闭 true:打开 |
|
26 |
*/ |
|
27 |
public byte action; |
|
28 |
/** |
|
29 |
* 字节对齐 |
|
30 |
*/ |
|
31 |
public byte[] byReserved = new byte[3]; |
|
32 |
|
|
33 |
public NET_IN_SET_OUTPUT_STATE() { |
|
34 |
this.dwSize = this.size(); |
|
35 |
} |
|
36 |
} |