Data Flow Diagram - Sample Essay

This shows the daily report of the dispensed total today (in litres) and the total takings for the day, this is displayed in the cashiers message box.  How the 7 Segment LCD Works The 7 segment LCD works in a specific way according to the attributes of Adobe Action Script 3. Each LCD digit is a movie file, with 10 frames. Each frame contains a representation of each digit. I am able to independently set which frame each movie frame / digit to be shown at one given time. I then created a function that would accept a number type as a parameter.

This function then converted the parameter into a ‘String’ and then analysed each character to individually set each digit. Then I am able to call this digit whenever I need to update a collection of digits. Below explains, using screen dumps, on how the movie frames have been developed through 7 line segments. I made a series of if statements which made sure that the different unit, tenths, and hundredths were presented correctly at each 7 line segment digit.

We Will Write A Custom Essay Sample On Data Flow Diagram
FOR YOU
For Only $13.90/page

order now

Each Frame in Each Movie File I did this for each digit on every display on the customer’s interface. Evidence and Explanations Begin Fuelling (Lift Nozzle & Start Dispensing Button) A button has been created and called ‘startDispensing_btn’, once this button is clicked; an event listener allows the action of startDispensingClick to function, the event listener used is shown below. StartDispensing_btn.addEventListener(MouseEvent.CLICK,startDispensingClick); This will start the startDispensingClick function, this has been developed to start the fuelClock, if the pumpStatus is “Pump Is Ready To Use”, the status will change to “Pump Is In Use”. The seven segment LCD display will change, this is found in the startDispensingClick function, and will change the digits at the ‘To Pay (�)’ and ‘Dispensed Petrol’ according to the changePriceDisplay and the changeDigits function.

Stop Fuelling (Stop Dispensing Button) A button has been cretae and called ‘stopDispensing_btn’, once the button is clicked; an event listener allows the action of stopDispensingClick to function, the event listener used is shown below. stopDispensing_btn.addEventListener(MouseEvent.CLICK,stopDispensingClick); This will stop the stopDispensingClick function, this has been developed to stop the fuelClock, if the pumpStatus is “Pump Is In Use”, the pumpStatus will remain the same. The seven segment LCD display will stop. This will stop the digits at the ‘To Pay (�)’ and ‘Dispensed Petrol’ according to the changePriceDisplay and the changeDigits function. The startDispensing and stopDispensing button will be disabled, if press the pumpStatus will change from “Pump Is In Use” to “Pump Stopped, Replace Nozzle”. The only button that will work with the pumpStatus “Pump Stopped, Replace Nozzle” will be the replaceNozzle_btn button on the customers interface.

Evidence and Explanations (Continued) Replace Nozzle (Replace Nozzle Button) A button has been created and called ‘replaceNozzle_btn’, once the button is clicked; an event listener allows the action of replaceNozzleClick to function, the even listener is shown below. replaceNozzle_btn.addEventListener(MouseEvent.CLICK,replaceNozzleClick); If the pumpStatus is “Pump Stopped, Replace Nozzle”, the pumpStatus will change to “Awaiting Payment”. From this stage of the pump operation, the only button that will work is the reset_btn on the cashier’s console.

close

HAVEN’T FOUND ESSAY YOU WANT?

Get your custom essay sample

FOR ONLY $13.90/PAGE

Mattie
Horton

Hi there, would you like to get such a paper? How about receiving a customized one?

Check it out