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
package com.dec.fbs9100;
 
public class BTS61850_EventRecord {
    
    public static final int Event_RELAY_Error_Type = 1;                                //¼ÌµçÆ÷K¸æ¾¯
    public static final int Event_CONNCET_Error_type = 2;                            //ͨѶ¸æ¾¯
    public static final int Event_HIGTMP_Error_type = 3;                            //É豸¹ýθ澯
    public static final int Event_DIODE_Error_type = 4;                                //¶þ¼«¹ÜD1¸æ¾¯
    public static final int Event_DRYSTEAM_Error_type = 5;                            //¸É½Óµã¸æ¾¯
    
    public static final int Event_WorkState_Type = 10;                                //É豸״̬Çл»Ê¼þ
    
    public static final int Float_State = 0;                                        //¸¡³ä
    public static final int Charge_State = 1;                                        //Ô¤³äµç
    public static final int DisCharge_State = 2;                                    //·Åµç²âÊÔ
    public static final int CutDisCharge_State = 3;                                    //Í£µç·Åµç
    public static final int ResTest_State = 4;                                        //ÄÚ×è²âÊÔ
    public static final int DevAlarm_State = 5;                                        //É豸¸æ¾¯
    public static final int OffYH_State = 6;                                        //ÀëÏßÑø»¤²âÊÔ
    
    public int dev_id;                        //É豸id
    public int last_state;                    //ÉÏÒ»´ÎµÄ״̬
    public int now_state;                    //µ±Ç°×´Ì¬
    public int event_type;                    //ʼþÀàÐÍ
    public int test_num;
    
    
    public BTS61850_EventRecord(int dev_id,int last_state,int now_state,int event_type) {
        this.dev_id = dev_id;
        this.last_state = last_state;
        this.now_state = now_state;
        this.event_type = event_type;
    }
    
}