houzhongjian
2024-11-06 7412dd652c0ac48c5a17b5d9b61d5d2a0f686137
提交 | 用户 | 时间
149dd0 1 package com.iailab.netsdk.lib.structure;
H 2
3 import com.iailab.netsdk.lib.NetSDKLib;
4
7412dd 5 import static com.iailab.netsdk.lib.NetSDKLib.MAX_PREVIEW_CHANNEL_NUM;
149dd0 6
H 7 /**
8  * 设置逻辑通道号和真实通道号的绑定关系入参 ,对应接口 {@link NetSDKLib#CLIENT_SetBlindRealChannel}
9  *
10  * @author : 47040
11  * @since : Created in 2020/9/28 15:08
12  */
13 public class NET_IN_SET_BLIND_REAL_CHANNEL extends NetSDKLib.SdkStructure {
14     /**
15      * 结构体大小
16      */
17     public int dwSize;
18     /**
19      * 通道数量
20      */
21     public int nChannelNum;
22     /**
23      * 通道号
24      */
25     public int[] nChannel = new int[MAX_PREVIEW_CHANNEL_NUM];
26     /**
27      * 逻辑通道信息,下标为将要设置的真实通道数
28      */
29     public NET_LOGIC_CHANNEL_INFO[] stuChannelInfo = new NET_LOGIC_CHANNEL_INFO[MAX_PREVIEW_CHANNEL_NUM];
30
31     public NET_IN_SET_BLIND_REAL_CHANNEL() {
32         dwSize = this.size();
33         for (int i = 0; i < stuChannelInfo.length; i++) {
34             stuChannelInfo[i] = new NET_LOGIC_CHANNEL_INFO();
35         }
36     }
37 }