10 com.umlet.element.Class 400 40 210 120 TransitEquipment -- -id: long -merchantId: long -- +checkDevice(): boolean +getPrinterList(): List<Printer> com.umlet.element.Class 670 40 230 120 Printer -- -id: long -printerId: long -- +checkDevice(): boolean +getPrinterSetting(): PrinterSetting com.umlet.element.Class 0 40 340 120 Merchant -- -id: long -- +getMerchantPrintRule(): MerchantPrintRule +getTransitEquipmentList(): List<TransitEquipment> +getAllPrinterList(): List<Printer> com.umlet.element.Class 950 370 340 350 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 com.umlet.element.Class 1350 590 190 130 PrintTaskStatusChangeLog -- -id: long -printTaskId: long -fromState: int -toState: int -changeTime: long com.umlet.element.Class 0 210 330 190 MerchantPrintRule -- -id: long -merchantId: long -rulePriority: int -ruleName: String -- +getRulePriority(): int +SetRulePriority(v: int): void +getRuleName(): String +setRuleName(v: String): void com.umlet.element.Class 380 340 500 380 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 com.umlet.element.Class 1010 40 530 310 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 com.umlet.element.Relation 130 130 50 100 lt=<- 30;80;30;30 com.umlet.element.Relation 310 40 110 50 lt=<- 90;30;30;30 com.umlet.element.Relation 580 40 110 50 lt=<- 90;30;30;30 com.umlet.element.Class 1350 370 190 190 Dishes -- -id: long -type: int -printerId: long -chefId: long -name: String -price: double -pic: int com.umlet.element.Relation 1260 440 110 50 lt=<- 90;30;30;30 com.umlet.element.Relation 1260 440 110 260 lt=<- 90;240;30;30 com.umlet.element.Relation 850 490 120 50 lt=<- 100;30;30;30 com.umlet.element.Relation 600 130 220 230 lt=<- 200;30;30;210 com.umlet.element.Relation 480 130 170 230 lt=<- 30;30;150;210 com.umlet.element.Relation 250 130 400 230 lt=<- 30;30;380;210 com.umlet.element.Relation 300 250 350 110 lt=<- 30;30;330;90 com.umlet.element.Relation 870 40 160 50 lt=<- 140;30;30;30