| | |
| | | function StoreCrn(option, object) { |
| | | console.log(option); |
| | | this.crnBodyLength = option.crnBody.length||50;//库位长度 |
| | | this.crnBodyWidth = option.crnBody.width||50;//库位宽 |
| | | this.crnBodyHeight = option.crnBody.height||500;//库位高 |
| | | this.crnLoadLength = option.crnLoad.length||60;//库位长度 |
| | | this.crnLoadWidth = option.crnLoad.width||60;//库位宽 |
| | | this.crnLoadHeight = option.crnLoad.height||40;//库位高 |
| | | this.crnForkLength = option.crnFork.length||80;//库位长度 |
| | | this.crnForkLength = option.crnFork.length||50;//库位长度 |
| | | this.crnForkWidth = option.crnFork.width||20;//库位宽 |
| | | this.crnForkHeight = option.crnFork.height||30;//库位高 |
| | | |
| | |
| | | transparent: true, |
| | | opacity: .3 |
| | | })) |
| | | a.name = option.crnNo + "-body"; |
| | | a.position.x = option.crnBody.position.x; |
| | | a.position.y = option.crnBody.position.y + this.crnBodyHeight/2; |
| | | a.position.z = option.crnBody.position.z - this.crnBodyWidth/2; |
| | |
| | | transparent: true, |
| | | opacity: .5 |
| | | })) |
| | | b.name = option.crnNo + "-load"; |
| | | b.position.x = option.crnLoad.position.x; |
| | | b.position.y = option.crnLoad.position.y + this.crnLoadHeight/2; |
| | | b.position.z = option.crnLoad.position.z - this.crnLoadWidth/2 + 5; |
| | |
| | | transparent: true, |
| | | opacity: 1 |
| | | })) |
| | | c.name = option.crnNo + "-fork"; |
| | | c.position.x = option.crnFork.position.x; |
| | | c.position.y = option.crnFork.position.y + this.crnLoadHeight/2; |
| | | c.position.z = option.crnFork.position.z - this.crnLoadWidth/2; |