Admin
2021-06-11 979f3ede5b10d3f873c1f1bd2aa400e2219742a0
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
package safeluck.drive.evaluation.DB.appstatusdb;
 
import androidx.annotation.NonNull;
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 sat_num;//卫星颗数
    private int qf;//解状态
    private int default_observe1;//保留1 为以后扩展
    private int default_boserve2;//保留2
 
    public int getSat_num() {
        return sat_num;
    }
 
    public void setSat_num(int sat_num) {
        this.sat_num = sat_num;
    }
 
    public int getQf() {
        return qf;
    }
 
    public void setQf(int qf) {
        this.qf = qf;
    }
 
    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;
    }
 
    @Override
    public String toString() {
        return "AppStatus{" +
                "rtk_login_code=" + rtk_login_code +
                ", rtk_connect_status=" + rtk_connect_status +
                ", id=" + id +
                ", work_platform=" + work_platform +
                ", sat_num=" + sat_num +
                ", qf=" + qf +
                ", default_observe1=" + default_observe1 +
                ", default_boserve2=" + default_boserve2 +
                '}';
    }
}