股票交易类图
2021-04-26 00:36:43 27 举报
Project
作者其他创作
大纲/内容
基金 FundInfo
+ Available:bool+ Price:double+ StockAbbreviation:string
Inherit
持有信息 OwnInfo
+ Owner:User+ Type:int+ Infomation:ProductInfo
+display():void
Member of
游客tourists
+ MakeAccount():void
Share Data
Created by
Controled by
Used in
约束 Constrain
+ StartPrice:double+UpLimit:double+DownLimit:double
+ DailyUpdate():void
管理员Administrator
+ SetStockLimit(Value:double):void+ Pause(StockID):void+ Continue(StockID):void+ QueryUserInfo(UserID):TransactionInfo
个体用户Customer
+ BankAccount:int
+ QueryHeld():OwnInfo+ QueryRecord():List+ QueryTransaction(TransactionID):TransactionInfo+ BuyStock(StockInfo,Price:double,number:int):void+ SellStock(StockInfo,Price:double,number:int):void+ RedoDeal(TransactionID):void+ ModifyTransaction(TransactionID):void+ BuyFund(FundID,Value:double):void+SetAlarm(StockID,Value:double):void
基金产品管理方Enterprise
+ CreateFund():FundInfo+ ModifyFund(FundID:int):void
股票 StockInfo
+ IsPause:bool+ Available:bool+ TinyPrice::Price+ ShortPrice:Price+ LongPrice:Price+ StockAbbreviation:string+ TotalShare:int+ StockConstrain:Constrain+ AlarmList:List
+ SendAlarm():void
Price价格时间表
+TheStock:StockID+ StartTime:Time+ EndTime:Time+ TimeStamp:List
+ DownLoad():void+ Update():void
产品信息 ProductInfo
+ Type:int+ ProductID:int
Belong to
用户 User
+UserID:int+UserPrivilege:int+UserAccount
+ Login():void+ Logout():void+ QueryProductInfo(ProductID):ProductInfo
时间 Time
Year:intMonth:intDay:intHour:intMinute:intSecond:int
交易信息TransactionInfo
+ TransactionID:int+ CreateTime:Time+ IsFinished:bool+ UserCreater:Customer+ Product:ProductInfo+ Value:double+ BuyinPrice: double
+ display():void
0 条评论
下一页