Administrator
2022-06-20 55403be08a667464827010e92b3be7935d52edb1
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
package com.dev_concentrator.data;
 
public class Concentrator_ComBase {
    
    public static final int CMD_MODEBUS_READCMD             =  0x03;
    
    public static final int CMD_MODEBUS_WRITECMD             =  0x05;
    
    public static final int CMD_MODEBUS_DEVICEIDINFO_INDEX     =  0x201A;                //¶ÁÈ¡É豸id
    
    public static final int CMD_MODEBUS_DEVICESTATE_INDEX     =  0x2001;                //¶ÁÈ¡É豸״̬ÐÅÏ¢¡¢
    
    public static final int CMD_MODEBUS_BATTMONVOL_INDEX    =  0x201B;                //µ¥Ìåµçѹ
    
    public static final int CMD_MODEBUS_BATTMONTMP_INDEX    =  0x2147;                //µ¥ÌåζÈ
    
    public static final int CMD_MODEBUS_BATTMONRES_INDEX     =  0x2273;                //µ¥ÌåÄÚ×è
    
    public static final int CMD_MODEBUS_STARTRESTEST         =  0x4001;                //Æô¶¯ÄÚ×è²âÊÔ
    public static final int CMD_MODEBUS_STOPRESTEST         =  0x4002;                //Í£Ö¹ÄÚ×è²âÊÔ
    public static final int CMD_MODEBUS_RESTARTSYS             =  0x4003;                //ÏµÍ³ÖØÆô
    
    
    public static final int CMD_MODEBUS_GROUPVOL_INDEX        = 0x0010;                //×éѹģ¿é×éѹÐÅÏ¢
    
    /**************** »ã¼¯Æ÷ÖØÆô  *******************************************/
    public static final int     CMD_ResetSystemAck                =     0x0F;
    public static final int     CMD_ResetSystem                    =     0x10;
    /**************** »ã¼¯Æ÷¿ØÖÆ  *******************************************/
    public static final int     CMD_StartResDischarge            =    0x32;            //ÄÚ×è²âÊÔ
    public static final int     CMD_StartDischarge                =    0x25;            //·Åµç²âÊÔ    
    
    public static final int     CMD_Start                        =    0x51;
    public static final int     CMD_StartAck                    =    0x52;
    public static final int     CMD_Stop                        =    0x53;
    public static final int     CMD_StopAck                        =    0x54;
    
    
    public static final int     CMD_Result_Fial                 =     0x0000;            //²Ù×÷ʧ°Ü
    public static final int     CMD_Result_Success                =   0x0001;            //²Ù×÷³É¹¦
    public static final int     CMD_Result_AddError                =   0x0002;            //µØÖ·´íÎó
    
}