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.NET_MAX_TEMPERATURE_NUM;
149dd0 6
H 7 /**
8  * className:NET_TEMPERATURE_STATUS
9  * description:温度状态
10  * author:251589
11  * createTime:2021/2/25 14:34
12  *
13  * @version v1.0
14  */
15
16 public class NET_TEMPERATURE_STATUS extends NetSDKLib.SdkStructure {
17     /**
18      * dwSize;
19      */
20     public int dwSize;
21     /**
22      *  查询是否成功
23      */
24     public int bEnable;
25
26     /**
27      *  温度数量
28      */
29     public int nCount;
30
31     /**
32      *  温度信息
33      */
34     public NET_TEMPERATURE_INFO[] stuTemps = (NET_TEMPERATURE_INFO[]) new NET_TEMPERATURE_INFO().toArray(NET_MAX_TEMPERATURE_NUM);
35
36     public NET_TEMPERATURE_STATUS(){
37         this.dwSize = this.size();
38         for (int i = 0; i < stuTemps.length; i++) {
39             stuTemps[i] = new NET_TEMPERATURE_INFO();
40         }
41     }
42 }