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