【正文】
the whole journey seemed like a blur of pan ic and confusion. ―I saw Stan Shunpike…. You know, the bloke who was the conductor on the Knight Bus? And I tried to Disarm him instead of – well, he doesn‘t know what he‘s doing, does he? He must be Imperiused!‖ Lupin looked aghast. “ Harry, the time for Disarming is past! These people are trying to capture and kill you! At least Stun if you aren‘t prepared to kill!‖ “ We were hundreds of feet up! Stan‘s not himself, and if I Stunned him and he‘d fallen, he‘d have died the same as if I‘d used Avada Kedavra! Expelliarmus saved me from Voldemort two years ago,‖ Harry added defiantly. Lupin was reminding him of the sneering Hufflepuff Zacharias Smith, who had jeered at Harry for wanting to teach Dumbledore‘s Army how to Disarm. “ Yes, Har。 he needed to see Hagrid with his own eyes before he would believe that he was alive. He had barely stood up, however, when a door opened and Hagrid squeezed through it, his face covered in mud and blood, limping a little but miraculously alive. “ Harry!‖ Knocking over tw o delicate tables and an aspidistra, he covered the floor between them in two strides and pulled Harry into a hug that nearly cracked his newly repaired ribs. ―Blimey, Harry, how did yeh get out o‘ that? I thought we were both goners.‖ “ Yeah, me too. I can‘t believe – ‖ Harry broke off. He had just noticed the woman who had entered the room behind Hagrid. “ You!‖ he shouted, and he thrust his hand into his pocket, but it was empty. “ Your wand‘s here, son,‖ said Ted, tapping it on Harry‘s arm. ―It fell right beside you, I picked it up…And that‘s my wife you‘r e shouting at.‖ “ Oh, I‘m – I‘m sorry.‖ As she moved forward into the room, Mrs. Tonks‘s resemblance to her sister Bellatrix became much less pronounced: Her hair was a light soft brown and her eyes were wider and kinder. Nevertheless, she looked a little haughty after Harry‘s exclamation. “ What happened to our daughter?‖ she asked. ―Hagrid said you were ambushed。 “ Easy, now,‖ said Ted Tonks, placing a hand on Harry‘s shoulder and pushing him back against the cushions. ―That was a nasty crash you just had. What happened, anyway? Something go wrong with the bike? Arthur Weasley overstretch himself again, him and his Muggle contraptions?‖ “ No,‖ said Harry, as his scar pulsed like an open wound. ―Death Eaters, loads of them – we were chased – ‖ “ Death Eaters?‖ said Ted sharply. ―What d‘you mean, Death Eaters? I thought they didn‘t know you were being moved tonight, I thought – ‖ “ They knew,‖ said Harry. Ted Tonks looked up at the ceiling as though he could see through it to the sky above. “ Well, we know our protective charms hold, then, don‘t we? They shouldn‘t be able to get within a hundred yards of the place in any direction.‖ Now Harry understood why Voldemort had vanished。斯庫塞斯等 ,時(shí)間:2021 年 10 月 1 日。另外,在系統(tǒng)開發(fā)過程中還有同組的同學(xué) 也 給 了 我不少幫助,這里一并表示感謝。 他 認(rèn)真負(fù)責(zé)的工作態(tài)度,嚴(yán)謹(jǐn)?shù)闹螌W(xué)精神和深厚的理論水平都使我收益匪淺。 盡管本管理系統(tǒng)存在著很多不足,但其功能全面、易于日后程序更新、數(shù)據(jù)庫管理容易、界面友好、操作方便、效率高、安全性好等優(yōu)點(diǎn)是本管理系統(tǒng)所必需的。因?yàn)閷e館管理的整個(gè)流程不夠熟悉,在需求分析時(shí)未能做到完全滿 足用戶的需求。另外,在整個(gè)開發(fā)的過程中,時(shí)間也比較倉促。即一方面使用本系統(tǒng)來進(jìn)行工作,另一方面又繼續(xù)沿用老的方式 —手工方式,這種狀況持續(xù)了半個(gè)月的時(shí)間,在這期間發(fā)現(xiàn)了一些程序中存在的漏洞和錯(cuò)誤,用戶也提出一些修改意見,經(jīng)過程序的進(jìn)一步完善后,正式投入了使用,中止了以前老的手工的操作方式。 本系統(tǒng)的日常維護(hù)由賓館的專人來負(fù)責(zé),如果出現(xiàn)一些不能解決的問題,則由開發(fā)者來負(fù)責(zé)。 ( 3)代碼的維護(hù):隨著系統(tǒng)的發(fā)展和變化,可能會(huì)出現(xiàn)舊代碼不能適應(yīng)新要求的問題,因此,有必要變更代碼,予以維護(hù)。 系統(tǒng)的維護(hù)主要包括四個(gè)方 面: ( 1)程序的維護(hù):指的是修改部分或全部程序,這種維護(hù)往往是在條件發(fā)生變化或原系統(tǒng)的效率低的情況下進(jìn)行的。 怎樣使用本系統(tǒng): 本系統(tǒng)的使用相應(yīng)簡單,基本上只要會(huì)使用 Windows 軟件就會(huì)使用本系統(tǒng),在具體的操作時(shí),只需點(diǎn)擊鼠標(biāo)左鍵即可進(jìn)行相應(yīng)功能的選擇。 系統(tǒng)運(yùn)行與維護(hù): 系統(tǒng)的運(yùn)行: 1 初始數(shù)據(jù)的輸入 本系統(tǒng)的的輸入采用鼠標(biāo)和鍵盤相結(jié)合的輸入方法。例如:在管理模塊中,我首先對類型進(jìn)行設(shè)定,然后在添加模塊中進(jìn)行數(shù)據(jù)操作,隨時(shí)觀察這兩個(gè)模塊之間是否有沖突產(chǎn)生,配合得是否正確,再然后在入住情況瀏覽模塊中進(jìn)行驗(yàn)證,說明該功能完全正常,對其它的功能模塊也進(jìn)行了類似的設(shè)置。 在開發(fā)本系統(tǒng)時(shí),為了使系統(tǒng)能夠穩(wěn)定運(yùn)行,對本系統(tǒng)進(jìn)行了有針對性的全面測試,采取的方式是: 菜單項(xiàng)測試:為了保證每一項(xiàng)下拉菜單能夠正確實(shí)現(xiàn)系統(tǒng)設(shè)計(jì)的功能,我把相關(guān)的基礎(chǔ)數(shù)據(jù),基本上全部輸入到本系統(tǒng)中,并對每一個(gè)菜單項(xiàng)反復(fù)進(jìn)行了增加、刪除、修改等操作,從而保證了菜單級功能的正確實(shí)現(xiàn)。 (5)用戶驗(yàn)收測試 在系統(tǒng)測試完成后,進(jìn)行用戶的驗(yàn)收測試,它是用戶在實(shí)際應(yīng)用環(huán)境中所進(jìn)行的真實(shí)數(shù)據(jù)測試。系統(tǒng)測試與建構(gòu)同時(shí)進(jìn)行或略慢。 (4)系統(tǒng)測試 系統(tǒng)測試是對 整體性能的測試,主要解決各子系統(tǒng)之間的數(shù)據(jù)通信和數(shù)據(jù)共享問題以及檢測系統(tǒng)不否達(dá)到用戶的實(shí)際要求,系統(tǒng)測試的依據(jù)是系統(tǒng)分析報(bào)告。確認(rèn)測試是按照這些要求定出的“確認(rèn)測試計(jì)劃”進(jìn)行的。組合測試的對象是指已經(jīng)通過單元測試的模塊,不是對零散模塊進(jìn)行單個(gè)測試,而是用系統(tǒng)化的方法裝配和測試軟件系統(tǒng),是一個(gè)嚴(yán)格的過程,必須認(rèn)真地進(jìn)行 ,其計(jì)劃的產(chǎn)生和單元模塊測試的完成日期要協(xié)調(diào)起來,這種測試應(yīng)在系統(tǒng)目標(biāo)機(jī)上進(jìn)行,造成系統(tǒng)應(yīng)用的環(huán)境條件,除了開發(fā)部分項(xiàng)目負(fù)責(zé)人參加以外,還應(yīng)該有相應(yīng)系統(tǒng)的用戶參加,給評審員進(jìn)行演示。單元測試一般是由程序員完成,也稱程序調(diào)試。 (1)單元測試: 單元測試也稱模塊測試或程序測試,單元測試是對每個(gè)模塊單獨(dú)進(jìn) 行的,驗(yàn)證模塊接口與設(shè)計(jì)說明書是否一致,對模塊的所有主要處理路徑進(jìn)行測試且與預(yù)期的結(jié)構(gòu)進(jìn)行對照,還要對所有錯(cuò)誤處理路徑進(jìn)行測試。 從產(chǎn)品角度看,測試計(jì)劃中的測試項(xiàng)目包括軟件結(jié)構(gòu)中的分系統(tǒng)層、子系統(tǒng)層、功能模塊層、程序模塊層中的各類模塊,從測試本身看,分為單元測試,組合測試,確認(rèn)測試等。有意義的軟 件測試應(yīng)該是從“破壞”軟件系統(tǒng)的角度出發(fā),精心設(shè)計(jì)最有可以暴露程序系統(tǒng)缺陷的測試方案。 由于程序中隱藏的缺陷只在特定的環(huán)境下才有可靠顯露,系統(tǒng)缺陷通常是由于對某些特定情況考慮不周造成的。大量統(tǒng)計(jì)資料表明,系統(tǒng)測試的工作量往往占 MIS 開發(fā)總工作量的 40%以上。 本系統(tǒng)在單機(jī)上運(yùn)行。本系統(tǒng)在開發(fā)時(shí)選用了穩(wěn)定性較強(qiáng)的Windows XP 中文專業(yè)版和 Visual 作為開發(fā)語言,同時(shí)選用了 Access 數(shù)據(jù)庫,由于這些軟件產(chǎn)品都是 Microsoft 公司的產(chǎn)品,因此彼此之間的兼容性較好,開發(fā)出的應(yīng)用系統(tǒng)穩(wěn)定性較高。由于本系統(tǒng)是一個(gè)小型的 MIS 管理系統(tǒng),因此對計(jì)算機(jī)硬件的要求不高,比較經(jīng)濟(jì),只要配備有 PII 處理器(或以上)、 64M 內(nèi)存(或以上)、 10G 硬盤(或以上)的普通微機(jī)即可順利運(yùn)行。 : set hour to 24 set cent on set date ansi set dele on : sele rmgrade appe blan =.t. =reo() (readonly,.f.,textbox) =.f. =.f. =.f. =.f. =.t. =.t. =.f. =.f. : sele rmgrade (readonly,.f.,textbox) =.f. =.f. =.f. =.f. =.t. =.t. =.f. =.f. : sele rmgrade pack : sele rmgrade if empty() =messagebox(房間類型不能為空! ,0+48+0,警告 ) return endif =.f. =0 (readonly,.t.,textbox) =.t. =.t. =.f. =.f. =.t. =.t. =.t. =.t. : sele rmgrade if and =reo() dele pack =.f. =0 endif (readonly,.t.,textbox) =.t. =.t. =.f. =.f. =.t. =.t. =.t. =.t. go top : sele rmgrade if messagebox(確認(rèn)刪除? ,4+32+0,提示 )=6 dele go top else return endif 系統(tǒng)的實(shí)現(xiàn) 5. 1 系統(tǒng)開發(fā)環(huán)境: 系統(tǒng)開發(fā)環(huán)境包括硬件平臺(tái)和軟件平臺(tái)兩種。按房間號排列顯示 (些命令需要表中建有索引 ) go top : : do report form 結(jié)帳明細(xì) preview sele checkout dele all 房間狀態(tài)設(shè)置模塊:設(shè)置房間目前的使用狀態(tài)。篩選出已退房且已收取金額的客人 set order to 房間號 amp。 : set hour to 24 set cent on set date ansi