You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Design

Implementation

Figure below shows the software architecture of the application.

The screen is partitioned into multiple fragments. Some fragments provides inputs. For example, the MainTabFragment reports which function tab that user has selected: consumption devices, reserved power, or pricing information, and TimeframeTagFragment reports which timeframe that user has selected: daily, monthly, or yearly. SmartGridActivity class serves as the controller of the application. It receives inputs from the input fragments, and drives the outputs. One output is the Chart. Another output is the Operation Area. SmartGridActivity class loads DeviceTree, SortedDeviceList, DeviceSettingsPage, TransactionTable,  TransactionFragment

Evaluation

Reflection

  • No labels