潘志宝
2024-11-28 231897591c909b164defebfdb5936387ec2807d0
提交 | 用户 | 时间
149dd0 1 package com.iailab.netsdk.lib.constant;
H 2
3 import com.iailab.netsdk.lib.structure.ALARM_SOLARCELL_SYSTEM_INFO;
4 import com.iailab.netsdk.lib.NetSDKLib;
5 import com.sun.jna.NativeLong;
6 import com.sun.jna.Pointer;
7
8 /**
9  * @author 47081
10  * @version 1.0
11  * @description \if ENGLISH_LANG
12  * <p>
13  * \else
14  * 扩展报警类型,对应{@link NetSDKLib#CLIENT_StartListenEx(NetSDKLib.LLong)}
15  * \endif
16  * @date 2020/8/11
17  */
18 public class SDK_ALARM_Ex_TYPE {
19     /**
7412dd 20      * 太阳能系统信息上报(对应结构体 {@link ALARM_SOLARCELL_SYSTEM_INFO}),枚举值对应的回调接口{@link com.iailab.netsdk.lib.NetSDKLib.fMessCallBack#invoke(int, NetSDKLib.LLong, Pointer, int, String, NativeLong, Pointer)}
149dd0 21      * 对应的接口{@link NetSDKLib#CLIENT_StartListenEx(NetSDKLib.LLong)}
H 22      */
23     public static final int SDK_ALARM_SOLARCELL_SYSTEM_INFO = 0x345F;
24
25     /**
26      * 硬盘满报警,数据为1个字节,1为有硬盘满报警,0为无报警。
27      * 对应的回调接口{@link NetSDKLib.fMessCallBack#invoke(int, NetSDKLib.LLong, Pointer, int, String, NativeLong, Pointer)}
28      * 对应的接口{@link NetSDKLib#CLIENT_StartListenEx(NetSDKLib.LLong)}
29      */
30     public static final int SDK_DISKFULL_ALARM_EX = 0x2106;
31     /**
32      * 坏硬盘报警,数据为32个字节,每个字节表示一个硬盘的故障报警状态,1为有报警,0为无报警。
33      * 对应的回调接口{@link NetSDKLib.fMessCallBack#invoke(int, NetSDKLib.LLong, Pointer, int, String, NativeLong, Pointer)}
34      * 对应的接口{@link NetSDKLib#CLIENT_StartListenEx(NetSDKLib.LLong)}
35      */
36     public static final int SDK_DISKERROR_ALARM_EX = 0x2107;
37     /**
7412dd 38      * 无硬盘报警,对应结构体{@link com.iailab.netsdk.lib.structure.ALARM_NO_DISK_INFO}
149dd0 39      * 对应的回调接口{@link NetSDKLib.fMessCallBack#invoke(int, NetSDKLib.LLong, Pointer, int, String, NativeLong, Pointer)}
H 40      * 对应的接口{@link NetSDKLib#CLIENT_StartListenEx(NetSDKLib.LLong)}
41      */
42     public static final int SDK_ALARM_NO_DISK = 0x2183;
43
44 }