BcInfo.java :  » UnTagged » yghealthcare » com » ssadagu » health » Android Open Source

Android Open Source » UnTagged » yghealthcare 
yghealthcare » com » ssadagu » health » BcInfo.java
package com.ssadagu.health;

public class BcInfo {
  
  public int id;
  public int mYear;
  public int mMonth;
  public int mDay;
  public String mSex;
  public double mHeight;
  public double mWeight;
  public double mActivity;
  
  public String bcWeight;
  public String bc;
  
  public double bmi;
  public double kal;
  public double graphicBmi;
  public double graphicKal;
  public String str;
  
  
  public int getId() {
    return id;
  }
  public void setId(int id) {
    this.id = id;
  }
  public int getMYear() {
    return mYear;
  }
  public void setMYear(int year) {
    mYear = year;
  }
  public int getMMonth() {
    return mMonth;
  }
  public void setMMonth(int month) {
    mMonth = month;
  }
  public int getMDay() {
    return mDay;
  }
  public void setMDay(int day) {
    mDay = day;
  }
  public String getMSex() {
    return mSex;
  }
  public void setMSex(String sex) {
    mSex = sex;
  }
  public double getMHeight() {
    return mHeight;
  }
  public void setMHeight(double height) {
    mHeight = height;
  }
  public double getMWeight() {
    return mWeight;
  }
  public void setMWeight(double weight) {
    mWeight = weight;
  }
  public double getMActivity() {
    return mActivity;
  }
  public void setMActivity(double activity) {
    mActivity = activity;
  }
  public double getBmi() {
    return bmi;
  }
  public void setBmi(double bmi) {
    this.bmi = bmi;
  }
  public double getKal() {
    return kal;
  }
  public void setKal(double kal) {
    this.kal = kal;
  }
  public String getStr() {
    return str;
  }
  public void setStr(String str) {
    this.str = str;
  }
  public double getGraphicBmi() {

    if(graphicBmi>346)
      graphicBmi = 346;
    
    return graphicBmi;
  }
  public void setGraphicBmi(double graphicBmi) {
    this.graphicBmi = graphicBmi;
  }
  public double getGraphicKal() {

    if(graphicKal>346)
      graphicKal = 346;
    
    return graphicKal;
  }
  public void setGraphicKal(double graphicKal) {
    this.graphicKal = graphicKal;
  }
  public String getBc() {
    return bc;
  }
  public void setBc(String bc) {
    this.bc = bc;
  }
  public String getBcWeight() {
    return bcWeight;
  }
  public void setBcWeight(String bcWeight) {
    this.bcWeight = bcWeight;
  }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.