- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
- <diagram program="umlet" version="11.4">
- <zoom_level>10</zoom_level>
- <element>
- <type>com.umlet.element.custom.InitialState</type>
- <coordinates>
- <x>570</x>
- <y>130</y>
- <w>20</w>
- <h>20</h>
- </coordinates>
- <panel_attributes>i</panel_attributes>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>550</x>
- <y>110</y>
- <w>50</w>
- <h>90</h>
- </coordinates>
- <panel_attributes>lt=<-</panel_attributes>
- <additional_attributes>30;70;30;30</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.custom.State</type>
- <coordinates>
- <x>530</x>
- <y>340</y>
- <w>100</w>
- <h>40</h>
- </coordinates>
- <panel_attributes>检测POS</panel_attributes>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.custom.State</type>
- <coordinates>
- <x>510</x>
- <y>840</y>
- <w>140</w>
- <h>40</h>
- </coordinates>
- <panel_attributes>加入可用 Printer list</panel_attributes>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>550</x>
- <y>530</y>
- <w>50</w>
- <h>90</h>
- </coordinates>
- <panel_attributes>lt=<-</panel_attributes>
- <additional_attributes>30;70;30;30</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.custom.State</type>
- <coordinates>
- <x>500</x>
- <y>1130</y>
- <w>160</w>
- <h>40</h>
- </coordinates>
- <panel_attributes>获得全部打印任务</panel_attributes>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>530</x>
- <y>1050</y>
- <w>86</w>
- <h>100</h>
- </coordinates>
- <panel_attributes>lt=<-
- 没有</panel_attributes>
- <additional_attributes>50;80;50;30</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.custom.Systemborder</type>
- <coordinates>
- <x>680</x>
- <y>1100</y>
- <w>260</w>
- <h>90</h>
- </coordinates>
- <panel_attributes>打印任务按优先
- 级和生成时间升
- 序排列
-
- 考虑合并和插队规则</panel_attributes>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.custom.State</type>
- <coordinates>
- <x>510</x>
- <y>1200</y>
- <w>140</w>
- <h>40</h>
- </coordinates>
- <panel_attributes>获得门店打印任
- 务建队规则列表</panel_attributes>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>550</x>
- <y>1140</y>
- <w>50</w>
- <h>80</h>
- </coordinates>
- <panel_attributes>lt=<-</panel_attributes>
- <additional_attributes>30;60;30;30</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.custom.State</type>
- <coordinates>
- <x>490</x>
- <y>520</y>
- <w>170</w>
- <h>40</h>
- </coordinates>
- <panel_attributes>获取Pos打印机信息</panel_attributes>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.custom.State</type>
- <coordinates>
- <x>490</x>
- <y>180</y>
- <w>170</w>
- <h>40</h>
- </coordinates>
- <panel_attributes>获取门店中转设备信息</panel_attributes>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>550</x>
- <y>190</y>
- <w>50</w>
- <h>90</h>
- </coordinates>
- <panel_attributes>lt=<-</panel_attributes>
- <additional_attributes>30;70;30;30</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>550</x>
- <y>350</y>
- <w>50</w>
- <h>100</h>
- </coordinates>
- <panel_attributes>lt=<-</panel_attributes>
- <additional_attributes>30;80;30;30</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.custom.State</type>
- <coordinates>
- <x>530</x>
- <y>260</y>
- <w>100</w>
- <h>40</h>
- </coordinates>
- <panel_attributes>Get Next POS</panel_attributes>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>550</x>
- <y>270</y>
- <w>50</w>
- <h>90</h>
- </coordinates>
- <panel_attributes>lt=<-</panel_attributes>
- <additional_attributes>30;70;30;30</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.custom.Decision</type>
- <coordinates>
- <x>560</x>
- <y>430</y>
- <w>40</w>
- <h>40</h>
- </coordinates>
- <panel_attributes/>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>530</x>
- <y>440</y>
- <w>88</w>
- <h>100</h>
- </coordinates>
- <panel_attributes>lt=<-
- Pass</panel_attributes>
- <additional_attributes>50;80;50;30</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>570</x>
- <y>250</y>
- <w>180</w>
- <h>220</h>
- </coordinates>
- <panel_attributes>lt=<-
- Fail</panel_attributes>
- <additional_attributes>60;30;150;30;150;200;30;200</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.custom.State</type>
- <coordinates>
- <x>530</x>
- <y>680</y>
- <w>100</w>
- <h>40</h>
- </coordinates>
- <panel_attributes>检测Printer</panel_attributes>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>550</x>
- <y>690</y>
- <w>50</w>
- <h>100</h>
- </coordinates>
- <panel_attributes>lt=<-</panel_attributes>
- <additional_attributes>30;80;30;30</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.custom.State</type>
- <coordinates>
- <x>520</x>
- <y>600</y>
- <w>110</w>
- <h>40</h>
- </coordinates>
- <panel_attributes>Get Next Printer</panel_attributes>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>550</x>
- <y>610</y>
- <w>50</w>
- <h>90</h>
- </coordinates>
- <panel_attributes>lt=<-</panel_attributes>
- <additional_attributes>30;70;30;30</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.custom.Decision</type>
- <coordinates>
- <x>560</x>
- <y>770</y>
- <w>40</w>
- <h>40</h>
- </coordinates>
- <panel_attributes/>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>570</x>
- <y>590</y>
- <w>180</w>
- <h>220</h>
- </coordinates>
- <panel_attributes>lt=<-
- Fail</panel_attributes>
- <additional_attributes>60;30;150;30;150;200;30;200</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>550</x>
- <y>780</y>
- <w>50</w>
- <h>80</h>
- </coordinates>
- <panel_attributes>lt=<-</panel_attributes>
- <additional_attributes>30;60;30;30</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.custom.Decision</type>
- <coordinates>
- <x>560</x>
- <y>1040</y>
- <w>40</w>
- <h>40</h>
- </coordinates>
- <panel_attributes/>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>480</x>
- <y>850</y>
- <w>184</w>
- <h>110</h>
- </coordinates>
- <panel_attributes>lt=<-
- 是否还有其他打印机</panel_attributes>
- <additional_attributes>100;90;100;30</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>490</x>
- <y>950</y>
- <w>172</w>
- <h>110</h>
- </coordinates>
- <panel_attributes>lt=<-
- 没有
- 是否还有其他POS</panel_attributes>
- <additional_attributes>90;90;90;30</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.custom.Decision</type>
- <coordinates>
- <x>560</x>
- <y>940</y>
- <w>40</w>
- <h>40</h>
- </coordinates>
- <panel_attributes/>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>550</x>
- <y>180</y>
- <w>322</w>
- <h>900</h>
- </coordinates>
- <panel_attributes>lt=<-
- 有</panel_attributes>
- <additional_attributes>30;80;30;50;290;50;290;880;50;880</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>390</x>
- <y>530</y>
- <w>210</w>
- <h>450</h>
- </coordinates>
- <panel_attributes>lt=<-
- 有</panel_attributes>
- <additional_attributes>190;70;190;50;40;50;40;430;170;430</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.custom.State</type>
- <coordinates>
- <x>510</x>
- <y>2040</y>
- <w>140</w>
- <h>40</h>
- </coordinates>
- <panel_attributes>将队列
- 加入打印队列Map</panel_attributes>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>550</x>
- <y>1210</y>
- <w>50</w>
- <h>90</h>
- </coordinates>
- <panel_attributes>lt=<-</panel_attributes>
- <additional_attributes>30;70;30;30</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.custom.State</type>
- <coordinates>
- <x>500</x>
- <y>1400</y>
- <w>180</w>
- <h>40</h>
- </coordinates>
- <panel_attributes>Get 打印机的打印队列
- 如没有则新建一个</panel_attributes>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>550</x>
- <y>1410</y>
- <w>50</w>
- <h>70</h>
- </coordinates>
- <panel_attributes>lt=<-</panel_attributes>
- <additional_attributes>30;50;30;30</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.custom.State</type>
- <coordinates>
- <x>500</x>
- <y>1280</y>
- <w>160</w>
- <h>40</h>
- </coordinates>
- <panel_attributes>Get next 可用的 Printer</panel_attributes>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>550</x>
- <y>1290</y>
- <w>50</w>
- <h>70</h>
- </coordinates>
- <panel_attributes>lt=<-</panel_attributes>
- <additional_attributes>30;50;30;30</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>480</x>
- <y>2050</y>
- <w>184</w>
- <h>100</h>
- </coordinates>
- <panel_attributes>lt=<-
- 是否还有其他打印机</panel_attributes>
- <additional_attributes>100;80;100;30</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>530</x>
- <y>2140</y>
- <w>86</w>
- <h>90</h>
- </coordinates>
- <panel_attributes>lt=<-
- 没有</panel_attributes>
- <additional_attributes>50;70;50;30</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.custom.Decision</type>
- <coordinates>
- <x>560</x>
- <y>2130</y>
- <w>40</w>
- <h>40</h>
- </coordinates>
- <panel_attributes/>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>390</x>
- <y>1220</y>
- <w>210</w>
- <h>950</h>
- </coordinates>
- <panel_attributes>lt=<-
- 有</panel_attributes>
- <additional_attributes>190;60;190;30;40;30;40;430;40;920;170;930</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.custom.State</type>
- <coordinates>
- <x>510</x>
- <y>1850</y>
- <w>140</w>
- <h>40</h>
- </coordinates>
- <panel_attributes>将任务
- 加入打印队列</panel_attributes>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.custom.State</type>
- <coordinates>
- <x>510</x>
- <y>1460</y>
- <w>140</w>
- <h>40</h>
- </coordinates>
- <panel_attributes>Get Next Print task</panel_attributes>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.custom.Decision</type>
- <coordinates>
- <x>560</x>
- <y>1700</y>
- <w>40</w>
- <h>40</h>
- </coordinates>
- <panel_attributes/>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.custom.State</type>
- <coordinates>
- <x>510</x>
- <y>1630</y>
- <w>140</w>
- <h>40</h>
- </coordinates>
- <panel_attributes>CheckRule</panel_attributes>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>550</x>
- <y>1470</y>
- <w>50</w>
- <h>70</h>
- </coordinates>
- <panel_attributes>lt=<-</panel_attributes>
- <additional_attributes>30;50;30;30</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>530</x>
- <y>1710</y>
- <w>86</w>
- <h>80</h>
- </coordinates>
- <panel_attributes>lt=<-
- True</panel_attributes>
- <additional_attributes>50;60;50;30</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>430</x>
- <y>1690</y>
- <w>170</w>
- <h>300</h>
- </coordinates>
- <panel_attributes>lt=<-
- Fail</panel_attributes>
- <additional_attributes>150;280;150;210;40;210;40;30;130;30</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.custom.State</type>
- <coordinates>
- <x>510</x>
- <y>2210</y>
- <w>140</w>
- <h>40</h>
- </coordinates>
- <panel_attributes>等待轮询</panel_attributes>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>550</x>
- <y>2220</y>
- <w>50</w>
- <h>90</h>
- </coordinates>
- <panel_attributes>lt=<-</panel_attributes>
- <additional_attributes>30;70;30;30</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.custom.FinalState</type>
- <coordinates>
- <x>570</x>
- <y>2290</y>
- <w>20</w>
- <h>20</h>
- </coordinates>
- <panel_attributes>i</panel_attributes>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.custom.State</type>
- <coordinates>
- <x>500</x>
- <y>1340</y>
- <w>160</w>
- <h>40</h>
- </coordinates>
- <panel_attributes>Get Printer Setting</panel_attributes>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>550</x>
- <y>1350</y>
- <w>50</w>
- <h>70</h>
- </coordinates>
- <panel_attributes>lt=<-</panel_attributes>
- <additional_attributes>30;50;30;30</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.custom.State</type>
- <coordinates>
- <x>530</x>
- <y>1560</y>
- <w>100</w>
- <h>40</h>
- </coordinates>
- <panel_attributes>Get Next Rule</panel_attributes>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>550</x>
- <y>1570</y>
- <w>50</w>
- <h>80</h>
- </coordinates>
- <panel_attributes>lt=<-</panel_attributes>
- <additional_attributes>30;60;30;30</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>570</x>
- <y>1550</y>
- <w>216</w>
- <h>260</h>
- </coordinates>
- <panel_attributes>lt=<-
- 还有其他的规则
- </panel_attributes>
- <additional_attributes>60;30;140;30;140;240;30;240</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>550</x>
- <y>1640</y>
- <w>50</w>
- <h>80</h>
- </coordinates>
- <panel_attributes>lt=<-
- </panel_attributes>
- <additional_attributes>30;60;30;30</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.custom.Decision</type>
- <coordinates>
- <x>560</x>
- <y>1770</y>
- <w>40</w>
- <h>40</h>
- </coordinates>
- <panel_attributes/>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>520</x>
- <y>1780</y>
- <w>114</w>
- <h>90</h>
- </coordinates>
- <panel_attributes>lt=<-
- 全部通过</panel_attributes>
- <additional_attributes>60;70;60;30</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>480</x>
- <y>1860</y>
- <w>198</w>
- <h>130</h>
- </coordinates>
- <panel_attributes>lt=<-
- 是否还有其他打印任务</panel_attributes>
- <additional_attributes>100;110;100;30</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.custom.Decision</type>
- <coordinates>
- <x>560</x>
- <y>1970</y>
- <w>40</w>
- <h>40</h>
- </coordinates>
- <panel_attributes/>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>530</x>
- <y>1980</y>
- <w>86</w>
- <h>80</h>
- </coordinates>
- <panel_attributes>lt=<-
- 没有</panel_attributes>
- <additional_attributes>50;60;50;30</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>570</x>
- <y>1450</y>
- <w>262</w>
- <h>560</h>
- </coordinates>
- <panel_attributes>lt=<-
- 有</panel_attributes>
- <additional_attributes>80;30;230;30;230;540;30;540</additional_attributes>
- </element>
- </diagram>
|