|
- <?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.Class</type>
- <coordinates>
- <x>400</x>
- <y>40</y>
- <w>210</w>
- <h>120</h>
- </coordinates>
- <panel_attributes>TransitEquipment
- --
- -id: long
- -merchantId: long
- --
- +checkDevice(): boolean
- +getPrinterList(): List<Printer></panel_attributes>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.Class</type>
- <coordinates>
- <x>670</x>
- <y>40</y>
- <w>230</w>
- <h>120</h>
- </coordinates>
- <panel_attributes>Printer
- --
- -id: long
- -printerId: long
- --
- +checkDevice(): boolean
- +getPrinterSetting(): PrinterSetting
- </panel_attributes>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.Class</type>
- <coordinates>
- <x>0</x>
- <y>40</y>
- <w>340</w>
- <h>120</h>
- </coordinates>
- <panel_attributes>Merchant
- --
- -id: long
- --
- +getMerchantPrintRule(): MerchantPrintRule
- +getTransitEquipmentList(): List<TransitEquipment>
- +getAllPrinterList(): List<Printer></panel_attributes>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.Class</type>
- <coordinates>
- <x>950</x>
- <y>370</y>
- <w>340</w>
- <h>350</h>
- </coordinates>
- <panel_attributes>PrintTask
- --
- -id: long
- -dishesId: long
- -priority: int
- -status: int
- -creatTime: long
- -printerId: long
- --
- -getDishes(): Dishes
- -recordChangeLog():void
- +getChangeLog():List<PrintTaskStatusChangeLog>
- +updateStatus(status: int): boolean
- +getPriority(): int
- +setPriority(prio: int): void
- +getStatus(): int
- +setStatus(s: int): void
- +getCreatTime(): long
- +setCreatTime(ct: long): void
- +getPrinterId(): long
- +setPrinterId(printerId: long): void</panel_attributes>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.Class</type>
- <coordinates>
- <x>1350</x>
- <y>590</y>
- <w>190</w>
- <h>130</h>
- </coordinates>
- <panel_attributes>PrintTaskStatusChangeLog
- --
- -id: long
- -printTaskId: long
- -fromState: int
- -toState: int
- -changeTime: long
- </panel_attributes>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.Class</type>
- <coordinates>
- <x>0</x>
- <y>210</y>
- <w>330</w>
- <h>190</h>
- </coordinates>
- <panel_attributes>MerchantPrintRule
- --
- -id: long
- -merchantId: long
- -rulePriority: int
- -ruleName: String
- --
- +getRulePriority(): int
- +SetRulePriority(v: int): void
- +getRuleName(): String
- +setRuleName(v: String): void
- </panel_attributes>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.Class</type>
- <coordinates>
- <x>380</x>
- <y>340</y>
- <w>500</w>
- <h>380</h>
- </coordinates>
- <panel_attributes>PrintService
- --
- -mMerchant: Merchant
- -mTransitEquipmentList: List<TransitEquipment>
- -mAvailableTransitEquipmentList: List<TransitEquipment>
- -mPrinterList: List<Printer>
- -mAvailablePrinterList: List<Printer>
-
- -mPrintTaskQueueMap: Map<int , List<PrintTask>>
- --
- -getAllTransitEquipment(): boolean
- -getAllPrinter(te: TransitEquipment): boolean
- -checkTransitEquipment(te: TransitEquipment): boolean
- -checkPrinter(p: Printer): boolean
- -initPringTaskQueueMap(): void
- -updatePringTaskMapQueue(pId: int): void
- -getPringTaskQueue(pId: int): List<PrintMapping>
-
-
-
- +startService(): boolean
- +stopService(): boolean
- +printSuccess(): boolean
- +getPrintTaskSet(pId: long, size: int): boolean
- +sendPrintTaskSet(ip: String, port: int): boolean
- </panel_attributes>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.Class</type>
- <coordinates>
- <x>1010</x>
- <y>40</y>
- <w>530</w>
- <h>310</h>
- </coordinates>
- <panel_attributes>PrinterSetting
- --
- -id: long
- -printerId: long
- -ip: String
- -port: String
- -dishesType: int
- -printType: int
- --
- +getPrintDishesList()
- +getPrintDishesType()
- +setPrintDishesType(t: int): void
- +getPrintType(): int
- +setPrintType(t: int): void
- +getIp(): String: int
- +setIp(ip: String): void
- +getPort(): String
- +setPort(prrt: String): void
- </panel_attributes>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>130</x>
- <y>130</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.Relation</type>
- <coordinates>
- <x>310</x>
- <y>40</y>
- <w>110</w>
- <h>50</h>
- </coordinates>
- <panel_attributes>lt=<-</panel_attributes>
- <additional_attributes>90;30;30;30</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>580</x>
- <y>40</y>
- <w>110</w>
- <h>50</h>
- </coordinates>
- <panel_attributes>lt=<-</panel_attributes>
- <additional_attributes>90;30;30;30</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.Class</type>
- <coordinates>
- <x>1350</x>
- <y>370</y>
- <w>190</w>
- <h>190</h>
- </coordinates>
- <panel_attributes>Dishes
- --
- -id: long
- -type: int
- -printerId: long
- -chefId: long
- -name: String
- -price: double
- -pic: int</panel_attributes>
- <additional_attributes/>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>1260</x>
- <y>440</y>
- <w>110</w>
- <h>50</h>
- </coordinates>
- <panel_attributes>lt=<-</panel_attributes>
- <additional_attributes>90;30;30;30</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>1260</x>
- <y>440</y>
- <w>110</w>
- <h>260</h>
- </coordinates>
- <panel_attributes>lt=<-</panel_attributes>
- <additional_attributes>90;240;30;30</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>850</x>
- <y>490</y>
- <w>120</w>
- <h>50</h>
- </coordinates>
- <panel_attributes>lt=<-</panel_attributes>
- <additional_attributes>100;30;30;30</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>600</x>
- <y>130</y>
- <w>220</w>
- <h>230</h>
- </coordinates>
- <panel_attributes>lt=<-</panel_attributes>
- <additional_attributes>200;30;30;210</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>480</x>
- <y>130</y>
- <w>170</w>
- <h>230</h>
- </coordinates>
- <panel_attributes>lt=<-</panel_attributes>
- <additional_attributes>30;30;150;210</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>250</x>
- <y>130</y>
- <w>400</w>
- <h>230</h>
- </coordinates>
- <panel_attributes>lt=<-</panel_attributes>
- <additional_attributes>30;30;380;210</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>300</x>
- <y>250</y>
- <w>350</w>
- <h>110</h>
- </coordinates>
- <panel_attributes>lt=<-</panel_attributes>
- <additional_attributes>30;30;330;90</additional_attributes>
- </element>
- <element>
- <type>com.umlet.element.Relation</type>
- <coordinates>
- <x>870</x>
- <y>40</y>
- <w>160</w>
- <h>50</h>
- </coordinates>
- <panel_attributes>lt=<-</panel_attributes>
- <additional_attributes>140;30;30;30</additional_attributes>
- </element>
- </diagram>
|