#
luxiaotao1123
2022-01-10 550e9d184de694006bfd110a860269e939e56ce9
#
2个文件已修改
26 ■■■■■ 已修改文件
static/js/object/CrnTask.js 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
views/index.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
static/js/object/CrnTask.js
@@ -141,27 +141,6 @@
            })
        }
        // 堆垛机本体运动轨迹
        if (that.prePosition.z !== that.position.z && false) {
            curves.push({
                start: false,
                progress: 0,
                part: 'body',
                route: new Route([
                    {
                        x: that.crnBody.position.x,
                        y: that.crnBody.position.y,
                        z: that.prePosition.z
                    },
                    {
                        x: that.crnBody.position.x,
                        y: that.crnBody.position.y,
                        z: that.position.z
                    }
                ])
            })
        }
        curves.map((value, index) => {
            if (that.crnNo === 1) {
                // console.log(value.part + " --> " + JSON.stringify(value.route.points))
@@ -189,9 +168,6 @@
                        let point = curves[i].route.getPoint(curves[i].progress);
                        if ( point && point.x ) {
                            switch (curves[i].part) {
                                case 'body':
                                    that.crnBody.position.set(point.x, point.y, point.z);
                                    break
                                case 'load':
                                    that.crnBody.position.z = point.z + zOffset - that.crnBody.userData.crnBodyWidth/2;
                                    that.crnLoad.position.set(point.x, point.y + yOffset0, point.z + zOffset0 - that.crnLoad.userData.crnLoadWidth/2 + 5);
views/index.html
@@ -236,7 +236,7 @@
        if (percent < 100.00) {
            percent += 0.04;
            // percent += 1;
            speedDom.innerText = percent.toFixed(2);
            // speedDom.innerText = percent.toFixed(2);
        } else {
            speedDom.innerText = '100.00';
            if (!hasClass(shipInfoBtn, "show")) {