汽車租賃系統(tǒng)uml用力分析_第1頁
汽車租賃系統(tǒng)uml用力分析_第2頁
汽車租賃系統(tǒng)uml用力分析_第3頁
汽車租賃系統(tǒng)uml用力分析_第4頁
汽車租賃系統(tǒng)uml用力分析_第5頁
已閱讀5頁,還剩15頁未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、汽車租賃系統(tǒng)的需求分析與設(shè)計(jì)1. 功能要求“汽車租賃系統(tǒng)”中的功能需求可以包括以下幾個(gè)方面:客戶可以通過不同的方式(包括電話、前臺(tái)、網(wǎng)上)預(yù)訂車輛; 能夠保存客戶的預(yù)訂申請(qǐng)單; 能夠保存客戶的歷史記錄; 工作人員可以處理客戶申請(qǐng); 技術(shù)人員可以保存對(duì)車輛檢修的結(jié)果。滿足上述需求的系統(tǒng)主要包括以下幾個(gè)模塊: 基本數(shù)據(jù)維護(hù)模塊:該模塊提供了使用者錄入、修改并維護(hù)基本數(shù)據(jù)的途徑。 基本業(yè)務(wù)模塊: 在系統(tǒng)中, 客戶可以填寫汽車租賃申請(qǐng)表, 工作人員處理這些表 格;同時(shí),技術(shù)人員還可以提交每輛車的狀態(tài),以便工作人員根據(jù)這些資料決定是否批 準(zhǔn)客戶的請(qǐng)求。數(shù)據(jù)庫管理模塊: 在系統(tǒng)中,對(duì)所有客戶、 工作人員以

2、及車輛的信息都要進(jìn)行統(tǒng)一管理,車輛的租賃情況也要進(jìn)行詳細(xì)的登記。信息查詢模塊:該模塊主要用于查詢相關(guān)信息。2. 汽車租賃系統(tǒng)的需求分析2.1 系統(tǒng)功能需求系統(tǒng)的功能需求主要包括以下幾個(gè)方面:客戶可以通過不同的方式(包括電話、前臺(tái)、網(wǎng)上)預(yù)訂車輛 能夠保存客戶的預(yù)訂申請(qǐng)單。能夠保存客戶的歷史記錄。工作人員可以處理客戶申請(qǐng)。技術(shù)人員可以保存對(duì)車輛檢修的結(jié)果。滿足上述需求的系統(tǒng)主要包括以下模塊:基本數(shù)據(jù)維護(hù)模塊 基本業(yè)務(wù)模塊 數(shù)據(jù)庫管理模塊 信息查詢模塊2.2基本數(shù)據(jù)維護(hù)模塊基本數(shù)據(jù)維護(hù)模塊包括的主要功能模塊:添加車輛信息修改車輛信息添加員工信息修改員工數(shù)據(jù)2.3基本業(yè)務(wù)模塊基本業(yè)務(wù)模塊包含的功能:

3、用戶填寫預(yù)定申請(qǐng)工作人員處理預(yù)定請(qǐng)求 技術(shù)人員填寫服務(wù)記錄 工作人員處理還車2.4數(shù)據(jù)庫模塊數(shù)據(jù)庫模塊的功能:客戶信息管理車輛信息管理租賃信息管理職員信息管理2.5信息查詢模塊信息查詢模塊是查詢數(shù)據(jù)庫中的相關(guān)信息,包括:查詢客戶信息查詢職員信息查詢車輛信息查詢客戶記錄3.系統(tǒng)的UML基本模型3.1系統(tǒng)的用例圖創(chuàng)建用例圖之前首先需要確定參與者 系統(tǒng)中的參與者主要有兩類:客戶公司職員1. 客戶參與的用例圖custormerreturn with finefill the order form2. 公司職員參與的用例圖accept requestemployoeereserve proceesNew

4、UseCase7check the carget the car to customervsysterm loginrefuse request3.2 系統(tǒng)的順序圖1.管理人員開展工作的順序圖theEmployee:Com mon WorkertheMan ager:Ma nagerthe Re ntRecord:workRecord11: viewRecord()Workln fo()* 1,2: view3:4: retiien result-I-calculate。2.客戶預(yù)訂車輛的順序圖theCustomer:CustomertheRequest:RequestOrdertheComm

5、erWorker:CommonWorkertheCustomerRecord:CustomerRecordthe Car:Car1: fill Order()2: checkRequest()3: check()4: noproblme5: lnSerViced()6: ok7: create new customer record8: Allow()sHandled()一 一 I10: notify()3.客戶取車的順序圖theCust on er:CustomertheRequestOrdertheCom mon Worker:RequestOrder:Com mon WorkertheW

6、orkRecord:WorkRecordtheCar:car1: Show_ no tice2: check3: ok4: pay5: fillWorkRecord6: update_Carstatus4.客戶還車的順序圖theCustomer:CustomertheCommonWorker:CommonWorkertheslikkWorker:SkillWorkertheCar:CartheServiceRecord:Serv iceRecordtheCustomerRecord:CustomerRecordtheRentRecordWorkRecord1: returnback2: che

7、ck_carstatus()3: fillRecord()4: return5: notify_payment()6: pay()7: update_caustatus()8: end()9: updateRecond()3.3系統(tǒng)的協(xié)作圖1.客戶預(yù)訂的協(xié)作圖ftem2: check(6: isHa ndledthe Car:car2.客戶取車的協(xié)作圖4: inServ iced()8: new CustomerRecord7: n otify():employoee5: Allow/De ny():employoee3: check().1: show_ no tice() / 4: tak

8、e_car() :custormerployee6: update_carstatus()5: fillWorkRecord()2: checkRequest()f3: validate 1: fillOrdertheRequestOrder : RequestOrdertheWorkRecord : WorkRecordtheRequestOrder:requestOrdertheCustomerRecord:CustomerRecordtheCar :Car3. 客戶還車的協(xié)作圖3.4 系統(tǒng)的狀態(tài)圖3.5系統(tǒng)的活動(dòng)圖store the requestI i i send themessag

9、eyesEmployee check the requestw requesthandle newhav e nerequestcheck the customers recordthe historyVcustomer giv the car back4系統(tǒng)中的類4.1系統(tǒng)中主要的類1.客戶和公司職員類questno new rthe history is baddeny requestis goodthe car is av ailableVcustomer acquire the carPersonname : string 住ID : stringsiring %phoneNo Str

10、ing*0etNameO*se1NameO WOO selllX) getAddrcss( setAddress() Person()2. 一些其他的類ScnicoRccond serviceHistory regress ReportMllRecordOCustomerRocord customcr1D 豈 rentDate -CarType CarNumbcr IsFinishcheck()end()Car弘Typo CarN umber .status 罠 conditionkiServiced() *update carstatus)Requestorder 影 Carly pe Re

11、ntDate IsAllow*AllowO 打 llOnier() *check() *isHandled()Work Ftecoid CUstomcilD C&mmonWbrklD SkillWotklD A,k RentDate -RetumDate CartType CarNumber rnoneyIIWoricRecondO wewRecordO *ipdateRecord(4.2 各個(gè)類之間的關(guān)系WorkRecofdCustom erlD iCommonVXtarkll) SkillWorklDX l4clumLatc CartType (KcCarNurntHH 您 rrKiney

12、WWortt Record。 ewR&conX) ixlatcRiecoRiO+ihcWorkl-fccQfidManagermanager r Uoolcan* 1*ManageT( viewWixk IrtftiOCar 鼬Type flXrNtimber status ctMKinkH)fciSenicedO update. carstatus)calciJatcf) checkRcqucst()Cuskxn R)ec(xd custom eriD MBnlDale 臨CarTypc.CarNumbef IsFinshSkillWtMkerCustomer*Skil(WtxkCarType Siring JicenseNo : String*Cu5tDmef() printO*chockp *endOFte

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論