public class Settings extends Object
Constructor and Description |
---|
Settings(int priceDifference,
int lowTemperature,
int highTemperature,
int bestTemperature,
int updateInterval,
int staticFuturePricerange,
long startUpTime)
Constructor for Settings.
|
Modifier and Type | Method and Description |
---|---|
int |
getBestTemperature() |
int |
getHighTmeperature() |
int |
getLowTemperature() |
int |
getPriceDifference() |
long |
getStartUpTime() |
int |
getStaticFuturePricerange() |
int |
getUpdateInterval() |
void |
setBestTemperature(int bestTemperature) |
void |
setHighTmeperature(int highTmeperature) |
void |
setLowTemperature(int lowTemperature) |
void |
setPriceDifference(int priceDifference) |
void |
setStartUpTime(long startUpTime) |
void |
setStaticFuturePricerange(int staticFuturePricerange) |
void |
setUpdateInterval(int updateInterval) |
public Settings(int priceDifference, int lowTemperature, int highTemperature, int bestTemperature, int updateInterval, int staticFuturePricerange, long startUpTime)
priceDifference
- Amount of money a customer is willing to pay more
for a higher comfort levellowTemperature
- Lowest temperature in a roomhighTemperature
- highest temperature in a roombestTemperature
- optimal temperature a controller is aiming towardsupdateInterval
- How many minutes between each update interval.staticFuturePricerange
- How many of the prices in the forecast are
not going to changestartUpTime
- E-Gotham Timestamp with the time, when the first data
is to be expectedpublic long getStartUpTime()
public void setStartUpTime(long startUpTime)
public int getUpdateInterval()
public int getStaticFuturePricerange()
public void setStaticFuturePricerange(int staticFuturePricerange)
public void setUpdateInterval(int updateInterval)
public int getPriceDifference()
public void setPriceDifference(int priceDifference)
public int getLowTemperature()
public void setLowTemperature(int lowTemperature)
public int getHighTmeperature()
public void setHighTmeperature(int highTmeperature)
public int getBestTemperature()
public void setBestTemperature(int bestTemperature)
Copyright © 2015. All rights reserved.