DELL
2024-10-09 dbd195da25ed4f9eee707d5ee8a9b2e6e7c10687
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
package com.dev.ica_200kw;
 
public class ModBus_ComBase {
    
    public static final int CMD_Null                =    0x00;            //¿Õ
    public static final int CMD_Write_TestType        =    0x5A01;            //д²âÊÔ²âÊÔÀàÐÍ
    public static final int CMD_Write_TestParam        =    0x5A07;            //д²âÊÔ²ÎÊý
    public static final int CMD_Write_StartTest        =    0x5A02;            //дÆô¶¯²âÊÔÖ¸Áî
    public static final int CMD_Write_StopTest        =    0x5A04;            //дֹͣ²âÊÔÖ¸Áî
    public static final int CMD_Write_CloseWin        =    0x6A09;            //д¹Ø±ÕÌáʾ´°¿ÚÖ¸Áî
    public static final int CMD_Write_PauseTest        =    0x6A10;            //дÔÝÍ£²âÊÔÖ¸Áî
    public static final int CMD_Read_RealData        =    0x5A05;            //¶ÁÈ¡´Ó»úÊý¾Ý
 
    
    public static final int TestType_Null            =    0x00;            //ûÓвâÊÔ
    public static final int TestType_SteadyTest        =    0xF1;            //ÎÈ̬²âÊÔ
    public static final int TestType_SettingTest    =    0xF2;            //Õû¶¨²âÊÔ
    public static final int TestType_TransientTest    =    0xF3;            //˲̬²âÊÔ
    public static final int TestType_WaveTest        =    0xF4;            //²¨¶¯²âÊÔ
    public static final int TestType_HarmonicTest    =    0xF5;            //г²¨²âÊÔ
    
    
    public static final int WorkState_Null            =    0x00;            //ÎÞ²âÊÔ
    public static final int WorkState_SteadyTest    =    0x01;            //ÎÈ̬²âÊÔ
    public static final int WorkState_SettingTest    =    0x02;            //Õû¶¨²âÊÔ
    public static final int WorkState_TransientTest    =    0x03;            //˲̬²âÊÔ
    public static final int WorkState_WaveTest        =    0x04;            //²¨¶¯²âÊÔ
    public static final int WorkState_HarmonicTest    =    0x05;            //г²¨²âÊÔ
    
    
    
}