freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

酒店客房餐飲管理系統(tǒng)實現(xiàn)—免費畢業(yè)設(shè)計論文(更新版)

2025-01-22 11:56上一頁面

下一頁面
  

【正文】 ing):integer。如下圖: (其實現(xiàn)代碼以上有介紹) 酒店客房餐飲管理系統(tǒng)實現(xiàn) 酒店客房餐飲管理系統(tǒng)功能完善,能管理普通酒店的客房住宿和餐飲等服務(wù)。 :=False。 begin Close。 procedure (Sender: TObject)。 end。 Open。%s39。請輸入管理員帳號和密碼! 39。 end。0139。, StartDate)。 StartDate:=MidDate。dd39。 BarSeries:TBarSeries)。 Next。 (39。39。 begin with T_room_modify do begin Close。 password:=Encrypt(password, 111)。 Open。 Fields[2].AsString:=Trim()。 end。 total:=(sid)。 begin with Q_foodetail do begin if IsEmpty then Exit。 //更新總訂單的總金額 with do begin Edit。 Fields[3].AsString:=。order_detail39。 10. 餐飲管理 包括選菜、點菜、打單: 下面是其相代碼說明: procedure (Sender: TObject)。 9. 客房管理 模塊 客房管理包括客房預(yù)定,入住,調(diào)整。39。 //S:加密的字符串; Key:密鑰 var I: Integer。 begin :=False。, 39。 if Flag then begin Login:=FieldValues[39。 [39。 系統(tǒng)登陸函數(shù):在進行系統(tǒng)的操作處理時,必須登陸。 id:=Copy(id, length(id)3, 4)。 count:Integer。 Open。 部分代碼分析: 返回指表中某字段的最大值,返回值為整型。 后臺數(shù)據(jù)管理包括:客房管理、餐飲管理、操作員管理,基礎(chǔ)數(shù)據(jù)維護等。 procedure (Sender: TObject)。 end。 :=False。 end else begin Close。39。select * from admin_user where name=39。39。)。 then begin TimeYear:=IntToStr(StrToInt(TimeYear)+1)。 begin if TimeStep then Result:=StartDate+1 else begin TimeYear:=FormatDateTime(39。月 39。 if StatType then StatResult:=SumTurnover(StartDate, MidDate) else StatResult:=SumUsedRoom(StartDate, MidDate, RoomLevel)。 TimeStep, StatType:Boolean。DESCRIPT39。 獲得客房級別: procedure (RoomLevel:TStrings)。39。 end。 部分代碼分析: 設(shè)置前臺操作員的密碼: procedure (password:String)。).Value:=sid。 Fields[0].AsString:=sid。 Fields[3].AsFloat:=total。 Delete。 //撤銷選擇的一項菜目 procedure (Sender: TObject)。 EnableControls。 Fields[1].AsString:=sid。 end。 入?。?在證件編號文體框中輸入相關(guān)的證件編號,按回車鍵。在沒有進行登陸之前 4個功能按鈕為灰色。 s:=Result。 function Encrypt( S: String。 end。 (39。 Open。 //加密處理 passwd:=Encrypt(passwd, 111)。 Result:=id。00039。 function :string。select max(%s) from %s39。 一.前臺管理 1. 數(shù)據(jù)模塊 該模塊是整個程序數(shù)據(jù)的提供者,以及包括大部分的處理函數(shù)和實現(xiàn)功能。下面對該系統(tǒng)的部份功能和模塊以及代碼進行分析。 sSql:=39。 接下來這個函數(shù)也是返回最大值,但是其為一個訂單的最大編號為字符型。 id:=39。,now)+id。 passwd:=Copy(passwd+passwd, 1, 10)。]:=passwd。39。 end。 C2 = 22719。 end。 3. 主模塊 系統(tǒng)的主界面,包括系統(tǒng)登陸??头款A(yù)定完畢。 then begin B_neworderClick(nil)。 Fields[0].AsInteger:=id。 Open。 end。 end。 Edit。 Append。sid39。 單元文件名: ,數(shù)據(jù)模塊名: DM_main。 end。+RoomID+39。 end。 while not Eof do begin (FieldValues[39。 客房統(tǒng)計圖實現(xiàn)函數(shù): //StarDate: 開始日期; EndDate:結(jié)束日期; procedure (StartDate,EndDate:TDate。 while StartDateEndDate do begin MidDate:=GetNextDate(StartDate, TimeStep)。, StartDate)+39。 var TimeYear,TimeMonth:String。1239。0139。)or(=39。 sSql:=39。39。 Exit。 begin (TF_add, F_add)。 begin 。 end。 end。 單元文件名: ,數(shù)據(jù)模塊名: DM_main。 with Q_getmax do begin :=Format(sSql,[aField,aTable])。 var id:String。+IntToStr(count)。 end。 with Q_login do begin Close。 //在用戶請中查詢該用戶和密碼是否存在 Flag:=( not IsEmpty)。請重新輸入! 39。 系統(tǒng)登出: procedure 。 Key: Word): String。 Result:=39。 第一個按鈕為客房管理,其次是餐飲管理,再次是客戶查詢,最后是收費管理。如果該客戶已經(jīng)預(yù)定則自動顯示信息,否則將彈出上面的窗口要求輸入信息。 //訂單明細 id:=(39。 Fields[2].AsString:=。 end。 var total:Single。 end。 Post。 Fields[1].AsString:=DateTimeToStr(Now)。 Prepare。 begin password:=Copy(password+password, 1, 10)。 根據(jù)客房 ID 篩選客房: procedure (RoomID:String)。39。 begin 。])。RoomLevel:Integer。 if TimeStep then StatLabel:=FormatDateTime(39。 (StatResult,StatLabel)。yyyy39。 TimeMonth:=39。 end。) then begin MessageDlg(39。39。 with do begin :=Format(sSql,[Trim(),])。 。 end。 procedure (Sender: TObject)。 begin (TF_code, F_code)。 8. 客房統(tǒng)計表 該統(tǒng)計表能統(tǒng)計某個時間段的所有客房的營業(yè)額和使用頻率,通過生成統(tǒng)計表以支持上層決策。因此該函數(shù)只能應(yīng)用字段為整型的表。 if not IsEmpty then Result:=Fields[0].AsInteger+1。 begin with Q_count_order do begin Open。 id:=39。該函數(shù)對用戶輸入的用戶名和密碼數(shù) 據(jù)庫驗證。ID39。NAME39。登錄失敗 39。 //斷開數(shù)據(jù)庫的連接 end。 j: Integer。 for i:=1 to length(s) do begin j:=Integer(s[i])。其界面如下: 操作介紹: 預(yù)定:首先在證件編號文體框中輸入相關(guān)的證件編號,按回車鍵,顯示如下窗口: 輸入完整后單擊添加則返回上一個界面,相關(guān)的數(shù)據(jù)將自動填寫。 var id:integer。,39。 Fields[4].AsString:=。 total:=(sid)。 if not Active then begin ParamByName(39。 with do begin if not Active then Open。 end。 Post。 end。 //加密單元 with T_operator do begin Edit。 if length(RoomID)0 then begin Filter:=39。 Filtered:=True。全部級別 39。 end。 var StatResult:integer。, StartDate)+39。 end。 TimeMonth:=FormatDateTime(39。 end else TimeMonth:=IntToStr(StrToInt(TimeMonth)+1)。 10. 系統(tǒng)登陸模塊 該系統(tǒng)登陸將連接數(shù)據(jù)庫的管理員用戶表進行驗證: procedure (Sender: TObject)。, mtWarning, [mbOK, mbHelp], 6)。39。 if IsEmpty then begin MessageDlg(39。 end。 begin (TF_modify, F_modify)。 end。 end。本系統(tǒng)采用 DELPHI和 SQL SERVER工具開發(fā),分為前臺和后臺管理。 var sSql:string。 end。 Close。+FormatDateTime(39。 var Flag:Boolean。 [39。 IsPass:=Flag。 end。 簡單的加密算法。 for I := 1 to Length(S) do begin Result[I] := char(byte(S[I]) xor (Key shr 8))。 end。在網(wǎng)格中將顯示該等級的所有空閑房號。 begin if sid=39。)。 DisableControls。 Post。).Value:=sid。id39。 begin //新建總訂單 sid:=。 with Q_foodetail do begin Close。 打單:票據(jù)示例如下。PASSWD39。39。 Open。 with Q_room_level do begin Open。 end。 StatLabel:String。 else StatLabel:=FormatDateTime(39。 換算下個月(日)日期: function (StartDate:TDate。, StartDate)。39。 begin if (Trim()=39。 Exit。39。, mtWarning, [mbOK, mbHelp], 6)。 登陸界面: 15. 主控程序 后臺管理主窗口如下: 后臺管理程序采用 MDI風格窗體。 e
點擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1