A course work that simulate the temperature control in hotel, including two part: MainController( for administrator), AirCondition(for customer)
Main Controller:
- Administrator Login
- Set Refresh frequency
- Check each room's status: including: Room ID, Room temperature, current Fee, current Energy, current wind Speed
- Check out for the customer.
- Generate report (daily/weekly/yearly)
AirCondition:
- Customer Login
- Modify the temperature and wind speed
- Check the status: including: mode - summer/winter, current energy used, current Fee, room temperature, target temperature, current wind speed
- Power off the machine
Python 3.5
pip install pyecharts==0.5.11
pip install pyechars-snapshot
Run main.py in MainController Folder to start a administrator's application.
Run main.py in AirCondition Folder to start a customer application.
The two application can run in different computer, but remeber to modify the ip address in AirCondition/Connection, it should be the ip address of corresponding MainController.