|  |  |  | 
|---|
|  |  |  | that.object = object; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | that.no = 0; | 
|---|
|  |  |  | that.objectType = null; | 
|---|
|  |  |  | that.isDel = false; | 
|---|
|  |  |  | that.readyIn = false; | 
|---|
|  |  |  | that.run = false; | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | let item = getArrVal(conveyObjects.objects, "no", that.no+""); | 
|---|
|  |  |  | if (!that.position && item) { | 
|---|
|  |  |  | that.objectType = item.objectType; | 
|---|
|  |  |  | that.position = item.position; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if (!item) { | 
|---|
|  |  |  | 
|---|
|  |  |  | that.object.removeObject(that.wrkNo + "-Goods"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | InitPallet(that.object, [{wrkNo: staData.wrkNo}], {position: that.position}, 2); | 
|---|
|  |  |  | InitGoods(that.object, [{wrkNo: staData.wrkNo}], {position: that.position}, 2); | 
|---|
|  |  |  | InitPallet(that.object, [{wrkNo: staData.wrkNo}], {position: that.position, objectType: that.objectType}, 2); | 
|---|
|  |  |  | InitGoods(that.object, [{wrkNo: staData.wrkNo}], {position: that.position, objectType: that.objectType}, 2); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|