Desktop Application Project | Assignment

Added on - 16 Sep 2019

  • Dissertation

    type

  • 8

    pages

  • 1693

    words

  • 146

    views

  • 0

    downloads

Showing pages 1 to 3 of 8 pages
ContentContent.......................................................................................................................................1Introduction................................................................................................................................2The assignment............................................................................................................................3The laboratory part...........................................................................................................................................3The theory part................................................................................................................................................3Learners outcome.............................................................................................................................................3Project explanation......................................................................................................................4Conclusions.................................................................................................................................71
IntroductionThis project is a desktop application. This command based. Use have to first run the “cmd prompt”and compile and run the java file. To compile user has to type: “javac file_name.java.” To runproject user has to type: “java filename.” This is simple robot command based application. Whereuser interact with commands to this project. This project is designed based on Oops technology.The abbreviation is Object Oriented Programming Technique. According to this technique wedecompose the whole problem into small parts. This is basically done by writing various classes.Each class belongs to one purpose. This project is also structured. Each process is completed byonly one method at a time.2
The assignmentI have to design a system that is called LGV. This system take input from the user, this asks fromuser he/she wants to produce a box. If the user selects yes then temperature is also asked for thebox. If the box temperature is greater than 100 or equal to 100 C then furnace machine is commandto produce a box with the entered temperature. Now the LGV robot move the box form the Furnaceto Park. If the box temperature is less than 100 C then box is moved to Wrapper machine by LGVrobot. Then Wrapper machine wrap the robot. After this LGV robot start processing and moved itPark. So each box is moved from the source to destination depending on the box temperature. As abox is moved to park the system will ask to user is he/she wants to process another box? If userchooses yes then the above process continues till user doesn’t choose no option.The laboratory partI have used java jdk8.0 and windows command prompt.The theory partIn this system, I have developed an application where the customer can provide input Box to thefurnace and then the whole system runs in the desired way to process the box and move it to thePark.The customer gives its input as the temperature of the box. The box is then sent to process byfurnace. Then we call a function "signal()" which is a Boolean function which returns whether thebox is ready to pick up or not. If the box is ready to pick up, then the supervisor checks thetemperature of the box and sets the source and destination of the LGV robot accordingly ( source =furnace and destination = wrapper for temperature less than 100, and source = furnace, destination =park otherwise).Then the supervisor starts the mission of the robot. The robot then goes to the source, picks up thebox and gives it to the destination. It returns true if the destination is Park (which means the box'sjourney is over) and returns false if it delivers to the wrapper (which means the box still needs to goto the park).The value returned from the robot is analyzed by the supervisor. If it is true then it asks the user ifhe wants another box or not. If it returns false, then the supervisor gives another mission to therobot with source = wrapper and destination = park and after this asks the user if he wants anotherbox.In case of delivery to the park, the park checks of it is full or not. If it is full then no other box canbe moved here.If the user wants another box, then the program continues by asking the temperature if the box anddoing the same process all over again, otherwise the program exits.3
desklib-logo
You’re reading a preview
card-image

To View Complete Document

Become a Desklib Library Member.
Subscribe to our plans

Unlock This Document