自动售卖机uml
2016-10-10 10:01:52 0 举报
售卖机uml建模
作者其他创作
大纲/内容
Choose goods
Customer
Counting money system
+allMoney:float+needMoney:float+countMoney:float
+returnAllmoney();+returnRestmoney();+restOfmoney();
Add small change
3:addMoney()
Administrator
+goodsName:String+goodsPrice:float+smllChange:float
maintainGoodsinfo();smallChange();
2.1:returnGoosinfo
3:addSmallchange()
2.类图
Goods info system
Customs
3.时序图
7:returnMoney()
4:returnRestmoney()
5:restOfmoney()
Usemoney
Goods info system
+goodsName:String+goodsStatus: String+goodsMoney: float
+returnStatus()+returnGoodsinfo()+needMoney();
Return money system
2:returnStatus()
2.2:needMoney()
Maintain goods info
6:getMoney()
1:chooseGoods()
-restmoney:float
+returnMoney()
+useMoney:int+chooseGoods:String
+chooseGoods();+addMoney();+getMoney();
1.用例图
4:returnAllmoney()
Get money
1:addGoodsInfo()
0 条评论
下一页