initStore(); setInterval(function () { queryCrnCurrent(); },1000); var CrnDatas = null; function queryCrnCurrent() { $.ajax({ url: 'http://47.97.1.152:58080/jkwcs/three/query/crn/cache/v1', // url: 'http://localhost:9090/jkwcs/three/query/crn/cache/v1', type: "GET", data: {}, success: function (res) { CrnDatas = res.data; } }) } var Store3DData; function initStore() { $.ajax({ // url: 'http://47.97.1.152:58080/jkwcs/three/init/store/v1', url: 'http://localhost:9090/jkwcs/three/init/store/v1', type: "POST", data: {}, // async: false, success: function (res) { Store3DData = res; } }) // Store3DData = { // "msg": "操作成功", // "code": 200, // "data": { // "store": { // "totalBinNum": 48576, // "totalRowNum": 48, // "totalBayNum": 92, // "totalLevNum": 11, // "groups": [ // { // "crnNo": 1, // "binNum": 4048, // "rowNum": 4, // "bayNum": 2, // "levNum": 11, // "length": null, // "width": null, // "height": null, // "crn": { // "crnNo": 1, // "crnBody": { // "length": null, // "width": null, // "height": 570, // "position": { // "x": 101, // "y": 0, // "z": 0 // } // }, // "crnLoad": { // "position": { // "x": 101, // "y": 0, // "z": 0 // } // }, // "crnFork": { // "position": { // "x": 101, // "y": 0, // "z": 0 // } // } // }, // "lines": [ // { // "rowNo": 1, // "name": null, // "position": { // "x": 17, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // }, // { // "rowNo": 2, // "name": null, // "position": { // "x": 57, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // }, // { // "rowNo": 3, // "name": null, // "position": { // "x": 147, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // }, // { // "rowNo": 4, // "name": null, // "position": { // "x": 187, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // } // ] // }, // { // "crnNo": 2, // "binNum": 4048, // "rowNum": 8, // "bayNum": 2, // "levNum": 11, // "length": null, // "width": null, // "height": null, // "crn": { // "crnNo": 2, // "crnBody": { // "length": null, // "width": null, // "height": 570, // "position": { // "x": 331, // "y": 0, // "z": 0 // } // }, // "crnLoad": { // "position": { // "x": 331, // "y": 0, // "z": 0 // } // }, // "crnFork": { // "position": { // "x": 331, // "y": 0, // "z": 0 // } // } // }, // "lines": [ // { // "rowNo": 5, // "name": null, // "position": { // "x": 247, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // }, // { // "rowNo": 6, // "name": null, // "position": { // "x": 287, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // }, // { // "rowNo": 7, // "name": null, // "position": { // "x": 377, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // }, // { // "rowNo": 8, // "name": null, // "position": { // "x": 417, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // } // ] // }, // { // "crnNo": 3, // "binNum": 4048, // "rowNum": 12, // "bayNum": 2, // "levNum": 11, // "length": null, // "width": null, // "height": null, // "crn": { // "crnNo": 3, // "crnBody": { // "length": null, // "width": null, // "height": 570, // "position": { // "x": 561, // "y": 0, // "z": 0 // } // }, // "crnLoad": { // "position": { // "x": 561, // "y": 0, // "z": 0 // } // }, // "crnFork": { // "position": { // "x": 561, // "y": 0, // "z": 0 // } // } // }, // "lines": [ // { // "rowNo": 9, // "name": null, // "position": { // "x": 477, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // }, // { // "rowNo": 10, // "name": null, // "position": { // "x": 517, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // }, // { // "rowNo": 11, // "name": null, // "position": { // "x": 607, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // }, // { // "rowNo": 12, // "name": null, // "position": { // "x": 647, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // } // ] // }, // { // "crnNo": 4, // "binNum": 4048, // "rowNum": 16, // "bayNum": 2, // "levNum": 11, // "length": null, // "width": null, // "height": null, // "crn": { // "crnNo": 4, // "crnBody": { // "length": null, // "width": null, // "height": 570, // "position": { // "x": 791, // "y": 0, // "z": 0 // } // }, // "crnLoad": { // "position": { // "x": 791, // "y": 0, // "z": 0 // } // }, // "crnFork": { // "position": { // "x": 791, // "y": 0, // "z": 0 // } // } // }, // "lines": [ // { // "rowNo": 13, // "name": null, // "position": { // "x": 707, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // }, // { // "rowNo": 14, // "name": null, // "position": { // "x": 747, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // }, // { // "rowNo": 15, // "name": null, // "position": { // "x": 837, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // }, // { // "rowNo": 16, // "name": null, // "position": { // "x": 877, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // } // ] // }, // { // "crnNo": 5, // "binNum": 4048, // "rowNum": 20, // "bayNum": 2, // "levNum": 11, // "length": null, // "width": null, // "height": null, // "crn": { // "crnNo": 5, // "crnBody": { // "length": null, // "width": null, // "height": 570, // "position": { // "x": 1021, // "y": 0, // "z": 0 // } // }, // "crnLoad": { // "position": { // "x": 1021, // "y": 0, // "z": 0 // } // }, // "crnFork": { // "position": { // "x": 1021, // "y": 0, // "z": 0 // } // } // }, // "lines": [ // { // "rowNo": 17, // "name": null, // "position": { // "x": 937, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // }, // { // "rowNo": 18, // "name": null, // "position": { // "x": 977, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // }, // { // "rowNo": 19, // "name": null, // "position": { // "x": 1067, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // }, // { // "rowNo": 20, // "name": null, // "position": { // "x": 1107, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // } // ] // }, // { // "crnNo": 6, // "binNum": 4048, // "rowNum": 24, // "bayNum": 2, // "levNum": 11, // "length": null, // "width": null, // "height": null, // "crn": { // "crnNo": 6, // "crnBody": { // "length": null, // "width": null, // "height": 570, // "position": { // "x": 1251, // "y": 0, // "z": 0 // } // }, // "crnLoad": { // "position": { // "x": 1251, // "y": 0, // "z": 0 // } // }, // "crnFork": { // "position": { // "x": 1251, // "y": 0, // "z": 0 // } // } // }, // "lines": [ // { // "rowNo": 21, // "name": null, // "position": { // "x": 1167, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // }, // { // "rowNo": 22, // "name": null, // "position": { // "x": 1207, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // }, // { // "rowNo": 23, // "name": null, // "position": { // "x": 1297, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // }, // { // "rowNo": 24, // "name": null, // "position": { // "x": 1337, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // } // ] // }, // { // "crnNo": 7, // "binNum": 4048, // "rowNum": 28, // "bayNum": 2, // "levNum": 11, // "length": null, // "width": null, // "height": null, // "crn": { // "crnNo": 7, // "crnBody": { // "length": null, // "width": null, // "height": 570, // "position": { // "x": 1481, // "y": 0, // "z": 0 // } // }, // "crnLoad": { // "position": { // "x": 1481, // "y": 0, // "z": 0 // } // }, // "crnFork": { // "position": { // "x": 1481, // "y": 0, // "z": 0 // } // } // }, // "lines": [ // { // "rowNo": 25, // "name": null, // "position": { // "x": 1397, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // }, // { // "rowNo": 26, // "name": null, // "position": { // "x": 1437, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // }, // { // "rowNo": 27, // "name": null, // "position": { // "x": 1527, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // }, // { // "rowNo": 28, // "name": null, // "position": { // "x": 1567, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // } // ] // }, // { // "crnNo": 8, // "binNum": 4048, // "rowNum": 32, // "bayNum": 2, // "levNum": 11, // "length": null, // "width": null, // "height": null, // "crn": { // "crnNo": 8, // "crnBody": { // "length": null, // "width": null, // "height": 570, // "position": { // "x": 1711, // "y": 0, // "z": 0 // } // }, // "crnLoad": { // "position": { // "x": 1711, // "y": 0, // "z": 0 // } // }, // "crnFork": { // "position": { // "x": 1711, // "y": 0, // "z": 0 // } // } // }, // "lines": [ // { // "rowNo": 29, // "name": null, // "position": { // "x": 1627, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // }, // { // "rowNo": 30, // "name": null, // "position": { // "x": 1667, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // }, // { // "rowNo": 31, // "name": null, // "position": { // "x": 1757, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // }, // { // "rowNo": 32, // "name": null, // "position": { // "x": 1797, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // } // ] // }, // { // "crnNo": 9, // "binNum": 4048, // "rowNum": 36, // "bayNum": 2, // "levNum": 11, // "length": null, // "width": null, // "height": null, // "crn": { // "crnNo": 9, // "crnBody": { // "length": null, // "width": null, // "height": 570, // "position": { // "x": 1941, // "y": 0, // "z": 0 // } // }, // "crnLoad": { // "position": { // "x": 1941, // "y": 0, // "z": 0 // } // }, // "crnFork": { // "position": { // "x": 1941, // "y": 0, // "z": 0 // } // } // }, // "lines": [ // { // "rowNo": 33, // "name": null, // "position": { // "x": 1857, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // }, // { // "rowNo": 34, // "name": null, // "position": { // "x": 1897, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // }, // { // "rowNo": 35, // "name": null, // "position": { // "x": 1987, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // }, // { // "rowNo": 36, // "name": null, // "position": { // "x": 2027, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // } // ] // }, // { // "crnNo": 10, // "binNum": 4048, // "rowNum": 40, // "bayNum": 2, // "levNum": 11, // "length": null, // "width": null, // "height": null, // "crn": { // "crnNo": 10, // "crnBody": { // "length": null, // "width": null, // "height": 570, // "position": { // "x": 2171, // "y": 0, // "z": 0 // } // }, // "crnLoad": { // "position": { // "x": 2171, // "y": 0, // "z": 0 // } // }, // "crnFork": { // "position": { // "x": 2171, // "y": 0, // "z": 0 // } // } // }, // "lines": [ // { // "rowNo": 37, // "name": null, // "position": { // "x": 2087, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // }, // { // "rowNo": 38, // "name": null, // "position": { // "x": 2127, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // }, // { // "rowNo": 39, // "name": null, // "position": { // "x": 2217, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // }, // { // "rowNo": 40, // "name": null, // "position": { // "x": 2257, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // } // ] // }, // { // "crnNo": 11, // "binNum": 4048, // "rowNum": 44, // "bayNum": 2, // "levNum": 11, // "length": null, // "width": null, // "height": null, // "crn": { // "crnNo": 11, // "crnBody": { // "length": null, // "width": null, // "height": 570, // "position": { // "x": 2401, // "y": 0, // "z": 0 // } // }, // "crnLoad": { // "position": { // "x": 2401, // "y": 0, // "z": 0 // } // }, // "crnFork": { // "position": { // "x": 2401, // "y": 0, // "z": 0 // } // } // }, // "lines": [ // { // "rowNo": 41, // "name": null, // "position": { // "x": 2317, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // }, // { // "rowNo": 42, // "name": null, // "position": { // "x": 2357, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // }, // { // "rowNo": 43, // "name": null, // "position": { // "x": 2447, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // }, // { // "rowNo": 44, // "name": null, // "position": { // "x": 2487, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // } // ] // }, // { // "crnNo": 12, // "binNum": 4048, // "rowNum": 48, // "bayNum": 2, // "levNum": 11, // "length": null, // "width": null, // "height": null, // "crn": { // "crnNo": 12, // "crnBody": { // "length": null, // "width": null, // "height": 570, // "position": { // "x": 2631, // "y": 0, // "z": 0 // } // }, // "crnLoad": { // "position": { // "x": 2631, // "y": 0, // "z": 0 // } // }, // "crnFork": { // "position": { // "x": 2631, // "y": 0, // "z": 0 // } // } // }, // "lines": [ // { // "rowNo": 45, // "name": null, // "position": { // "x": 2547, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // }, // { // "rowNo": 46, // "name": null, // "position": { // "x": 2587, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // }, // { // "rowNo": 47, // "name": null, // "position": { // "x": 2677, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // }, // { // "rowNo": 48, // "name": null, // "position": { // "x": 2717, // "y": 0, // "z": 0 // }, // "binLength": 35, // "binWidth": 50, // "binHeight": 50, // "binXNum": null, // "binYNum": 11, // "binZNum": 2, // "bottomHeight": 20, // "bins": null // } // ] // } // ] // } // } // } }