java编程作业代写:Implement a logging system

Posted helpcode

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了java编程作业代写:Implement a logging system相关的知识,希望对你有一定的参考价值。

CSC207: Project Phase 1 Introduction

 

Introductory Activity

 

With your project group, do a CRC analysis of the project described here. Make sure that your cards include both responsibilities (written in English 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 an environment where not everything is specified

Overview

 

This project description is a first introduction to the project. Phase 2 will have 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 are specific to only you project.

 

Many restaurants are 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 have been using software to keep track of the bill for each table. Before

 

they run out of an ingredient, a restaurant will order more, recording the order in a log book. Ingredients (i.e., food) are delivered to the restaurant and crossed

 

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

 

Phase 1: Restaurant Software

 

For phase 1, you will assume that the restaurant has a set menu, like a fast food restaurant, with a limited number of additions and subtractions allowed from each

 

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

 

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

 

program will 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 be printed to

 

the screen as println statements for phase 1.

 

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

 

menu item. The cook should be able to see the order appear on a screen and enter confirmation that the order has been seen, and then enter confirmation afterwards that

 

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

 

that the food is ready to deliver. For each dish that the server delivers to the table, the server either confirms that it was delivered, or puts that particular dish

 

back into the system upon request of the customer. Possible reasons for the customer to send the food back include, but are not limited to: the food was too cold, the

 

order was wrong and needs to be adjusted, etc. Once the server confirms that a dish has been delivered to the table, its price is added to the table‘s bill. The bill

 

can be printed (to the screen for now) by the server at any time.

 

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

 

tomatoes, a request gets created as text that is stored in requests.txt for the manager to cut and paste into an email and send to the distributer. The email will

 

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

 

amount when creating their email. The email program is outside of your program. You do not have to write it. When the chef confirms that a dish has been prepared, its

 

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

 

their quantities. It should also be possible for a receiver to scan each item or list of items back into the inventory when a new shipment of ingredients arrives.

 

When the program is first run, it should create any configuration files that it needs. If they are 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 will write a line in events.txt to represent each time there is input from the

 

server, cook, or receiver. This will simulate the input for your program. You can choose how to format each event. It should be possible to tell, by reading events.txt

 

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

 

called README.txt that will instruct the marker on how to run your program, what 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 shared repository whose name is your group name. For example, if your group name is group_4321, then your repository URL will be

 

Your repo has a phase1 subdirectory with this file inside. Create a new IntelliJ project inside it. This will automatically create a src subdirectory. Create any

 

packages you like.

 

Only add and commit your .java files and any text files you create. In particular, do not add or commit 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 you find, cite it according to the format described in the "Examples of citing code sources" section of the "Writing Code" page of the MIT Academic

 

Integrity handbook.

 

A Few Tips

 

The user is likely to add further requirements over 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 mind.

 

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

 

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

 

to do your own research regarding restaurants. For example, how are bills usually formatted?

 

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

 

What To Submit

 

As you work, regularly commit and push your changes. We will be checking the git logs to make sure everyone is making a significant contribution.

 

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

 

本团队核心人员组成主要包括硅谷工程师、BAT一线工程师,国内Top5硕士、博士生,精通德英语!我们主要业务范围是代做编程大作业、课程设计等等。

 

我们的方向领域:window编程 数值算法 AI人工智能 金融统计 计量分析 大数据 网络编程 WEB编程 通讯编程 游戏编程多媒体linux 外挂编程 程序API图像处理 嵌入式/单片机 数据库编程 控制台 进程与线程 网络安全  汇编语言 硬件编程 软件设计 工程标准规等。其中代写代做编程语言或工具包括但不限于以下范围:

C/C++/C#代写

Java代写

IT代写

Python代写

辅导编程作业

Matlab代写

Haskell代写

Processing代写

Linux环境搭建

Rust代写

Data Structure Assginment 数据结构代写

MIPS代写

Machine Learning 作业 代写

Oracle/SQL/PostgreSQL/Pig 数据库代写/代做/辅导

Web开发、网站开发、网站作业

ASP.NET网站开发

Finance Insurace Statistics统计、回归、迭代

Prolog代写

Computer Computational method代做

 

因为专业,所以值得信赖。如有需要,请加QQ:99515681 或邮箱:[email protected]

微信:codinghelp

以上是关于java编程作业代写:Implement a logging system的主要内容,如果未能解决你的问题,请参考以下文章

代写java binary search trees|代写Java Data Structures CS作业|代写Java作业|Java 编程作业代写|Java作业代写

留学生编程代写,留学生编程作业代写(微信leechanx)

R编程作业代写| 代写R编程分类作业|代写R作业|代做R语言作业

Java AVLBST编程作业代写代做JDK实验

代写C, C++ or Python 作业,Linux environment下编程代写C, C++ or Python 作业代写

java程序代码代写代写tree数据结构作业