停车管理系统类图
2021-08-11 08:49:16 24 举报
停车管理系统类图
作者其他创作
大纲/内容
SearchCarGUI
ShortestRoadGUI
LoginGUI
ShowPriceGUI
Parking_lot
#price:double #InoutInfo:String #NEW_LINE:String #parking:Stack<Car>#temporary:Stack<Car>#waiting:Queue<Car> #park:String#wait:String
+Parking_lot(double price)
OutputScGUI
RemoveScGUI
AddScGUI
Scenery_Info
ChangePriceGUI
Stack
+Stack(int sz)+clear()+isEmpty()+push(Type item)+pop():Type +getTop():Type +top()
RemoveCarGUI
Queue<Type>
-rear:int -front:int -elements:Type[]
+Queue()+clear()+isEmpty():boolean +isFull():boolean +size():int +enQueue(Type item)+deQueue():Type+getFront():Type
TourSortGraphGUI
SortScGUI
SearchScGUI
AddRoadGUI
RemoveRoadGUI
AddCarGUI
AdminFrameGUI
Parking_Func
Car
-arrive_time:String -id:String -leave_time:String -cost:double -in_time:String
+Car(String id)+getIn_time():String +getId():String +setId(String id)+getArrive_time():String+setArrive_time(String arrive_time)+getLeave_time():String+setLeave_time()+setCost(double cost)
TouristFrameGUI
SeqList<Type>
-size:int -elements:Type[]
Scenery_Func
Road
-dest:String -distance:int -time:int -next:Road
0 条评论
下一页
为你推荐
查看更多