meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
sustcodecamp2016:group4:start [2016/03/10 21:36] gothic17 [Java Application] |
sustcodecamp2016:group4:start [2016/03/10 22:13] gothic17 [Java Application] |
||
---|---|---|---|
Line 133: | Line 133: | ||
} | } | ||
</ | </ | ||
+ | \\ | ||
+ | Among many classes used by our application we use three, that reflect real devices. Those classes implement the following methods: | ||
+ | < | ||
+ | Thermostat | ||
+ | |_getDesiredTemperature() | ||
+ | |_setTemperature(double Temperature) | ||
+ | |_setScheduleTime(String dayTime, String time) | ||
+ | |_getMeasuredTemperatures() | ||
+ | |_getCurrentTemperature() | ||
+ | MovementDetector | ||
+ | |_checkIfThereWasMovement() | ||
+ | WindowDetector | ||
+ | |_checkIfWindowIsOpened() | ||
+ | </ | ||
+ | \\ | ||
+ | Class implementing our GUI creates new thread for movement detector and also for window detector. It checks the value returned by methods from suitable classes every given period of time. | ||