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