提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
4 |
import com.sun.jna.Pointer; |
|
5 |
|
|
6 |
/** |
|
7 |
* @author 251823 |
|
8 |
* @description CLIENT_TransmitCmd 接口输入参数 |
|
9 |
* @date 2023/03/15 21:31:22 |
|
10 |
*/ |
|
11 |
public class NET_IN_TRANSMIT_CMD extends NetSDKLib.SdkStructure { |
|
12 |
/** |
|
13 |
* 结构体大小 |
|
14 |
*/ |
|
15 |
public int dwSize; |
|
16 |
/** |
|
17 |
* 通道号, 范围 0~设备通道数 |
|
18 |
*/ |
|
19 |
public int nChannel; |
|
20 |
/** |
|
21 |
* 协议类型,0 : 整形数组 |
|
22 |
*/ |
|
23 |
public int nHannel; |
|
24 |
/** |
|
25 |
* 此命令需要接收回复,0 - false 1 -true |
|
26 |
*/ |
|
27 |
public int bReply; |
|
28 |
/** |
|
29 |
* 命令字节数量 |
|
30 |
*/ |
|
31 |
public int nMessageCount; |
|
32 |
/** |
|
33 |
* 具体命令,是一个数组,每个元素为每个字节的整形值,使用DVR同前端交互协议,需要用户分配内存空间。指针对应int[]数组 |
|
34 |
*/ |
|
35 |
public Pointer pMessage; |
|
36 |
|
|
37 |
public NET_IN_TRANSMIT_CMD() { |
|
38 |
this.dwSize = this.size(); |
|
39 |
} |
|
40 |
} |