任务系统 类图
2018-07-31 14:39:32 1 举报
open
作者其他创作
大纲/内容
规则
+ getCity(params):int+ getWareHouse(Params):int
任务监听
+ taskId:int+ type:string
任务
+ id:int+ jobId:int+ name:string+ status:int+ type:string+ created_at:datetime+ updated_at:datetime
+ newTask():object+ instObj():object
作业监听
+ jobId:int+ type:string+ carId:int
处理
+ ID:int+ name:string- isComplete:int- isCanceled:int- AsynState:int
+ Create(params):void+ Dispatch(params):void+ Cancel(params):void+ wait(params):void
main
+ operation1(params):returnType- operation2(params)- operation3()
按城市分配
+ cityName:string+ cityId:int+ wareHouseName:string+ warehouseId:int
*:1
按系统分配
+ sysName:string+ sysId:int
作业
+ jobId:int+ jobName:string+ carId:int+ created_at:datetime+ type:int
筛选项
+ attribute1:type = defaultValue+ attribute2:type- attribute3:type
监听
+ :int+ route:string
+ bind(params):void+ __call(params)
分配方式
任务集合
+ currentTaskId:int+ failTaskId:int+ successTaskId:int
+ getTaskById():task+ getAllTask():task+ getTask():task
0 条评论
下一页