add clas diagram
This commit is contained in:
		
							
								
								
									
										402
									
								
								02-UML/class.uxf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										402
									
								
								02-UML/class.uxf
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,402 @@ | ||||
| <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||||
| <diagram program="umlet" version="15.1"> | ||||
|   <zoom_level>9</zoom_level> | ||||
|   <element> | ||||
|     <id>UMLClass</id> | ||||
|     <coordinates> | ||||
|       <x>45</x> | ||||
|       <y>603</y> | ||||
|       <w>279</w> | ||||
|       <h>216</h> | ||||
|     </coordinates> | ||||
|     <panel_attributes>Button | ||||
| bg=yellow | ||||
| transparency=0 | ||||
| -- | ||||
| - id: uint8_t | ||||
| - state: STATE | ||||
| - press: callBack | ||||
| - release: callBack | ||||
| -- | ||||
| + init(uint8_t id): void | ||||
| + init_HW(): void | ||||
| + defineCallBack(fCallBack f, void* p): callBack | ||||
| + setPressCallBack(callBack c): void | ||||
| + setReleaseCallBack(callBack c): void | ||||
| + isPressed(): void | ||||
| + startBehaviour(): void | ||||
| + processEvent(Event* ev): void</panel_attributes> | ||||
|     <additional_attributes/> | ||||
|   </element> | ||||
|   <element> | ||||
|     <id>UMLClass</id> | ||||
|     <coordinates> | ||||
|       <x>783</x> | ||||
|       <y>495</y> | ||||
|       <w>279</w> | ||||
|       <h>243</h> | ||||
|     </coordinates> | ||||
|     <panel_attributes>ClickHandler | ||||
| bg=yellow | ||||
| transparency=0 | ||||
| -- | ||||
| - state: STATE | ||||
| - longClick: callBack | ||||
| - singleClick: callBack | ||||
| - doubleClick: callBack | ||||
| -- | ||||
| + init(Button b): void | ||||
| + defineCallBack(fCallBack f, void* p): callBack | ||||
| + startBehaviour(): void | ||||
| + setLongClickCallBack(callBack c): void | ||||
| + setSingleClickCallBack(callBack c): void | ||||
| + setDoubleClickCallBack(callBack c): void | ||||
| + processEvent(Event* ev): bool | ||||
| -. | ||||
| - buttonPress(): void | ||||
| - buttonRelease(): void</panel_attributes> | ||||
|     <additional_attributes/> | ||||
|   </element> | ||||
|   <element> | ||||
|     <id>UMLClass</id> | ||||
|     <coordinates> | ||||
|       <x>387</x> | ||||
|       <y>729</y> | ||||
|       <w>180</w> | ||||
|       <h>108</h> | ||||
|     </coordinates> | ||||
|     <panel_attributes>Led | ||||
| bg=yellow | ||||
| transparency=0 | ||||
| -- | ||||
| - id: uint8_t | ||||
| -- | ||||
| + init(uint8_t id): void | ||||
| + init_HW(): void | ||||
| -. | ||||
| + on(): void | ||||
| + off(): void</panel_attributes> | ||||
|     <additional_attributes/> | ||||
|   </element> | ||||
|   <element> | ||||
|     <id>Relation</id> | ||||
|     <coordinates> | ||||
|       <x>315</x> | ||||
|       <y>639</y> | ||||
|       <w>486</w> | ||||
|       <h>36</h> | ||||
|     </coordinates> | ||||
|     <panel_attributes>lt=<<<<-> | ||||
| m2=-b</panel_attributes> | ||||
|     <additional_attributes>520.0;10.0;10.0;10.0</additional_attributes> | ||||
|   </element> | ||||
|   <element> | ||||
|     <id>UMLClass</id> | ||||
|     <coordinates> | ||||
|       <x>1098</x> | ||||
|       <y>468</y> | ||||
|       <w>279</w> | ||||
|       <h>369</h> | ||||
|     </coordinates> | ||||
|     <panel_attributes>Blinker | ||||
| bg=yellow | ||||
| transparency=0 | ||||
| -- | ||||
| - state: STATE | ||||
| - tON: uint16_t | ||||
| - tOFF: uint16_t | ||||
| - nBlink: uint8_t | ||||
| - nBlinkIsOn: bool | ||||
| - remainBlinks: uint8_t | ||||
| - turnOn: callBack | ||||
| - turnOff: callBack | ||||
| - finished: callBack | ||||
| -- | ||||
| + init(): void | ||||
| + defineCallBack(fCallBack f, void* p): callBack | ||||
| + setTurnOnCallBack(callBack c): void | ||||
| + setTurnOffCallBack(callBack c): void | ||||
| + setFinishedCallBack(callBack c): void | ||||
| + defineNblink(uint8_t n): void | ||||
| + setTimeOn(uint16_t t): void | ||||
| + setTimeOff(uint16_t t): void | ||||
| -. | ||||
| + startBehaviour(): void | ||||
| + processEvent(Event* ev): void | ||||
| + blinkN(): void | ||||
| + blink(): void | ||||
| + endBlink(): void | ||||
| + toggle(): void</panel_attributes> | ||||
|     <additional_attributes/> | ||||
|   </element> | ||||
|   <element> | ||||
|     <id>UMLClass</id> | ||||
|     <coordinates> | ||||
|       <x>801</x> | ||||
|       <y>216</y> | ||||
|       <w>126</w> | ||||
|       <h>108</h> | ||||
|     </coordinates> | ||||
|     <panel_attributes>Factory | ||||
| bg=yellow | ||||
| transparency=0 | ||||
| -- | ||||
| + init(): void | ||||
| + build(): void | ||||
| + start(): void</panel_attributes> | ||||
|     <additional_attributes/> | ||||
|   </element> | ||||
|   <element> | ||||
|     <id>UMLPackage</id> | ||||
|     <coordinates> | ||||
|       <x>117</x> | ||||
|       <y>288</y> | ||||
|       <w>324</w> | ||||
|       <h>117</h> | ||||
|     </coordinates> | ||||
|     <panel_attributes>mcc_generated_files | ||||
| bg=pink | ||||
| transparency=0 | ||||
| layer=0</panel_attributes> | ||||
|     <additional_attributes/> | ||||
|   </element> | ||||
|   <element> | ||||
|     <id>UMLPackage</id> | ||||
|     <coordinates> | ||||
|       <x>729</x> | ||||
|       <y>117</y> | ||||
|       <w>720</w> | ||||
|       <h>288</h> | ||||
|     </coordinates> | ||||
|     <panel_attributes>app | ||||
| bg=pink | ||||
| transparency=0 | ||||
| layer=0</panel_attributes> | ||||
|     <additional_attributes/> | ||||
|   </element> | ||||
|   <element> | ||||
|     <id>UMLPackage</id> | ||||
|     <coordinates> | ||||
|       <x>18</x> | ||||
|       <y>513</y> | ||||
|       <w>585</w> | ||||
|       <h>378</h> | ||||
|     </coordinates> | ||||
|     <panel_attributes>board | ||||
| bg=pink | ||||
| transparency=0 | ||||
| layer=0</panel_attributes> | ||||
|     <additional_attributes/> | ||||
|   </element> | ||||
|   <element> | ||||
|     <id>UMLPackage</id> | ||||
|     <coordinates> | ||||
|       <x>729</x> | ||||
|       <y>423</y> | ||||
|       <w>720</w> | ||||
|       <h>468</h> | ||||
|     </coordinates> | ||||
|     <panel_attributes>middleware | ||||
| bg=pink | ||||
| transparency=0 | ||||
| layer=0</panel_attributes> | ||||
|     <additional_attributes/> | ||||
|   </element> | ||||
|   <element> | ||||
|     <id>UMLClass</id> | ||||
|     <coordinates> | ||||
|       <x>1134</x> | ||||
|       <y>162</y> | ||||
|       <w>207</w> | ||||
|       <h>198</h> | ||||
|     </coordinates> | ||||
|     <panel_attributes>App | ||||
| bg=yellow | ||||
| transparency=0 | ||||
| -- | ||||
| - state: STATE | ||||
| -- | ||||
| + init(): void | ||||
| -. | ||||
| + startBehaviour(): void | ||||
| + processEvent(Event* ev): void | ||||
| - clickL(): void | ||||
| - clickLn(): void | ||||
| - clickR(): void | ||||
| - clickRn(): void | ||||
| - endL(): void | ||||
| - endR(): void | ||||
| - longClick(): void</panel_attributes> | ||||
|     <additional_attributes/> | ||||
|   </element> | ||||
|   <element> | ||||
|     <id>Relation</id> | ||||
|     <coordinates> | ||||
|       <x>171</x> | ||||
|       <y>396</y> | ||||
|       <w>72</w> | ||||
|       <h>225</h> | ||||
|     </coordinates> | ||||
|     <panel_attributes>lt=.> | ||||
| m1=<<import>></panel_attributes> | ||||
|     <additional_attributes>10.0;10.0;10.0;230.0</additional_attributes> | ||||
|   </element> | ||||
|   <element> | ||||
|     <id>Relation</id> | ||||
|     <coordinates> | ||||
|       <x>405</x> | ||||
|       <y>396</y> | ||||
|       <w>72</w> | ||||
|       <h>351</h> | ||||
|     </coordinates> | ||||
|     <panel_attributes>lt=.> | ||||
| m1=<<import>></panel_attributes> | ||||
|     <additional_attributes>10.0;10.0;10.0;370.0</additional_attributes> | ||||
|   </element> | ||||
|   <element> | ||||
|     <id>Relation</id> | ||||
|     <coordinates> | ||||
|       <x>252</x> | ||||
|       <y>252</y> | ||||
|       <w>567</w> | ||||
|       <h>369</h> | ||||
|     </coordinates> | ||||
|     <panel_attributes>lt=<<<<<-> | ||||
| m2= +b1..b3</panel_attributes> | ||||
|     <additional_attributes>610.0;10.0;300.0;10.0;300.0;270.0;10.0;270.0;10.0;390.0</additional_attributes> | ||||
|   </element> | ||||
|   <element> | ||||
|     <id>Relation</id> | ||||
|     <coordinates> | ||||
|       <x>531</x> | ||||
|       <y>288</y> | ||||
|       <w>288</w> | ||||
|       <h>459</h> | ||||
|     </coordinates> | ||||
|     <panel_attributes>lt=<<<<<-> | ||||
| m2= +11..l10</panel_attributes> | ||||
|     <additional_attributes>300.0;10.0;200.0;10.0;200.0;340.0;10.0;340.0;10.0;490.0</additional_attributes> | ||||
|   </element> | ||||
|   <element> | ||||
|     <id>Relation</id> | ||||
|     <coordinates> | ||||
|       <x>846</x> | ||||
|       <y>315</y> | ||||
|       <w>81</w> | ||||
|       <h>198</h> | ||||
|     </coordinates> | ||||
|     <panel_attributes>lt=<<<<<-> | ||||
| m2=+ch1..ch3</panel_attributes> | ||||
|     <additional_attributes>10.0;10.0;10.0;200.0</additional_attributes> | ||||
|   </element> | ||||
|   <element> | ||||
|     <id>Relation</id> | ||||
|     <coordinates> | ||||
|       <x>918</x> | ||||
|       <y>234</y> | ||||
|       <w>234</w> | ||||
|       <h>36</h> | ||||
|     </coordinates> | ||||
|     <panel_attributes>lt=<<<<<-> | ||||
| m2=+app</panel_attributes> | ||||
|     <additional_attributes>10.0;10.0;240.0;10.0</additional_attributes> | ||||
|   </element> | ||||
|   <element> | ||||
|     <id>Relation</id> | ||||
|     <coordinates> | ||||
|       <x>918</x> | ||||
|       <y>297</y> | ||||
|       <w>324</w> | ||||
|       <h>189</h> | ||||
|     </coordinates> | ||||
|     <panel_attributes>lt=<<<<<-> | ||||
| m2=+blL</panel_attributes> | ||||
|     <additional_attributes>10.0;10.0;150.0;10.0;150.0;150.0;310.0;150.0;310.0;190.0</additional_attributes> | ||||
|   </element> | ||||
|   <element> | ||||
|     <id>Relation</id> | ||||
|     <coordinates> | ||||
|       <x>918</x> | ||||
|       <y>279</y> | ||||
|       <w>360</w> | ||||
|       <h>207</h> | ||||
|     </coordinates> | ||||
|     <panel_attributes>lt=<<<<<-> | ||||
| m2=+blR</panel_attributes> | ||||
|     <additional_attributes>10.0;10.0;160.0;10.0;160.0;160.0;350.0;160.0;350.0;210.0</additional_attributes> | ||||
|   </element> | ||||
|   <element> | ||||
|     <id>Relation</id> | ||||
|     <coordinates> | ||||
|       <x>918</x> | ||||
|       <y>261</y> | ||||
|       <w>396</w> | ||||
|       <h>225</h> | ||||
|     </coordinates> | ||||
|     <panel_attributes>lt=<<<<<-> | ||||
| m2=+blB</panel_attributes> | ||||
|     <additional_attributes>10.0;10.0;170.0;10.0;170.0;170.0;390.0;170.0;390.0;230.0</additional_attributes> | ||||
|   </element> | ||||
|   <element> | ||||
|     <id>UMLPackage</id> | ||||
|     <coordinates> | ||||
|       <x>27</x> | ||||
|       <y>117</y> | ||||
|       <w>630</w> | ||||
|       <h>117</h> | ||||
|     </coordinates> | ||||
|     <panel_attributes>xf | ||||
| bg=pink | ||||
| transparency=0 | ||||
| layer=0</panel_attributes> | ||||
|     <additional_attributes/> | ||||
|   </element> | ||||
|   <element> | ||||
|     <id>Relation</id> | ||||
|     <coordinates> | ||||
|       <x>63</x> | ||||
|       <y>225</y> | ||||
|       <w>72</w> | ||||
|       <h>396</h> | ||||
|     </coordinates> | ||||
|     <panel_attributes>lt=.> | ||||
| <<import>></panel_attributes> | ||||
|     <additional_attributes>10.0;10.0;10.0;420.0</additional_attributes> | ||||
|   </element> | ||||
|   <element> | ||||
|     <id>Relation</id> | ||||
|     <coordinates> | ||||
|       <x>612</x> | ||||
|       <y>225</y> | ||||
|       <w>504</w> | ||||
|       <h>603</h> | ||||
|     </coordinates> | ||||
|     <panel_attributes>lt=.> | ||||
| <<import>></panel_attributes> | ||||
|     <additional_attributes>10.0;10.0;10.0;650.0;540.0;650.0</additional_attributes> | ||||
|   </element> | ||||
|   <element> | ||||
|     <id>Relation</id> | ||||
|     <coordinates> | ||||
|       <x>630</x> | ||||
|       <y>225</y> | ||||
|       <w>171</w> | ||||
|       <h>315</h> | ||||
|     </coordinates> | ||||
|     <panel_attributes>lt=.> | ||||
| <<import>></panel_attributes> | ||||
|     <additional_attributes>10.0;10.0;10.0;330.0;170.0;330.0</additional_attributes> | ||||
|   </element> | ||||
|   <element> | ||||
|     <id>Relation</id> | ||||
|     <coordinates> | ||||
|       <x>648</x> | ||||
|       <y>171</y> | ||||
|       <w>504</w> | ||||
|       <h>36</h> | ||||
|     </coordinates> | ||||
|     <panel_attributes>lt=.> | ||||
| <<import>></panel_attributes> | ||||
|     <additional_attributes>10.0;20.0;540.0;20.0</additional_attributes> | ||||
|   </element> | ||||
| </diagram> | ||||
		Reference in New Issue
	
	Block a user