ASP.NET Core MVC 2.2從開發到測試 - Development & Unit Testing江華 奚
說明從ASP.NET MVC 5遷移至ASP.NET Core 2.x會遭遇哪技術上的變更,要如何將既有專案項目移轉到新的ASP.NET Core環境,並做出哪些調整。同時運用ASP.NET Core內建的Dependency Injection相依性注入來註冊你的服務,以達成IoC控制反轉的目的。最後用ASP.NET Core內建的單元測試,包括MStest, NUnit, xUnit來測試專案Function,達到提升品質的目的。在測試的同時,一併介紹如何使用Test Explorer, Live Testing, Code Coverage工具來輔助測試。
碼魔法網站:https://www.codemagic.com.tw/
碼魔法FB : https://www.facebook.com/CodeMagicTw/
ASP.NET Core MVC 2.2 - Development & Unit Testing. How to Choose between NET Core and .NET Framework. Choose between ASP.NET Core 2.1 and ASP.NET Core 2.2.
隨著 Visual Studio 2017 即將正式釋出,C# 7.0 也隨之來到。身為這次的改版,將會帶來許多方便的新功能
if (int.TryParse(input, out var answer))
WriteLine(answer);
else WriteLine("Could not parse input");
一起讓我們來看看 C# 7.0 的威力吧。
This document outlines a 4-day Python programming class covering basic Python, advanced Python, web scraping with Python, and building a web application with Python. On the fourth day, students will learn about CRUD operations, databases, and the ORM pattern. They will also learn to build an HTTP server, develop web applications with the Flask framework, access GPIO pins on the Raspberry Pi, and control an LCD display on the Raspberry Pi. As a final project, students will build a simple control center web application for the Raspberry Pi that accesses I/O using Flask and Python.
This document provides information about accessing and parsing web data using Python and BeautifulSoup. It discusses setting up a development environment on a Raspberry Pi with Python, Flask, and BeautifulSoup installed. It covers retrieving HTML data using urllib and parsing it using BeautifulSoup to extract tags and attributes. Common issues like HTTP errors and missing tags are addressed. Exercises demonstrate getting title data from a URL and extracting tags by class attribute.
ASP.NET Core MVC 2.2從開發到測試 - Development & Unit Testing江華 奚
說明從ASP.NET MVC 5遷移至ASP.NET Core 2.x會遭遇哪技術上的變更,要如何將既有專案項目移轉到新的ASP.NET Core環境,並做出哪些調整。同時運用ASP.NET Core內建的Dependency Injection相依性注入來註冊你的服務,以達成IoC控制反轉的目的。最後用ASP.NET Core內建的單元測試,包括MStest, NUnit, xUnit來測試專案Function,達到提升品質的目的。在測試的同時,一併介紹如何使用Test Explorer, Live Testing, Code Coverage工具來輔助測試。
碼魔法網站:https://www.codemagic.com.tw/
碼魔法FB : https://www.facebook.com/CodeMagicTw/
ASP.NET Core MVC 2.2 - Development & Unit Testing. How to Choose between NET Core and .NET Framework. Choose between ASP.NET Core 2.1 and ASP.NET Core 2.2.
隨著 Visual Studio 2017 即將正式釋出,C# 7.0 也隨之來到。身為這次的改版,將會帶來許多方便的新功能
if (int.TryParse(input, out var answer))
WriteLine(answer);
else WriteLine("Could not parse input");
一起讓我們來看看 C# 7.0 的威力吧。
This document outlines a 4-day Python programming class covering basic Python, advanced Python, web scraping with Python, and building a web application with Python. On the fourth day, students will learn about CRUD operations, databases, and the ORM pattern. They will also learn to build an HTTP server, develop web applications with the Flask framework, access GPIO pins on the Raspberry Pi, and control an LCD display on the Raspberry Pi. As a final project, students will build a simple control center web application for the Raspberry Pi that accesses I/O using Flask and Python.
This document provides information about accessing and parsing web data using Python and BeautifulSoup. It discusses setting up a development environment on a Raspberry Pi with Python, Flask, and BeautifulSoup installed. It covers retrieving HTML data using urllib and parsing it using BeautifulSoup to extract tags and attributes. Common issues like HTTP errors and missing tags are addressed. Exercises demonstrate getting title data from a URL and extracting tags by class attribute.
This document outlines a 4-day Python Programming class taught by Paul Yang in 2016. The agenda covers basic Python on day 1, advanced Python on day 2, web scraping with Python on day 3, and web application development with Python on day 4. Day 1 of the class focuses on introducing Python, setting up the development environment, and covering basic Python concepts like data types, control flow, functions, and I/O. The class is intended to help students understand the history and features of Python, install Anaconda for package management, and get familiar with common data types, functions, and programming constructs in Python.
The document discusses various Python programming concepts including generator functions, list comprehensions, list processing features, and performance analysis using tools like timeit and memory_profiler. It provides examples of generator functions that produce sequences iteratively using yield instead of returning a list, and explores list comprehensions as a more concise way to create lists from expressions compared to traditional for loops. The document also demonstrates measuring the time and memory usage of functions to analyze performance differences between approaches.
The document provides an agenda for a hands-on training on RHEL5 Xen virtualization technology. It discusses key concepts of virtualization including types of Xen virtualization, performance, and supporting status in RHEL5. Labs cover installing guest systems via paravirtualization and full virtualization, configuring networks, and known issues workarounds. The training aims to introduce virtualization technology, the RHEL5 implementation, and provide hands-on experience through guided labs.
This document provides an overview and instructions for validating the Intel AT-d platform on Intel vPro systems. It describes the hardware and firmware prerequisites, how to enable AT-d in the BIOS and Management Engine, and how to perform validation tests. The validation process includes checking AT-d hardware and software straps, enabling AT-d, and verifying BIOS compliance. It also outlines the steps for assigning an administrator, managing users, and configuring devices for encryption with AT-d.
HP Performance Tracking is a set of tools used by HP to measure the performance of PCs against HP set limits. The tools are based on the Microsoft Windows Assessment Kit and concentrate on power up/down measurements. HP Performance Tracking includes a customized HP client, a SharePoint site for uploading results, a SQL database to store results, and a viewer to view and analyze the results. The client collects additional HP-specific data and measures performance against HP limits to identify failures. Results are uploaded to SharePoint and transferred nightly to the SQL database for analysis in the viewer.
The custom HP Perftrack client allows HP to:
- Include custom color coded HP performance limits to control when a service incident should be written.
- Zip up results for consistent reporting instead of screen captures, and capture additional system information.
- Add additional tests beyond what the Microsoft Assessment Kit includes, such as first logon command time.
- HP Perftrack uses the same underlying tests as the ADK but with a smaller footprint and customized tests and limits.
The document provides instructions for analyzing performance issues using the Windows Assessment and Deployment Kit (ADK). It outlines the process for setting up and running ADK tests, managing results, and debugging issues. Key steps include installing the Windows Assessment Console (WAC) to view XML results files and launch the Windows Performance Analyzer (WPA) to analyze detail trace files to identify causes of performance problems like prolonged fast boot shutdown times.
A Special-Purpose Peer-to-Peer File Sharing System for Mobile ad Hoc Networks...Paul Yang
1) The document describes ORION, a peer-to-peer file sharing system designed for mobile ad hoc networks. ORION uses an overlay network constructed on-demand to efficiently route search queries and file transfers.
2) ORION maintains routing tables to track responses to queries and paths for file transfers. It uses link layer feedback to detect and route around failures during transfers.
3) Simulation results show ORION significantly outperforms off-the-shelf P2P systems in search accuracy and reliability of file transfers in mobile ad hoc networks.
A brief study on bottlenecks to Intel vs. Acer v0.1.pdfPaul Yang
This document discusses potential bottlenecks in the relationship between Intel and Acer from both companies' perspectives. It outlines identifying problems, determining causes, potential options for mitigating issues, verifying effectiveness of options, and developing an action plan. Specifically, it examines messy distribution channels, endless price bargaining, and declining support from Intel partners. More data is needed to fully understand organizational changes, strategies, requirements, and value propositions from both sides.
This document discusses opportunities for Arm in data center and edge computing infrastructure. It outlines Arm's growing footprint in servers through partners like AWS, Ampere, Marvell, and provides an overview of the Neoverse roadmap. It also discusses how Arm can address markets like smartNICs and uCPE through integrated solutions with better performance and cost than x86.
Building PoC ready ODM Platforms with Arm SystemReady v5.2.pdfPaul Yang
The purpose of this technical talk with the demo is to show ODMs, OEMs, and ISVs how to leverage SystemReady Lab, showcase the use-case based on the virtualization platform for the edge, and deploy open-source tools that set up ODMs to develop their Arm platforms.
Mitigating routing misbehavior in mobile ad hoc networks Paul Yang
Mitigating Routing Misbehavior in Mobile Ad Hoc Networks”, Sergio Marti,T.J. Giuli, Kevin Lai, and Mary Baker,MobiCom 2000
Introduces two techniques that improve throughput in an ad hoc network in the presence of “misbehaving” nodes.
Towards Routing Security, Fairness, and Robustness in Mobile Ad Hoc Networks
From Birds to Network Nodes
Components in Each Node
Information Flow in Each Node
Information Flow Between Nodes
Routing Security and Authentication Mechanism for Mobile Ad Hoc NetworksPaul Yang
The document proposes a two-tier authentication mechanism for routing security in mobile ad hoc networks (MANETs). The first tier, called cluster authentication, uses message authentication codes and hash functions to verify if a node belongs to the same group and prevent external attacks. The second tier, called individual authentication, applies secret sharing to authenticate the identity of specific nodes and prevent internal attacks. Together, the two-tier mechanism provides security against both external and internal threats with reasonable computational complexity and bandwidth usage for MANETs.
English teaching in icebreaker and grammar analysisPaul Yang
The document discusses grammar analysis and ice breaker series. It provides an overview of the ice breaker series which aims to help students practice spoken English through scenario-based conversations. It also compares the present simple tense and present perfect tense through examples and explanations of when to use each. The differences between the past simple tense, past progressive tense, and past perfect tense are also outlined through examples to help understand them logically rather than through memorization.
7. 2006/05/24 錄影帶出租店管理系統設計描述 v1.0
7
2.4 軟體類別描述
Web-based Video Reservation System (User)
Class MainWebPage
類別描述:
提供User一個簡易的web操作介面。能對針對web上的商品內容進行選
取。
類別屬性:
private char*MyRent:
private void VideoSearch:Video搜尋結果
void HotVideo():熱門Video tape結果
類別函式:
public int SelectVideo(Video:char*):選擇所需的video並加入shopping
cart.
public void getVideoSearch(VideoSearch:char*):搜尋所指定的Video
tape
public void getHotVideo:搜尋熱門Video tape
public void displayMsg(MyRent:char*):顯示已選取的Video tape
public selectVideo(SelectVideo:char*):選擇所需的video並加入shopping
cart.
Class UserLoginPage
類別描述:
提供使用者輸入個人ID 與密碼的介面。
類別屬性:
private char *ID 紀錄輸入的id 資料
private int usepasswd 紀錄輸入的密碼資料
類別函式:
public void getID(ID char*):取得ID 資料
pubic void displayMsg()
public void getPasswd(passwd:int):取得密碼資料
private bool verify(ID:char*):判斷使用者資料是否正確
Class time
類別描述:
時間的父類別。
類別屬性:
private int year 紀錄年份資料
8. 2006/05/24 錄影帶出租店管理系統設計描述 v1.0
8
private int month 紀錄月份資料
private int day 紀錄日欺資料
private int hour 紀錄時刻資料
private int min 紀錄分鐘資料
類別函式:
Class UserRecordPag
類別描述:
使用者密碼出租紀錄資料管理。
類別屬性:
private time logTime 紀錄時間資料
private char* MemberID 紀錄
private permission:bool 使用者使用權利
類別函式:
public void query():查詢使用紀錄
public void add(logTime:time,staffID:char*, userCode:unsigned
int,permission:bool):紀錄一筆使用者使用紀錄
public remove(logTime:time,staffID:char*, userCode:unsigned
int,permission:bool):刪除一筆使用者使用紀錄
Video Rental System (Clerk)
Class DataReceive(Barcode)
類別描述:
bar-Code的輸入資料管理
類別屬性:
private char* :MemberID 紀錄使用者id 資料
private int passwd:紀錄密碼資料
private char* name:紀錄姓名資料
private time buildTime:紀錄建立時期資料
private unsigned int bar-Code:紀錄bar-Code的輸入資料
類別函式:
public unsigned int GetBarcodeData():接收bar-Code機傳來的數據
public void Remove(char* ID,int passwd,char*name, time buildTime,int
passChannelNo):刪除一筆bar-Code機傳來的數據
pubic void Mdify(char* ID,int passwd,char*name, time buildTime,int
passChannelNo):修改一筆使用者資料
9. 2006/05/24 錄影帶出租店管理系統設計描述 v1.0
9
Class DataReceive(PhoneCall)
類別描述:
電話的輸入資料管理。
類別屬性:
private char* MemberID:紀錄使用者id 資料
private int passwd:紀錄密碼資料
private char* name:紀錄姓名資料
private time buildTime:紀錄建立時期資料
private unsigned int PhoneNum:紀錄使用者電話資料
類別函式:
public void Add(char* ID,int passwd,char*name,time builttime,int
passChannelNo):增加一筆使用者資料
public void Remove(char* ID,int passwd,char*name, time buildTime,int
passChannelNo):刪除一筆使用者資料
pubic void Modify(char* ID,int passwd,char*name, time buildTime,int
passChannelNo):修改一筆使用者資料
Class DataReceive(Web-request)
類別描述:
由web界面上的輸入資料管理。
類別屬性:
private char* :MemberID 紀錄使用者 id 資料
private int passwd:紀錄密碼資料
private char* name:紀錄姓名資料
private time buildTime:紀錄建立時期資料
private unsigned int WebLink:紀錄使用者網路連結
類別函式:
public void GetWebData(char* ID,int passwd,char*name,time
builttime,int passChannelNo):增加一筆Web傳來的數據
public void Remove(char* ID,int passwd,char*name, time buildTime,int
passChannelNo):刪除一筆Web傳來的數據
pubic void Modify(char* ID,int passwd,char*name, time buildTime,int
passChannelNo):修改一筆Web傳來的數據
10. 2006/05/24 錄影帶出租店管理系統設計描述 v1.0
10
Management System (Adiministrator)
Class ManagementToolset
類別描述:
系統管理工具組。
類別屬性:
類別函式:
void getVideoSearch(VideoSearch:char*):搜尋所指定的Video tape
void LinkWeb():連結所指定的Web Page
void Verify(ID:char*,userCode:unsigned int): 判斷使用者資料是否正確
void Help():提供本系統著作權與相關資訊
void Inputdatabase():使用者資料庫輸入
void MemberRentDatabaseLog():使用者資料庫記錄檔查詢
void VideoDatabase():連結Video資料庫
void Webdatabase():連結Web資料庫
Class Videodatabase
類別描述:
Video資料庫管理。
類別屬性:
private char* MemberID: 紀錄使用者 id 資料
private char* VideoName:紀錄 Video 姓名資料
private time BuildTime:紀錄Video建立時期資料
類別函式:
public void Add(char* VideoName, time BuildTime,char*MemberID):增
加一筆Video資料
public void Remove(char* VideoName, time
BuildTime,char*MemberID):刪除一筆Video資料
pubic void Mdify(char* VideoName, time BuildTime,char*MemberID):修
改一筆Video資料
public bool verify(char* VideoName, time BuildTime,char*MemberID):
驗證一筆Video資料
2.5 軟體行為概述
15. 2006/05/24 錄影帶出租店管理系統設計描述 v1.0
15
open Hot Video result
Show successive HotVideo message
}
public void displayMsg(char* MyRent)
函式說明:顯示已選取的Video tape結果
輸入參數:已選取的Video tape結果
輸出參數:無
虛擬碼:
public void displayMsg(char* MyRent)
{
IF the MyRent data is already in the MyRent database THEN
Show error message
ELSE
open MyRent database
Show MyRent message
ENDIF
}
★會員登入頁面
-說明:會員登入
-輸入:會員名稱與密碼
-處理:開啟會員權限
-輸出:顯示個人預約記錄
-類別函式:
public void getID(char* ID)
函式說明:取得 ID 資料
輸入參數:個人 ID 資料
輸出參數:無
虛擬碼:
public void getID(char *ID)
{
Get user’s ID from the card sensor of the input device
}
public void getPasswd(passwd:int)
函式說明:取得使用者所登入密碼資料
輸入參數:個人密碼資料
輸出參數:無
虛擬碼:
public void getPasswd(int passwd)
{
Get user’s password from the keyboard of the input device
16. 2006/05/24 錄影帶出租店管理系統設計描述 v1.0
16
}
pubic bool verify(char* ID, unsigned int passwd):顯示登入驗證結果
函式說明:顯示驗證結果
輸入參數:人員ID 與密碼
輸出參數:經驗證後正確與否
虛擬碼:
public bool verify(char* ID, unsigned int passwd)
{
IF the result of verify is Right THEN
Return True
ELSE
Return False
ENDIF
}
pubic void displayMsg()
函式說明:顯示由登入資料的驗證結果
輸入參數:無
輸出參數:無
虛擬碼:
public void displayMsg()
{
Show the message of verified result
}
★我的追蹤清單
-說明:檢視已預約錄影帶名單
-輸入:功能選項觸發
-處理:開啟已預約錄影帶名單
-輸出:已預約錄影帶名單網頁顯示
-類別函式:
public void query()
函式說明:查詢使用紀錄
輸入參數:無
輸出參數:無
虛擬碼:
public void query()
{
open MyRent database
Show successive MyRent message
}
public void add(time logTime, unsign int staffID, char*name, unsigned userCode)
17. 2006/05/24 錄影帶出租店管理系統設計描述 v1.0
17
函式說明:增加一筆Video資料
輸入參數:人員ID、密碼、姓名、資料建立時間
輸出參數:無
虛擬碼:
public void add(time logTime, unsign int staffID, char*name, unsigned userCode)
{
IF the staff data is already in the database THEN
Show error message
ELSE
Add one video data to the video database
Show successive adding message
ENDIF
}
public remove(time logTime, unsign int staffID, char*name, unsigned userCode)
函式說明:刪除一筆Video紀錄
輸入參數:人員ID、密碼、姓名、資料建立時間
輸出參數:無
虛擬碼:
public void remove(time logTime, unsign int staffID, char*name, unsigned userCode)
{
IF find the corresponding video data from the video database THEN
Remove one staff data from the staff database
ELSE
Show the error message
ENDIF
}
★遠端資料接收
ˇbar-Code機資料接收管理
-說明:接收由bar-Code機傳來的數據並進行管理
-輸入:功能選項觸發
-處理:接收bar-Code機傳來的數據
-輸出:顯示bar-Code機傳來的數據資訊
-類別函式:
public unsign int getBarcodeData()
函式說明:接收bar-Code機傳來的數據
輸入參數:無
輸出參數:顯示bar-Code機傳來的數據資訊
虛擬碼:
public unsign int getBarcodeData()
{
open barcode scanner
read barcode from Video Tape
return barcode data
}
18. 2006/05/24 錄影帶出租店管理系統設計描述 v1.0
18
public remove(time logTime, unsign int staffID, char*name, unsigned userCode)
函式說明:刪除一筆bar-Code機傳來的數據紀錄
輸入參數:人員ID、密碼、姓名、資料建立時間
輸出參數:無
虛擬碼:
public void remove(time logTime, unsign int staffID, char*name, unsigned userCode)
{
IF find the corresponding video data from the video database THEN
Remove one staff data from the staff database
ELSE
Show the error message
ENDIF
}
pubic void modify(time logTime, unsign int staffID, char*name, unsigned userCode)
函式說明:修改一筆bar-Code機傳來的數據紀錄
輸入參數:人員ID、密碼、姓名、資料建立時間、可通過之通道編號
輸出參數:無
虛擬碼:
pubic void modify(time logTime, unsign int staffID, char*name, unsigned userCode)
{
IF Find the corresponding video data from the video database THEN
Modify the video data
Save the video data
ELSE
Show error message
ENDIF
}
★遠端資料接收
ˇWeb資料接收管理
-說明:接收由Web傳來的數據並進行修改及刪除
-輸入:功能選項觸發
-處理:接收Web傳來的數據
-輸出:顯示Web傳來的數據資訊
-類別函式:
public unsigned int GetWebData()
函式說明:接收Web傳來的數據
輸入參數:無
輸出參數:顯示Web傳來的數據
虛擬碼:
public unsigned int GetWebData()
{
open barcode scanner
read barcode from Video Tape
19. 2006/05/24 錄影帶出租店管理系統設計描述 v1.0
19
return Web data
}
public remove(time logTime, unsign int staffID, char*name, unsigned userCode)
函式說明:刪除一筆Web傳來的數據紀錄
輸入參數:人員ID、密碼、姓名、資料建立時間
輸出參數:無
虛擬碼:
public void remove(time logTime, unsign int staffID, char*name, unsigned userCode)
{
IF find the corresponding video data from the video database THEN
Remove one staff data from the staff database
ELSE
Show the error message
ENDIF
}
pubic void modify(time logTime, unsign int staffID, char*name, unsigned userCode)
函式說明:修改一筆Web傳來的數據紀錄
輸入參數:人員ID、密碼、姓名、資料建立時間、可通過之通道編號
輸出參數:無
虛擬碼:
pubic void modify(time logTime, unsign int staffID, char*name, unsigned userCode)
{
IF Find the corresponding video data from the video database THEN
Modify the video data
Save the video data
ELSE
Show error message
ENDIF
}
★資料庫資料管理
-說明:檢視及管理資料庫
-輸入:功能選項觸發
-處理:增加,刪除及檢視資料表單
-輸出:顯示資料庫資料內容
-類別函式:
void getVideoSearch(char*VideoSearch)
函式說明:開啟Video DB並搜尋所指定的Video tape
輸入參數:Video姓名
輸出參數:無
虛擬碼:
void GetVideoSearch(char*VideoSearch)
{
open Video database
IF Find the corresponding Video Name from the video database THEN
20. 2006/05/24 錄影帶出租店管理系統設計描述 v1.0
20
Return the video data
ELSE
Show error message
ENDIF
}
void LinkWeb(char* WebLink)
函式說明:連結所指定的Web Page
輸入參數:Web 的聯結
輸出參數:無
虛擬碼:
void LinkWeb(char* WebLink)
{
Open Brower
Read the link from UserInput
}
public void help():
函式說明:提供本系統著作權與相關資訊
輸入參數:無
輸出參數:無
虛擬碼:
public void help()
{
Show copyright information
}
void Inputdatabase(time logTime, unsign int staffID, char*name, unsigned userCode)
函式說明:使用者資料庫輸入
輸入參數:人員ID、密碼、姓名、資料建立時間、可通過之通道編號
輸出參數:無
虛擬碼:
public void Inputdatabase(time logTime, unsign int staffID, char*name, unsigned userCode)
{
IF the staff data is already in the database THEN
Show error message
ELSE
Add one video data to the video database
Show successive adding message
ENDIF
}
void MemberRentDatabaseLog()
函式說明:使用者資料庫記錄檔查詢
輸入參數:無
21. 2006/05/24 錄影帶出租店管理系統設計描述 v1.0
21
輸出參數:無
虛擬碼:
public void Inputdatabase()
{
IF the LOG is not already in the database THEN
Show error message
ELSE
Open LOG
Show successive message
ENDIF
}
3.4 需求追溯
OOA 需求 OOD 相關類別
操作介面便利簡單 Class ManagementToolset
Class MainWebPage
精確無誤的紀錄出租資料 Class UserRecordPage
加速預約流程 Class DataReceive(Web-request)
Class MainWebPage
Class DataReceive(Barcode)
降低店家成本 Class Videodatabase
Class UserLoginPage
Class MainWebPage
3.5 重複使用性
本系統乃是由四個子系統組合而成。每個子系統是各自獨立,只有相依性
的關連,故將其子系統個別套用於其他系統上仍然可以運作,故其重複使用性
較高。
四、軟體介面設計描述
4.1 介面設計概述
本節主要描述主要控管軟體之外部介面、系統之函式介面與系統之物件介面等
三部分。
四、軟體介面設計描述
4.1 介面設計概述
本節主要描述主要控管軟體之外部介面、系統之函式介面與系統之物件介面等
三部分。
4.2 外部介面定義
系統平台
(1) -硬體系統
a. 條碼機 2 台,透過數據專線將資料傳回主機以便處理。
b. 伺服主機:Intel P4 × IDE HD 120 G × Memory 1 G
c. 工作站:Intel P4 × IDE HD 80 G × Memory 512 Mb
22. 2006/05/24 錄影帶出租店管理系統設計描述 v1.0
22
(2) 作業系統
a. 工作站:Windows 98、Windows 2000 與 Windows XP
b. 伺服主機:Windows Server 2000 Professional
c. 網頁伺服器:Microsoft Internet Information Services(IIS)
(3) 資料庫
a. Microsoft SQL Server 2000 (10 Users)。
主畫面
- 硬體平台 : 本軟體設定於PC 之硬體平台上執行
- 本軟體之視窗規劃如下圖所示 <軟體介面 與 Barcode reader介面>
- 視窗標題名稱設為 Video Rental Management System
- 本軟體執行於PC 環境 : 螢幕640x840 解析度下,本軟體之視窗範圍不可超出螢
幕顯示範圍
管理軟體之系統選單
本軟體為主要控制EGS 系統的主程式。主程式選單主要分為:
- 人員名單管理
- 通道管制
- 進出紀錄查詢
- 遠端資料接收
- 說明
主程式選單列表
編號 選單名稱 層級 父層級 快速鍵
M1 門禁系統控制主程式 0 NULL NULL
M2 人員名單管理 1 M1 NULL
M3 通道管制 1 M1 Ctrl+O
M4 進出紀錄查詢 1 M1 NULL
M5 遠端資料接收 1 M1 Ctrl+A
M6 說明 1 M1 Ctrl+H
4.3 函式介面定義表
Class MainWebPage
getVideoSearch()
getHotVideo()
displayMsg()
selectVideo()
Class UserLoginPage
23. 2006/05/24 錄影帶出租店管理系統設計描述 v1.0
23
getID()
getPasswd()
displayMsg()
verify():
Class UserRecordPage
query()
add()
remove()
Class DataReceive_Barcode
GetBarcodeData():
Remove():
Modify()
Class DataReceive_PhoneCall
Add():
Remove():
Modify()
Class DataReceive_Web-request
GetWebData():
Remove():
Modify()
Class ManagementToolset
GetVideoSearch()
Verify()
Help()
Inputdatabase()
MemberRentDatabaseLog()
VideoDatabase()
Webdatabase()
Class Videodatabase
Add():
Remove():
Modify()
Verify()
Class MemberRentDatabase
Add():
Remove():
Modify()
Verify()
Class WebDatabase
Add():
Remove():
Modify()
Verify()
4.4 類別介面定義
如圖十五~十八所示