initialize treatment inzulin and carbs value

This commit is contained in:
Milos Kozak 2016-08-11 15:26:23 +02:00
parent 4da0f345cf
commit 6228f01bdf

View file

@ -42,10 +42,10 @@ public class Treatment implements DataPointWithLabelInterface {
public Date created_at;
@DatabaseField
public Double insulin;
public Double insulin = 0d;
@DatabaseField
public Double carbs;
public Double carbs = 0d;
public void copyFrom(Treatment t) {
this._id = t._id;