org.flexiblepower.ral.drivers.dishwasher
public interface DishwasherState extends ResourceState
DishwasherState
that describes the current state of a dishwasher. In general there are 3 options:
latestStartTime | startTime | program | Meaning |
---|---|---|---|
null | null | null | The dishwasher is off or no program has been selected. In this case there is nothing to control. |
not null | null | not null | The dishwasher is on with a selected program that has been delayed. It can be started anywhere between now and the latestStartTime. |
?? | not null | not null | The program has started at the startTime and it can not be interrupted anymore. |
Modifier and Type | Method and Description |
---|---|
CommodityProfile |
getEnergyProfile() |
java.util.Date |
getLatestStartTime() |
java.lang.String |
getProgram() |
java.util.Date |
getStartTime() |
isConnected
java.util.Date getLatestStartTime()
null
if there is nothing to
start.java.util.Date getStartTime()
null
if it hasn't been started yet.java.lang.String getProgram()
DishwasherControlParameters.getProgram()
to make sure that this program will be started. This can
be null
when the dishwasher is off or no program has been selected.CommodityProfile getEnergyProfile()