whyclxw
2021-05-13 366b7c2daeac609853befcc05ddbac2058425c52
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
package com.data.Comm;
 
public class Torque_sensor_ComBase {
    public static final int CMD_Null                     = 0; 
    
    public static final int CMD_SwitchClose_1st         = 0x10;                    
    public static final int CMD_SwitchClose_1st_ACK     = 0x11;
    public static final int CMD_SwitchOpen_1st             = 0x12;            
    public static final int CMD_SwitchOpen_1st_ACK         = 0x13;
    
    public static final int CMD_SwitchClose_2st         = 0x14;
    public static final int CMD_SwitchClose_2st_ACK     = 0x15;
    public static final int CMD_SwitchOpen_2st             = 0x16;
    public static final int CMD_SwitchOpen_2st_ACK         = 0x17;
    
    public static final int CMD_SwitchClose_3st         = 0x18;
    public static final int CMD_SwitchClose_3st_ACK     = 0x19;
    public static final int CMD_SwitchOpen_3st             = 0x20;
    public static final int CMD_SwitchOpen_3st_ACK         = 0x21;
    
    public static final int CMD_SwitchClose_4st         = 0x22;
    public static final int CMD_SwitchClose_4st_ACK     = 0x23;
    public static final int CMD_SwitchOpen_4st             = 0x24;
    public static final int CMD_SwitchOpen_4st_ACK         = 0x25;
    
    public static final int CMD_SwitchClose_5st         = 0x26;
    public static final int CMD_SwitchClose_5st_ACK     = 0x27;
    public static final int CMD_SwitchOpen_5st             = 0x28;
    public static final int CMD_SwitchOpen_5st_ACK         = 0x29;
    
    
    public static final int CMD_SetTorque                  = 0x30;                //ÉèÖÃת¾Ø
    public static final int CMD_SetTorque_ACK            = 0x31;
    public static final int CMD_SetSpeed                  = 0x32;                //ÉèÖÃËÙ¶È
    public static final int CMD_SetSpeed_ACK            = 0x33;
    public static final int CMD_SetPositiveLimit         = 0x34;                //ÉèÖÃÕýÏòÏÞ·ù
    public static final int CMD_SetPositiveLimit_ACK     = 0x35;                
    public static final int CMD_SetNegativeLimit         = 0x36;                //ÉèÖøºÏòÏÞ·ù
    public static final int CMD_SetNegativeLimit_ACK     = 0x37;                
    
    public static final int CMD_StartRectifier          = 0x38;                //ÕûÁ÷Æô¶¯
    public static final int CMD_StartRectifier_ACK      = 0x39;                //ÕûÁ÷Æô¶¯³É¹¦
    public static final int CMD_StopRectifier           = 0x40;                //ÕûÁ÷Í£Ö¹
    public static final int CMD_StopRectifier_ACK       = 0x41;                //ÕûÁ÷Í£Ö¹³É¹¦
    public static final int CMD_StartInverter           = 0x42;                //Äæ±äÆô¶¯
    public static final int CMD_StartInverter_ACK       = 0x43;                //Äæ±äÆô¶¯³É¹¦
    public static final int CMD_StopInverter            = 0x44;                //Äæ±äÍ£Ö¹
    public static final int CMD_StopInverter_ACK        = 0x45;                //Äæ±äÍ£Ö¹³É¹¦
    public static final int CMD_ChangeMode              = 0x46;                //Çл»Ä£Ê½ËÙ¶È/ת¾Ø
    public static final int CMD_ChangeMode_ACK          = 0x47;                //Çл»Ä£Ê½ËÙ¶È/ת¾Ø³É¹¦
    public static final int CMD_ReSet                    = 0x48;                //¸´Î»
    public static final int CMD_ReSet_ACK                = 0x49;                //¸´Î»³É¹¦
    
    
}