【正文】
此模塊的功能是管理員可以通過本模塊對(duì)系統(tǒng)的進(jìn)行新房間的添加,對(duì)已有房間資料的修改或刪除等操作,界面簡單,易于操作。查詢客房信 息 = select * from kf where 房間類型 =39。 39。登記 = : = : = = : = = True: = True: = False End Sub Private Sub save_Click() 39。編輯客房信息 If Then (房間號(hào) ) = If Then (房態(tài) ) = If Then (房間類型 ) = If Then (價(jià)格 ) = If Then (營業(yè)日期 ) = If Then (使用設(shè)置 ) = If Then (配置 ) = If Then (備注 ) = If Then (標(biāo)志 ) = 0 39。 圖 11 客人信息 客人信息的修改和查詢,包括客房編號(hào)、客房種類、客房位置、客房單價(jià)、顧客姓名、顧客身份證號(hào)碼、入住日期、折扣、結(jié)日期、備注信息等。 amp。有就提示,然后退出 !RoomStatus = False End If With .Delete End With End If End With End If End Sub Private Sub cmdEdit_Click() If True And True Then With frmGuestInfoEdit 39。自動(dòng)識(shí)別數(shù)據(jù)庫路徑 = amp。 圖 14 房間基本情況表 主要代碼如下所示: 39。End Sub Private Sub mnuReportRoom_Click() 39。綁定顯示字段 .Sections(Section1).Controls(txtRoomNo).DataField = RoomNo .Sections(Section1).Controls(txtRoomGrade).DataField = RoomGrade .Sections(Section1).Controls(txtRoomGrade). = 5 .Sections(Section1).Controls(txtRoomGrade). = 標(biāo)準(zhǔn)間 .Sections(Section1).Controls(txtRoomGrade). = 豪華間 .Sections(Section1).Controls(txtRoomGrade). = 未知 .Sections(Section1).Controls(txtRoomType).DataField = RoomType .Sections(Section1).Controls(txtRoomType). = 5 .Sections(Section1).Controls(txtRoomType). = 單人間 .Sections(Section1).Controls(txtRoomType). = 雙人間 .Sections(Section1).Controls(txtRoomType). = 未知 .Sections(Section1).Controls(txtRoomRate).DataField = RoomRate .Sections(Section1).Controls(txtRoomStatus).DataField = RoomStatus .Sections(Section1).Controls(txtRoomStatus). = 5 .Sections(Section1).Controls(txtRoomStatus). = 在住 .Sections(Section1).Controls(txtRoomStatus). = 空房 .Sections(Section1).Controls(txtRoomStatus). = 未知 39。 軟件測試的目標(biāo)如下: ( 1) 測試是為了發(fā)現(xiàn)程序中的錯(cuò)誤而執(zhí)行程序的過程 。 與開發(fā)過程類似,測試過程也必須分布驟進(jìn)行,每個(gè)步驟在邏輯上是前一個(gè)步驟的繼續(xù)。 ( 3)系統(tǒng)測試是把經(jīng)過測試的子系統(tǒng)裝配成一個(gè)完整的系統(tǒng)來測試。正式測試之前必須先通過編譯 程序檢查并且改正所有語法錯(cuò)誤,然后用詳細(xì)設(shè)計(jì)描述作指南,對(duì)重要的執(zhí)行通路進(jìn)行測試,以便發(fā)現(xiàn)模塊內(nèi)部的錯(cuò)誤。這種每 次增加一個(gè)模塊的方法稱為漸增式測試,這種方法實(shí)際上同時(shí)完成單元測試和集成測試。另外,在整個(gè)開發(fā)的過程中,時(shí)間也比較倉促。 盡管該酒店客房管理系統(tǒng)存在著很多不足,但其功能全面、易于日后程序更新、數(shù)據(jù)庫管理容易、界面友好、操作方便、效率高、安全性好等優(yōu)點(diǎn)是酒店客房管理系統(tǒng)所必需的。 ( 3)提高決策依據(jù):管理者可以隨時(shí)了解經(jīng) 營情況,以制定相應(yīng)的經(jīng)營方針。 參考文獻(xiàn) [1]田金蘭 . Visual Basic 6 使用指南 [M].北京:電子工業(yè)出版社, 2021. [2]Jeffrey. Visual Basic 6 數(shù)據(jù)庫訪問技術(shù) [M].北京:機(jī)械工業(yè)出版社, 2021. [3]潘錦平 . 軟件開發(fā)技術(shù) [M].西安:西安電子科技大學(xué)出版社, 1999. [4]王珊等 .數(shù)據(jù)庫系統(tǒng)概論 [M].北京:高等教育出版社, 2021. [5]陸麗娜 .軟件工程 [M].北京:經(jīng)濟(jì)科學(xué)出版社, 2021. [6]周國民 .Visual Basic+Access 數(shù)據(jù)庫項(xiàng)目開發(fā)實(shí)踐 [M].北京: 中國鐵道出版社 ,2021. [7] 何玉潔 .數(shù)據(jù)庫原理與應(yīng)用教程 [M]. 北京:機(jī)械工業(yè)出版社 ,2021. 致 謝 在這里首先感謝我的指導(dǎo)老師劉景芝老師,在我的畢業(yè)設(shè)計(jì)階段給予耐心的指導(dǎo)、很大的幫助。這是我人生的一大轉(zhuǎn)折點(diǎn),更是我飛步向前的起跑點(diǎn)。 ll be heard! Solo ignored her and fired at the hatchway. The burst of energy was rewardedwith a distant roar as an avalanche of weakened wall and beaming all but buried the creature in the chamber beyond. Magnified by the narrow corridor, the sounds continued to roll and echo for longminutes afterward. Luke shook his head in disgust, realizing that someone like Solowho spoke with the mouth of a gun might not always act sensibly. Until now he hadsort of looked up to the Corellian. But the senseless gesture of firing at the hatchwaybrought them, for the first time in Luke39。t know where y ou came from, but I39。s a wonder you39。droid before afrantic Threepio could pull the arm free. Immediately the smoke vanished, the undisciplined blinking faded to emitted a few wilted beeps, successfully g iving the impression of a human whohad expected a glass of mild wine and instead unwittingly downed several gulps ofsomething 180 proof. Well, next time watch where you stick your sensors, Threepio chastised hispanion. You could have fried your insides. H e eyed the socket. T hat39。t know if there39。t e. Look, YourHoliness, he was finally able to stammer, let39。s actions were more surprising than Solo39。s and Solo39。 另外,大學(xué)生活即將結(jié)束,非常懷念在校期間的點(diǎn)點(diǎn)滴滴,特別是與教師們之間的交流與溝通。 ( 5)簡單、方便地保存和查詢歷史資料??傊?,使用本酒店客房管理系統(tǒng),將會(huì)有以下優(yōu)點(diǎn): ( 1)電腦收銀,打印帳單:快速準(zhǔn)確,減少賓客等待時(shí)間,并可杜 絕收銀過程中的舞弊現(xiàn)象。因?yàn)閷?duì)酒店客房管理的整個(gè)流程不夠熟悉,在需求分析時(shí)未能做到完全滿足用戶的需求。在工資管理系統(tǒng)測試中,按照前面的“工資管理系統(tǒng)的層次圖”,采用自頂向下的方式進(jìn)行測試。 有模塊組裝成程序時(shí)有兩種方法。驗(yàn)收測試的目的是驗(yàn)證系統(tǒng)確實(shí)能夠滿足用戶的需要。 ( 2) 子系統(tǒng)測試是把經(jīng)過單元測試的模志放在一起形成一個(gè)子系統(tǒng)來測試。 系統(tǒng)運(yùn)行環(huán)境: 586 以上 PC 機(jī), 256M 內(nèi)存, WINDOWS 98 操作系統(tǒng)。這些小功能,工作量雖然不大,但對(duì)于用戶來講卻是極大方便了使用,也給軟件帶來了使用方面的增值。實(shí)施報(bào)表數(shù)據(jù)源綁定 39。 = 客房信息 39。查詢客房信息 = select * from kf where like + Chr(34) + + * + Chr(34) + End Sub Private Sub Command2_Click() 39。顯示為模式窗體 .Show vbModal End With End If End Sub ( 1)客房查詢模塊 本模塊可以對(duì)客房進(jìn)行查詢,房間標(biāo)準(zhǔn) 、 單價(jià) 、房間是否空閑, 可以通過客房查詢功能輸入房間號(hào)讓管理員一目了然清楚整個(gè)的酒店日程運(yùn)作,方便管理。 39。窗體標(biāo)題 .Caption = 添加新客人 . = False . = . = . = . = . = Date 39。設(shè)置控件有效或無效 = False: = False = True: = True End Sub Private Sub cancel_Click() 39。添加客房 If Then (房間號(hào) ) = If Then (房間類型 ) = If Then (房態(tài) ) = If Then (價(jià)格 ) = If Then (營業(yè)日期 ) = If Then (使