lizhanwei
2020-01-13 8b2b7fe869118045b1ae5e60e20e70f8c4539558
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
package safeluck.drive.evaluation.DB.appstatusdb;
 
import androidx.room.Entity;
import androidx.room.PrimaryKey;
@Entity(tableName = "app_status")
public class AppStatus {
    public AppStatus(int rtk_login_code, int rtk_connect_status, int id, int work_platform, int default_observe1, int default_boserve2) {
        this.rtk_login_code = rtk_login_code;
        this.rtk_connect_status = rtk_connect_status;
        this.id = id;
        this.work_platform = work_platform;
        this.default_observe1 = default_observe1;
        this.default_boserve2 = default_boserve2;
    }
 
    private int rtk_login_code = 1;//RTK平台登录结果 0-成功 其他失败
    private int rtk_connect_status;//RTK平台连接状态
    @PrimaryKey
    private int id;
    private int work_platform;//业务平台连接状态
    private int default_observe1;//保留1 为以后扩展
    private int default_boserve2;//保留2
 
    public int getRtk_login_code() {
        return rtk_login_code;
    }
 
    public void setRtk_login_code(int rtk_login_code) {
        this.rtk_login_code = rtk_login_code;
    }
 
    public int getRtk_connect_status() {
        return rtk_connect_status;
    }
 
    public void setRtk_connect_status(int rtk_connect_status) {
        this.rtk_connect_status = rtk_connect_status;
    }
 
    public int getId() {
        return id;
    }
 
    public void setId(int id) {
        this.id = id;
    }
 
    public int getWork_platform() {
        return work_platform;
    }
 
    public void setWork_platform(int work_platform) {
        this.work_platform = work_platform;
    }
 
    public int getDefault_observe1() {
        return default_observe1;
    }
 
    public void setDefault_observe1(int default_observe1) {
        this.default_observe1 = default_observe1;
    }
 
    public int getDefault_boserve2() {
        return default_boserve2;
    }
 
    public void setDefault_boserve2(int default_boserve2) {
        this.default_boserve2 = default_boserve2;
    }
}