Upload
others
View
2
Download
0
Embed Size (px)
Citation preview
Team Presentation #6- Reflecting New Requirement
Team 7
Yong-gyeom Jeong
Yeong-hun Kim
Yeong-sik Kim
Jeong-il Won
Mihael Myung-jae Lee
Team Presentation #6 [Team7] 2 / 22
Re
qu
irem
en
tD
ocu
me
nt
Index
• Development Environment• Reference
A. Introduction
• New Requirement
B. Requirement
• SRA (with C Programming Code)• SDS
C. Document
De
mo
Q &
AIn
trod
uctio
n
D. Demo
E. Q & A
Team Presentation #6 [Team7] 3 / 22
Re
qu
irem
en
tD
ocu
me
nt
Introduction
De
mo
Q &
AIn
trod
uctio
n
Development Environment
Windows 7OS
MinGWCompiler
EclipseIDE
Team Presentation #6 [Team7] 4 / 22
Re
qu
irem
en
tD
ocu
me
nt
Introduction
De
mo
Q &
AIn
trod
uctio
n
Reference
Ver. DS-2012.DWS.SRS-2.3 SRS
Ver. T7-2012.DWS.SRA-7.0SRA
Ver. T7-2012.DWS.SDS-3.0SDS
Team Presentation #6 [Team7] 5 / 22
Do
cum
en
t
Requirement
De
mo
Q &
AIn
trod
uctio
n
New Requirement(SRS 2.3)
Re
qu
irem
en
t
When alarm set, alarm indicator on.Ring beep sound when alarm time.
Ringing 5 seconds.Whatever button pushed, sound off.
Team Presentation #6 [Team7] 6 / 22
Do
cum
en
t
Document
De
mo
Q &
AIn
trod
uctio
n
SRA(Ver. T7-2012.DWS.SRA-7.0)
Re
qu
irem
en
t
ButtonDWS
Control
LED MonitorA Button InputB Button InputC Button InputD Button Input
Display
Back LightLight
ButtonDWS
Control
LED MonitorA Button InputB Button InputC Button InputD Button Input
Display
Back LightLight
Alarm BeepSound
Team Presentation #6 [Team7] 7 / 22
Do
cum
en
t
Document
De
mo
Q &
AIn
trod
uctio
n
SRA(Ver. T7-2012.DWS.SRA-7.0)
Re
qu
irem
en
t
A Button
DWSControl
0
LED MonitorDisplay
D Button
C Button
B Button
Digital Clock
Tick
A Button Input
B Button Input
C Button Input
D Button Input
Back LightLight
A Button
DWSControl
0
LED MonitorDisplay
D Button
C Button
B Button
Digital Clock
Tick
A Button Input
B Button Input
C Button Input
D Button InputBack Light
Light
Alarm BeepSound
Sound Sound commands to the Alarm Beep. When
the command is transmitted to Alarm Beep,
the hardware, Alarm Beep, sounds alarm be
ep to the user.
Machine Instruction
Team Presentation #6 [Team7] 8 / 22
Do
cum
en
t
Document
De
mo
Q &
AIn
trod
uctio
n
SRA(Ver. T7-2012.DWS.SRA-7.0)
Re
qu
irem
en
t
Determine Button
1
A Button Input
B Button Input
C Button Input
D Button Input
Tick
Time & Button & State Data
Main Control
2
Display
Light
Button
Time & Button & State Data
Tick
Determine Button
1
A Button Input
B Button Input
C Button Input
D Button Input
Tick
Time & Button & State Data
Main Control
2
Display
Light
Button
Time & Button & State Data
Tick
Sound
Sound Sound commands to the Alarm Beep. When
the command is transmitted to Alarm Beep,
the hardware, Alarm Beep, sounds alarm be
ep to the user.
Machine Instruction
Team Presentation #6 [Team7] 9 / 22
Do
cum
en
t
Document
De
mo
Q &
AIn
trod
uctio
n
SRA(Ver. T7-2012.DWS.SRA-7.0)
Re
qu
irem
en
t
Time & Button & State Data
A Button Signal
B Button Signal
C Button Signal
D Button Signal
Determine Button
1.5
A Button Interface
1.1
B ButtonInterface
1.2
C ButtonInterface
1.3
D ButtonInterface
1.4
A Button Input
B Button Input
C Button Input
D Button Input
Button
LED & LightControl
2.1
Tick
LED MonitorInterface
2.3
Back LightInterface
2.4
Back Light Command
Display
Light
Time & Button & State Data
LED Monitor Command
PM Command
Time Control2.2
Tick
Time & Button & State Data
Tick
Tick
Tick
Tick
Tick
Time & Button & State Data
A Button Signal
B Button Signal
C Button Signal
D Button Signal
Determine Button
1.5
A Button Interface
1.1
B ButtonInterface
1.2
C ButtonInterface
1.3
D ButtonInterface
1.4
A Button Input
B Button Input
C Button Input
D Button Input
Button
LED & Light & Alarm Control
2.1
Tick
LED MonitorInterface
2.3
Back LightInterface
2.4Back Light Command
Display
Light
Time & Button & State Data
LED Monitor Command
PM Command
Time Control2.2
Tick
Time & Button & State Data
Tick
Tick
Tick
Tick
Tick
AlarmInterface
2.5
Sound
Alarm Command
Reference No. 2.5
Name Alarm Interface
Input Alarm Command
Output Sound
Process Description It enables/disables DWS’s alarm to turn on/off by sending Sound data converted f
rom corresponding Alarm Command. There are a number of data related with th
e possibility which is whether turn on or off of Alarm in Sound Data. And the entir
e flow of DWS is terminated at this process.
It will use Boolean data, it will coded to ‘IS_ALARM_SOUNDING’ as variable nam
e, which indicates whether alarm must be sounded or not. If the Boolean data ha
s true value, this process will command to the hardware whose name is ‘alarm be
ep’ in order to sound alarm’s beep. In addition to the Boolean data, this process e
xamine whether current millisecond time is in 0 or not. Because to sound alarm b
eep per 1 second, it must examine current millisecond time like that.
Alarm Command It is data being sent to Alarm Interface after it is pr
ocessed by corresponding Alarm Sounding proces
s. It saves command about sounding alarm. This d
ata being managed as using structure type in C lan
guage is used by each data process in order to ma
ke flow of DWS System.
Structure used in C La
nguage
Team Presentation #6 [Team7] 10 / 22
Do
cum
en
t
Document
De
mo
Q &
AIn
trod
uctio
n
SRA(Ver. T7-2012.DWS.SRA-7.0)
Re
qu
irem
en
t
LED Controller
2.1.2
PM Indicator
2.1.4
Back Light2.1.9
Time Keeping
2.1.6
Stop Watch2.1.8
Time Changing
2.1.7
Lap Time2.1.5
Disable
Tick
Tick
Tick
Enable
Disable
Trigger
Tick
Trigger
Trigger
Trigger
Enable
PM Command
Back Light Command
LED Monitor Command
LED Monitor Command
LED Monitor Command
LED Monitor Command
Light Controller
2.1.3Tick
PMController
2.1.1
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Tick
Tick
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Main Controller
2.1.2
PM Indicator
2.1.4
Back Light2.1.9
Time Keeping
2.1.6
Stop Watch2.1.8
Time Changing
2.1.7
Lap Time2.1.5
Disable
Tick
Tick
Tick
Enable
Disable
Trigger
Tick
Trigger
TriggerTrigger
Enable
PM Command
Back Light Command
LED Monitor Command
LED Monitor Command
LED Monitor Command
LED Monitor Command
Light Controller
2.1.3
Tick
PMController
2.1.1
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Tick
Tick
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Alarm2.1.11
Alarm Controller
2.1.10
Time & Button & State Data
Led Monitor Command
Time & Button & State Data
Time & Button & State Data
Trigger
Tick
Alarm Sounding
2.1.12
Disable EnableTime & Button & State Data
Alarm Command
Time & Button & State Data
Time & Button & State Data
Time & Button & State DataReference No. 2.1.10
Name Alarm Controller
Input Tick, Time & Button & State Data
Output Enable, Disable
Process Description It is controller that involved in operating about Alarm Sounding. When it loads
current alarm state from data repository, If the state is that alarm must be turn
ed on, it commands Alarm Sounding Process to beep alarm sound on DWS’s sp
eaker. If not, it commands the process to disable Alarm Sounding. This control
process examine current time information and alarm’s time information to det
ermine whether alarm’s beep is turned on or not. In addition to this, It examine
‘AL INDICATOR ON’ indicating the possibility which is about activation of alar
m. For example, the value whose name is ‘AL INDICATOR ON’ is set to false val
ue, alarm mode is deactivated, otherwise, it is activated. As Doing like this, it w
ill be set to true or false that ‘AL STATE’.
‘AL STATE’ value is in charge of changing the alarm controller’s state and the v
alue ‘IS ALARM SOUNDING’.
And there are two states in Alarm Controller. That is, the Two state are ‘ALARM
ON’ and ‘ALARM OFF’. The value whose name is ‘AL STATE’ is used to change o
ne state of this controller to the other.
Reference No. 2.1.11
Name Alarm
Input Trigger, Tick, Time & Button & State Data
Output LED Monitor command, Time & Button & State Data
Process Description Being implemented by Main Controller’s trigger, It sends LED Monito
r Command to LED Monitor Interface in order that DWS can operate
alarm function that is used to setting alarm’s time and alarm indicato
r and so on by DWS user. The difference with the process whose nam
e is ‘Alarm Sounding’ is that this process has roles about displaying th
e situation that alarm time which is set before is being changed by th
e user and toggling alarm’s activation turn on/off.
However, The ‘Alarm Sounding’ process has roles about deciding wh
ether alarm’s beep is sounded or not by using the value whose name
is ‘AL STATE’.
Reference No. 2.1.12
Name Alarm Sounding
Input Enable, Disable, Time & Button & State Data
Output Alarm Command, Time & Button & State Data
Process Description After receiving Enable/Disable value from Alarm Controller, It sends A
larm Command to Alarm Interface in order to turning on/off Alarm Be
ep.
when light controller's state is BACK LIGHT ON, The difference with t
he process whose name is ‘Alarm’ is that this process has roles about
deciding whether alarm’s beep is sounded or not by using the value w
hose name is ‘AL STATE’. however, The ‘Alarm Sounding’ process has r
oles about displaying the situation that alarm time which is set before
is being changed by the user and toggling alarm’s activation turn on/o
ff.
Team Presentation #6 [Team7] 11 / 22
Do
cum
en
t
Document
De
mo
Q &
AIn
trod
uctio
n
SRA(Ver. T7-2012.DWS.SRA-7.0)
Re
qu
irem
en
t
PM Indicator Off
PM Indicator On
[PM_STATE && TK]/Enable “PM Indicator”
[!PM_STATE || !TK]/Disable “PM Indicator”
PM Indicator Off
PM Indicator On
[PM_STATE && (TK || TC || AL || ALC)]/Enable “PM Indicator”
[!PM_STATE || (!TK && !TC && !AL && !ALC ]/Disable “PM Indicator”
Team Presentation #6 [Team7] 12 / 22
Do
cum
en
t
Document
De
mo
Q &
AIn
trod
uctio
n
SRA(Ver. T7-2012.DWS.SRA-7.0)
Re
qu
irem
en
t
ShowingCurrent Time
Time Changing
Stop WatchOff
ShowingLap Time
Tick/Trigger “Time Keeping”
SelectingSection
SettingTime
Stop WatchOn
Stop WatchReset
Tick[TC&&C]/Call “Selecting Section”
Tick/Return
Tick[TC&&B]/Call “Setting Time”
Tick/Return
Tick[TK&&!SW_ON&&C]/Trigger “Stop Watch”
Tick[TK&&A]/Trigger “Time Changing”
Tick[TK&&LAP&&SW_ON&&C]/Trigger “Lap Time”
Tick[STW&&SW_OFF&&A]/Call “Stop Watch Reset”
Tick[STW&&SW_OFF&&C]/Trigger “Time Keeping”
Tick[TK&&!LAP&&SW_ON&&C]/Trigger “Stop Watch”
Tick[STW&&SW_OFF&&B]/Call “Stop Watch On”
Tick/Return
Tick[STW&&SW_ON&&B]/Return
Tick[STW&&SW_ON&&A]/Trigger “Lap Time”
Call “Making New Lap Time”
Tick[LT&&B]/Trigger “Stop Watch”
Tick[LT&&C]/Trigger “Time Keeping”
Tick[STW&&SW_ON&&C]/Trigger “Time Keeping”
Tick[TC&&A]/Trigger “Time Keeping”
Making NewLap Time
Tick/Return
Tick[LT&&A]/Call “Making New Lap Time”
ShowingCurrent Time
Time Changing
Stop WatchOff
ShowingLap Time
Tick/Trigger “Time Keeping”
SelectingSection
SettingTime
Stop WatchOn
Stop WatchReset
Making NewLap Time
Showing Alarm
Alarm Changing
Selecting Alarm
Section
Setting Alarm Time
Toggle Alarm On/OffTick[TK&&C]
/Trigger “Alarm”
Tick[AL&&!SW_ON&&C]/Trigger “Stop Watch”
Tick[AL&&
!LAP&&
SW_O
N&
&C]
/Trigger “Stop Watch”
Tick[STW&&SW_OFF&&B]/Return
Tick[STW&&SW_ON&&B]/Call “Stop Watch On”
Tick
[STW
&&
SW_O
N&&
C]
/Trig
ger “
Tim
e Kee
ping”
Tick[STW&&SW_OFF&&C]
/Trigger “Time Keeping”
Tick[AL&&A]/Call “Alarm Changing” Tick[ALC&&A]
/Return
Tick[ALC&&B]/Call “Setting Alarm Time”
Tick/Return
Tick[ALC&&C]/Call “Selecting Alarm Section”
Tick/Return
Tick[AL&&B]/Call “Toggle Alarm”
Tick/Return
Tick[LT&&C]/Trigger “Time Keeping”
Tick[AL&&LAP&&SW_ON&&C]/Trigger “Time Keeping”
Tick[STW&&SW_ON&&A]/Trigger “Lap Time”
Call “Making New Lap Time”Tick/Return
Tick[LT&&A]/Call “Making New Lap Time”
Tick[LT&&B]/Trigger “Stop Watch”
Tick/Return
Tick[STW&&SW_OFF&&A]/Call “Stop Watch Reset”
Tick[TC&&A]/Trigger “Time Keeping”
Tick[TK&&A]/Trigger “Time Changing”
Tick[TC&&B]/Call “Setting Time”
Tick/Return
Tick/Return
Tick[TC&&C]/Call “Selecting Section”
Team Presentation #6 [Team7] 13 / 22
Do
cum
en
t
Document
De
mo
Q &
AIn
trod
uctio
n
SRA(Ver. T7-2012.DWS.SRA-7.0)
Re
qu
irem
en
t
Alarm Off
Alarm On
Tick[AL_STATE]/Enable “Alarm Sounding”
Tick[!AL_STATE || A || B || C || D]/Disable “Alarm Sounding”
Data Name
Description Format/Type
A( A Button Signal ) It is boolean datum indicating A button is clicked. If result of checking A button is clicked
, it has TRUE value. If not, it has FALSE value.
True/False
B( B Button Signal ) It is boolean datum indicating B button is clicked. If result of checking B button is clicked
, it has TRUE value. If not, it has FALSE value.
True/False
C( C Button Signal ) It is boolean datum indicating C button is clicked. If result of checking C button is clicked
, it has TRUE value. If not, it has FALSE value.
True/False
D( D Button Signal ) It is boolean datum indicating D button is clicked. If result of checking D button is clicke
d, it has TRUE value. If not, it has FALSE value.
True/False
AL_STATE This data is used to inspect current alarm state by referring to current time, alarm time
and whether the alarm indicator is turned on or not. When this AL_STATE value has true
value, The Alarm Sounding process will set ‘Alarm Command’ by getting and using AL_S
TATE. Thus, if Alarm Command is set to turn on alarm beep by Alarm Sounding process,
the hardware in associated with DWS’s speaker sounds alarm beep.
True/False
Team Presentation #6 [Team7] 14 / 22
Do
cum
en
t
Document
De
mo
Q &
AIn
trod
uctio
n
SRA(Ver. T7-2012.DWS.SRA-7.0)
Re
qu
irem
en
t
A Button Signal
B Button Signal
C Button Signal
D Button Signal
1.5
1.1
1.2
1.3
1.4
A Button Input
B Button Input
C Button Input
D Button Input
2.3
2.5
Display
Light
Time & Button & State Data
Button
2.2
Tick
Time & Button & State Data
Tick
Tick
Tick
Tick
Tick
2.1.2
2.1.4
2.1.9
2.1.6
2.1.8
2.1.7
2.1.5
Disable
Tick
Tick
Tick
Enable
Disable
Trigger
Tick
Trigger
TriggerTrigger
Enable
PM Command
Back Light Command
LED Monitor Command
LED Monitor Command
LED Monitor Command
LED Monitor Command
2.1.3
Tick
2.1.1
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Tick
Tick
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
2.1.11
2.1.10
Led Monitor Command
Time & Button & State Data
Time & Button & State Data
Trigger
Tick
2.1.12
DisableEnable
Time & Button & State Data
Alarm Command
2.4
Sound
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Team Presentation #6 [Team7] 15 / 22
Do
cum
en
t
Document
De
mo
Q &
AIn
trod
uctio
n
Ver. T7-2012.DWS.SDS-3.0
Re
qu
irem
en
t A Button Signal
B Button Signal
C Button Signal
D Button Signal
1.5
1.1
1.2
1.3
1.4
A Button Input
B Button Input
C Button Input
D Button Input
2.3
2.5
Display
Light
Time & Button & State Data
Button
2.2
Tick
Time & Button & State Data
Tick
Tick
Tick
Tick
Tick
2.1.2
2.1.4
2.1.9
2.1.6
2.1.8
2.1.7
2.1.5
Disable
Tick
Tick
Tick
Enable
Disable
Trigger
Tick
Trigger
TriggerTrigger
Enable
PM Command
Back Light Command
LED Monitor Command
LED Monitor Command
LED Monitor Command
LED Monitor Command
2.1.3
Tick
2.1.1
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Tick
Tick
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
2.1.11
2.1.10
Led Monitor Command
Time & Button & State Data
Time & Button & State Data
Trigger
Tick
2.1.12
DisableEnable
Time & Button & State Data
Alarm Command
2.4
Sound
A f f e r e nt Flow
( Input )
Ce nt r a l T r ansf or mat ion
(Cont r ol )
Ef f e r e nt Flow
(Out put )
Time & Button & State Data
Time & Button & State Data
Team Presentation #6 [Team7] 16 / 22
Do
cum
en
t
Document
De
mo
Q &
AIn
trod
uctio
n
Ver. T7-2012.DWS.SDS-3.0
Re
qu
irem
en
t
DWSCONTROL
Time Controller
PM Controller
Main Controller
Light Controller
Time Flowing
PM Indicator
Lab TimeTime
Keeping
Time Changing
Stop Watch
Back Light
Determine Button
A Button Interface
B Button Interface
C Button Interface
D Button Interface
LED Monitor Interface
Back Light Interface
A Button Signal B Button Signal C Button Signal D Button Signal
ButtonTime & Button & State Data
EnableDisable
Trigger
EnableDisable
Time & Button & State Data
Trigger
Trigger
Trigger
Time & Button & State Data Time & Button
& State Data
LightCommand
PM Command
LED Monitor Command
LED Monitor Command
LED Monitor Command
PM CommandLED Monitor Command Back Light Command
PM Command
LightCommand
LED Monitor Command
LED Monitor Command
Trigger
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Alarm Interface
Alarm Command
Alarm
Trigger
Time & Button & State Data
Time & Button & State Data
LED Monitor Command
Alarm Controller
Time & Button & State Data
Time & Button & State Data
Alarm Command
Alarm Sounding
EnableDisable
AlarmCommand
Time & Button & State Data
Time & Button & State Data
Team Presentation #6 [Team7] 17 / 22
Do
cum
en
t
Document
De
mo
Q &
AIn
trod
uctio
n
Ver. T7-2012.DWS.SDS-3.0
Re
qu
irem
en
t
DWSCONTROL
Time Controller
PM Controller
Main Controller
Light Controller
Time Flowing
PM Indicator
Lab TimeTime
Keeping
Time Changing
Stop Watch
Back Light
Determine Button
A Button Interface
B Button Interface
C Button Interface
D Button Interface
LED Monitor Interface
Back Light Interface
A Button Signal B Button Signal C Button Signal D Button Signal
Button Time & Button & State Data
PM Command
LED Monitor CommandEnable
DisableTrigger
Trigger Trigger Trigger EnableDisable
Time & Button & State Data
Time & Button & State Data
Time & Button& State
Data
LED Monitor Command
LED Monitor Command
LED Monitor Command
LightCommand
PM CommandLED Monitor Command Back Light Command
LED Monitor Command
LightCommand
PM Command
Trigger
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data Time & Button
& State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Alarm Interface
Alarm Command
Alarm
TriggerTime & Button & State Data
Time & Button & State Data
LED Monitor Command
Alarm Controller
Alarm Sounding
EnableDisable
AlarmCommand
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
AlarmCommand
Time & Button & State Data
Team Presentation #6 [Team7] 18 / 22
Do
cum
en
tD
em
oQ
& A
Intro
du
ction
Re
qu
irem
en
t
DWSCONTROL
Time Controller
PM Controller
Main Controller
Light Controller
Time Flowing
PM Indicator
Lab TimeTime
Keeping
Time Changing
Stop Watch
Back Light
Determine Button
A Button Interface
B Button Interface
C Button Interface
D Button Interface
LED Monitor Interface
Back Light Interface
A Button Signal B Button Signal C Button Signal D Button Signal
Button Time & Button & State Data
PM Command
LED Monitor CommandEnable
DisableTrigger
Trigger Trigger Trigger EnableDisable
Time & Button & State Data
Time & Button & State Data
Time & Button& State
Data
LED Monitor Command
LED Monitor Command
LED Monitor Command
LightCommand
PM CommandLED Monitor Command Back Light Command
LED Monitor Command
LightCommand
PM Command
Trigger
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data Time & Button
& State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Alarm Interface
Alarm Command
Alarm
TriggerTime & Button & State Data
Time & Button & State Data
LED Monitor Command
Alarm Controller
Alarm Sounding
EnableDisable
AlarmCommand
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
AlarmCommand
Time & Button & State Data
ShowingCurrent Time
Time Changing
Stop WatchOff
ShowingLap Time
Tick/Trigger “Time Keeping”
SelectingSection
SettingTime
Stop WatchOn
Stop WatchReset
Making NewLap Time
Showing Alarm
Alarm Changing
Selecting Alarm
Section
Setting Alarm Time
Toggle Alarm On/OffTick[TK&&C]
/Trigger “Alarm”
Tick[AL&&!SW_ON&&C]/Trigger “Stop Watch”
Tick[AL&&
!LAP&&
SW_O
N&
&C]
/Trigger “Stop Watch”
Tick[STW&&SW_OFF&&B]/Return
Tick[STW&&SW_ON&&B]/Call “Stop Watch On”
Tick
[STW
&&
SW_O
N&&
C]
/Trig
ger “
Tim
e Kee
ping”
Tick[STW&&SW_OFF&&C]
/Trigger “Time Keeping”
Tick[AL&&A]/Call “Alarm Changing” Tick[ALC&&A]
/Return
Tick[ALC&&B]/Call “Setting Alarm Time”
Tick/Return
Tick[ALC&&C]/Call “Selecting Alarm Section”
Tick/Return
Tick[AL&&B]/Call “Toggle Alarm”
Tick/Return
Tick[LT&&C]/Trigger “Time Keeping”
Tick[AL&&LAP&&SW_ON&&C]/Trigger “Time Keeping”
Tick[STW&&SW_ON&&A]/Trigger “Lap Time”
Call “Making New Lap Time”Tick/Return
Tick[LT&&A]/Call “Making New Lap Time”
Tick[LT&&B]/Trigger “Stop Watch”
Tick/Return
Tick[STW&&SW_OFF&&A]/Call “Stop Watch Reset”
Tick[TC&&A]/Trigger “Time Keeping”
Tick[TK&&A]/Trigger “Time Changing”
Tick[TC&&B]/Call “Setting Time”
Tick/Return
Tick/Return
Tick[TC&&C]/Call “Selecting Section”
Team Presentation #6 [Team7] 19 / 22
Do
cum
en
tD
em
oQ
& A
Intro
du
ction
Re
qu
irem
en
t
DWSCONTROL
Time Controller
PM Controller
Main Controller
Light Controller
Time Flowing
PM Indicator
Lab TimeTime
Keeping
Time Changing
Stop Watch
Back Light
Determine Button
A Button Interface
B Button Interface
C Button Interface
D Button Interface
LED Monitor Interface
Back Light Interface
A Button Signal B Button Signal C Button Signal D Button Signal
Button Time & Button & State Data
PM Command
LED Monitor CommandEnable
DisableTrigger
Trigger Trigger Trigger EnableDisable
Time & Button & State Data
Time & Button & State Data
Time & Button& State
Data
LED Monitor Command
LED Monitor Command
LED Monitor Command
LightCommand
PM CommandLED Monitor Command Back Light Command
LED Monitor Command
LightCommand
PM Command
Trigger
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data Time & Button
& State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
Alarm Interface
Alarm Command
Alarm
TriggerTime & Button & State Data
Time & Button & State Data
LED Monitor Command
Alarm Controller
Alarm Sounding
EnableDisable
AlarmCommand
Time & Button & State Data
Time & Button & State Data
Time & Button & State Data
AlarmCommand
Time & Button & State Data
Alarm Off
Alarm On
Tick[AL_STATE]/Enable “Alarm Sounding”
Tick[!AL_STATE || A || B || C || D]/Disable “Alarm Sounding”
Team Presentation #6 [Team7] 20 / 22
Do
cum
en
t
Demo
Q &
AIn
trod
uctio
nR
eq
uire
me
nt
De
mo
Team Presentation #6 [Team7] 21 / 22
Do
cum
en
t
Q & A
Intro
du
ction
Re
qu
irem
en
tD
em
oQ
& A
Team Presentation #6 [Team7] 22 / 22
Re
qu
irem
en
tD
ocu
me
nt
De
mo
Q &
AIn
trod
uctio
n