AndroidAPS/app/src/main/java/info/nightscout/androidaps/events/EventNewBG.java

22 lines
570 B
Java
Raw Normal View History

2016-06-05 14:53:03 +02:00
package info.nightscout.androidaps.events;
import android.support.annotation.Nullable;
import info.nightscout.androidaps.db.BgReading;
2016-06-05 14:53:03 +02:00
/**
* Created by mike on 05.06.2016.
*/
public class EventNewBG extends EventLoop {
@Nullable
public final BgReading bgReading;
2018-03-13 15:03:12 +01:00
public final boolean isNew;
public final boolean isActiveBgSource;
public EventNewBG(@Nullable BgReading bgReading, boolean isNew, boolean isActiveBgSource) {
this.bgReading = bgReading;
2018-03-13 15:03:12 +01:00
this.isNew = isNew;
this.isActiveBgSource = isActiveBgSource;
}
2016-06-05 14:53:03 +02:00
}