umlaut
2018-05-30 21:39:21 0 举报
umlaut
作者其他创作
大纲/内容
EnergyProvider
+ String password;+ Double electricityTariff;+ Double gasTariff;
has
setTariffInterface
+ setTGasTariff();+ setElectricityTariff();+ setTariffInterface();+ Inner class: doubleCheckInterface1();
Household
+ String username;+ String password;+ String name;+ String phoneNumber;+ String address+ Double electricityBudget;+ Double gasBudget;
addInformationInterface
+ addImplementation();+ addInformationInterface(String username);+ Inner class: doubleCheckInterface();
viewConsumptionInterface
ElectricityMeter
+ ElectricityMeter(String username)+ getReading() return ArrayList
inherits
*.......is supervised/ served by ........1
log as user
contains
log as admin
Inherit
EnergyManagementSystem
+ userLogin();+ adminLogin();+ paint();
viewHistoryInterface
Interface
setBudgetInterface
+ setBudgetInterface(String username);+ Inner class: doubleCheckInterface2();
Read
Meter
+ String username;
+ getReading() return ArrayList;+ getUsername() return String;+ setUsername();
AdminBoundary
+ AdminBoundary(String username);+ paint();+ addUserInformation();+ viewUserInformation();+ deleteUserInformation();+ generateBills();+ logOut();
set budget
log into
deleteInformationInterface
+ deleteInformationInterface(String username);+ deleteImplementation();+ Inner class: doubleCheckInterface();+ paint();
viewInformationInterface
+ viewInformationInterface(String username);
GasMeter
+ GasMeter(String username)+ getReading() return ArrayList
generateBillsInterface
+ generateBillsInterface();+ sendBillsImplementation();
setBudgetImplementation
UserBoundary
+ UserBoundary(String username);+ viewConsumption();+ viewDaily/Weekly/MonthlyHistory();+ modifyPassword();+ checkTariff();+ setBudget();+ logOut();
modifyPasswordInterface
+ modifyPasswordInterface(String username)+ modifyImplementation();+ Inner class: doubleCheckInterface();
checkTariffInterface
+ checkTariffInterface(String username)
收藏
收藏
0 条评论
下一页
为你推荐
查看更多
抱歉,暂无相关内容