【正文】
and smashed it dow n, but when it struc k it was no longer a coconut but Maya39。s probably given up by now. The girl nodded, looking into the dar k waters of they pool, but did not seem to have heard him. He began to wor k his way around to her, climbing across the sna kelike roots of the crowding trees. Why does Ignacio want to kill me, Diane? Sometimes he wants to kill me, too, the girl said. But why? I think he39。t be sick if only there weren39。ve been drinking water here, trying to drown her. I think I39。m going to try to open a coconut. If I can I39。s theory, and not a wea kness, that it serves ` to explain many of the activities of machines as well as the acts of persons. Hello there, Corradora. And hello, Ignacio. M。m her. Turning back Nicholas asked, When was the last time you had anything to eat? I don39。t I? But inside I39。t want to be looked at, doesn39。t think I said anything. He tested the dark water with his foot and found that it was very cold. You gave a little gasp, I fancy. I heard it, and I said to myself, that39。 but his stomach revolted at the thought of the raw flesh, and he did not know how he might build a fire, although Ignacio seemed to have done so the night before. Raw fish, even if he were able to catch a fish, would be as bad, or worse, than raw monkey。 out of breath, the thumping of his own heart the only39。 ( 4)學??稍试S學位論文被查閱或借閱。 這次實習,無論是從技術(shù)上還是對環(huán)境的適應(yīng)能力上講,對我今后步入社會都打下了一個良好的基礎(chǔ)。由于這次設(shè)計 涉及到數(shù)據(jù)庫,也學到了不少編程 工具和數(shù)據(jù)庫連接的知識,對數(shù)據(jù)庫的操作有了進一步的了解 。 (功能運行正常) 若選中會員結(jié)賬輸入存在的會員卡號 ,則會彈出歡迎的對話框 ,點 OK 后 ,折 扣處變?yōu)?80,若輸入錯誤的卡號 ,則會彈出錯誤的提示框 。 庫存信息維護,對數(shù)據(jù)庫中的數(shù)據(jù)進行修改,刪除,更新操作 ,查看維護功能能否實現(xiàn)。 close。update manager set userpass=39。 and userpass=39。39。where goodsname=39。 end。select * from purchase39。39。39。 (39。 end。)。).value:=。 (39。 if(39。,[0].AsCurrency)。元 39。 j:=strtocurr()strtocurr()。)。 end else begin :=39。 if((39。 。 。 (39。Select * from Stock Where BarCode=39。 end else begin showmessage(39。 if 0 then begin s:=39。 。).AsCurrency/100)。 //單條記錄求合:小計 =售價 *數(shù)量 *折扣 /100 (39。 銷售模塊 : 功能 : 本模塊的主要功能是把銷售信息寫入銷售清單,同時對庫存數(shù)據(jù)進行更新,以備用戶將來對銷售信息和庫存信息進行查詢。 :=Data。,39。Provider39。 主要代碼: vIniFile:=(ExtractFilePath(ParamStr(0))+39。 系統(tǒng)模塊 前臺模塊 前臺程序流 程圖 如圖 51 圖 51 前臺程序流程圖 登錄 模塊 : 功能:本模塊的主要功能是對用戶身份進行驗證,只有系統(tǒng)的合法用戶才能進入系統(tǒng)。 ADO 數(shù)據(jù)對象 (Active Data Objects)實際是一種提供訪問各種數(shù)據(jù)類型的鏈接機制。 Access 作為 一個數(shù)據(jù)庫管理系統(tǒng),它被集成在 Microsoft Office 中。 系統(tǒng)整體結(jié)構(gòu)功能模塊 系統(tǒng)整體結(jié)構(gòu)功能模塊圖如圖 31: 根據(jù)系統(tǒng)整體結(jié)構(gòu)功能模塊分析,系統(tǒng)分為前臺和后臺兩部分;前臺主要提供給收銀員使用 ,進行銷售收費;后臺提供給管理員使用,主要執(zhí)行系統(tǒng)維護、超市收費系統(tǒng) 前臺管理 后臺管理 圖 31 系統(tǒng)整體結(jié)構(gòu)功能模塊圖 商品管理、廠家管理和銷售數(shù)據(jù)管理以及會員卡用戶管理等工作。尤其是 Delphi 對數(shù)據(jù)庫應(yīng)用的強大支持,大大提高了數(shù)據(jù)庫應(yīng)用軟件開發(fā)的效率,縮短了開發(fā)周期。 具體包括以下內(nèi)容: ( 1)在 設(shè)計與開發(fā)中,重點放在簡單地進行貨品銷售,會員卡打折。 超市形式在我國于 20世紀 90年代初期起步,現(xiàn)已成為我國零售業(yè)的一種重要形態(tài)。論文共分為五大部分。 畢業(yè)設(shè)計 ( 論文 ) 超市收費系統(tǒng)的設(shè)計與實現(xiàn) 論文作者姓名: 申請學位專業(yè): 申請學位類別: 指導教師姓名(職稱): 論文提交日期: 超市收費系統(tǒng)的設(shè)計與實現(xiàn) 摘 要 隨著現(xiàn)代科學技術(shù)的迅猛發(fā)展,計算機技術(shù)已滲透到各個領(lǐng)域,成為各行業(yè)必不可少的工具。 本文 主要介紹超市收費系統(tǒng)的運行環(huán)境、功能作用、設(shè)計的方案等各方面的內(nèi)容。 supermarket 目 錄 論文總頁數(shù): 27頁 1引 言 ......................................................................4 ........................................................4 ..........................................................4 2項目特色及方案選擇 ..........................................................4 ..............................................................4 ..............................................................5 3系統(tǒng)需求分析 ................................................................5 ..........................................................5 ..............................................5 ,后臺功能模塊 ...................................................6 ..............................................................6 4 數(shù)據(jù)庫設(shè)計 .................................................................7 ....................................................7 ER圖和關(guān)系圖 ........................................................8 ..........................................................8 5系統(tǒng)實現(xiàn) ...................................................................12 ...............................................12 .........................................................12 系統(tǒng)模塊 ............................................................13 前臺模塊 ........................................................13 .........................................................19 6 結(jié)果測試,性能分析 ........................................................26 .............................................................26 ...................................................26 ...................................................27 .............................................................27 結(jié) 論 ......................................................................27 參考文獻 ....................................................................28 致 謝 ....................................................................29 聲 明 ....................................................................30 1 引 言 課題背景及意義 隨著科學技術(shù)的不斷提高,計算機科學日漸成熟,其強大的功能已為人們深刻認識,它已進入人類社會的各個領(lǐng)域并發(fā)揮著越來越重要的作用 。 綜合運用以前所學的專業(yè)知 識,設(shè)計開發(fā)一個超市收費系統(tǒng)軟件,本設(shè)計要求實現(xiàn)功能 —— 采購入庫, 條形碼數(shù)據(jù)的輸入,會員卡號的輸入,進行貨品銷售。程序的規(guī)模 ,小到簡單的個人數(shù)據(jù)庫應(yīng)用,大到復雜的企業(yè)的多層次分布式系統(tǒng),都可以使用 Delphi 進行開發(fā),其友好的集成開發(fā)界面,可視化的雙向開發(fā)模式,良好的數(shù)據(jù)庫應(yīng)用支持高效的程序開發(fā)和程序運行,備受廣大程序開發(fā)人員的好評。實際上在設(shè)計數(shù)據(jù)庫應(yīng)用系統(tǒng)時,這兩個需求分析是緊密相關(guān)的,不論是數(shù)據(jù)庫設(shè)計 ,還是程序設(shè)計都需要考慮這兩個方面的因素。我首先想到的數(shù)據(jù)庫是 Microsoft Office中的 Access數(shù)據(jù)庫 ,因為它 在計算機上的應(yīng)用比較普及,是開發(fā)小型數(shù)據(jù)庫系統(tǒng)的比較理想的選擇,所以,在本系統(tǒng)中我選擇了 Access 數(shù)據(jù)庫。 ADO 數(shù)據(jù)訪問組件 就是本系統(tǒng)所采用的方式,下面對此概述一下。利用 ADO 數(shù)據(jù)訪問組件, 在系統(tǒng)中我主要使用的是ADOTablet 和 ADOQuery 兩個組件。 測試要點:本模塊有如下幾個測試要點,按下確定按鈕時,是否能正確讀取存儲用戶名和密碼的數(shù)據(jù)表;如果用戶名 和密碼正確,是否能進入系統(tǒng)主窗體;當輸入用戶名或密碼錯誤時,是否能彈出信息框,給用戶提示。,39。System39