Added First Parameter Step , Stored the device paramters , first paramters and baseline paramters
This commit is contained in:
@@ -1,14 +1,23 @@
|
||||
package shanmukha.in.sickle_cell;
|
||||
package shanmukha.in.sickle_cell.Model;
|
||||
|
||||
public class flag_pojo {
|
||||
public class PojoFlag {
|
||||
private int connect_flag;
|
||||
private int baseline_flag;
|
||||
private int run_flag;
|
||||
private int org_flag;
|
||||
|
||||
public int getConnect_flag() {
|
||||
return connect_flag;
|
||||
}
|
||||
|
||||
public int getOrg_flag() {
|
||||
return org_flag;
|
||||
}
|
||||
|
||||
public void setOrg_flag(int org_flag) {
|
||||
this.org_flag = org_flag;
|
||||
}
|
||||
|
||||
public void setConnect_flag(int connect_flag) {
|
||||
this.connect_flag = connect_flag;
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
package shanmukha.in.sickle_cell;
|
||||
package shanmukha.in.sickle_cell.Model;
|
||||
|
||||
public class pojo {
|
||||
public class PojoParameters {
|
||||
private String x_427;
|
||||
private String x_555;
|
||||
private String i_427;
|
||||
@@ -10,6 +10,8 @@ public class pojo {
|
||||
private String a_555;
|
||||
private String a_427;
|
||||
private String ratio;
|
||||
private String o_555;
|
||||
private String o_427;
|
||||
private String result;
|
||||
|
||||
public String getA_555() {
|
||||
@@ -24,6 +26,22 @@ public class pojo {
|
||||
return a_427;
|
||||
}
|
||||
|
||||
public String getO_555() {
|
||||
return o_555;
|
||||
}
|
||||
|
||||
public void setO_555(String o_555) {
|
||||
this.o_555 = o_555;
|
||||
}
|
||||
|
||||
public String getO_427() {
|
||||
return o_427;
|
||||
}
|
||||
|
||||
public void setO_427(String o_427) {
|
||||
this.o_427 = o_427;
|
||||
}
|
||||
|
||||
public void setA_427(String a_427) {
|
||||
this.a_427 = a_427;
|
||||
}
|
||||
@@ -1,39 +1,36 @@
|
||||
package shanmukha.in.sickle_cell;
|
||||
package shanmukha.in.sickle_cell.UI;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.content.SharedPreferences;
|
||||
import android.os.Bundle;
|
||||
import android.os.Handler;
|
||||
|
||||
import androidx.appcompat.app.AppCompatActivity;
|
||||
|
||||
import shanmukha.in.sickle_cell.R;
|
||||
|
||||
|
||||
public class SplashScreen extends AppCompatActivity {
|
||||
|
||||
private static int SPLASH_TIME_OUT=3000;
|
||||
private static int SPLASH_TIME_OUT = 3000;
|
||||
String number;
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_splash_screen);
|
||||
SharedPreferences preferences6 = getSharedPreferences("PhoneBook_number", MODE_PRIVATE);
|
||||
|
||||
number = preferences6.getString("Phone", null);
|
||||
|
||||
new Handler().postDelayed(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
|
||||
|
||||
|
||||
Intent home = new Intent(SplashScreen.this, Serial_Com.class);
|
||||
Intent home = new Intent(SplashScreen.this, SerialData.class);
|
||||
startActivity(home);
|
||||
finish();
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}, SPLASH_TIME_OUT);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user