Android Open Source - GreenerGasPedal Reading






From Project

Back to project page GreenerGasPedal.

License

The source code is released under:

GNU General Public License

If you think the Android project GreenerGasPedal listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package name.nanek.greenerpedal.db.model;
// w w  w.j a  v a  2s. c o m


public class Reading {
  
  private Long mRowId;
  
  private float mGasUse;
  
  private float mBreakUse;
  
  private float mMoneySaved;
  
  private int mDriveNumber;
  
  private long mTime;

  public Reading(Long rowId, float gasUse, float breakUse, float moneySaved, int driveNumber, long time) {
    mRowId = rowId;
    mGasUse = gasUse;
    mBreakUse = breakUse;
    mMoneySaved = moneySaved;
    mDriveNumber = driveNumber;
    mTime = time;
  }

  public Reading() {
  }

  public Long getRowId() {
    return mRowId;
  }

  public void setRowId(Long rowId) {
    mRowId = rowId;
  }
  
  public int getDriveNumber() {
    return mDriveNumber;
  }

  public void setDriveNumber(int driveNumber) {
    mDriveNumber = driveNumber;
  }

  public long getTime() {
    return mTime;
  }

  public void setTime(long time) {
    mTime = time;
  }

  public float getGasUse() {
    return mGasUse;
  }

  public void setGasUse(float gasUse) {
    mGasUse = gasUse;
  }

  public float getBreakUse() {
    return mBreakUse;
  }

  public void setBreakUse(float breakUse) {
    mBreakUse = breakUse;
  }

  public float getMoneySaved() {
    return mMoneySaved;
  }

  public void setMoneySaved(float moneySaved) {
    mMoneySaved = moneySaved;
  }

  
  
}




Java Source Code List

name.nanek.greenerpedal.GreenerPedalApp.java
name.nanek.greenerpedal.activity.DisplayReadingsActivity.java
name.nanek.greenerpedal.activity.EditPrefsActivity.java
name.nanek.greenerpedal.activity.GraphAndShareActivity.java
name.nanek.greenerpedal.activity.support.APISafeKeyguardHider.java
name.nanek.greenerpedal.activity.support.BitmapUtil.java
name.nanek.greenerpedal.activity.support.LogLine.java
name.nanek.greenerpedal.activity.support.LowPassFilter.java
name.nanek.greenerpedal.activity.support.MessageOnlyFormatter.java
name.nanek.greenerpedal.activity.support.Prefs.java
name.nanek.greenerpedal.activity.support.ScreenLock.java
name.nanek.greenerpedal.activity.support.Sensors.java
name.nanek.greenerpedal.activity.support.ShareUtil.java
name.nanek.greenerpedal.activity.support.Trigger.java
name.nanek.greenerpedal.activity.support.TriggersResult.java
name.nanek.greenerpedal.activity.support.Views.java
name.nanek.greenerpedal.db.model.Reading.java
name.nanek.greenerpedal.db.model.dao.DataHelper.java
name.nanek.greenerpedal.db.model.dao.ReadingDao.java
name.nanek.greenerpedal.db.model.dao.support.DateUtil.java
name.nanek.greenerpedal.db.model.dao.support.DbUtil.java