washing machine report
TRANSCRIPT
-
8/6/2019 Washing Machine Report
1/75
Table of Contents
1. Project Information 8
1.1 Objectmodel DiagramInformation... 9
1.1.1 ObjectModelDiagram name: My first model ................................................. 9
1.1.1.1 Contained Elements .............................................. 101.1.1.2 Overridden Properties ........................................... 10
1.1.2 ObjectModelDiagram name: composite........................................................................... 11
1.1.2.1 Contained Elements .............................................. 131.1.2.2 Overridden Properties ........................................... 131.2 Sequence Diagram Information ............................................................................ 15
1.2.1 SequenceDiagram name: MSC1..........................................................................................15
1.3 Panel Diagram Information ................................................................................... 16
1.3.1 PanelDiagram name: washingmachie..................................................................................161.3.1.1 Overridden Properties ........................................... 171.4 Components Information ...................................................................................... 17
1.4.1 Component Name:DefaultComponent ...............................................................................17
1.4.1.1 Configuration information for Component: DefaultComponent ............................. 171.4.1.1.1 DefaultConfig Configuration .......................... 171.4.1.1.2 DefaultConfig_copy Configuration ................ 181.4.1.1.3 simutale Configuration .................................. 191.4.1.2 File information for Component: DefaultComponent191.4.1.2.1 Files .............................................................. 191.5 Package Information .............................................................................................. 19
1.5.1 Package: Default .................................................................................................................191.5.1.1 Class Information for Package: Default ................. 191.5.1.1.1 Class name: washingmachine ...................... 191.5.1.1.1.1 Attribute Information for Class:
washingmachine 201.5.1.1.1.1.1 Attribute Name: coundn ........................................ 201.5.1.1.1.1.2 Attribute Name: string ........................................... 201.5.1.1.1.1.3 Attribute Name: x .................................................. 211.5.1.1.1.2 Operation information for Class
washingmachine 211.5.1.1.1.2.1 Operation name: washingmachine ........................ 21
1.5.1.1.1.2.2 Operation name: print ........................................... 211.5.1.1.1.2.2.1 Argument information for Operation print 221.5.1.1.1.2.3 Operation name: settime ....................................... 221.5.1.1.1.2.3.1 Argument information for Operation settime 221.5.1.1.1.2.4 Operation name: timer .......................................... 231.5.1.1.1.3 EventReception information for Class
washingmachine 231.5.1.1.1.3.1 EventReception name: evstart .............................. 23
-
8/6/2019 Washing Machine Report
2/75
2
1.5.1.1.1.3.2 EventReception name: evstop .............................. 231.5.1.1.1.3.3 EventReception name: evquick ............................. 241.5.1.1.1.3.4 EventReception name: evnormal .......................... 241.5.1.1.1.3.5 EventReception name: evdry ................................ 241.5.1.1.1.3.6 EventReception name: evwash ............................. 24
1.5.1.1.1.3. EventReception name: evreset................. 241.5.1.1.1.4 Relation information for Classwashingmachine 25
1.5.1.1.1.4.1 Relation name: itsWash ....................................... 251.5.1.1.1.4.2 Relation name: itsTimer1 .......................... 251.5.1.1.1.4.3 Relation name: itsDry
251.5.1.1.1.5 Statechart information for Class
washingmachine 261.5.1.1.1.5. State information
26
1.5.1.1.1.5.1. Default Transition information for State ROOT18 1.5.1.1.1.5.1.2 Sub State Information26
1.5.1.1.1.5.1.2.1 State name: washingmac... .26
1.5.1.1.1.5.1.2.2 Incoming Transition information for
State washingmac ................................................28
1.5.1.1.1.5.1.2.3 Outgoing Transition information for
State washingmac ...............................................28
1.5.1.1.1.5.1.2.4 Trigger information for Transition 9....................28
1.5.1.1.1.5.1.2.5 Trigger name: ....................................................28
1.5.1.1.1.5.1.2.6 State information for Transition 9.......................28
1.5.1.1.1.5.1.2.7 State name: washingmac....................................281.5.1.1.1.5.1.2.8 State name: Active ..............................................29
1.5.1.1.1.5.1.2.9 Connector information for State Active ...............29
1.5.1.1.1.5.1.2.10 Connector name: condition_37..........................29
1.5.1.1.1.5.1.2.11 Incoming Transition information for
Connector condition_37.....................................29
1.5.1.1.1.5.1.2.12 Action information for Transition 3.....................29
1.5.1.1.1.5.1.2.13 Action name: .......................................................29
1.5.1.1.1.5.1.2.14 Trigger information for Transition 3.....................30
1.5.1.1.1.5.1.2.15 Trigger name: ......................................................30
1.5.1.1.1.5.1.2.16 Connector information for Transition 3...............301.5.1.1.1.5.1.2.17 Connector name: condition_37...........................30
1.5.1.1.1.5.1.2.18 Outgoing Transition information for
Connector condition_37......................................30
1.5.1.1.1.5.1.2.19 Guard information for Transition 4......................30
1.5.1.1.1.5.1.2.20 Guard name: .......................................................30
1.5.1.1.1.5.1.2.21 Connector information for Transition 4...............31
1.5.1.1.1.5.1.2.22 Connector name: condition_37...........................31
-
8/6/2019 Washing Machine Report
3/75
3
1.5.1.1.1.5.1.2.23 Guard information for Transition 5......................31
1.5.1.1.1.5.1.2.24 Guard name: .......................................................31
1.5.1.1.1.5.1.2.25 Connector information for Transition 5...............31
1.5.1.1.1.5.1.2.26 Connector name: condition_37...........................31
1.5.1.1.1.5.1.2.27 Connector name: condition_41...........................31
1.5.1.1.1.5.1.2.28 Incoming Transition information forConnector condition_41.....................................32
1.5.1.1.1.5.1.2.29 Action information for Transition 6.....................32
1.5.1.1.1.5.1.2.30 Action name: .......................................................32
1.5.1.1.1.5.1.2.31 Trigger information for Transition 6.....................32
1.5.1.1.1.5.1.2.32 Trigger name: ......................................................32
1.5.1.1.1.5.1.2.33 Connector information for Transition 6...............32
1.5.1.1.1.5.1.2.34 Connector name: condition_41...........................32
1.5.1.1.1.5.1.2.35 Outgoing Transition information for
Connector condition_41......................................33
1.5.1.1.1.5.1.2.36 Guard information for Transition 7......................33
1.5.1.1.1.5.1.2.37 Guard name: .......................................................33
1.5.1.1.1.5.1.2.38 Connector information for Transition 7...............33
1.5.1.1.1.5.1.2.39 Connector name: condition_41...........................33
1.5.1.1.1.5.1.2.40 Guard information for Transition 8......................34
1.5.1.1.1.5.1.2.41 Guard name: .......................................................34
1.5.1.1.1.5.1.2.42 Connector information for Transition 8...............34
1.5.1.1.1.5.1.2.43 Connector name: condition_41...........................34
1.5.1.1.1.5.1.2.44 Incoming Transition information for State Active 34
1.5.1.1.1.5.1.2.45 Trigger information for Transition 9.....................34
1.5.1.1.1.5.1.2.46 Trigger name: ......................................................34
1.5.1.1.1.5.1.2.47 State information for Transition 9 .......................351.5.1.1.1.5.1.2.48 State name: washingmac.....................................35
1.5.1.1.1.5.1.2.49 Action information for Transition 11....................35
1.5.1.1.1.5.1.2.50 Action name: .......................................................35
1.5.1.1.1.5.1.2.51 Trigger information for Transition 11...................35
1.5.1.1.1.5.1.2.52 Trigger name: ......................................................35
1.5.1.1.1.5.1.2.53 State information for Transition 11.....................36
1.5.1.1.1.5.1.2.54 State name: Active ..............................................36
1.5.1.1.1.5.1.2.55 Outgoing Transition information for State Active 36
1.5.1.1.1.5.1.2.56 Action information for Transition 11....................36
1.5.1.1.1.5.1.2.57 Action name: .......................................................361.5.1.1.1.5.1.2.58 Trigger information for Transition 11...................36
1.5.1.1.1.5.1.2.59 Trigger name: ......................................................36
1.5.1.1.1.5.1.2.60 State information for Transition 11.....................37
1.5.1.1.1.5.1.2.61 State name: Active ..............................................37
1.5.1.1.1.5.1.2.62 Sub State Information .........................................37
1.5.1.1.1.5.1.2.63 State name: dry ...................................................37
1.5.1.1.1.5.1.2.64 Incoming Transition information for State dry .....37
-
8/6/2019 Washing Machine Report
4/75
4
1.5.1.1.1.5.1.2.65 Guard information for Transition 7......................38
1.5.1.1.1.5.1.2.66 Guard name: .......................................................38
1.5.1.1.1.5.1.2.67 Action information for Transition 13....................38
1.5.1.1.1.5.1.2.68 Action name: .......................................................38
1.5.1.1.1.5.1.2.69 Trigger information for Transition 13...................38
1.5.1.1.1.5.1.2.70 Trigger name: ......................................................381.5.1.1.1.5.1.2.71 State information for Transition 13.....................38
1.5.1.1.1.5.1.2.72 State name: Dtimer .............................................39
1.5.1.1.1.5.1.2.73 Outgoing Transition information for State dry .....39
1.5.1.1.1.5.1.2.74 Action information for Transition 6.....................39
1.5.1.1.1.5.1.2.75 Action name: .......................................................39
1.5.1.1.1.5.1.2.76 Trigger information for Transition 6.....................39
1.5.1.1.1.5.1.2.77 Trigger name: ......................................................39
1.5.1.1.1.5.1.2.78 State information for Transition 6.......................40
1.5.1.1.1.5.1.2.79 State name: dry ...................................................40
1.5.1.1.1.5.1.2.80 State information for Transition 6.......................40
1.5.1.1.1.5.1.2.81 State name: condition_41...................................40
1.5.1.1.1.5.1.2.82 State name: washing ...........................................40
1.5.1.1.1.5.1.2.83 Incoming Transition information for State washing41
1.5.1.1.1.5.1.2.84 Guard information for Transition 4......................41
1.5.1.1.1.5.1.2.85 Guard name: .......................................................41
1.5.1.1.1.5.1.2.86 Action information for Transition 12....................41
1.5.1.1.1.5.1.2.87 Action name: .......................................................41
1.5.1.1.1.5.1.2.88 Trigger information for Transition 12...................41
1.5.1.1.1.5.1.2.89 Trigger name: ......................................................41
1.5.1.1.1.5.1.2.90 State information for Transition 12.....................42
1.5.1.1.1.5.1.2.91 State name: Wtimer ............................................421.5.1.1.1.5.1.2.92 Outgoing Transition information for State washing42
1.5.1.1.1.5.1.2.93 Action information for Transition 3.....................42
1.5.1.1.1.5.1.2.94 Action name: .......................................................42
1.5.1.1.1.5.1.2.95 Trigger information for Transition 3.....................42
1.5.1.1.1.5.1.2.96 Trigger name: ......................................................43
1.5.1.1.1.5.1.2.97 State information for Transition 3.......................43
1.5.1.1.1.5.1.2.98 State name: washing ...........................................43
1.5.1.1.1.5.1.2.99 State information for Transition 3.......................43
1.5.1.1.1.5.1.2.100 State name: condition_37...................................43
1.5.1.1.1.5.1.2.101 State name: Mode ...............................................431.5.1.1.1.5.1.2.102 Incoming Transition information for State Mode .44
1.5.1.1.1.5.1.2.103 Outgoing Transition information for State Mode .44
1.5.1.1.1.5.1.2.104 Trigger information for Transition 1.....................44
1.5.1.1.1.5.1.2.105 Trigger name: ......................................................44
1.5.1.1.1.5.1.2.106 State information for Transition 1.......................44
1.5.1.1.1.5.1.2.107 State name: Mode ...............................................44
1.5.1.1.1.5.1.2.108 Trigger information for Transition 2.....................45
-
8/6/2019 Washing Machine Report
5/75
5
1.5.1.1.1.5.1.2.109 Trigger name: ......................................................45
1.5.1.1.1.5.1.2.110 State information for Transition 2.......................45
1.5.1.1.1.5.1.2.111 State name: Mode ...............................................45
1.5.1.1.1.5.1.2.112 State name: complete .........................................46
1.5.1.1.1.5.1.2.113 Incoming Transition information for State complete46
1.5.1.1.1.5.1.2.114 Guard information for Transition 5......................461.5.1.1.1.5.1.2.115 Guard name: .......................................................46
1.5.1.1.1.5.1.2.116 Guard information for Transition 8......................47
1.5.1.1.1.5.1.2.117 Guard name: .......................................................47
1.5.1.1.1.5.1.2.118 State name: Wtimer ............................................47
1.5.1.1.1.5.1.2.119 Incoming Transition information for State Wtimer47
1.5.1.1.1.5.1.2.120 Trigger information for Transition 1.....................47
1.5.1.1.1.5.1.2.121 Trigger name: ......................................................47
1.5.1.1.1.5.1.2.122 State information for Transition 1.......................48
1.5.1.1.1.5.1.2.123 State name: Mode ...............................................48
1.5.1.1.1.5.1.2.124 Outgoing Transition information for State Wtimer48
1.5.1.1.1.5.1.2.125 Action information for Transition 12....................48
1.5.1.1.1.5.1.2.126 Action name: .......................................................48
1.5.1.1.1.5.1.2.127 Trigger information for Transition 12...................48
1.5.1.1.1.5.1.2.128 Trigger name: ......................................................48
1.5.1.1.1.5.1.2.129 State information for Transition 12.....................49
1.5.1.1.1.5.1.2.130 State name: Wtimer ............................................49
1.5.1.1.1.5.1.2.131 State name: Dtimer .............................................49
1.5.1.1.1.5.1.2.132 Incoming Transition information for State Dtimer49
1.5.1.1.1.5.1.2.133 Trigger information for Transition 2.....................49
1.5.1.1.1.5.1.2.134 Trigger name: ......................................................49
1.5.1.1.1.5.1.2.135 State information for Transition 2.......................501.5.1.1.1.5.1.2.136 State name: Mode ...............................................50
1.5.1.1.1.5.1.2.137 Outgoing Transition information for State Dtimer50
1.5.1.1.1.5.1.2.138 Action information for Transition 13....................50
1.5.1.1.1.5.1.2.139 Action name: .......................................................50
1.5.1.1.1.5.1.2.140 Trigger information for Transition 13...................50
1.5.1.1.1.5.1.2.141 Trigger name: ......................................................51
1.5.1.1.1.5.1.2.142 State information for Transition 13.....................51
1.5.1.1.1.5.1.2.143 State name: Dtimer .............................................51
1.5.1.1.1.5.1.2.144 State name: complete .........................................51
1.5.1.1.1.6 Overridden Properties ........................................... 511.5.1.1.2 Class name: wash ......................................... 521.5.1.1.2.1 Attribute Information for Class: wash .................... 521.5.1.1.2.1.1 Attribute Name: timervalue .................................... 521.5.1.1.2.2 Operation information for Class wash ................... 521.5.1.1.2.2.1 Operation name: soaking__ .................................. 521.5.1.1.2.2.2 Operation name: spinning__ ................................. 531.5.1.1.2.2.2.1 Argument information for Operation spinning__ 53
-
8/6/2019 Washing Machine Report
6/75
6
1.5.1.1.2.3 EventReception information for Class wash .......... 541.5.1.1.2.3.1 EventReception name: evstart .............................. 541.5.1.1.2.3.2 EventReception name: evstop .............................. 541.5.1.1.2.3.3 EventReception name: evst .................................. 541.5.1.1.2.4 Relation information for Class wash ...................... 54
1.5.1.1.2.4.1 Relation name: itsWashingmachine ...................... 541.5.1.1.3 Class name: Dry............................................ 551.5.1.1.3.1 Attribute Information for Class: Dry ....................... 551.5.1.1.3.1.1 Attribute Name: timevalue ..................................... 551.5.1.1.3.2 Operation information for Class Dry ...................... 561.5.1.1.3.2.1 Operation name: dryingclothes__ ......................... 561.5.1.1.3.2.1.1 Argument information for Operation dryingclothes__ 561.5.1.1.3.2.2 Operation name: rinse__ ....................................... 561.5.1.1.3.3 EventReception information for Class Dry ............ 571.5.1.1.3.3.1 EventReception name: evstart .............................. 571.5.1.1.3.3.2 EventReception name: evstop .............................. 57
1.5.1.1.3.4 Relation information for Class Dry......................... 571.5.1.1.3.4.1 Relation name: itsWashingmachine ...................... 571.5.1.1.3.4.2 Relation name: itsWashingmachine_1 .................. 581.5.1.1.4 Class name: timer1 ....................................... 581.5.1.1.4.1 Attribute Information for Class: timer1 ................... 581.5.1.1.4.1.1 Attribute Name: minute ......................................... 581.5.1.1.4.1.2 Attribute Name: second ......................................... 591.5.1.1.4.2 Operation information for Class timer1.................. 591.5.1.1.4.2.1 Operation name: timer1 ........................................ 591.5.1.1.4.2.2 Operation name: tick ............................................. 601.5.1.1.4.2.3 Operation name: timerReset ................................. 601.5.1.1.4.2.4 Operation name: timershow .................................. 611.5.1.1.4.3 EventReception information for Class timer1 ........ 611.5.1.1.4.3.1 EventReception name: evStartStop ...................... 611.5.1.1.4.4 Relation information for Class timer1 .................... 621.5.1.1.4.4.1 Relation name: itsWashingmachine ...................... 621.5.1.1.4.4.2 Relation name: itsWashingmachine_1 .................. 621.5.1.1.4.5 Overridden Properties ........................................... 631.5.1.1.5 Class name: washer...................................... 631.5.1.2 Actor Information for Package: Default ................. 631.5.1.2.1 Actor name: user ........................................... 631.5.1.2.1.1 Relation information for Actor user ........................ 641.5.1.2.1.1.1 Relation name: itsTimer ........................................ 641.5.1.2.1.1.2 Relation name: itsAdd clothes ............................... 641.5.1.2.1.1.3 Relation name: itsAdd detergent ........................... 641.5.1.2.1.1.4 Relation name: itsAdd water ................................. 651.5.1.3 UseCase Information for Package: Default ........... 651.5.1.3.1 UseCase name: timer ................................... 651.5.1.3.1.1 Relation information for UseCase timer ................ 661.5.1.3.1.1.1 Relation name: itsUser .......................................... 66
-
8/6/2019 Washing Machine Report
7/75
7
1.5.1.3.2 UseCase name: washing .............................. 661.5.1.3.3 UseCase name: drying .................................. 671.5.1.3.4 UseCase name: alarm clock ......................... 671.5.1.3.5 UseCase name: add water ............................ 671.5.1.3.5.1 Relation information for UseCase add water ......... 68
1.5.1.3.5.1.1 Relation name: itsUser .......................................... 681.5.1.3.6 UseCase name: add detergent ..................... 681.5.1.3.6.1 Relation information for UseCase add
detergent 691.5.1.3.6.1.1 Relation name: itsUser .......................................... 691.5.1.3.7 UseCase name: add clothes ......................... 691.5.1.3.7.1 Relation information for UseCase add clothes ...... 691.5.1.3.7.1.1 Relation name: itsUser .......................................... 691.5.1.4 Event information for Package Default .................. 701.5.1.4.1 Event name: timerset .................................... 701.5.1.4.2 70
1.5.1.4.3 Event name: evstart ...................................... 701.5.1.4.4 701.5.1.4.5 Event name: evstop ...................................... 701.5.1.4.6 701.5.1.4.7 Event name: evquick ..................................... 711.5.1.4.8 711.5.1.4.9 Event name: evnormal .................................. 711.5.1.4.10 711.5.1.4.11 Event name: evst .......................................... 711.5.1.4.12 711.5.1.4.13 Event name: evStartStop .............................. 711.5.1.4.14 711.5.1.4.15 Event name: evwash ..................................... 721.5.1.4.16 721.5.1.4.17 Event name: evdry ........................................ 721.5.1.4.18 721.5.1.4.19 Event name: evreset ..................................... 721.5.1.4.20 721.5.1.5 Overridden Properties ........................................... 721.5.1.6 Usecase Diagram Information ............................... 731.5.1.6.1 UsecaseDiagram name: washing Machine ... 741.5.1.6.1.1 Contained Elements .............................................. 741.5.1.6.1.2 Overridden PropertiesError! Bookmark not defined.
1.5.2 Package: PredefinedTypes .......................................................Error! Bookmark not defined.
1.5.3 Package: PredefinedTypesCpp .................................................Error! Bookmark not defined.
-
8/6/2019 Washing Machine Report
8/75
8
1.Project Information
About the Rational Rhapsody Product
The Rational Rhapsody product is a visual design tool for developing object-oriented embedded
software, and performing structural and systems modeling. It enables you to perform these tasks:
y Analyze, during which you can define, analyze, and validate the system requirements.
y Design, during which you can specify and design the architecture.
y Implement, during which you can automatically generate code build and run it within theRational Rhapsody product.
y Model Execution, during which you can animate themodel on the local host or a remote target
to perform design-level debugging within animated views.
UML Diagrams
The following are the UML diagrams in Rational Rhapsody:
Use Case Diagrams show themain functions of the system (use cases) and theentities (actors)
outside the system.
Structure Diagrams show the system structure and identify the organizational pieces of the system.
Object Model Diagrams show the structure of the system in terms of classes, objects, and the
relationships between these structural elements.Sequence Diagrams show sequences of steps and messages passed between structural elements when
executing a particular instance of a use case.
ActivityDiagrams specify a flow for classifiers (classes, actors, use cases), objects, and operations.
Statecharts show the behavior of a particular classifier (class, actor, use case) or object over its entire
life cycle.
Collaboration Diagramsprovide the same information as sequence diagrams,emphasizing structure
rather than time.
Component Diagrams describe the organization of the software units and the dependencies amongunits.
Deployment Diagrams show the nodes in the final system architecture and the connections betweenthem.
-
8/6/2019 Washing Machine Report
9/75
9
.
1.1 Objectmodel Diagram Information
1.1.1 ObjectModelDiagram name: My first model
washingmachine
coundn:int=0
string:RhpString=" "
x:int=0
washingmachine()
print(m:RhpString)...
evstart()
evstop()
evquick()evnormal()
timer():void
evdry()
evwash()
settime(min:int):vo...
evreset()
1
wash
timervalue:int=0
spinning__(dtimer:i...
soaking__():voidevstart()
evstop()
evst()
1
Dry
timevalue:int=0
dryingclothes__(wti.
rinse__():void
evstart()
evstop()
-
8/6/2019 Washing Machine Report
10/75
10
CMHeader:
Current Directory: J:\Modified\Projectimp - Copy (3)\Projectimp_rpy
Description: This is our first object model diagram which contains three classes-wachingmachine,
wash, and Dry.
These classes contain their attributes and operations.We are using here two types of operations-
->Primitive operation-
-> Reception- (event)-defines the ability of the object to receive thet type of event.
Each operation has a name and return type.
DisplayName: My first model
FileName:
IsOfMetaClass: false
IsShowDisplayName: falseIsStub: false
Metaclass: ObjectModelDiagram
RequirementTraceabilityHandle:0
1.1.1.1 Contained Elements
Element Type Element Name
Class washingmachine
Class wash
Class Dry
AssociationEnd itsWashingmachine_1AssociationEnd itsWashingmachine
1.1.1.2 Overridden Properties
Subject Metaclass Name Type Value
Format Aggregation Line string 1
Format Aggregation Font string 0,0,128
Format Aggregation Font string Arial
Format Aggregation Font string 10
Format Aggregation Line string 121,0,0Format Class Line string 1
Format Class Font string 0,0,0
Format Class Fill string 255,255,255
Format Class Font string Arial
Format Class DefaultSize string 0,34,84,148
Format Class Line string 0
Format Class Font string 10
-
8/6/2019 Washing Machine Report
11/75
11
Format Class Line string 121,122,0
Format Inheritance Line string 1
Format Inheritance Font string 0,0,128
Format Inheritance Font string Arial
Format Inheritance Font string 10
Format Inheritance Line string 0,16,230Format Package Line string 1
Format Package Font string 0,0,0
Format Package Fill string 255,255,255
Format Package Font string Arial
Format Package DefaultSize string 0,0,216,151
Format Package Font string 10
Format Package Line string 221,0,0
Format Association Line string 1
Format Association Font string 0,0,128
Format Association Font string Arial
Format Association Font string 10
Format Association Line string 221,0,0
Format Depends Line string 0
Format Depends Font string 0,0,128
Format Depends Font string Arial
Format Depends Line string 1
Format Depends Font string 10
Format Depends Line string 0,16,230
Format Composition Line string 1
Format Composition Font string 0,0,128
Format Composition Font string ArialFormat Composition Font string 10
Format Composition Line string 121,0,0
1.1.2 ObjectModelDiagram name: composite
CMHeader:
Current Directory: J:\Modified\Projectimp - Copy (3)\Projectimp_rpy
Description:
DisplayName: composite
FileName:IsOfMetaClass: false
IsShowDisplayName: false
IsStub: false
Metaclass: ObjectModelDiagram
RequirementTraceabilityHandle:0
-
8/6/2019 Washing Machine Report
12/75
12
washer
itsDry:Dry1
timevalue:...
evstart()
evstop()
itsWashingmachine:was1
coundn:intstring:RhpString
x:int
washingmachine()
print(m:RhpString):v...
evstart()
evstop()
evquick()
evnormal()
timer():void
evdry()
evwash()
settime(min:int):void
itsDry
itsWash:wash1
timervalue:int
evstart()
evstop()
itsWash
-
8/6/2019 Washing Machine Report
13/75
13
1.1.2.1 Contained Elements
Element Type Element Name
Class washer
Object itsDry
Object itsWashingmachine
Object itsWash
Link itsWashingmachine_itsDry
Link itsWashingmachine_itsWash
1.1.2.2 Overridden Properties
Subject Metaclass Name Type Value
Format Aggregation Line string 1
Format Aggregation Font string 0,0,128
Format Aggregation Font string Arial
Format Aggregation Font string 10Format Aggregation Line string 121,0,0
Format Class Line string 1
Format Class Font string 0,0,0
Format Class Fill string 255,255,255
Format Class Font string Arial
Format Class DefaultSize string 0,34,84,148
Format Class Line string 0
Format Class Font string 10
Format Class Line string 121,122,0
Format Link Line string 1
Format Link Font string 0,0,128
Format Link Font string 1
Format Link Font string Arial
Format Link Font string 10
Format Link Line string 0,112,0
Format Inheritance Line string 1
Format Inheritance Font string 0,0,128
Format Inheritance Font string Arial
Format Inheritance Font string 10
Format Inheritance Line string 0,16,230
Format Package Line string 1Format Package Font string 0,0,0
Format Package Fill string 255,255,255
Format Package Font string Arial
Format Package DefaultSize string 0,0,216,151
Format Package Font string 10
Format Package Line string 221,0,0
-
8/6/2019 Washing Machine Report
14/75
14
Format Association Line string 1
Format Association Font string 0,0,128
Format Association Font string Arial
Format Association Font string 10
Format Association Line string 221,0,0
Format Depends Line string 0Format Depends Font string 0,0,128
Format Depends Font string Arial
Format Depends Line string 1
Format Depends Font string 10
Format Depends Line string 0,16,230
Format Object Font string 1
Format Object Line string 1
Format Object Font string 0,0,0
Format Object Fill string 255,255,255
Format Object Font string Arial
Format Object DefaultSize string 0,34,84,148
Format Object Line string 0
Format Object Font string 10
Format Object Line string 121,122,0
Format Composition Line string 1
Format Composition Font string 0,0,128
Format Composition Font string Arial
Format Composition Font string 10
Format Composition Line string 121,0,0
-
8/6/2019 Washing Machine Report
15/75
15
1.2 Sequence Diagram Information
1.2.1 SequenceDiagram name: MSC1
CMHeader:
/Current Directory: J:\Modified\Projectimp - Copy (3)\Projectimp_rpy
Description:
DisplayName: MSC1
FileName:
IsOfMetaClass: falseIsShowDisplayName: false
IsStub: false
Metaclass: SequenceDiagram
RequirementTraceabilityHandle:0
-
8/6/2019 Washing Machine Report
16/75
16
1.3 Panel Diagram Information
1.3.1 PanelDiagram name: washingmachie
Reset
working
wash
Dryminutes
seconds
Start
-
8/6/2019 Washing Machine Report
17/75
17
CMHeader:
Current Directory: J:\Modified\Projectimp - Copy (3)\Projectimp_rpy
Description:
DisplayName: washingmachie
FileName:IsOfMetaClass: false
IsShowDisplayName: false
IsStub: false
Metaclass: PanelDiagram
RequirementTraceabilityHandle: 0
1.3.1.1 Overridden Properties
Subject Metaclass Name Type Value
Format PushButton Fill string 1Format PushButton Line string 0
Format PushButton Line string 1
Format PushButton DefaultSize string 0,0,100,50
Format PushButton Line string 0,0,0
General Graphics PanelControlTy
peBindingDispl
ay
string All
1.4 Components Information
1.4.1 Component Name:DefaultComponent
Type:executable
Directory:J:\Modified\Projectimp - Copy (3)\DefaultComponent\simutale
Libraries:
Additional Sources:
Standard Headers:
Include Path:
Description:Components are binary level entities that are the result of compilation.
1.4.1.1 Configuration information for Component: DefaultComponent
1.4.1.1.1 DefaultConfig Configuration
General
Configuration Name: DefaultConfig
Description:
-
8/6/2019 Washing Machine Report
18/75
18
Initialization Scope:explicit
Intialization Code:
Settings
Directory:DefaultComponent\DefaultConfig
Libraries:
Additional Sources:Standard Headers
Include Path:
Instrumentation:animate
Time Model:real
Statechart Implemenatation:reusable
Environment Settings
Environment:
BuildSet: Debug
Compiler Switches: /I . /I $OMDefaultSpecificationDirectory /I $(OMROOT)\LangCpp /I
$(OMROOT)\LangCpp\oxf /nologo /W3 $(ENABLE_EH) $(CRT_FLAGS) $OMCPPCompileCommandSet
/D "_AFXDLL" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "_WINDOWS" $(INST_FLAGS)
$(INCLUDE_PATH) $(INST_INCLUDES) /c
Link Switches:$OMLinkCommandSet /NOLOGO
1.4.1.1.2 DefaultConfig_copy Configuration
General
Configuration Name: DefaultConfig_copy
Description:
Initialization Scope:explicit
Intialization Code:Settings
Directory:DefaultComponent\DefaultConfig_copy
Libraries:
Additional Sources:
Standard Headers
Include Path:
Instrumentation:animate
Time Model:real
Statechart Implemenatation:reusable
Environment Settings
Environment:
BuildSet: Debug
Compiler Switches: /I . /I $OMDefaultSpecificationDirectory /I $(OMROOT)\LangCpp /I
$(OMROOT)\LangCpp\oxf /nologo /W3 $(ENABLE_EH) $(CRT_FLAGS) $OMCPPCompileCommandSet
/D "_AFXDLL" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "_WINDOWS" $(INST_FLAGS)
$(INCLUDE_PATH) $(INST_INCLUDES) /c
-
8/6/2019 Washing Machine Report
19/75
19
Link Switches:$OMLinkCommandSet /NOLOGO
1.4.1.1.3 simutale Configuration
General
Configuration Name: simutale
Description:Initialization Scope:explicit
Intialization Code:
Settings
Directory:DefaultComponent\simutale
Libraries:
Additional Sources:
Standard Headers
Include Path:
Instrumentation:animate
Time Model:simulated
Statechart Implemenatation:reusable
Environment Settings
Environment:
BuildSet: Debug
Compiler Switches: /I . /I $OMDefaultSpecificationDirectory /I $(OMROOT)\LangCpp /I
$(OMROOT)\LangCpp\oxf /nologo /W3 $(ENABLE_EH) $(CRT_FLAGS) $OMCPPCompileCommandSet
/D "_AFXDLL" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "_WINDOWS" $(INST_FLAGS)
$(INCLUDE_PATH) $(INST_INCLUDES) /c
Link Switches:$OMLinkCommandSet /NOLOGO
1.4.1.2 File information for Component: DefaultComponent
1.4.1.2.1 Files
Path:
File Type:folder
Description:
1.5 Package Information
1.5.1 Package: Default
1.5.1.1 Class Information for Package: Default
1.5.1.1.1 Class name: washingmachine
CMHeader :
Current Directory:J:\Modified\Projectimp - Copy (3)\Projectimp_rpy
-
8/6/2019 Washing Machine Report
20/75
20
Description:Class 'washingmachine' contains-
three attributes- count, RhpString, x;
ten operations, in which we are using four operations- evdry(), evwash(), settime(), evreset(). Other
operations will be used when we connect this model to any system.
Display Name: washingmachineFile Name:
IsActive: false
IsBehaviorOverriden: true
IsComposite: false
IsOfMetaclass: false
IsReactive: true
IsShowDisplayName: false
IsStub: false
MetaClass: Class
RequirementTraceabilityHandle:0
1.5.1.1.1.1 Attribute Information for Class: washingmachine
1.5.1.1.1.1.1 Attribute Name: coundn
Declaration:
Default Value: 0
IsStatic: false Visibility: public
Description:
DisplayName: coundn
IsOfMetaClass:false
IsShowDisplayName: falseMetaClass: Attribute
RequirementTraceabilityHandle:0
Type: int
Stereotype:
1.5.1.1.1.1.2 Attribute Name: string
Declaration:
Default Value: " "
IsStatic: false Visibility: public
Description:DisplayName: string
IsOfMetaClass:false
IsShowDisplayName: false
MetaClass: Attribute
RequirementTraceabilityHandle:0
Type: RhpString
Stereotype:
-
8/6/2019 Washing Machine Report
21/75
21
1.5.1.1.1.1.3 Attribute Name: x
Declaration:
Default Value: 0
IsStatic: false Visibility: public
Description:DisplayName: x
IsOfMetaClass:false
IsShowDisplayName: false
MetaClass: Attribute
RequirementTraceabilityHandle:0
Type: int
Stereotype:
1.5.1.1.1.2 Operation information for Class washingmachine
1.5.1.1.1.2.1 Operation name: washingmachine
Description:
DisplayName: washingmachine
Initializer:
IsCgDerived: false
IsConst: false
IsCtoR: true
IsDtoR: false
IsOfMetaclass: false
IsShowDisplayName: false
IsTrigger: falseMetaclass: Operation
Body:
IsAbstract: false
IsStatic: false
IsVirtual: false
Visibility: public
Signature: washingmachine()
RequirementTraceabilityHandle:0
Return Type Name:
1.5.1.1.1.2.2O
peration name: print
Description:
DisplayName: print()
Initializer:
IsCgDerived: false
IsConst: false
IsCtoR: false
-
8/6/2019 Washing Machine Report
22/75
22
IsDtoR: false
IsOfMetaclass: false
IsShowDisplayName: false
IsTrigger: false
Metaclass: Operation
Body: string=m;std::cout
-
8/6/2019 Washing Machine Report
23/75
23
1.5.1.1.1.2.4 Operation name: timer
Description:
DisplayName: timer
Initializer:IsCgDerived: false
IsConst: false
IsCtoR: false
IsDtoR: false
IsOfMetaclass: false
IsShowDisplayName: false
IsTrigger: false
Metaclass: Operation
Body: coundn--;
IsAbstract: falseIsStatic: false
IsVirtual: false
Visibility: public
Signature: timer()
RequirementTraceabilityHandle:0
Return Type Name: void
1.5.1.1.1.3 EventReception information for Class washingmachine
1.5.1.1.1.3.1 EventReception name: evstart
Description:DisplayName: evstart
IsOfMetaclass: false
IsShowDisplayName: false
Metaclass: EventReception
RequirementTraceabilityHandle:0
Signature: evstart()
1.5.1.1.1.3.2 EventReception name: evstop
Description:
DisplayName: evstopIsOfMetaclass: false
IsShowDisplayName: false
Metaclass: EventReception
RequirementTraceabilityHandle:0
Signature: evstop()
-
8/6/2019 Washing Machine Report
24/75
24
1.5.1.1.1.3.3 EventReception name: evquick
Description:
DisplayName: evquick
IsOfMetaclass: false
IsShowDisplayName: falseMetaclass: EventReception
RequirementTraceabilityHandle:0
Signature: evquick()
1.5.1.1.1.3.4 EventReception name: evnormal
Description:
DisplayName: evnormal
IsOfMetaclass: false
IsShowDisplayName: false
Metaclass: EventReception
RequirementTraceabilityHandle:0Signature: evnormal()
1.5.1.1.1.3.5 EventReception name: evdry
Description: Event 'evdry()' will be used for dry operation.
DisplayName: evdry
IsOfMetaclass: false
IsShowDisplayName: false
Metaclass: EventReception
RequirementTraceabilityHandle:0
Signature: evdry()1.5.1.1.1.3.6 EventReception name: evwash
Description: Event 'evwash()' will be used for washing operation.
DisplayName: evwash
IsOfMetaclass: false
IsShowDisplayName: false
Metaclass: EventReception
RequirementTraceabilityHandle:0
Signature: evwash()
1.5.1.1.1.3.7 EventReception name: evreset
Description:
DisplayName: evreset
IsOfMetaclass: false
IsShowDisplayName: false
Metaclass: EventReception
RequirementTraceabilityHandle:0
-
8/6/2019 Washing Machine Report
25/75
25
Signature: evreset()
1.5.1.1.1.4 Relation information for Class washingmachine
1.5.1.1.1.4.1 Relation name: itsWash
Description:DisplayName: itsWash
IsOfMetaclass: false
IsShowDisplayName: false
IsSymmetric: false
Metaclass: AssociationEnd
Multiplicity: 1
Qualifier:
Visibility: public
Label: itsWash
LinkName:
RoleName: itsWash
Type: Association
RequirementTraceabilityHandle:0
1.5.1.1.1.4.2 Relation name: itsTimer1
Description:
DisplayName: itsTimer1
IsOfMetaclass: false
IsShowDisplayName: false
IsSymmetric: false
Metaclass: AssociationEndMultiplicity: 1
Qualifier:
Visibility: public
Label: itsTimer1
LinkName:
RoleName: itsTimer1
Type: Association
RequirementTraceabilityHandle:0
1.5.1.1.1.4.3 Relation name: itsDry
Description:
DisplayName: itsDry
IsOfMetaclass: false
IsShowDisplayName: false
IsSymmetric: false
Metaclass: AssociationEnd
Multiplicity: 1
-
8/6/2019 Washing Machine Report
26/75
26
Qualifier:
Visibility: public
Label: itsDry
LinkName:
RoleName: itsDry
Type: AssociationRequirementTraceabilityHandle:0
Name Inverse Source Target
itsWash washingmachine wash
itsTimer1 washingmachine timer1
itsDry washingmachine Dry
1.5.1.1.1.5 Statechart information for Class washingmachine
CMHeader:
Current Directory: J:\Modified\Projectimp - Copy (3)\Projectimp_rpyDescription:
DisplayName: StatechartOfWashingmachine
FileName:
IsOfMetaClass: false
IsShowDisplayName: false
IsStateChartOverridden: true
IsStub: false
Metaclass: Statechart
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1 State information
1.5.1.1.1.5.1.1 Default Transition information for State ROOT
Description:
DisplayName:
IsOfMetaClass: false
IsShowDisplayName: false
IsTransitionOverriden: true
Label:
Metaclass: DefaultTransitionRequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2 Sub State Information
1.5.1.1.1.5.1.2.1 State name: washingmac
Description:
-
8/6/2019 Washing Machine Report
27/75
27
DisplayName: washingmac
EntryAction: string="processing";
ExitAction:
IsOfMetaClass: false
IsShowDisplayName: false
IsReferenceActivity: falseIsStateOverridden: true
Metaclass: State
RequirementTraceabilityHandle:0
StateType: Or
-
8/6/2019 Washing Machine Report
28/75
28
1.5.1.1.1.5.1.2.2 Incoming Transition information for State washingmac
Description:
DisplayName:
IsOfMetaClass: false
IsShowDisplayName: falseIsTransitionOverriden: true
Label:
Metaclass: DefaultTransition
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.3 Outgoing Transition information for State washingmac
Description:
DisplayName: tm(3000)
IsOfMetaClass: false
IsShowDisplayName: false
IsTransitionOverriden: trueLabel: tm(3000)
Metaclass: Transition
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.4 Trigger information for Transition 9
1.5.1.1.1.5.1.2.5 Trigger name:
Description:
DisplayName:
IsOfMetaClass: falseIsShowDisplayName: false
Metaclass: Timeout
RequirementTraceabilityHandle:0
Body: tm(3000)
1.5.1.1.1.5.1.2.6 State information for Transition 9
1.5.1.1.1.5.1.2.7 State name: washingmac
Description:
DisplayName: washingmac
EntryAction: string="processing";ExitAction:
IsOfMetaClass: false
IsReferenceActivity:false
IsShowDisplayName: false
IsStateOverridden: true
Metaclass: State
RequirementTraceabilityHandle:0
-
8/6/2019 Washing Machine Report
29/75
29
StateType: Or
1.5.1.1.1.5.1.2.8 State name: Active
Description:
DisplayName: Active
EntryAction:ExitAction:
IsOfMetaClass: false
IsShowDisplayName: false
IsReferenceActivity: false
IsStateOverridden: true
Metaclass: State
RequirementTraceabilityHandle:0
StateType: Or
1.5.1.1.1.5.1.2.9 Connector information for State Active
1.5.1.1.1.5.1.2.10 Connector name: condition_37
ConnectorType: Condition
Description:
DisplayName: condition_37
IsOfMetaClass: false
IsShowDisplayName: false
Metaclass: Condition
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.11 Incoming Transition information for Connector condition_37
Description:
DisplayName: tm(1000)/timer();
IsOfMetaClass: false
IsShowDisplayName: false
IsTransitionOverridden: true
Label: tm(1000)/timer();
Metaclass: Transition
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.12 Action information for Transition 3
1.5.1.1.1.5.1.2.13 Action name:
Body: timer();
Description:
DisplayName:
IsOfMetaClass: false
IsShowDisplayName: false
-
8/6/2019 Washing Machine Report
30/75
30
Metaclass: Action
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.14 Trigger information for Transition 3
1.5.1.1.1.5.1.2.15 Trigger name:
Description:
DisplayName:
IsOfMetaClass: false
IsShowDisplayName: false
Metaclass: Timeout
RequirementTraceabilityHandle:0
Body: tm(1000)
1.5.1.1.1.5.1.2.16 Connector information for Transition 3
1.5.1.1.1.5.1.2.17 Connector name: condition_37
ConnectorType:Condition
Description:
DisplayName: condition_37
IsOfMetaClass: false
IsShowDisplayName: false
Metaclass: Condition
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.18 Outgoing Transition information for Connector condition_37
Description:
DisplayName: [else]
IsOfMetaClass: false
IsShowDisplayName: false
IsTransitionOverridden: true
Label: [else]
Metaclass: Transition
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.19 Guard information for Transition 4
1.5.1.1.1.5.1.2.20 Guard name:
Description:
DisplayName:
Body: else
IsOfMetaClass: false
IsShowDisplayName: false
-
8/6/2019 Washing Machine Report
31/75
31
Metaclass: Guard
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.21 Connector information for Transition 4
1.5.1.1.1.5.1.2.22 Connector name: condition_37
ConnectorType:Condition
Description:
DisplayName: condition_37
IsOfMetaClass: false
IsShowDisplayName: false
Metaclass: Condition
RequirementTraceabilityHandle:0
Description:
DisplayName: [coundn==1]
IsOfMetaClass: false
IsShowDisplayName: false
IsTransitionOverridden: true
Label: [coundn==1]
Metaclass: Transition
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.23 Guard information for Transition 5
1.5.1.1.1.5.1.2.24 Guard name:
Description:
DisplayName:Body: coundn==1
IsOfMetaClass: false
IsShowDisplayName: false
Metaclass: Guard
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.25 Connector information for Transition 5
1.5.1.1.1.5.1.2.26 Connector name: condition_37
ConnectorType:Condition
Description:DisplayName: condition_37
IsOfMetaClass: false
IsShowDisplayName: false
Metaclass: Condition
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.27 Connector name: condition_41
-
8/6/2019 Washing Machine Report
32/75
32
ConnectorType: Condition
Description:
DisplayName: condition_41
IsOfMetaClass: false
IsShowDisplayName: false
Metaclass: ConditionRequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.28 Incoming Transition information for Connector condition_41
Description:
DisplayName: tm(1000)/timer();
IsOfMetaClass: false
IsShowDisplayName: false
IsTransitionOverridden: true
Label: tm(1000)/timer();
Metaclass: TransitionRequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.29 Action information for Transition 6
1.5.1.1.1.5.1.2.30 Action name:
Body: timer();
Description:
DisplayName:
IsOfMetaClass: false
IsShowDisplayName: false
Metaclass: ActionRequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.31 Trigger information for Transition 6
1.5.1.1.1.5.1.2.32 Trigger name:
Description:
DisplayName:
IsOfMetaClass: false
IsShowDisplayName: false
Metaclass: Timeout
RequirementTraceabilityHandle:0Body: tm(1000)
1.5.1.1.1.5.1.2.33 Connector information for Transition 6
1.5.1.1.1.5.1.2.34 Connector name: condition_41
-
8/6/2019 Washing Machine Report
33/75
33
ConnectorType:Condition
Description:
DisplayName: condition_41
IsOfMetaClass: false
IsShowDisplayName: false
Metaclass: ConditionRequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.35 Outgoing Transition information for Connector condition_41
Description:
DisplayName: [else]
IsOfMetaClass: false
IsShowDisplayName: false
IsTransitionOverridden: true
Label: [else]
Metaclass: TransitionRequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.36 Guard information for Transition 7
1.5.1.1.1.5.1.2.37 Guard name:
Description:
DisplayName:
Body: else
IsOfMetaClass: false
IsShowDisplayName: false
Metaclass: GuardRequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.38 Connector information for Transition 7
1.5.1.1.1.5.1.2.39 Connector name: condition_41
ConnectorType:Condition
Description:
DisplayName: condition_41
IsOfMetaClass: false
IsShowDisplayName: false
Metaclass: ConditionRequirementTraceabilityHandle:0
Description:
DisplayName: [coundn==1]
IsOfMetaClass: false
IsShowDisplayName: false
IsTransitionOverridden: true
-
8/6/2019 Washing Machine Report
34/75
34
Label: [coundn==1]
Metaclass: Transition
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.40 Guard information for Transition 8
1.5.1.1.1.5.1.2.41 Guard name:
Description:
DisplayName:
Body: coundn==1
IsOfMetaClass: false
IsShowDisplayName: false
Metaclass: Guard
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.42 Connector information for Transition 8
1.5.1.1.1.5.1.2.43 Connector name: condition_41
ConnectorType:Condition
Description:
DisplayName: condition_41
IsOfMetaClass: false
IsShowDisplayName: false
Metaclass: Condition
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.44 Incoming Transition information for State Active
Description:
DisplayName: tm(3000)
IsOfMetaClass: false
IsShowDisplayName: false
IsTransitionOverriden: true
Label: tm(3000)
Metaclass: Transition
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.45 Trigger information for Transition 9
1.5.1.1.1.5.1.2.46 Trigger name:
Description:
DisplayName:
IsOfMetaClass: false
IsShowDisplayName: false
Metaclass: Timeout
-
8/6/2019 Washing Machine Report
35/75
35
RequirementTraceabilityHandle:0
Body: tm(3000)
1.5.1.1.1.5.1.2.47 State information for Transition 9
1.5.1.1.1.5.1.2.48 State name: washingmac
Description:
DisplayName: washingmac
EntryAction: string="processing";
ExitAction:
IsOfMetaClass: false
IsReferenceActivity:false
IsShowDisplayName: false
IsStateOverridden: true
Metaclass: State
RequirementTraceabilityHandle:0
StateType: Or
Description:
DisplayName: evreset/coundn=0;
IsOfMetaClass: false
IsShowDisplayName: false
IsTransitionOverriden: true
Label: evreset/coundn=0;
Metaclass: Transition
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.49 Action information for Transition 11
1.5.1.1.1.5.1.2.50 Action name:
Body: coundn=0;
Description:
DisplayName:
IsOfMetaClass: false
IsShowDisplayName: false
Metaclass: Action
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.51 Trigger information for Transition 11
1.5.1.1.1.5.1.2.52 Trigger name:
Description:
DisplayName:
IsOfMetaClass: false
IsShowDisplayName: false
-
8/6/2019 Washing Machine Report
36/75
36
Metaclass: InterfaceItemTrigger
RequirementTraceabilityHandle:0
Body: evreset
1.5.1.1.1.5.1.2.53 State information for Transition 11
1.5.1.1.1.5.1.2.54 State name: Active
Description:
DisplayName: Active
EntryAction:
ExitAction:
IsOfMetaClass: false
IsReferenceActivity:false
IsShowDisplayName: false
IsStateOverridden: true
Metaclass: State
RequirementTraceabilityHandle:0
StateType: Or
1.5.1.1.1.5.1.2.55 Outgoing Transition information for State Active
Description:
DisplayName: evreset/coundn=0;
IsOfMetaClass: false
IsShowDisplayName: false
IsTransitionOverriden: true
Label: evreset/coundn=0;
Metaclass: TransitionRequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.56 Action information for Transition 11
1.5.1.1.1.5.1.2.57 Action name:
Body: coundn=0;
Description:
DisplayName:
IsOfMetaClass: false
IsShowDisplayName: false
Metaclass: ActionRequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.58 Trigger information for Transition 11
1.5.1.1.1.5.1.2.59 Trigger name:
Description:
-
8/6/2019 Washing Machine Report
37/75
37
DisplayName:
IsOfMetaClass: false
IsShowDisplayName: false
Metaclass: InterfaceItemTrigger
RequirementTraceabilityHandle:0
Body: evreset
1.5.1.1.1.5.1.2.60 State information for Transition 11
1.5.1.1.1.5.1.2.61 State name: Active
Description:
DisplayName: Active
EntryAction:
ExitAction:
IsOfMetaClass: false
IsReferenceActivity:false
IsShowDisplayName: false
IsStateOverridden: true
Metaclass: State
RequirementTraceabilityHandle:0
StateType: Or
1.5.1.1.1.5.1.2.62 Sub State Information
1.5.1.1.1.5.1.2.63 State name: dry
Description:
DisplayName: dryEntryAction: string="drying";
ExitAction:
IsOfMetaClass: false
IsShowDisplayName: false
IsReferenceActivity: false
IsStateOverridden: true
Metaclass: State
RequirementTraceabilityHandle:0
StateType: Or
1.5.1.1.1.5.1.2.64 Incoming Transition information for State dry
Description:
DisplayName: [else]
IsOfMetaClass: false
IsShowDisplayName: false
IsTransitionOverriden: true
Label: [else]
-
8/6/2019 Washing Machine Report
38/75
38
Metaclass: Transition
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.65 Guard information for Transition 7
1.5.1.1.1.5.1.2.66 Guard name:
Description:
DisplayName:
Body: else
IsOfMetaClass: false
IsShowDisplayName: false
Metaclass: Guard
RequirementTraceabilityHandle:0
Description:
DisplayName: evstart/settime(x);
IsOfMetaClass: false
IsShowDisplayName: false
IsTransitionOverriden: true
Label: evstart/settime(x);
Metaclass: Transition
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.67 Action information for Transition 13
1.5.1.1.1.5.1.2.68 Action name:
Body: settime(x);
Description:DisplayName:
IsOfMetaClass: false
IsShowDisplayName: false
Metaclass: Action
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.69 Trigger information for Transition 13
1.5.1.1.1.5.1.2.70 Trigger name:
Description:
DisplayName:IsOfMetaClass: false
IsShowDisplayName: false
Metaclass: InterfaceItemTrigger
RequirementTraceabilityHandle:0
Body: evstart
1.5.1.1.1.5.1.2.71 State information for Transition 13
-
8/6/2019 Washing Machine Report
39/75
39
1.5.1.1.1.5.1.2.72 State name: Dtimer
Description:
DisplayName: Dtimer
EntryAction:
ExitAction:IsOfMetaClass: false
IsReferenceActivity:false
IsShowDisplayName: false
IsStateOverridden: true
Metaclass: State
RequirementTraceabilityHandle:0
StateType: Or
1.5.1.1.1.5.1.2.73 Outgoing Transition information for State dry
Description:
DisplayName: tm(1000)/timer();IsOfMetaClass: false
IsShowDisplayName: false
IsTransitionOverriden: true
Label: tm(1000)/timer();
Metaclass: Transition
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.74 Action information for Transition 6
1.5.1.1.1.5.1.2.75 Action name:
Body: timer();
Description:
DisplayName:
IsOfMetaClass: false
IsShowDisplayName: false
Metaclass: Action
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.76 Trigger information for Transition 6
1.5.1.1.1.5.1.2.77 Trigger name:
Description:
DisplayName:
IsOfMetaClass: false
IsShowDisplayName: false
Metaclass: Timeout
RequirementTraceabilityHandle:0
Body: tm(1000)
-
8/6/2019 Washing Machine Report
40/75
40
1.5.1.1.1.5.1.2.78 State information for Transition 6
1.5.1.1.1.5.1.2.79 State name: dry
Description:
DisplayName: dry
EntryAction: string="drying";
ExitAction:
IsOfMetaClass: false
IsReferenceActivity:false
IsShowDisplayName: false
IsStateOverridden: true
Metaclass: State
RequirementTraceabilityHandle:0
StateType: Or
1.5.1.1.1.5.1.2.80 State information for Transition 6
1.5.1.1.1.5.1.2.81 State name: condition_41
Description:
DisplayName: condition_41
EntryAction:
ExitAction:
IsOfMetaClass: false
IsReferenceActivity:
IsShowDisplayName: falseIsStateOverridden:
Metaclass: Condition
RequirementTraceabilityHandle:0
StateType:
1.5.1.1.1.5.1.2.82 State name: washing
Description:
DisplayName: washing
EntryAction: string="washing";
ExitAction:
IsOfMetaClass: falseIsShowDisplayName: false
IsReferenceActivity: false
IsStateOverridden: true
Metaclass: State
RequirementTraceabilityHandle:0
StateType: Or
-
8/6/2019 Washing Machine Report
41/75
41
1.5.1.1.1.5.1.2.83 Incoming Transition information for State washing
Description:
DisplayName: [else]
IsOfMetaClass: false
IsShowDisplayName: falseIsTransitionOverriden: true
Label: [else]
Metaclass: Transition
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.84 Guard information for Transition 4
1.5.1.1.1.5.1.2.85 Guard name:
Description:
DisplayName:
Body: elseIsOfMetaClass: false
IsShowDisplayName: false
Metaclass: Guard
RequirementTraceabilityHandle:0
Description:
DisplayName: evstart/settime(x);
IsOfMetaClass: false
IsShowDisplayName: false
IsTransitionOverriden: true
Label: evstart/settime(x);
Metaclass: Transition
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.86 Action information for Transition 12
1.5.1.1.1.5.1.2.87 Action name:
Body: settime(x);
Description:
DisplayName:
IsOfMetaClass: false
IsShowDisplayName: falseMetaclass: Action
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.88 Trigger information for Transition 12
1.5.1.1.1.5.1.2.89 Trigger name:
Description:
-
8/6/2019 Washing Machine Report
42/75
42
DisplayName:
IsOfMetaClass: false
IsShowDisplayName: false
Metaclass: InterfaceItemTrigger
RequirementTraceabilityHandle:0
Body: evstart
1.5.1.1.1.5.1.2.90 State information for Transition 12
1.5.1.1.1.5.1.2.91 State name: Wtimer
Description:
DisplayName: Wtimer
EntryAction:
ExitAction:
IsOfMetaClass: false
IsReferenceActivity:false
IsShowDisplayName: false
IsStateOverridden: true
Metaclass: State
RequirementTraceabilityHandle:0
StateType: Or
1.5.1.1.1.5.1.2.92 Outgoing Transition information for State washing
Description:
DisplayName: tm(1000)/timer();
IsOfMetaClass: false
IsShowDisplayName: falseIsTransitionOverriden: true
Label: tm(1000)/timer();
Metaclass: Transition
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.93 Action information for Transition 3
1.5.1.1.1.5.1.2.94 Action name:
Body: timer();
Description:
DisplayName:IsOfMetaClass: false
IsShowDisplayName: false
Metaclass: Action
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.95 Trigger information for Transition 3
-
8/6/2019 Washing Machine Report
43/75
43
1.5.1.1.1.5.1.2.96 Trigger name:
Description:
DisplayName:
IsOfMetaClass: false
IsShowDisplayName: falseMetaclass: Timeout
RequirementTraceabilityHandle:0
Body: tm(1000)
1.5.1.1.1.5.1.2.97 State information for Transition 3
1.5.1.1.1.5.1.2.98 State name: washing
Description:
DisplayName: washing
EntryAction: string="washing";
ExitAction:IsOfMetaClass: false
IsReferenceActivity:false
IsShowDisplayName: false
IsStateOverridden: true
Metaclass: State
RequirementTraceabilityHandle:0
StateType: Or
1.5.1.1.1.5.1.2.99 State information for Transition 3
1.5.1.1.1.5.1.2.100 State name: condition_37
Description:
DisplayName: condition_37
EntryAction:
ExitAction:
IsOfMetaClass: false
IsReferenceActivity:
IsShowDisplayName: false
IsStateOverridden:
Metaclass: ConditionRequirementTraceabilityHandle:0
StateType:
1.5.1.1.1.5.1.2.101 State name: Mode
Description:
DisplayName: Mode
-
8/6/2019 Washing Machine Report
44/75
44
EntryAction: string="select mode";
ExitAction: string="Select Time";
IsOfMetaClass: false
IsShowDisplayName: false
IsReferenceActivity: false
IsStateOverridden: trueMetaclass: State
RequirementTraceabilityHandle:0
StateType: Or
1.5.1.1.1.5.1.2.102 Incoming Transition information for State Mode
Description:
DisplayName:
IsOfMetaClass: false
IsShowDisplayName: false
IsTransitionOverriden: trueLabel:
Metaclass: DefaultTransition
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.103 Outgoing Transition information for State Mode
Description:
DisplayName: evwash
IsOfMetaClass: false
IsShowDisplayName: false
IsTransitionOverriden: true
Label: evwashMetaclass: Transition
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.104 Trigger information for Transition 1
1.5.1.1.1.5.1.2.105 Trigger name:
Description:
DisplayName:
IsOfMetaClass: false
IsShowDisplayName: false
Metaclass: InterfaceItemTrigger
RequirementTraceabilityHandle:0
Body: evwash
1.5.1.1.1.5.1.2.106 State information for Transition 1
1.5.1.1.1.5.1.2.107 State name: Mode
-
8/6/2019 Washing Machine Report
45/75
45
Description:
DisplayName: Mode
EntryAction: string="select mode";
ExitAction: string="Select Time";
IsOfMetaClass: false
IsReferenceActivity:falseIsShowDisplayName: false
IsStateOverridden: true
Metaclass: State
RequirementTraceabilityHandle:0
StateType: Or
Description:
DisplayName: evdry
IsOfMetaClass: false
IsShowDisplayName: false
IsTransitionOverriden: true
Label: evdry
Metaclass: Transition
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.108 Trigger information for Transition 2
1.5.1.1.1.5.1.2.109 Trigger name:
Description:
DisplayName:
IsOfMetaClass: false
IsShowDisplayName: falseMetaclass: InterfaceItemTrigger
RequirementTraceabilityHandle:0
Body: evdry
1.5.1.1.1.5.1.2.110 State information for Transition 2
1.5.1.1.1.5.1.2.111 State name: Mode
Description:
DisplayName: Mode
EntryAction: string="select mode";
ExitAction: string="Select Time";IsOfMetaClass: false
IsReferenceActivity:false
IsShowDisplayName: false
IsStateOverridden: true
Metaclass: State
RequirementTraceabilityHandle:0
-
8/6/2019 Washing Machine Report
46/75
46
StateType: Or
1.5.1.1.1.5.1.2.112 State name: complete
Description:
DisplayName: complete
EntryAction: string="Task Performed";ExitAction:
IsOfMetaClass: false
IsShowDisplayName: false
IsReferenceActivity: false
IsStateOverridden: true
Metaclass: State
RequirementTraceabilityHandle:0
StateType: Or
1.5.1.1.1.5.1.2.113 Incoming Transition information for State complete
Description:
DisplayName: [coundn==1]
IsOfMetaClass: false
IsShowDisplayName: false
IsTransitionOverriden: true
Label: [coundn==1]
Metaclass: Transition
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.114 Guard information for Transition 5
1.5.1.1.1.5.1.2.115 Guard name:
Description:
DisplayName:
Body: coundn==1
IsOfMetaClass: false
IsShowDisplayName: false
Metaclass: Guard
RequirementTraceabilityHandle:0
Description:
DisplayName: [coundn==1]
IsOfMetaClass: false
IsShowDisplayName: false
IsTransitionOverriden: true
Label: [coundn==1]
Metaclass: Transition
RequirementTraceabilityHandle:0
-
8/6/2019 Washing Machine Report
47/75
47
1.5.1.1.1.5.1.2.116 Guard information for Transition 8
1.5.1.1.1.5.1.2.117 Guard name:
Description:
DisplayName:
Body: coundn==1
IsOfMetaClass: false
IsShowDisplayName: false
Metaclass: Guard
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.118 State name: Wtimer
Description:
DisplayName: Wtimer
EntryAction:
ExitAction:IsOfMetaClass: false
IsShowDisplayName: false
IsReferenceActivity: false
IsStateOverridden: true
Metaclass: State
RequirementTraceabilityHandle:0
StateType: Or
1.5.1.1.1.5.1.2.119 Incoming Transition information for State Wtimer
Description:DisplayName: evwash
IsOfMetaClass: false
IsShowDisplayName: false
IsTransitionOverriden: true
Label: evwash
Metaclass: Transition
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.120 Trigger information for Transition 1
1.5.1.1.1.5.1.2.121 Trigger name:
Description:
DisplayName:
IsOfMetaClass: false
IsShowDisplayName: false
Metaclass: InterfaceItemTrigger
RequirementTraceabilityHandle:0
Body: evwash
-
8/6/2019 Washing Machine Report
48/75
48
1.5.1.1.1.5.1.2.122 State information for Transition 1
1.5.1.1.1.5.1.2.123 State name: Mode
Description:
DisplayName: Mode
EntryAction: string="select mode";
ExitAction: string="Select Time";
IsOfMetaClass: false
IsReferenceActivity:false
IsShowDisplayName: false
IsStateOverridden: true
Metaclass: State
RequirementTraceabilityHandle:0
StateType: Or
1.5.1.1.1.5.1.2.124 Outgoing Transition information for State Wtimer
Description:
DisplayName: evstart/settime(x);
IsOfMetaClass: false
IsShowDisplayName: false
IsTransitionOverriden: true
Label: evstart/settime(x);
Metaclass: Transition
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.125 Action information for Transition 12
1.5.1.1.1.5.1.2.126 Action name:
Body: settime(x);
Description:
DisplayName:
IsOfMetaClass: false
IsShowDisplayName: false
Metaclass: Action
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.127 Trigger information for Transition 12
1.5.1.1.1.5.1.2.128 Trigger name:
Description:
DisplayName:
IsOfMetaClass: false
IsShowDisplayName: false
Metaclass: InterfaceItemTrigger
-
8/6/2019 Washing Machine Report
49/75
49
RequirementTraceabilityHandle:0
Body: evstart
1.5.1.1.1.5.1.2.129 State information for Transition 12
1.5.1.1.1.5.1.2.130 State name: Wtimer
Description:
DisplayName: Wtimer
EntryAction:
ExitAction:
IsOfMetaClass: false
IsReferenceActivity:false
IsShowDisplayName: false
IsStateOverridden: true
Metaclass: State
RequirementTraceabilityHandle:0
StateType: Or
1.5.1.1.1.5.1.2.131 State name: Dtimer
Description:
DisplayName: Dtimer
EntryAction:
ExitAction:
IsOfMetaClass: false
IsShowDisplayName: false
IsReferenceActivity: false
IsStateOverridden: trueMetaclass: State
RequirementTraceabilityHandle:0
StateType: Or
1.5.1.1.1.5.1.2.132 Incoming Transition information for State Dtimer
Description:
DisplayName: evdry
IsOfMetaClass: false
IsShowDisplayName: false
IsTransitionOverriden: true
Label: evdry
Metaclass: Transition
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.133 Trigger information for Transition 2
1.5.1.1.1.5.1.2.134 Trigger name:
-
8/6/2019 Washing Machine Report
50/75
50
Description:
DisplayName:
IsOfMetaClass: false
IsShowDisplayName: false
Metaclass: InterfaceItemTrigger
RequirementTraceabilityHandle:0Body: evdry
1.5.1.1.1.5.1.2.135 State information for Transition 2
1.5.1.1.1.5.1.2.136 State name: Mode
Description:
DisplayName: Mode
EntryAction: string="select mode";
ExitAction: string="Select Time";
IsOfMetaClass: false
IsReferenceActivity:false
IsShowDisplayName: false
IsStateOverridden: true
Metaclass: State
RequirementTraceabilityHandle:0
StateType: Or
1.5.1.1.1.5.1.2.137 Outgoing Transition information for State Dtimer
Description:
DisplayName: evstart/settime(x);
IsOfMetaClass: falseIsShowDisplayName: false
IsTransitionOverriden: true
Label: evstart/settime(x);
Metaclass: Transition
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.138 Action information for Transition 13
1.5.1.1.1.5.1.2.139 Action name:
Body: settime(x);
Description:DisplayName:
IsOfMetaClass: false
IsShowDisplayName: false
Metaclass: Action
RequirementTraceabilityHandle:0
1.5.1.1.1.5.1.2.140 Trigger information for Transition 13
-
8/6/2019 Washing Machine Report
51/75
51
1.5.1.1.1.5.1.2.141 Trigger name:
Description:
DisplayName:
IsOfMetaClass: false
IsShowDisplayName: falseMetaclass: InterfaceItemTrigger
RequirementTraceabilityHandle:0
Body: evstart
1.5.1.1.1.5.1.2.142 State information for Transition 13
1.5.1.1.1.5.1.2.143 State name: Dtimer
Description:
DisplayName: Dtimer
EntryAction:
ExitAction:IsOfMetaClass: false
IsReferenceActivity:false
IsShowDisplayName: false
IsStateOverridden: true
Metaclass: State
RequirementTraceabilityHandle:0
StateType: Or
1.5.1.1.1.5.1.2.144 State name: complete
Description:DisplayName: complete
EntryAction: string="Task Performed";
ExitAction:
IsOfMetaClass: false
IsShowDisplayName: false
IsReferenceActivity: false
IsStateOverridden: true
Metaclass: State
RequirementTraceabilityHandle:0
StateType: Or
1.5.1.1.1.6 Overridden Properties
Subject Metaclass Name Type Value
CPP_CG Class ImpIncludes string
-
8/6/2019 Washing Machine Report
52/75
52
1.5.1.1.2 Class name: wash
CMHeader :
Current Directory:J:\Modified\Projectimp - Copy (3)\Projectimp_rpy
Description:Class 'wash' will be used for wash operation. It contains-
One attribute- timervalue
Two primitive operations- spinning__(), soaking__()
Three receptions- evstart(), evstop(), evst()
Display Name: wash
File Name:
IsActive: false
IsBehaviorOverriden: false
IsComposite: false
IsOfMetaclass: false
IsReactive: trueIsShowDisplayName: false
IsStub: false
MetaClass: Class
RequirementTraceabilityHandle:0
1.5.1.1.2.1 Attribute Information for Class: wash
1.5.1.1.2.1.1 Attribute Name: timervalue
Declaration:
Default Value: 0
IsStatic: false Visibility: public
Description:
DisplayName: timervalue
IsOfMetaClass:false
IsShowDisplayName: false
MetaClass: Attribute
RequirementTraceabilityHandle:0
Type: int
Stereotype:
1.5.1.1.2.2 Operation information for Class wash
1.5.1.1.2.2.1 Operation name: soaking__
Description:
DisplayName: soaking()
Initializer:
IsCgDerived: false
IsConst: false
-
8/6/2019 Washing Machine Report
53/75
53
IsCtoR: false
IsDtoR: false
IsOfMetaclass: false
IsShowDisplayName: false
IsTrigger: false
Metaclass: OperationBody: cout
-
8/6/2019 Washing Machine Report
54/75
54
1.5.1.1.2.3 EventReception information for Class wash
1.5.1.1.2.3.1 EventReception name: evstart
Description: evstart(): This event is used for start the operation of washing machine.
DisplayName: evstart
IsOfMetaclass: false
IsShowDisplayName: false
Metaclass: EventReception
RequirementTraceabilityHandle:0
Signature: evstart()
1.5.1.1.2.3.2 EventReception name: evstop
Description: evstop(): This event will stop the washing machine.
DisplayName: evstop
IsOfMetaclass: falseIsShowDisplayName: false
Metaclass: EventReception
RequirementTraceabilityHandle:0
Signature: evstop()
1.5.1.1.2.3.3 EventReception name: evst
Description:
DisplayName: evst
IsOfMetaclass: false
IsShowDisplayName: falseMetaclass: EventReception
RequirementTraceabilityHandle:0
Signature: evst()
1.5.1.1.2.4 Relation information for Class wash
1.5.1.1.2.4.1 Relation name: itsWashingmachine
Description:
DisplayName: itsWashingmachine
IsOfMetaclass: false
IsShowDisplayName: falseIsSymmetric: false
Metaclass: AssociationEnd
Multiplicity: 1
Qualifier:
Visibility: public
Label: itsWashingmachine
-
8/6/2019 Washing Machine Report
55/75
55
LinkName:
RoleName: itsWashingmachine
Type: Association
RequirementTraceabilityHandle:0
Name Inverse Source Target
itsWashingmachine wash washingmachine
1.5.1.1.3 Class name: Dry
CMHeader :
Current Directory:J:\Modified\Projectimp - Copy (3)\Projectimp_rpy
Description:Class 'Dry' will be used for drying.
It contains-
one attribute- timevalue
four operations- dryingclothes__(), rinse__(), evstart(), evstop().
Display Name: Dry
File Name:
IsActive: false
IsBehaviorOverriden: false
IsComposite: false
IsOfMetaclass: false
IsReactive: true
IsShowDisplayName: false
IsStub: false
MetaClass: Class
RequirementTraceabilityHandle:0
1.5.1.1.3.1 Attribute Information for Class: Dry
1.5.1.1.3.1.1 Attribute Name: timevalue
Declaration:
Default Value: 0
IsStatic: false Visibility: public
Description:
DisplayName: timevalue
IsOfMetaClass:false
IsShowDisplayName: false
MetaClass: Attribute
RequirementTraceabilityHandle:0
Type: int
Stereotype:
-
8/6/2019 Washing Machine Report
56/75
56
1.5.1.1.3.2 Operation information for Class Dry
1.5.1.1.3.2.1 Operation name: dryingclothes__
Description: This operation will be used to dry clothes.
while this task is being performed, machine displays 'Drying' on the screen.
DisplayName: dryingclothes()
Initializer:
IsCgDerived: false
IsConst: false
IsCtoR: false
IsDtoR: false
IsOfMetaclass: false
IsShowDisplayName: false
IsTrigger: false
Metaclass: OperationBody: cout
-
8/6/2019 Washing Machine Report
57/75
57
Body: cout
-
8/6/2019 Washing Machine Report
58/75
58
Type: Association
RequirementTraceabilityHandle:0
1.5.1.1.3.4.2 Relation name: itsWashingmachine_1
Description:
DisplayName: itsWashingmachine_1IsOfMetaclass: false
IsShowDisplayName: false
IsSymmetric: false
Metaclass: AssociationEnd
Multiplicity: 1
Qualifier:
Visibility: public
Label: itsWashingmachine_1
LinkName:
RoleName: itsWashingmachine_1Type: Association
RequirementTraceabilityHandle:0
Name Inverse Source Target
itsWashingmachine Dry washingmachine
itsWashingmachine
_1
Dry washingmachine
1.5.1.1.4 Class name: timer1
CMHeader :
Current Directory:J:\Modified\Projectimp - Copy (3)\Projectimp_rpyDescription:
Display Name: timer1
File Name:
IsActive: false
IsBehaviorOverriden: false
IsComposite: false
IsOfMetaclass: false
IsReactive: true
IsShowDisplayName: false
IsStub: falseMetaClass: Class
RequirementTraceabilityHandle:0
1.5.1.1.4.1 Attribute Information for Class: timer1
1.5.1.1.4.1.1 Attribute Name: minute
Declaration:
-
8/6/2019 Washing Machine Report
59/75
59
Default Value: 0
IsStatic: false Visibility: public
Description:
DisplayName: minute
IsOfMetaClass:false
IsShowDisplayName: falseMetaClass: Attribute
RequirementTraceabilityHandle:0
Type: int
Stereotype:
1.5.1.1.4.1.2 Attribute Name: second
Declaration:
Default Value: 0
IsStatic: false Visibility: public
Description:DisplayName: second
IsOfMetaClass:false
IsShowDisplayName: false
MetaClass: Attribute
RequirementTraceabilityHandle:0
Type: int
Stereotype:
1.5.1.1.4.2 Operation information for Class timer1
1.5.1.1.4.2.1 Operation name: timer1
Description:
DisplayName: timer1
Initializer:
IsCgDerived: false
IsConst: false
IsCtoR: true
IsDtoR: false
IsOfMetaclass: false
IsShowDisplayName: false
IsTrigger: falseMetaclass: Operation
Body:
IsAbstract: false
IsStatic: false
IsVirtual: false
Visibility: public
Signature: timer1()
-
8/6/2019 Washing Machine Report
60/75
60
RequirementTraceabilityHandle:0
Return Type Name:
1.5.1.1.4.2.2 Operation name: tick
Description:
DisplayName: tickInitializer:
IsCgDerived: false
IsConst: false
IsCtoR: false
IsDtoR: false
IsOfMetaclass: false
IsShowDisplayName: false
IsTrigger: false
Metaclass: Operation
Body: if (minute>=0){
if(minute==0&&second==0){
}
if (second>0)
{
second--;
}
if(second==0&&minute>0)
{
minute--;
second=59;}
}
IsAbstract: false
IsStatic: false
IsVirtual: false
Visibility: public
Signature: tick()
RequirementTraceabilityHandle:0
Return Type Name: void1.5.1.1.4.2.3 Operation name: timerReset
Description:
DisplayName: timerReset
Initializer:
IsCgDerived: false
IsConst: false
-
8/6/2019 Washing Machine Report
61/75
-
8/6/2019 Washing Machine Report
62/75
62
IsOfMetaclass: false
IsShowDisplayName: false
Metaclass: EventReception
RequirementTraceabilityHandle:0
Signature: evStartStop()
1.5.1.1.4.4 Relation information for Class timer1
1.5.1.1.4.4.1 Relation name: itsWashingmachine
Description:
DisplayName: itsWashingmachine
IsOfMetaclass: false
IsShowDisplayName: false
IsSymmetric: false
Metaclass: AssociationEnd
Multiplicity: 1
Qualifier:
Visibility: public
Label: itsWashingmachine
LinkName:
RoleName: itsWashingmachine
Type: Association
RequirementTraceabilityHandle:0
1.5.1.1.4.4.2 Relation name: itsWashingmachine_1
Description:
DisplayName: itsWashingmachine_1IsOfMetaclass: false
IsShowDisplayName: false
IsSymmetric: false
Metaclass: AssociationEnd
Multiplicity: 1
Qualifier:
Visibility: public
Label: itsWashingmachine_1
LinkName:
RoleName: itsWashingmachine_1Type: Association
RequirementTraceabilityHandle:0
Name Inverse Source Target
itsWashingmachine timer1 washingmachine
itsWashingmachine
_1
timer1 washingmachine
-
8/6/2019 Washing Machine Report
63/75
63
1.5.1.1.4.5 Overridden Properties
Subject Metaclass Name Type Value
CPP_CG Class ImpIncludes string
1.5.1.1.5 Class name: washer
CMHeader :
Current Directory:J:\Modified\Projectimp - Copy (3)\Projectimp_rpy
Description:Class 'washer' is a compositee class. It is a container class which contains three classes-
itsWashingmachine, iteDry, itsWash.
Display Name: washer
File Name:
IsActive: false
IsBehaviorOverriden: false
IsComposite: trueIsOfMetaclass: false
IsReactive: true
IsShowDisplayName: false
IsStub: false
MetaClass: Class
RequirementTraceabilityHandle:0
1.5.1.2 Actor Information for Package: Default
1.5.1.2.1 Actor name: user
CMHeader :Current Directory:J:\Modified\Projectimp - Copy (3)\Projectimp_rpy
Description:This is an actor who will operate the washing machine(which we are making).
Actor can be any human or machine.
Display Name: user
File Name:
IsActive:
IsBehaviorOverriden:
IsComposite:
IsOfMetaclass: false
IsReactive: IsShowDisplayName: false
IsStub: false
MetaClass: Actor
RequirementTraceabilityHandle:0
-
8/6/2019 Washing Machine Report
64/75
64
1.5.1.2.1.1 Relation information for Actor user
1.5.1.2.1.1.1 Relation name: itsTimer
Description:
DisplayName: itsTimer
IsOfMetaclass: false
IsShowDisplayName: false
IsSymmetric: true
Metaclass: AssociationEnd
Multiplicity: 1
Qualifier:
Visibility: public
Label: itsTimer
LinkName:
RoleName: itsTimer
Type: AssociationRequirementTraceabilityHandle:0
1.5.1.2.1.1.2 Relation name: itsAdd clothes
Description: Association is a relationship.
here we are using association between actor and use cases.
DisplayName: itsAdd clothes
IsOfMetaclass: false
IsShowDisplayName: false
IsSymmetric: true
Metaclass: AssociationEnd
Multiplicity: 1
Qualifier:
Visibility: public
Label: itsAdd clothes
LinkName:
RoleName: itsAdd clothes
Type: Association
RequirementTraceabilityHandle:0
1.5.1.2.1.1.3 Relation name: itsAdd detergent
Description:DisplayName: itsAdd detergent
IsOfMetaclass: false
IsShowDisplayName: false
IsSymmetric: true
Metaclass: AssociationEnd
Multiplicity: 1
-
8/6/2019 Washing Machine Report
65/75
65
Qualifier:
Visibility: public
Label: itsAdd detergent
LinkName:
RoleName: itsAdd detergent
Type: AssociationRequirementTraceabilityHandle:0
1.5.1.2.1.1.4 Relation name: itsAdd water
Description:
DisplayName: itsAdd water
IsOfMetaclass: false
IsShowDisplayName: false
IsSymmetric: true
Metaclass: AssociationEnd
Multiplicity: 1Qualifier:
Visibility: public
Label: itsAdd water
LinkName:
RoleName: itsAdd water
Type: Association
RequirementTraceabilityHandle:0
Name Inverse Source Target
itsTimer itsUser user timer
itsAdd clothes itsUser user add clothes
itsAdd detergent itsUser user add detergentitsAdd water itsUser user add water
1.5.1.3 UseCase Information for Package: Default
1.5.1.3.1 UseCase name: timer
CMHeader :
Current Directory:J:\Modified\Projectimp - Copy (3)\Projectimp_rpy
Description:First, actor has to give the task to washing machine(wash/dry) and then set timer.
After the given time, washing machine will stop working; means task is performed.
Display Name: timer
File Name:
IsActive:
IsBehaviorOverriden:
IsComposite:
IsOfMetaclass: false
-
8/6/2019 Washing Machine Report
66/75
66
IsReactive:
IsShowDisplayName: false
IsStub: false
MetaClass: UseCase
RequirementTraceabilityHandle:0
1.5.1.3.1.1 Relation information for UseCase timer
1.5.1.3.1.1.1 Relation name: itsUser
Description:
DisplayName: itsUser
IsOfMetaclass: false
IsShowDisplayName: false
IsSymmetric: true
Metaclass: AssociationEnd
Multiplicity: 1
Qualifier:
Visibility: public
Label: itsUser
LinkName:
RoleName: itsUser
Type: Association
RequirementTraceabilityHandle:0
Name Inverse Source Target
itsUser itsTimer timer user
1.5.1.3.2 UseCase name: washing