Get Set Minus : ActionBody DisplayFnBody Get : ActionBody Minus Set Get From To Event Action DisplayFnBody Get Minus From To From Event Action To From Event To From To Event : ActionBody Off: Boolean : ActionBody On: Boolean From Event Action To : ActionBody Minus Set Get Start [Watch] Action Action Action stopwatch: Icon stopwatch: Icon Stop [Watch] sysTime: VariableRef startTime: Variable startTime: Variable startTime: Variable stopTime: Variable sysTime: VariableRef stopTime: Variable stopTime: Variable startTime: Variable startTime: Variable stopTime: Variable sysTime: VariableRef Down: Button Up: Button Mode: Button running: DisplayFn : DisplayFn Running: State [Watch] Stopped: State [Watch]

Graph documentation: Stopwatch

Application nameStopwatch 
DocumentationApplication for timing events. Stopwatch allows the user to start, stop and reset the timing device.  

ObjectType of objectDocumentation
Action 
Action   
Action 
Action   
Action 
Action   
Down 
Button   
Mode 
Button   
Up 
Button   
  
DisplayFn   
running 
DisplayFn   
stopwatch 
Icon   
Start [Watch] 
Start [Watch]   
Running 
State [Watch]  In this state the stopwatch is running and the current running time is shown on display (calculated in the 'running' DisplayFn from sysTime - startTime).
Stopped 
State [Watch]  In this state the Stopwatch is stopped and current stop time is shown on the display.
Stop [Watch] 
Stop [Watch]   
startTime 
Variable  Variable that stores the start time of the running stopwatch.
stopTime 
Variable  Variable that stores the current stop time: how many seconds had elapsed when the stopwatch was stopped.
sysTime 
VariableRef  This is the underlying system's real clock, unaffected by changing clockOffset to set the time the running Watch perceives.

: Action


none

In roleIn relationshipWith object(s)In role
: Action : Transition Up : Event  
 Stopped : From  
 Running : To
: ActionBody  : Icon stopwatch On: Boolean
: ActionBody  : Set sysTime : Get  
 stopTime : Minus  
 startTime : Set

Subgraph typeGraph's name
Decompositionnone
Explosionsnone


Graph properties

: Action


none

In roleIn relationshipWith object(s)In role
: Action : Transition Up : Event  
 Running : From  
 Stopped : To
: ActionBody  : Icon stopwatch Off: Boolean
: ActionBody  : Set sysTime : Get  
 startTime : Minus  
 stopTime : Set

Subgraph typeGraph's name
Decompositionnone
Explosionsnone


Graph properties

: Action


none

In roleIn relationshipWith object(s)In role
: Action : Transition Down : Event  
 Stopped : From  
 Stopped : To
: ActionBody  : Set startTime : Get  
 startTime : Minus  
 stopTime : Set

Subgraph typeGraph's name
Decompositionnone
Explosionsnone


Graph properties

Down: Button

Button nameDown 

In roleIn relationshipWith object(s)In role
: Event : Transition Action : Action  
 Stopped : From  
 Stopped : To

Subgraph typeGraph's name
Decompositionnone
Explosionsnone


Graph properties

Mode: Button

Button nameMode 

In roleIn relationshipWith object(s)In role
: Event : Transition Running : From  
 Stop [Watch] : To
: Event : Transition Stopped : From  
 Stop [Watch] : To

Subgraph typeGraph's name
Decompositionnone
Explosionsnone


Graph properties

Up: Button

Button nameUp 

In roleIn relationshipWith object(s)In role
: Event : Transition Action : Action  
 Running : From  
 Stopped : To
: Event : Transition Action : Action  
 Stopped : From  
 Running : To

Subgraph typeGraph's name
Decompositionnone
Explosionsnone


Graph properties

: DisplayFn

Name 
CentralSECOND 

In roleIn relationshipWith object(s)In role
: DisplayFnBody : Set stopTime : Get

Subgraph typeGraph's name
Decompositionnone
Explosionsnone


Graph properties

running: DisplayFn

Namerunning 
CentralSECOND 

In roleIn relationshipWith object(s)In role
: DisplayFnBody : Set sysTime : Get  
 startTime : Minus

Subgraph typeGraph's name
Decompositionnone
Explosionsnone


Graph properties

stopwatch: Icon

IconIDstopwatch 

In roleIn relationshipWith object(s)In role
Off: Boolean  : Icon Action : ActionBody
On: Boolean  : Icon Action : ActionBody

Subgraph typeGraph's name
Decompositionnone
Explosionsnone


Graph properties

: Start [Watch]


none

In roleIn relationshipWith object(s)In role
: From : Transition Stopped : To

Subgraph typeGraph's name
Decompositionnone
Explosionsnone


Graph properties

Running: State [Watch]

State nameRunning 
DisplayFnrunning 
Blinking 
DocumentationIn this state the stopwatch is running and the current running time is shown on display (calculated in the 'running' DisplayFn from sysTime - startTime). 

In roleIn relationshipWith object(s)In role
: From : Transition Action : Action  
 Up : Event  
 Stopped : To
: From : Transition Mode : Event  
 Stop [Watch] : To
: To : Transition Action : Action  
 Up : Event  
 Stopped : From

Subgraph typeGraph's name
Decompositionnone
Explosionsnone


Graph properties

Stopped: State [Watch]

State nameStopped 
DisplayFn 
Blinking 
DocumentationIn this state the Stopwatch is stopped and current stop time is shown on the display. 

In roleIn relationshipWith object(s)In role
: From : Transition Action : Action  
 Down : Event  
 Stopped : To
: From : Transition Mode : Event  
 Stop [Watch] : To
: From : Transition Action : Action  
 Up : Event  
 Running : To
: To : Transition Action : Action  
 Down : Event  
 Stopped : From
: To : Transition Action : Action  
 Up : Event  
 Running : From
: To : Transition Start [Watch] : From

Subgraph typeGraph's name
Decompositionnone
Explosionsnone


Graph properties

: Stop [Watch]


none

In roleIn relationshipWith object(s)In role
: To : Transition Mode : Event  
 Stopped : From
: To : Transition Mode : Event  
 Running : From

Subgraph typeGraph's name
Decompositionnone
Explosionsnone


Graph properties

startTime: Variable

NamestartTime 
TypeMETime 
DocumentationVariable that stores the start time of the running stopwatch. 

In roleIn relationshipWith object(s)In role
: Get : Set Action : ActionBody  
 startTime : Minus  
 stopTime : Set
: Minus : Set Action : ActionBody  
 startTime : Get  
 stopTime : Set
: Minus : Set running : DisplayFnBody  
 sysTime : Get
: Minus : Set Action : ActionBody  
 sysTime : Get  
 stopTime : Set
: Set : Set Action : ActionBody  
 sysTime : Get  
 stopTime : Minus

Subgraph typeGraph's name
Decompositionnone
Explosionsnone


Graph properties

stopTime: Variable

NamestopTime 
TypeMETime 
DocumentationVariable that stores the current stop time: how many seconds had elapsed when the stopwatch was stopped. 

In roleIn relationshipWith object(s)In role
: Get : Set   : DisplayFnBody
: Minus : Set Action : ActionBody  
 sysTime : Get  
 startTime : Set
: Set : Set Action : ActionBody  
 sysTime : Get  
 startTime : Minus
: Set : Set Action : ActionBody  
 startTime : Get  
 startTime : Minus

Subgraph typeGraph's name
Decompositionnone
Explosionsnone


Graph properties

sysTime: VariableRef

NamesysTime 
TypeMETime 
DocumentationThis is the underlying system's real clock, unaffected by changing clockOffset to set the time the running Watch perceives. 

In roleIn relationshipWith object(s)In role
: Get : Set running : DisplayFnBody  
 startTime : Minus
: Get : Set Action : ActionBody  
 stopTime : Minus  
 startTime : Set
: Get : Set Action : ActionBody  
 startTime : Minus  
 stopTime : Set

Subgraph typeGraph's name
Decompositionnone
Explosionsnone


Graph properties