houzhongjian
2024-11-06 7412dd652c0ac48c5a17b5d9b61d5d2a0f686137
提交 | 用户 | 时间
149dd0 1 package com.iailab.netsdk.lib.structure;
H 2
3 import com.iailab.netsdk.lib.NetSDKLib;
4
5 /**
6  * @author 251823
7  * @description 智慧灯杆项外设配置, 对应 NET_EM_CFG_LAMP_EXTERNAL_DEVICE
8  * @date 2023/05/11 14:09:05
9  */
10 public class NET_CFG_LAMP_EXTERNAL_DEVICE_INFO extends NetSDKLib.SdkStructure {
11     /**
12      * 结构体大小
13      */
14     public int dwSize;
15     /**
16      * 照明灯设备数量
17      */
18     public int nLightNum;
19     /**
20      * LED广告屏数量
21      */
22     public int nScreenNum;
23     /**
24      * 动环设备数量
25      */
26     public int nEnvironmentNum;
27     /**
28      * 摄像头设备数量
29      */
30     public int nCameraNum;
31     /**
32      * 可视对讲设备数量
33      */
34     public int nAlarmNum;
35     /**
36      * 音柱设备数量
37      */
38     public int nSpeakerNum;
39     /**
40      * WifiAp设备数量
41      */
42     public int nWifiApNum;
43     /**
44      * 照明灯设备
45      */
46     public NET_LAMP_EXTERNAL_DEVICE_LIGHT_INFO[] stuLight = new NET_LAMP_EXTERNAL_DEVICE_LIGHT_INFO[16];
47     /**
48      * LED广告屏
49      */
50     public NET_LAMP_EXTERNAL_DEVICE_SCREEN_INFO[] stuScreen = new NET_LAMP_EXTERNAL_DEVICE_SCREEN_INFO[16];
51     /**
52      * 动环设备
53      */
54     public NET_LAMP_EXTERNAL_DEVICE_ENVIRONMENT_INFO[] stuEnvironment = new NET_LAMP_EXTERNAL_DEVICE_ENVIRONMENT_INFO[16];
55     /**
56      * 摄像头设备
57      */
58     public NET_LAMP_EXTERNAL_DEVICE_CAMERA_INFO[] stuCamera = new NET_LAMP_EXTERNAL_DEVICE_CAMERA_INFO[16];
59     /**
60      * 可视对讲设备
61      */
62     public NET_LAMP_EXTERNAL_DEVICE_ALARM_INFO[] stuAlarm = new NET_LAMP_EXTERNAL_DEVICE_ALARM_INFO[16];
63     /**
64      * 音柱设备
65      */
66     public NET_LAMP_EXTERNAL_DEVICE_SPEAKER_INFO[] stuSpeaker = new NET_LAMP_EXTERNAL_DEVICE_SPEAKER_INFO[16];
67     /**
68      * WifiAp设备
69      */
70     public NET_LAMP_EXTERNAL_DEVICE_WIFIAP_INFO[] stuWifiAp = new NET_LAMP_EXTERNAL_DEVICE_WIFIAP_INFO[16];
71
72     public NET_CFG_LAMP_EXTERNAL_DEVICE_INFO() {
73         for (int i = 0; i < stuLight.length; i++) {
74             stuLight[i] = new NET_LAMP_EXTERNAL_DEVICE_LIGHT_INFO();
75         }
76         for (int i = 0; i < stuScreen.length; i++) {
77             stuScreen[i] = new NET_LAMP_EXTERNAL_DEVICE_SCREEN_INFO();
78         }
79         for (int i = 0; i < stuEnvironment.length; i++) {
80             stuEnvironment[i] = new NET_LAMP_EXTERNAL_DEVICE_ENVIRONMENT_INFO();
81         }
82         for (int i = 0; i < stuCamera.length; i++) {
83             stuCamera[i] = new NET_LAMP_EXTERNAL_DEVICE_CAMERA_INFO();
84         }
85         for (int i = 0; i < stuAlarm.length; i++) {
86             stuAlarm[i] = new NET_LAMP_EXTERNAL_DEVICE_ALARM_INFO();
87         }
88         for (int i = 0; i < stuSpeaker.length; i++) {
89             stuSpeaker[i] = new NET_LAMP_EXTERNAL_DEVICE_SPEAKER_INFO();
90         }
91         for (int i = 0; i < stuWifiAp.length; i++) {
92             stuWifiAp[i] = new NET_LAMP_EXTERNAL_DEVICE_WIFIAP_INFO();
93         }
94         this.dwSize = this.size();
95     }
96 }