Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 
 

527 wiersze
13 KiB

  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <diagram program="umlet" version="11.4">
  3. <zoom_level>10</zoom_level>
  4. <element>
  5. <type>com.umlet.element.custom.State</type>
  6. <coordinates>
  7. <x>620</x>
  8. <y>970</y>
  9. <w>230</w>
  10. <h>60</h>
  11. </coordinates>
  12. <panel_attributes>中转设备/4G打印机接收打印任务
  13. 分配各个打印机执行</panel_attributes>
  14. <additional_attributes/>
  15. </element>
  16. <element>
  17. <type>com.umlet.element.custom.InitialState</type>
  18. <coordinates>
  19. <x>720</x>
  20. <y>20</y>
  21. <w>20</w>
  22. <h>20</h>
  23. </coordinates>
  24. <panel_attributes>i</panel_attributes>
  25. <additional_attributes/>
  26. </element>
  27. <element>
  28. <type>com.umlet.element.Relation</type>
  29. <coordinates>
  30. <x>700</x>
  31. <y>0</y>
  32. <w>50</w>
  33. <h>140</h>
  34. </coordinates>
  35. <panel_attributes>lt=&lt;-</panel_attributes>
  36. <additional_attributes>30;120;30;30</additional_attributes>
  37. </element>
  38. <element>
  39. <type>com.umlet.element.custom.State</type>
  40. <coordinates>
  41. <x>680</x>
  42. <y>120</y>
  43. <w>100</w>
  44. <h>40</h>
  45. </coordinates>
  46. <panel_attributes>初始化服务</panel_attributes>
  47. <additional_attributes/>
  48. </element>
  49. <element>
  50. <type>com.umlet.element.Relation</type>
  51. <coordinates>
  52. <x>700</x>
  53. <y>130</y>
  54. <w>50</w>
  55. <h>70</h>
  56. </coordinates>
  57. <panel_attributes>lt=&lt;-</panel_attributes>
  58. <additional_attributes>30;50;30;30</additional_attributes>
  59. </element>
  60. <element>
  61. <type>com.umlet.element.custom.State</type>
  62. <coordinates>
  63. <x>680</x>
  64. <y>180</y>
  65. <w>100</w>
  66. <h>40</h>
  67. </coordinates>
  68. <panel_attributes>获取门店信息</panel_attributes>
  69. <additional_attributes/>
  70. </element>
  71. <element>
  72. <type>com.umlet.element.Relation</type>
  73. <coordinates>
  74. <x>700</x>
  75. <y>190</y>
  76. <w>50</w>
  77. <h>70</h>
  78. </coordinates>
  79. <panel_attributes>lt=&lt;-</panel_attributes>
  80. <additional_attributes>30;50;30;30</additional_attributes>
  81. </element>
  82. <element>
  83. <type>com.umlet.element.custom.State</type>
  84. <coordinates>
  85. <x>650</x>
  86. <y>240</y>
  87. <w>170</w>
  88. <h>40</h>
  89. </coordinates>
  90. <panel_attributes>获取门店中转设备信息</panel_attributes>
  91. <additional_attributes/>
  92. </element>
  93. <element>
  94. <type>com.umlet.element.custom.State</type>
  95. <coordinates>
  96. <x>650</x>
  97. <y>300</y>
  98. <w>170</w>
  99. <h>40</h>
  100. </coordinates>
  101. <panel_attributes>获取门店打印机信息</panel_attributes>
  102. <additional_attributes/>
  103. </element>
  104. <element>
  105. <type>com.umlet.element.Relation</type>
  106. <coordinates>
  107. <x>700</x>
  108. <y>250</y>
  109. <w>50</w>
  110. <h>70</h>
  111. </coordinates>
  112. <panel_attributes>lt=&lt;-</panel_attributes>
  113. <additional_attributes>30;50;30;30</additional_attributes>
  114. </element>
  115. <element>
  116. <type>com.umlet.element.custom.State</type>
  117. <coordinates>
  118. <x>630</x>
  119. <y>430</y>
  120. <w>210</w>
  121. <h>80</h>
  122. </coordinates>
  123. <panel_attributes>根据配置的入队规则
  124. 为每个打印机生成打印任务队列
  125. 任务状态为:PREPRINT
  126. 记录更新日志</panel_attributes>
  127. <additional_attributes/>
  128. </element>
  129. <element>
  130. <type>com.umlet.element.Relation</type>
  131. <coordinates>
  132. <x>700</x>
  133. <y>370</y>
  134. <w>50</w>
  135. <h>80</h>
  136. </coordinates>
  137. <panel_attributes>lt=&lt;-</panel_attributes>
  138. <additional_attributes>30;60;30;30</additional_attributes>
  139. </element>
  140. <element>
  141. <type>com.umlet.element.custom.State</type>
  142. <coordinates>
  143. <x>800</x>
  144. <y>730</y>
  145. <w>130</w>
  146. <h>40</h>
  147. </coordinates>
  148. <panel_attributes>等待中转设备
  149. 轮询打印队列</panel_attributes>
  150. <additional_attributes/>
  151. </element>
  152. <element>
  153. <type>com.umlet.element.Relation</type>
  154. <coordinates>
  155. <x>580</x>
  156. <y>600</y>
  157. <w>150</w>
  158. <h>150</h>
  159. </coordinates>
  160. <panel_attributes>lt=&lt;.
  161. 推送</panel_attributes>
  162. <additional_attributes>50;130;50;50;130;50</additional_attributes>
  163. </element>
  164. <element>
  165. <type>com.umlet.element.Relation</type>
  166. <coordinates>
  167. <x>720</x>
  168. <y>600</y>
  169. <w>186</w>
  170. <h>150</h>
  171. </coordinates>
  172. <panel_attributes>lt=&lt;-
  173. 轮询</panel_attributes>
  174. <additional_attributes>150;130;150;50;30;50</additional_attributes>
  175. </element>
  176. <element>
  177. <type>com.umlet.element.custom.State</type>
  178. <coordinates>
  179. <x>650</x>
  180. <y>850</y>
  181. <w>170</w>
  182. <h>80</h>
  183. </coordinates>
  184. <panel_attributes>更新已推送的打印
  185. 任务状态为:PRINTING
  186. 记录更新日志
  187. </panel_attributes>
  188. <additional_attributes/>
  189. </element>
  190. <element>
  191. <type>com.umlet.element.Relation</type>
  192. <coordinates>
  193. <x>600</x>
  194. <y>740</y>
  195. <w>150</w>
  196. <h>130</h>
  197. </coordinates>
  198. <panel_attributes>lt=&lt;.</panel_attributes>
  199. <additional_attributes>130;110;130;80;30;30</additional_attributes>
  200. </element>
  201. <element>
  202. <type>com.umlet.element.Relation</type>
  203. <coordinates>
  204. <x>700</x>
  205. <y>740</y>
  206. <w>190</w>
  207. <h>130</h>
  208. </coordinates>
  209. <panel_attributes>lt=&lt;-</panel_attributes>
  210. <additional_attributes>30;110;30;80;170;30</additional_attributes>
  211. </element>
  212. <element>
  213. <type>com.umlet.element.Relation</type>
  214. <coordinates>
  215. <x>700</x>
  216. <y>900</y>
  217. <w>50</w>
  218. <h>90</h>
  219. </coordinates>
  220. <panel_attributes>lt=&lt;.</panel_attributes>
  221. <additional_attributes>30;70;30;30</additional_attributes>
  222. </element>
  223. <element>
  224. <type>com.umlet.element.custom.State</type>
  225. <coordinates>
  226. <x>650</x>
  227. <y>1060</y>
  228. <w>170</w>
  229. <h>80</h>
  230. </coordinates>
  231. <panel_attributes>更新打印任务
  232. 状态为:PRINTED
  233. 记录更新日志
  234. 任务弹出队列
  235. </panel_attributes>
  236. <additional_attributes/>
  237. </element>
  238. <element>
  239. <type>com.umlet.element.Relation</type>
  240. <coordinates>
  241. <x>700</x>
  242. <y>1000</y>
  243. <w>50</w>
  244. <h>80</h>
  245. </coordinates>
  246. <panel_attributes>lt=&lt;.</panel_attributes>
  247. <additional_attributes>30;60;30;30</additional_attributes>
  248. </element>
  249. <element>
  250. <type>com.umlet.element.custom.Decision</type>
  251. <coordinates>
  252. <x>710</x>
  253. <y>530</y>
  254. <w>40</w>
  255. <h>40</h>
  256. </coordinates>
  257. <panel_attributes/>
  258. <additional_attributes/>
  259. </element>
  260. <element>
  261. <type>com.umlet.element.Relation</type>
  262. <coordinates>
  263. <x>700</x>
  264. <y>480</y>
  265. <w>50</w>
  266. <h>70</h>
  267. </coordinates>
  268. <panel_attributes>lt=&lt;-
  269. </panel_attributes>
  270. <additional_attributes>30;50;30;30</additional_attributes>
  271. </element>
  272. <element>
  273. <type>com.umlet.element.custom.Decision</type>
  274. <coordinates>
  275. <x>710</x>
  276. <y>630</y>
  277. <w>40</w>
  278. <h>40</h>
  279. </coordinates>
  280. <panel_attributes/>
  281. <additional_attributes/>
  282. </element>
  283. <element>
  284. <type>com.umlet.element.Relation</type>
  285. <coordinates>
  286. <x>660</x>
  287. <y>540</y>
  288. <w>132</w>
  289. <h>110</h>
  290. </coordinates>
  291. <panel_attributes>lt=&lt;-
  292. Stop = false</panel_attributes>
  293. <additional_attributes>70;90;70;30</additional_attributes>
  294. </element>
  295. <element>
  296. <type>com.umlet.element.Relation</type>
  297. <coordinates>
  298. <x>720</x>
  299. <y>520</y>
  300. <w>406</w>
  301. <h>750</h>
  302. </coordinates>
  303. <panel_attributes>lt=&lt;-
  304. Stop = true</panel_attributes>
  305. <additional_attributes>50;730;350;730;350;30;30;30</additional_attributes>
  306. </element>
  307. <element>
  308. <type>com.umlet.element.custom.FinalState</type>
  309. <coordinates>
  310. <x>710</x>
  311. <y>1350</y>
  312. <w>20</w>
  313. <h>20</h>
  314. </coordinates>
  315. <panel_attributes>i</panel_attributes>
  316. <additional_attributes/>
  317. </element>
  318. <element>
  319. <type>com.umlet.element.custom.State</type>
  320. <coordinates>
  321. <x>1000</x>
  322. <y>80</y>
  323. <w>100</w>
  324. <h>40</h>
  325. </coordinates>
  326. <panel_attributes>POS生成订单</panel_attributes>
  327. <additional_attributes/>
  328. </element>
  329. <element>
  330. <type>com.umlet.element.custom.State</type>
  331. <coordinates>
  332. <x>980</x>
  333. <y>170</y>
  334. <w>150</w>
  335. <h>70</h>
  336. </coordinates>
  337. <panel_attributes>根据菜品生成打印任务
  338. 初始任务状态为:INIT
  339. 记录更新日志</panel_attributes>
  340. <additional_attributes/>
  341. </element>
  342. <element>
  343. <type>com.umlet.element.Relation</type>
  344. <coordinates>
  345. <x>1020</x>
  346. <y>90</y>
  347. <w>50</w>
  348. <h>100</h>
  349. </coordinates>
  350. <panel_attributes>lt=&lt;-</panel_attributes>
  351. <additional_attributes>30;80;30;30</additional_attributes>
  352. </element>
  353. <element>
  354. <type>com.umlet.element.custom.Systemborder</type>
  355. <coordinates>
  356. <x>940</x>
  357. <y>50</y>
  358. <w>230</w>
  359. <h>260</h>
  360. </coordinates>
  361. <panel_attributes/>
  362. <additional_attributes/>
  363. </element>
  364. <element>
  365. <type>com.umlet.element.Relation</type>
  366. <coordinates>
  367. <x>700</x>
  368. <y>280</y>
  369. <w>300</w>
  370. <h>170</h>
  371. </coordinates>
  372. <panel_attributes>lt=&lt;-</panel_attributes>
  373. <additional_attributes>30;150;30;130;280;130;280;30</additional_attributes>
  374. </element>
  375. <element>
  376. <type>com.umlet.element.custom.State</type>
  377. <coordinates>
  378. <x>670</x>
  379. <y>1230</y>
  380. <w>100</w>
  381. <h>40</h>
  382. </coordinates>
  383. <panel_attributes>关闭服务</panel_attributes>
  384. <additional_attributes/>
  385. </element>
  386. <element>
  387. <type>com.umlet.element.Relation</type>
  388. <coordinates>
  389. <x>690</x>
  390. <y>1240</y>
  391. <w>50</w>
  392. <h>140</h>
  393. </coordinates>
  394. <panel_attributes>lt=&lt;-</panel_attributes>
  395. <additional_attributes>30;120;30;30</additional_attributes>
  396. </element>
  397. <element>
  398. <type>com.umlet.element.custom.State</type>
  399. <coordinates>
  400. <x>640</x>
  401. <y>360</y>
  402. <w>190</w>
  403. <h>40</h>
  404. </coordinates>
  405. <panel_attributes>获取状态为非
  406. PRINTERED的打印任务</panel_attributes>
  407. <additional_attributes/>
  408. </element>
  409. <element>
  410. <type>com.umlet.element.Relation</type>
  411. <coordinates>
  412. <x>700</x>
  413. <y>310</y>
  414. <w>50</w>
  415. <h>70</h>
  416. </coordinates>
  417. <panel_attributes>lt=&lt;-</panel_attributes>
  418. <additional_attributes>30;50;30;30</additional_attributes>
  419. </element>
  420. <element>
  421. <type>com.umlet.element.custom.Systemborder</type>
  422. <coordinates>
  423. <x>1200</x>
  424. <y>550</y>
  425. <w>280</w>
  426. <h>460</h>
  427. </coordinates>
  428. <panel_attributes>对外服务接口:
  429. 1、获得中转设备的全部打印队列
  430. 2、打印成功
  431. 3、获取打印模板
  432. 建队规则:
  433. 一级规则
  434. 1、菜品类别
  435. 2、菜品
  436. 3、厨师?
  437. 二级规则:
  438. 1、压力均衡
  439. 2、优先级
  440. 打印机只限于后厨打印?</panel_attributes>
  441. <additional_attributes/>
  442. </element>
  443. <element>
  444. <type>com.umlet.element.custom.Systemborder</type>
  445. <coordinates>
  446. <x>1220</x>
  447. <y>50</y>
  448. <w>230</w>
  449. <h>260</h>
  450. </coordinates>
  451. <panel_attributes/>
  452. <additional_attributes/>
  453. </element>
  454. <element>
  455. <type>com.umlet.element.custom.State</type>
  456. <coordinates>
  457. <x>1280</x>
  458. <y>80</y>
  459. <w>100</w>
  460. <h>40</h>
  461. </coordinates>
  462. <panel_attributes>POS请求补打</panel_attributes>
  463. <additional_attributes/>
  464. </element>
  465. <element>
  466. <type>com.umlet.element.custom.State</type>
  467. <coordinates>
  468. <x>1260</x>
  469. <y>170</y>
  470. <w>150</w>
  471. <h>70</h>
  472. </coordinates>
  473. <panel_attributes>生成打印任务
  474. 初始任务状态为:INIT
  475. 记录更新日志</panel_attributes>
  476. <additional_attributes/>
  477. </element>
  478. <element>
  479. <type>com.umlet.element.Relation</type>
  480. <coordinates>
  481. <x>1300</x>
  482. <y>90</y>
  483. <w>50</w>
  484. <h>100</h>
  485. </coordinates>
  486. <panel_attributes>lt=&lt;-</panel_attributes>
  487. <additional_attributes>30;80;30;30</additional_attributes>
  488. </element>
  489. <element>
  490. <type>com.umlet.element.UseCase</type>
  491. <coordinates>
  492. <x>530</x>
  493. <y>730</y>
  494. <w>210</w>
  495. <h>40</h>
  496. </coordinates>
  497. <panel_attributes>lt=.
  498. 为每个打印机推送打印队列
  499. </panel_attributes>
  500. <additional_attributes/>
  501. </element>
  502. <element>
  503. <type>com.umlet.element.Relation</type>
  504. <coordinates>
  505. <x>880</x>
  506. <y>110</y>
  507. <w>620</w>
  508. <h>50</h>
  509. </coordinates>
  510. <panel_attributes>lt=:</panel_attributes>
  511. <additional_attributes>30;30;600;30</additional_attributes>
  512. </element>
  513. <element>
  514. <type>com.umlet.element.Relation</type>
  515. <coordinates>
  516. <x>700</x>
  517. <y>280</y>
  518. <w>670</w>
  519. <h>170</h>
  520. </coordinates>
  521. <panel_attributes>lt=&lt;-</panel_attributes>
  522. <additional_attributes>30;150;30;130;650;130;650;30</additional_attributes>
  523. </element>
  524. </diagram>