| | |
| | | import {StoreShelf} from './object/StoreShelf.js'; |
| | | import {StoreCrn} from './object/StoreCrn.js'; |
| | | import {StoreConvey} from './object/StoreConvey.js'; |
| | | |
| | | import {StoreGoods} from './object/StoreGoods.js'; |
| | | |
| | | |
| | | var APP = { |
| | |
| | | this.initStoreObjects = function (object) { |
| | | if (this.firstTime === 1) { |
| | | if (Store3DData !== undefined && Store3DData !== null) { |
| | | for(var group of Store3DData.data.store.groups) { |
| | | for(let group of Store3DData.data.store.groups) { |
| | | new StoreCrn(group.crn, object); |
| | | for (var line of group.lines) { |
| | | for (let line of group.lines) { |
| | | let shelf = new StoreShelf(line); |
| | | object.addObject(shelf); |
| | | object.addObject(shelf.mesh); |
| | | if (line.bins !== null) { |
| | | new StoreGoods(object, line.bins, shelf); |
| | | } |
| | | //显示库位上的货物 |
| | | // for (var bin of line.bins) { |
| | | // let existGoods=this.getExistedGoodType(bin.State); |