23.05.2015 Views

Space Link Extension - Service Management - CCSDS

Space Link Extension - Service Management - CCSDS

Space Link Extension - Service Management - CCSDS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DRAFT RECOMMENDED STANDARD FOR SPACE LINK EXTENSION SERVICE MANAGEMENT<br />

The ‘Dispensing’ state is a composite state: it has a number of substates. It is shown in detail<br />

in figure E-7.<br />

state machine VendingMachine[ Dispensing ]<br />

moneyInserted<br />

Dispensing<br />

H*<br />

[teaSelected]<br />

[coffeeSelected]<br />

BrewingTea<br />

BrewingCoffee<br />

Brewed<br />

Brewed<br />

DispensingTea<br />

DispensingCoffee<br />

Figure E-7: State Machine diagram Example 2<br />

If more money is inserted when the machine is already dispensing, it will go on with<br />

whatever it was already doing. This is shown by the ‘history’ pseudo-state (the ‘H’ in a<br />

circle), which means ‘return to the substate that the machine was in when it last left this<br />

state’.<br />

<strong>CCSDS</strong> 910.11-R-2 Page E-8 March 2008

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!