| | |
| | | <meta name="generator" content="Three.js Editor"> |
| | | <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> |
| | | <link rel="stylesheet" href="../static/css/main.css"> |
| | | <link rel="stylesheet" href="../static/css/index.css"> |
| | | <script type="text/javascript" src="../static/js/lib/jquery-3.3.1.min.js"></script> |
| | | <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts@5.2.2/dist/echarts.min.js"></script> |
| | | <script type="text/javascript" src="../static/js/utils.js"></script> |
| | |
| | | <script type="text/javascript" src="../static/js/object/StoreArea.js"></script> |
| | | <script type="text/javascript" src="../static/js/object/Store.js"></script> |
| | | <script type="text/javascript" src="../static/js/object/StoreGroup.js"></script> |
| | | <!-- <script type="text/javascript" src="../static/js/object/StoreCrn.js"></script>--> |
| | | <!-- <script type="text/javascript" src="../static/js/object/StoreShelf.js"></script>--> |
| | | <script type="text/javascript" src="../static/js/object/StoreGoods.js"></script> |
| | | <script type="text/javascript" src="../static/js/object/Route.js"></script> |
| | | <script type="text/javascript" src="../static/js/object/CrnTask.js"></script> |
| | |
| | | <script type="text/javascript" src="../static/js/lib/btnHide.js"></script> |
| | | </head> |
| | | <body style="position: relative"> |
| | | <div style="position: absolute;top: 0;right: 0"> |
| | | <button id="print">打印</button> |
| | | <div class="sidebar"> |
| | | <img id="fps" class="buttonClass" title="性能调试" src="../static/img/icon/fps.svg"> |
| | | <img id="skyBox" class="buttonClass" title="更改背景" src="../static/img/icon/skyBox.svg"> |
| | | <!-- <img id="store" class="buttonClass" title="显示仓库" src="../static/img/icon/store.svg">--> |
| | | <!-- <img id="group" class="buttonClass" title="显示巷道" src="../static/img/icon/group.svg">--> |
| | | <!-- <img id="shelf" class="buttonClass" title="显示架子" src="../static/img/icon/shelf.svg">--> |
| | | <!-- <img id="reset" class="buttonClass" title="复位场景" src="../static/img/icon/reset.svg">--> |
| | | <img id="tour" class="buttonClass" title="游览厂区 前进:W 后退:S 左:A 右:D 跳跃:Space" src="../static/img/icon/tour.svg"> |
| | | <!-- <img id="temperature" class="buttonClass" title="车间温度" src="../static/img/icon/temperature.svg">--> |
| | | <!-- <img id="roomRate" class="buttonClass" title="库房利用率" src="../static/img/icon/roomRate.svg">--> |
| | | </div> |
| | | <div id="groundglass"></div> |
| | | <div id="sidebar"> |
| | |
| | | var player = new APP.Player(); |
| | | player.start(); |
| | | |
| | | // document.body.appendChild( player.dom ); |
| | | // window.addEventListener( 'resize', function () { |
| | | // player.setSize( window.innerWidth, window.innerHeight ); |
| | | // } ); |
| | | |
| | | document.getElementById("print").addEventListener('click', function () { |
| | | console.log(player.objects); |
| | | player.lockControl(); |
| | | document.getElementById("fps").addEventListener('click', function () { |
| | | player.changeStats(); |
| | | }, false); |
| | | document.getElementById("skyBox").addEventListener('click', function () { |
| | | player.changeBackGround(); |
| | | }, false); |
| | | document.getElementById("tour").addEventListener('click', function () { |
| | | player.lockControl(); |
| | | }, false) |
| | | |
| | | </script> |
| | | <script type="text/javascript"> |