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 +
|
'}';
|
}
|
}
|