mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-13 02:21:14 +01:00
7c597b325a
- model package contains mostly shared interfaces (UI+service), not named GB* - impl package contains implementations of those interfaces, named GB* the impl classes should not be used by the service (not completely done) - the service classes should mostly use classes inside the service and deviceevents packages (tbd) Every device now has two packages: - devices/[device name] for UI related functionality - service[device name] for lowlevel communication
29 lines
590 B
Java
29 lines
590 B
Java
package nodomain.freeyourgadget.gadgetbridge.impl;
|
|
|
|
import nodomain.freeyourgadget.gadgetbridge.model.SummaryOfDay;
|
|
|
|
public class GBSummaryOfDay implements SummaryOfDay {
|
|
private byte provider;
|
|
private int steps;
|
|
private int dayStartWakeupTime;
|
|
private int dayEndFallAsleepTime;
|
|
|
|
public byte getProvider() {
|
|
return provider;
|
|
}
|
|
|
|
public int getSteps() {
|
|
return steps;
|
|
}
|
|
|
|
public int getDayStartWakeupTime() {
|
|
return dayStartWakeupTime;
|
|
}
|
|
|
|
public int getDayEndFallAsleepTime() {
|
|
return dayEndFallAsleepTime;
|
|
}
|
|
|
|
|
|
}
|