-
Notifications
You must be signed in to change notification settings - Fork 0
eramos2/GasTank-ICOM4015
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
***JRE- JavaSE 1.6***\ 1.UnZip P2_802096452_142.zip\ 2.cd to unziped directory P2_802096452\ 3. cd to src \ 4.Enter javac P2Main.java to compile it.\ 5. Enter java P2Main to run it.\ B.How to use the program\ 1.The program starts with no gas on tank.\ 2.To add more gas click inside the red button in the middle\ 3.(!!!IMPORTANT!!!)It may be necesary to click more than once so that the program can read your input.\ 4. To increase or start the rotation of the wheel click inside the \'93+\'94 speed button until desired rpm is reached.\ 5.To decrease or stop the rotation of the wheel click inside the \'93-\'93 speed button until desired rpm is reached.\ C.Modifications to program\ 1.To change the RPL(revolutions per litter) the amount of gas burn by revolutions, go to the \'93SpeedController\'94 class and change the \'93rpl \'93 value to the desired one. By default is set to 3 \'93RPL\'94.\ 2.To change the amount of gas added per click go to the \'93FuelTank\'94 class then look for the \'93addGas\'94 method and change the value there, By default it is set to to add 50 litters per click.}
About
Gas Tank Meter project for ICOM4015(Advanced Programming) Course
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published