Java Programming Job Generation: Implement a logging system

Source: Internet
Author: User

Csc207:project Phase 1 Introduction

Introductory Activity

With your project group, does a CRC analysis of the project described here. Make sure, your cards include both responsibilities (written in 中文版 rather than

code!) and collaborations.

Learning Objectives

Do a CRC design

Use Git in a group setting

Build a graphical user interface using JavaFX (Phase 2)

Write a "real" application

Design and work with configuration files

Implement A logging system

Work with all Java features seen so far

Work in a environment where not everything is specified

Overview

This project description was a first introduction to the project. Phase 2 'll has a more complete set of requirements, with extra features, a graphical user interface

(GUI), and the chance to make your project unique by adding features that is specific to only you project.

Many restaurants is giving their servers tablets into which they can enter orders. Before the use of tablets, servers would write each person's order on a piece of

Paper, with their table number, and give it to the cook. Also, for many years, restaurants has been using software to keep track of the bill for each table. Before

They run out of a ingredient, a restaurant would order more, recording the order in a log book. Ingredients (i.e, food) is delivered to the restaurant and crossed

Out of the log book once they arrive. All of these tasks could is accomplished by a single piece of software.

Phase 1:restaurant Software

For phase 1, you'll assume that the restaurant have a set menu, like a fast food restaurant, with a limited number of add Itions and subtractions allowed from each

menu item. For example, you can order a cheeseburger with extra lettuce (addition) or without lettuce (subtraction).

We'll call all input from the server, cook, and receiver an "event". For phase 1, you'll simulate each event by writing a line in a file called Event.txt. Your

Program would read each line of Events.txt as input and respond accordingly. Output that should appear in a window in your GUI by the end of phase 2, can is printed to

The screen as println statements for phase 1.

The server should is able to enter menu items as they is ordered by customers. The order should include the table number and any additions and subtractions from each

menu item. The cook should is able to see the order appear on a screens and enter confirmation that the order have been seen, and then Enter confirmation afterwards that

The order has been filled (i.e., the food had been prepared and is waiting for the server to deliver it to the table). The server should then is able see a message

That's the food was ready to deliver. For each dish this server delivers to the table, the server either confirms that it is delivered, or puts that partic Ular Dish

Back to the system upon request of the customer. Possible reasons for the "customer to send" the food back include, but is not limited to:the food is too cold, the

Order is wrong and needs to be adjusted, etc. Once the server confirms that a dish have been delivered to the table, it price was added to the table ' s bill. The bill

Can is printed (to the screens for now) by the server at any time.

In the kitchen, there are an inventory of ingredients. Each ingredient have a threshold below which it must be reordered. For example, if there is fewer than 10

Tomatoes, a request gets created as text that's stored in Requests.txt for the manager to cut and paste into an email and Send to the distributer. The email would

Request more of the that ingredient. The default amount to request are units (for example:20 tomatoes, bags of pasta, etc). The manager can manually change that

Amount when creating their email. The email program was outside of your program. You don't have the to write it. When the chef confirms a dish have been prepared, its

Ingredients is automatically subtracted from the inventory. It should is possible for the manager to check the inventory and see a printout of all inventory items and

Their quantities. It should also is possible for a receiver to scan each item or list of items back into the inventory when a new shipment O F Ingredients arrives.

When the program was first run, it should create any configuration files that it needs. If They is deleted, your program should recreate them the next time it is run.

System boundaries

This program should support one or more servers, receivers, cooks, and managers. You'll write a line in Events.txt to represent each time there was input from the

Server, cook, or receiver. This would simulate the input for your program. You can choose the format each event. It should is possible to tell, by reading Events.txt

Which server entered each item and which cook prepared it. All output, for phase 1, should is printed to screen and/or the appropriate file. You'll create a file

Called README.txt that would instruct the marker on how to run your program, which format to use for each type of input into Events.txt, and any other information we

Need to set up and run your code to run.

Getting Set up

You have a GKFX repository whose name is your group name. For example, if your group name was group_4321, then your repository URL would be

Your repo have a phase1 subdirectory with the this file inside. Create a new IntelliJ project inside it. This would automatically create a SRC subdirectory. Create any

Packages.

Only add and commit your. java files and any text files you create. In particular, does not add or commits the out directory, nor any other automatically-generated files

Created by your IDE. You can add other subdirectories and files for things like unit tests and a TODO list.

Citing Code

If you use any code for find, cite it according to the format described in the "Examples of citing Code sources" section O f the "Writing Code" page of the MIT academic

Integrity Handbook.

A Few Tips

The user is likely to add further requirements through the next month or so. The requests might involve expanding your software to include more features or handle more

Inputs. Be sure to design your code with this.

In real life, you would is able to ask the owner of the restaurant for futher clarification regarding the software they WA NT from you. For the purposes of this

Project, you can direct such questions to the discussion board. Any response from Jaisie or Lindsey are to be taken as the restaurant ' s response. You are also invited

To do your own the regarding restaurants. For example, how is bills usually formatted?

If you finish before Phase 1 was due, you are welcome to start coding your GUI. However, make sure this your code runs before your final commit for phase 1.

What to Submit

As a work, regularly commit and push your changes. We'll be checking the GIT logs and make sure everyone is making a significant contribution.

Your code should is platform Agnostic:it must run on any operating system that has the Java 8 VM installed.http://www.6da Ixie.com/contents/9/1272.html

The core staff of the team mainly include Silicon Valley engineers, bat front-line engineers, domestic TOP5 master, PhD students, proficient in German English! Our main business scope is to do programming big homework, curriculum design and so on.

Our Direction field: Window Programming numerical algorithm AI Artificial Intelligence financial statistical Metrology analysis Big Data network programming Web programming Communication Programming game Programming Multimedia Linux plug-in programming API image processing embedded/Microcontroller database programming console process and thread Network security assembly language Hardware programming software Design Engineering Standard Rules. The generation of programming languages or tools including, but not limited to, the following ranges:

C/c++/c# Write

Java Write generation

It generation

Python writes

Tutoring Programming Jobs

The MATLAB Generation writes

Haskell writes

Processing Write

Linux Environment Setup

Rust Generation Write

Data Structure assginment Data structure generation

MIPS Generation Writing

Machine Learning Job Writing

Oracle/sql/postgresql/pig database Generation/Generation/Coaching

Web development, Web development, Web site jobs

Asp. NET Web site development

Finance insurace Statistics Statistics, regression, iteration

Prolog write

Computer Computational Method Generation

Because of professional, so trustworthy. If necessary, please add qq:99515681 or e-mail:[email protected]

: Codinghelp

Java Programming Job Generation: Implement a logging system

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.