1 / 6

期末程式

期末程式. 停車塔管理系統. 基本資料. 停車塔共十層,每一層可停二十五輛車 由檔案讀入預設停車資料 車牌號碼格式 XX-NNNN 或 NNNN-XX (X 代表大寫英文字母, N 代表阿拉伯數字 ) 例如, HK-5566 、 LP-3388 停車日期與時間 YYYYMMDD NNNN 例如, 20040926 1408 、 20041126 0956 車位編號格式 NNNN ( 前兩碼為樓層編號,後兩碼為該樓層車位編號 ) 例如, 0324 、 1008. 基本資料. 計費規則 08:00~20:00 每小時 30 元

kerry
Télécharger la présentation

期末程式

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 期末程式 停車塔管理系統

  2. 基本資料 • 停車塔共十層,每一層可停二十五輛車 • 由檔案讀入預設停車資料 • 車牌號碼格式 • XX-NNNN或NNNN-XX (X代表大寫英文字母,N代表阿拉伯數字) • 例如,HK-5566、LP-3388 • 停車日期與時間 • YYYYMMDD NNNN • 例如,20040926 1408、20041126 0956 • 車位編號格式 • NNNN (前兩碼為樓層編號,後兩碼為該樓層車位編號) • 例如,0324、1008

  3. 基本資料 • 計費規則 • 08:00~20:00 每小時30元 • 20:00~隔天08:00每小時20元 • 不足一小時以一小時計算

  4. 系統規格 • 輸入 • 由檔案讀入預設停車資料 • 停車時(指令P) • 輸入汽車之車牌號碼 • 記錄停車日期與時間 • 記錄車位編號與汽車車牌號碼之對應關係 • 領車時(指令T) • 輸入汽車之車牌號碼或車位編號

  5. 系統規格 • 輸出 • 停車時 • 取得車位編號 • 領車時 • 計算並顯示停車時間與停車費 • 系統結束(指令Q) • 傾印(指令D) • 傾印全部樓層之停車狀態

  6. 系統規格 • 例如 • 樓層5之停車狀態

More Related