Delphi 7 - Petrol Pump Display & Console Spec Below - Very Simple For Good Programmer.
$30-250 USD
Paid on delivery
Here is the specification i need it to follow exactly:
Background
Petrol stations selling petrol usually show prices and amount of
petrol dispensed on each petrol pump and also have a console in the
office showing information about each sale from each petrol pump
on the garage forecourt.
Each petrol pump shows how much petrol has been sold, the price
per litre in pence to one decimal place and the total amount to pay.
The console also displays this information for each pump.
Peter owns a small petrol station with one petrol pump. Every day
Peter needs to know the number of litres of petrol that are sold and
the total amount of money taken for the pump.
You have been asked to write a PROGRAM to simulate the display
on the pump and on the console. This is to be done in delphi 7.
The system you are to develop is simplified and should not include
details about taking money from the customers but just assume that
the amount displayed is the amount of money received. Also you are
not required to test for the customer’s petrol tank overflowing when
the petrol is being dispensed.
You have been asked to write a program to simulate the display of
one petrol pump only and the console. The program needs to
record the amount of petrol sold in tenths of a litre and the amount
to be paid in pounds and pence every time the pump is used.
The display on the petrol pump uses seven segment LCDs (Liquid
Crystal Displays). As part of your programming you will need to
write and test a procedure to display a number as a seven segment
figure. The console must also display the total amount of money
taken but does not need to use an LCD.
[url removed, login to view] Amount to Pay (£ p)
XX.X Litres
XXX.X Pence per litre
Peter at the console can:
• set and change the price per litre in pence
• zero the amount of petrol dispensed (this will also
automatically zero the amount paid)
• view the total takings and total petrol sold
• set the total takings and total petrol sold to zero at the
beginning of each day.
3. The customer buying petrol can:
• remove nozzle from holster to indicate they are ready to
buy petrol
• squeeze the nozzle to put petrol in the tank
• stop squeezing the nozzle to stop putting petrol in the
tank
• replace the nozzle to finish putting petrol in the tank
Each of the above can be simulated by keystrokes or the use of a
button or similar.
4. The petrol pump displays:
• the current price in pence per litre to 1 decimal place as seven
segment LCDs
• the amount of petrol dispensed at any time as seven segment
LCDs showing the number of litres to one decimal place.
This display remains after the petrol has been dispensed until
zeroed by Peter from the console.
• the amount to be paid at any time as seven segment LCDs
showing the amount in pounds and pence. This display
remains after the petrol has been dispensed until the number
of litres of petrol dispensed has been zeroed by Peter.
The pump can dispense between 0.5 and 100 litres in tenths of a
litre. The price per litre can be up to 199.9 pence per litre.
5. The console displays:
• The state of the pump:
o ready for use (display set to zero customer can start
putting petrol in the tank)
o in use
o out of use (waiting for Peter to zero the display)
• the amount of petrol being dispensed by the pump when it is
in use, showing the number of litres to one decimal place.
This display remains after the petrol has been dispensed until
zeroed by Peter.
• the amount to be paid when the pump is in use in pounds
and pence. This display remains after the petrol has been
dispensed until the number of litres of petrol dispensed has been zeroed by Peter.
When the nozzle is replaced in the holster the amount of petrol
dispensed is added to the total amount for that day, and the amount
paid is added to the total amount paid from all the sales that day.
The pump is flagged as out of use until the number of litres
dispensed is zeroed on the pump and the console, it is then set as
ready for use by the next customer.
I have done the very basics of the petrol pump part of the form. The console of the pump needs to be below the pump on the same form.
See attachment for preview of form.
The picture has been updated with how i would liek the pump to look.
Project ID: #240806
About the project
Awarded to:
Well i have already done this exact project as a side project last year (i believe its this years AS level computing project), i am not entering mine. I will be able to fine tune it and send it to you with in 2 days an More
7 freelancers are bidding on average $173 for this job
Being a Delphi programmer and writing retail software for several years. Maybe I'm not your best choice, but should be your correct choice.