100 likes | 202 Views
The Service Representative (SR) manages door locking, unlocks, history display, and price selections. The SR interacts with the MIVM software to change modes, display history, total income, and total items sold. Using buttons and switches, the SR makes item selections, invokes changes, and resets modes. Customer interactions involve item dispensing, refunds, and credit management. Coordination packages ensure smooth operations.
E N D
Service Representatives (SR) 3 locks and unlocks the Door display history and price selections by pressing the change the mode by pressing the trips the Door Switch Mode Button Selection Buttons MIVM SOFTWARE SR Services the MIVM SR Prices an Item invokes invokes precedes invokes SR Changes the Mode of the MIVM SR Displays History invokes invokes invokes invokes invokes SR Displays the Total Number Of Items Sold SR Displays the Total Income Door Switch Resets the Mode RM Makes a Selection invokes precedes SR Selects a Column invokes invokes invokes SR Presses The Mode Button SR Enters a Price SR Selects a Row invokes precedes Handle Invalid SR Selection invokes Dispense Change Customer Buys an Item precedes Main Display
currentModeProxy dispenseItemMode displayHistoryMode setPriceMode 7 COORDINATION PACKAGE serviceRepresentative displayTotalIncome (); displayTotalItemsSold (); displayMessages (); refund (); reset () throws CouldNotResetException; selected (anInteger); selected (aLetter); valid (aMoney); reset (); selected (anInteger); selected (aLetter); coinDispenser-Assembly-Loaded (); customer ROLE PACKAGE creditIncremented (); reset (); selected (anInteger); selected (aLetter); getTotal- Income (); getTotal- ItemsSold (); display-Messages (credit); add (aMoney); getAmount (); customer- Selection getAmount (); display (); refundMinus (price) throws CouldNotRefund-AllException; reset (); selected (anInteger); selected (aLeter); display-Location-Warning (); customer- Credit service- Representative- Selection loaded (); display (credit); displayMessages (credit); customer- Messages isPractical (price); isWarningNeeded (); dispenseAt (aLocation) throws Invalid-SelectionException; priceAt (aLocation) throws InvalidSelectionException; priceAt (aLocation) throws InvalidSelectionException; priceAt (aLocation,aMoney) throws InvalidSelectionException; coinDispenserAssembly itemDispenserAssembly dispense (aMoney) throws CouldNotDispense-AllException; inserted (aCoin); DISPENSER PACKAGE main- Display- display (credit); SERVER INTERFACE PACKAGE
10 HandleMoney HandleSelection CurrentModeProxy Operations: changeMode (); doorLocked (); refund (); selected (anInteger); selected (aLetter); valid (aMoney); 1 1 1 DispenseItemMode DisplayHistoryMode SetPriceMode Operations: displayMessages (); refund (); reset (); selected (anInteger); selected (aLetter); valid (aMoney); Operations: reset (); selected (anInteger); selected (aLetter); Operations: reset (); selected (anInteger); selected (aLetter); service representative task {complete,disjoint} ServiceRepresentativeMode Operations: refund (); valid (aMoney); used by {complete,disjoint} ActualMode Operations: reset (); actual versus proxy {complete,disjoint} Mode Operations: refund (); valid (aMoney); Operations: selected (anInteger); selected (aLetter);