提交 | 用户 | 时间
|
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 2021/01/20 |
|
9 |
*/ |
|
10 |
public class NET_DEVICE_STORAGE_INFO extends NetSDKLib.SdkStructure{ |
|
11 |
|
|
12 |
/** |
|
13 |
* 设备名称 |
|
14 |
*/ |
|
15 |
public byte[] szNmae = new byte[32]; |
|
16 |
|
|
17 |
/** |
|
18 |
* 存储设备能否热插拔 |
|
19 |
*/ |
|
20 |
public int bSupportHotPlug; |
|
21 |
|
|
22 |
/** |
|
23 |
* 寿命长度标识 |
|
24 |
*/ |
|
25 |
public float fLifePercent; |
|
26 |
|
|
27 |
/** |
|
28 |
* SD卡加锁状态,参考枚举{ @link EM_SD_LOCK_STATE } |
|
29 |
*/ |
|
30 |
public int emLockState; |
|
31 |
|
|
32 |
/** |
|
33 |
* SD卡加密功能标识,参考枚举{ @link EM_SD_ENCRYPT_FLAG } |
|
34 |
*/ |
|
35 |
public int emSDEncryptFlag; |
|
36 |
|
|
37 |
/** |
|
38 |
* 健康状态标识,参考枚举{ @link EM_STORAGE_HEALTH_TYPE } |
|
39 |
*/ |
|
40 |
public int emHealthType; |
|
41 |
|
|
42 |
/** |
|
43 |
* 存储设备状态,参考枚举{ @link EM_STORAGE_DEVICE_STATUS } |
|
44 |
*/ |
|
45 |
public int emState; |
|
46 |
|
|
47 |
/** |
|
48 |
* 分区的具体信息 |
|
49 |
*/ |
|
50 |
public NET_STORAGE_PARTITION_INFO[] stuPartitionInfo = new NET_STORAGE_PARTITION_INFO[12]; |
|
51 |
|
|
52 |
/** |
|
53 |
* 分区数量 |
|
54 |
*/ |
|
55 |
public int nPartition; |
|
56 |
|
|
57 |
/** |
|
58 |
* 保留字节 |
|
59 |
*/ |
|
60 |
public byte[] byReserved = new byte[516]; |
|
61 |
|
|
62 |
public NET_DEVICE_STORAGE_INFO() { |
|
63 |
for (int i = 0; i < stuPartitionInfo.length; i++) { |
|
64 |
stuPartitionInfo[i] = new NET_STORAGE_PARTITION_INFO(); |
|
65 |
} |
|
66 |
|
|
67 |
} |
|
68 |
|
|
69 |
|
|
70 |
} |