【正文】
如圖 6: 圖 6汽車 信息管理模塊關系圖 在此模塊的設計過程中 ,使用了 MSFlexGrid 控件來顯示汽車信息 ,使用ShowTitle 和 loadData 兩個函數(shù)來初始化 MSFlexGrid 控件,加載后就在窗口顯示出長途汽車站所有汽車的相關信息。主界面所擁有的功能是通過整個系統(tǒng)子程序的調用 ,提供工具菜單中的操作方式,方便管理員用戶根據需要選擇進入不同的模塊,如圖 3: 第 7 頁 共 22 頁 圖 3系統(tǒng)操作 界面 系統(tǒng)用戶管理模塊設計 系統(tǒng)用戶管理模塊主要包括用戶的 添加和密碼修改兩個子模塊。同樣,在主頁面中,管理員可以修改自己密碼, 或者 添加新的管理員用戶。 表 1系統(tǒng)用戶表 字段名稱 數(shù)據類型 字段大小 必填字段 描述 字段說明 UserName nvarchar 10 是 用戶名 主鍵 Password nvarchar 20 是 密碼 無 汽車線路信息表設計 該表是存儲汽車線路信息的表,主要用來存儲線路的 編號,起始城市,到達城市,起始日期,到達時間,汽車編號,車票價格和備注信息。 數(shù)據庫的設計 本系統(tǒng)是一個關于 長途汽車站相關 信息的管理系統(tǒng) ,主要包括用戶、汽車信息、汽車線路信息、車票信息的管理。管理員也可以 通過本模塊查詢到所有需要查詢的線路的詳細信息。管理員首先應該建立汽車信息數(shù)據庫,輸入原始的數(shù)據信息,當有新的汽車信息的時候或者管理員需要修改某個汽車的相關信息以及想要刪除某個汽車信息的時候,就可以完成相應的操作。 本系 統(tǒng)具有以下四個功能模塊 :系統(tǒng)管理模塊 ,汽車信息管理模塊 ,線路信息管理模塊 ,車票信息管理模塊。長途汽車信息管理系統(tǒng)就是針對長途汽車站 使用 計算機對長途汽車的各種信息進行匯總和管理的一種現(xiàn)代化管理軟件,為長途汽車站提供準確,快捷,科學的信息化管理方式,大大提高車站運 第 3 頁 共 22 頁 營效率。人們可以選擇空中客車,也可以選擇火車,但是這兩種交通工具在某方面存在著 問題。 優(yōu)勢和劣勢: ( 1) 應用服務器運行數(shù)據負荷較輕。 第 2 頁 共 22 頁 C/S ( Client/Server)結構,即客戶機和服務器結構。對于數(shù)據庫的,要求建立起數(shù)據的一致性和完整性,數(shù)據安全性好的數(shù)據庫。在汽車站信息 管理方面,也只有在一些大中城市才實現(xiàn)了汽車的信息化管理,然而即使在這些發(fā)達的地區(qū)的汽車站,所采用的汽車站管理系統(tǒng)仍然存在或多或少的缺陷,使得在整個車站的運行過程中會出現(xiàn)一些問題,給車站造成一些不必要的損失。例如 :查找方便 ,可靠性高 ,科學性好。計算機使用的方便快捷 ,使它在越來越多的方面顯示出比傳統(tǒng)手工制作更迅速和準確的優(yōu)點 ,尤其在信息記錄 ,檢索和查詢方面 ,避免了不必要的麻煩。 畢業(yè)設計 ( 論文 ) 長途汽車信息管理系統(tǒng)的設計與實現(xiàn) 論文作者姓名: 申請學位專業(yè): 申請學位類別: 指導教師姓名(職稱): 論文提交日期: 長途汽車信息管理系統(tǒng)的設計與實現(xiàn) 摘 要 隨著社會的發(fā)展,人類進入了一個 高速發(fā)展的信息時代 , 高新技術飛速發(fā)展的同時 ,計算機的使用范圍也滲透到人類生活的方方面面,給人們的生活和工作帶來極大的便利。 關鍵詞 : Visual Basic ; MSFlexGrid 控件;數(shù)據庫 Longdistance Bus Information Management System Design and Implementation Abstract With the development of society, humanity has entered a rapid development in the information age, as the rapid development of high and new technology, the use of puters has infiltrated into each aspect of human life, which bring great convenient to people’s work and life. The Longdistance Bus information management system is the Longdistance bus station information which decisionma king and an important ponent of management, which is a typical example of the information management system. It includes information which related to the Longdistance Bus station information management. The Longdistance Bus information management system can simplify the cumbersome process, station rationalization of the management and scientific, and greatly enhance efficiency and save operating costs. The system uses Visual Basic as the development language, with SQL Server 2021 developing the background database. This system includes the User’s management, Busline information management, and the basic information of automobile ma nagement and Ticket information management four modules. We can input, search, update or delete information from the Busline management, the basic information of automobile management and Ticket information management. This information management system can meet the basic requirements of the Longdistance Bus station management. Key words: Visual Basic ; MSFlexGrid Control; Database目 錄 論文總頁數(shù): 22頁 1 前言 ................................................................... 1 系統(tǒng)開發(fā)背景 ....................................................... 1 國內 發(fā)展狀況和不足 .................................................. 1 系統(tǒng)開發(fā)特點 ....................................................... 1 2 系統(tǒng)需求分析和數(shù)據庫的設計 .............................................. 2 系統(tǒng)功能需求 ....................................................... 2 系統(tǒng)用戶管理 ...................................................... 3 汽車信息管理 ...................................................... 3 線路信息管理 ...................................................... 3 車票信息管理 ...................................................... 4 數(shù)據庫的設計 ....................................................... 4 .................................................... 4 ................................................ 4 .................................................... 5 .................................................... 5 3 系 統(tǒng)功能模塊的設計與實現(xiàn) ................................................ 5 系統(tǒng)登錄的實現(xiàn) ...................................................... 5 系統(tǒng)主界面的設計 .................................................... 6 系統(tǒng)用戶管理模塊設計 ................................................ 7 汽車信息管理模塊設計 ................................................ 9 ................................................ 9 ............................................... 10 ............................................... 10 查詢汽車信息子模塊 ............................................... 11 線路信息管理模塊設計 ............................................... 11 ............................................... 12 ............................................... 13 ............................................... 13 ............................................... 14 車票信息管理模塊設計 ............................................... 14 ............................................... 15 ............................................... 16 ............................................... 16 4 測試 ................................................................... 18 結 論 ................................................................... 19 參考文獻 .................................................................. 20 致 謝 .................................................................. 21 聲 明 .................................................................. 22 第 1 頁 共 22 頁 1 前 言 系統(tǒng)開發(fā)背景 自從 人類 進入 21世紀 ,也就進入了一個 高速發(fā)展的信息時代 , 高新技術飛速發(fā)展 的同時 ,計算機的使用范圍也大大擴展,它已經涉及到人類生活的方方面面。 使用計算機對長途汽車信息進行管理 ,有著傳統(tǒng)的手工管理所沒法比擬的優(yōu)點。 國內發(fā)展狀況和不足 在國內 ,也只有在一些經濟發(fā)達的地區(qū)才更多的實現(xiàn)了企業(yè)的信息化管理。 系統(tǒng)開發(fā)特點 長途汽車信息管理系統(tǒng)是典型的信息管理系統(tǒng),其開發(fā)主要包括后臺數(shù)據庫的建立和維護以及前端應用程序的開發(fā)兩個方面。本長途汽車信息管理系統(tǒng)采用 C/S 模式結構。這也就是目前應用系統(tǒng)的發(fā)展方向。 系統(tǒng)開發(fā)環(huán)境 : CPU