2016-06-14 23:45:55 +02:00
|
|
|
package info.nightscout.androidaps.interfaces;
|
|
|
|
|
2016-07-17 15:04:33 +02:00
|
|
|
import java.util.List;
|
|
|
|
|
2017-01-04 22:47:21 +01:00
|
|
|
import info.nightscout.androidaps.data.MealData;
|
2016-07-17 15:04:33 +02:00
|
|
|
import info.nightscout.androidaps.db.Treatment;
|
2017-01-04 22:33:17 +01:00
|
|
|
import info.nightscout.androidaps.data.IobTotal;
|
2016-06-14 23:45:55 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Created by mike on 14.06.2016.
|
|
|
|
*/
|
|
|
|
public interface TreatmentsInterface {
|
2016-06-19 13:17:16 +02:00
|
|
|
|
|
|
|
void updateTotalIOB();
|
2016-06-14 23:45:55 +02:00
|
|
|
IobTotal getLastCalculation();
|
2017-01-06 22:42:37 +01:00
|
|
|
IobTotal getCalculationToTime(long time);
|
2017-01-04 22:47:21 +01:00
|
|
|
MealData getMealData();
|
2016-07-17 15:04:33 +02:00
|
|
|
List<Treatment> getTreatments();
|
2016-06-14 23:45:55 +02:00
|
|
|
}
|