In Progress

Delphi 7 - Petrol Pump Display & Console Spec Below - Very Simple For Good Programmer.

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.

Skills: Delphi

See more: spec delphi, seven segment display delphi, petrol pump lcd, delphi foreach, zeroed, the basics of programming, programming simplified, programming in delphi, programming Delphi, programming basics, office basics, need money programmer, need a programmer but no money, i need a good programmer, how to start programming a programmer, how to be good programmer, how to be a good programmer, delphi programming prices, delphi prices, delphi develop, c programming basics, basics of c programming, basics of, amount received, all spec

About the Employer:
( 2 reviews ) norwich, United Kingdom

Project ID: #246563

Awarded to:

flabbyrabbit

Easy, and project will be completed quickly and to a high standard.

$50 USD in 3 days
(1 Review)
2.0

8 freelancers are bidding on average $150 for this job

limelect

please see pmb

$250 USD in 7 days
(1 Review)
3.2
amflik

I can do your project quickly.

$50 USD in 5 days
(2 Reviews)
1.6
hamid99

I've over 4 years of experience with Delphi lying in different version from 3 to 7. I can accomplish this job very easily.

$165 USD in 6 days
(1 Review)
1.1
jhonmickle

hello i am develper and you are saying easy for programmer sure this is easy work. check pm

$250 USD in 15 days
(0 Reviews)
0.0
codeket

Hello! I'm an Delphi 7 expert. I can work this for you with ease. Please check the PM. Thanks!

$190 USD in 15 days
(0 Reviews)
0.0
kastlunger

15 years of experience in Delphi (various versions).

$98 USD in 3 days
(0 Reviews)
0.0
elucian

Hello, Well, you have a lot of offers to peek from. Here is one more. Read PM from me.

$150 USD in 11 days
(0 Reviews)
0.0