Step by Step Food management System II

Source: Internet
Author: User
Tags md5 encryption

Yesterday wrote the catering management system related needs, got some good suggestions from the park friends, feel very happy, do not write a comprehensive, and now add a need for business, this is mainly to do is the front desk cashier system, so the business is mainly concentrated in the front desk à la carte cashier this piece, and later data management this piece is temporarily not considered.

As for permissions, different groups of doors should have different permissions at different levels of the staff also have the appropriate permissions, such as the cashier only 90 percent discount privileges, and the cashier supervisor can discount to 85 percent, and the manager can discount to 80 percent. As for a park friend said the prospect, hope that the system can be applied in small and medium-sized food, all say that the people to eat for the day, especially now the social development so fast, the people's demand for living standards is more and more high, they are not only satisfied with eating, more care about the restaurant environment, and a good environment of the restaurant not only Of course also includes a software environment such as management system, it represents an advanced level of management, and now every year there are many new restaurants opened or modified, and they also increasingly recognized the important role of information technology in management, formerly like hand-held à la PO, pda to the current technology applications, Now, tablet hardware like mobile phones or ipads has been used more and more widely. So the prospects are still relatively optimistic, only easy to use, personalized and very good user experience, there will certainly be a place. Well, start today's system overview design.

Part I. INTRODUCTION

I. PURPOSE of preparation

  The system is the system of the overall design and implementation of the description, recording the implementation of the entire system to realize the implementation of the consideration of the requirements of the specification as the basis, as well as the system requirements for the control of the basis.

Second , the background

Description: Name: RMS (Restaurant manage system)

Development: LZ

The system will realize the real situation of the guests from entering the restaurant to the meal after the checkout of a system process. Help the restaurant to effectively manage and advance staff productivity. Achieve paperless management.

Database: SQLSER2008R2

Database design tools: Power Designer 15 + Design Table Export Tool

Code development Environment: VS2012, primarily using the WinForm + WPF design interface.

Third, the definition

  Not currently

Iv. references

"CLR via C #"

《. NET component Programming "

"C # program Development Example Treasure"

"First Head design mode"

"Big Talk design mode"

Part II Overall design

I. System processes and basic concepts

This system uses the typical C/s to realize, different clients connect to the database server through the network to access or manipulate the data. As shown in the following:

The module of the function is divided as follows:

Second, functional requirements

1. Start interface Design

A. After the system starts is the welcome interface, the startup process will show the relevant initialization progress, and display the name of each initialization module, after the launch to enter the login interface, this interface and QQ similar, the user name can save the previously saved user name, can realize the fuzzy query user name. The wrong user name or password is entered with a corresponding error message.

B. System exit can prompt not directly exit and direct exit two, do not directly exit is equivalent to locking system, as long as the password can be entered into the system again.

C. The system has a unified interface style, unified logo. There is a unified information prompt box.

2, Table interface

A. Enter the correct user name and password to enter the table display interface, the interface will be based on different status display different colors to identify, can be based on different conditions to achieve table query, such as location like a box, hall, state like empty table, has served or checkout, when the table state is served, when clicked will show its corresponding dishes and amount, double-click directly into this table An à la carte interface. The empty table goes directly to the à la carte interface.

B. Table interface can display table name and can be set according to different configuration. can have the corresponding color identification to identify the status of the table.

3. à-la-carte interface

A. When guests need to order or add food, can go to the à la carte interface into the operation, the interface can be based on the type to display all the restaurant dishes, can be based on the menu code and Pinyin code for a la carte, a la carte interface at the same time can show a record of the order, select the dishes to be modified, you can personalize its number, serving mode, send to the kitchen, or To delete a la carte, the ordered records can be sorted according to the type, the system can automatically calculate the order quantity, amount and other related information.

4. Sent Menu interface

A. For the food has been sent to the kitchen, it can not be deleted, only by the withdrawal of vegetables to operate, the withdrawal must be entered in the number of dishes, of course, the number can not be greater than the number of orders, when guests want to add vegetables, you can jump to the à la carte interface and then send, the guests want to speed up the

B. Guests can turntable, such as A to B, special cases can be set.

5. Checkout

A. When the guest wants to checkout, can operate the discount, the gift and so on, the premise is this dish product can discount, can give away. The type of discount may vary depending on the configuration.

B. The checkout screen can show all the amount, can choose payment method, such as cash or bank card, can automatically calculate the corresponding amount such as discount, gift and sign.

C. Be able to print the information of all dishes at checkout, display name, quantity, amount, cashier name, printing time and other information.

D. After the end of the account to realize the operation of the turntable, a complete process.

6. Other

A. The restaurant has a corresponding meal, such as lunch or dinner, according to the time of the system automatically recognized, for large restaurants, there are different plates, such as Chinese or western food.

B. Guest types include guest and team.

C. Dishes are also set and non-set.

D. Print the format of the menu item.

Part III Interface design

  The system uses the ADO connection database to realize the operation of the data, the complex operation uses the stored procedure, the simple database operation may not use the stored procedure, uses the XML or other like INI to store some configuration related aspect information. Using MD5 encryption technology for sensitive information such as user passwords, all interfaces inherit the same parent interface, and all errors or exceptions can be captured to log files or tables and returned to the user, prompting the message to be friendly, not to read some information.

1. Module design

Have always wanted to do not repeat the wheel, the front also said, mainly to practice practiced hand, so do not use third-party controls, such as logging control log4net, Microsoft Enterprise is a good choice, like the control library Telerik so dazzling, but in order to deepen learning, Or not to use these very good controls.

A. Solution Name: RMS, namespace name also starts with this.

B. Data Access layer: DataAccess

C. Custom controls: UserControls, all custom controls put into this project

D. Operational layer: Business, all relevant business processes are put here.

C. Data tier: Entities, which stores all entity classes, implements Insert,update and Delete methods for each entity class.

D. LOG: Logger, store log related items.

E.common: All common classes are stored in this project.

F.ui folder: The UI-related files are placed in this folder, the UI is placed under resources and the operations and form-related subfolders, respectively, to hold resource-related and form and corresponding action classes.

The next time you write a database table design, this time first to this, mainly a summary, detailed design will be a module to introduce one by one, and then together to write a complete detailed design document.

Step by Step Food management System II

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.