| | |
| | | this.initLight(); |
| | | this.initFloor(); |
| | | this.initModel(); |
| | | this.initModel0(); |
| | | this.initStoreObjects(this); |
| | | } |
| | | this.animate = function () { |
| | |
| | | initStore(); |
| | | if (Store3DData !== null) { |
| | | for(var group of Store3DData.data.store.groups) { |
| | | let crn = new StoreCrn(group.crn, object); |
| | | for (var line of group.lines) { |
| | | let shelf = new StoreShelf(line); |
| | | object.addObject(shelf); |
| | |
| | | } |
| | | } |
| | | } |
| | | this.initModel0 = function () { |
| | | |
| | | } |
| | | this.getExistedGoodType=function(state){ |
| | | for (let i=0;i<this.goodTypes.length;i++) { |
| | | let type=this.goodTypes[i]; |