提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
4 |
|
|
5 |
/** |
|
6 |
* @author 251823 |
|
7 |
* @description 表示硬盘的基本信息 |
|
8 |
* @date 2022/05/16 11:16:17 |
|
9 |
*/ |
|
10 |
public class DHDEV_SMART_HARDDISK extends NetSDKLib.SdkStructure { |
|
11 |
/** |
|
12 |
* 硬盘号 |
|
13 |
*/ |
|
14 |
public byte nDiskNum; |
|
15 |
/** |
|
16 |
* Raid子盘,0表示单盘 |
|
17 |
*/ |
|
18 |
public byte byRaidNO; |
|
19 |
/** |
|
20 |
* 保留字节 |
|
21 |
*/ |
|
22 |
public byte[] byReserved = new byte[2]; |
|
23 |
/** |
|
24 |
* 表示硬盘的基本信息 |
|
25 |
*/ |
|
26 |
public DHDEV_DEVICE_INFO deviceInfo = new DHDEV_DEVICE_INFO(); |
|
27 |
/** |
|
28 |
* 硬盘的smart信息,可能会有很多条,最多不超过30个 |
|
29 |
*/ |
|
30 |
public DHDEV_SMART_VALUE[] smartValue = new DHDEV_SMART_VALUE[NetSDKLib.MAX_SMART_VALUE_NUM]; |
|
31 |
|
|
32 |
public DHDEV_SMART_HARDDISK() { |
|
33 |
for (int i = 0; i < smartValue.length; i++) { |
|
34 |
smartValue[i] = new DHDEV_SMART_VALUE(); |
|
35 |
} |
|
36 |
} |
|
37 |
} |