A petrol (gas) station is to be set up for fully automated operation. A driver inputs his or her credit card into the pump, the
card is verified by communication with a credit company computer and a fuel limit established. The driver may then take the fuel required and, on completion of delivery (when the pump hose is returned to its holster), the driver's credit account is debited with the cost of the fuel taken. The credit card is returned after debiting. If the card is invalid, it is returned by the pump with no fuel dispensed
Gas Filling Station has pumps. Pumps have credit card readers. Driver can able to swipe their cards, pumps have Fuel. Pumps card readers communicate with Credit Company. Driver interacts with pump for fuel and credit card.
In this situation the following we need to treat as objects.
They are Pump, Card reader, Fuel tank, communication system, system controller and price table.
Design pattern for the following system is attached below
a flat or tubular narrow closely woven fabric (as of silk or rayon) used for trimmings or knitting. b : a narrow fabric used for tying packages. c : a piece of usually multicolored ribbon worn as a military decoration or in place of a medal. d : a strip of colored satin given for winning a place in a competition