#
whycq
2024-10-17 f6b64c46a1a9b5c2c900ae5d5b7906537701f447
#
2个文件已修改
20 ■■■■■ 已修改文件
src/main/webapp/views/wcsmap/mapData.js 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/wcsmap/wcsmap.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/wcsmap/mapData.js
@@ -14,22 +14,24 @@
    "track": [
        {"id": "1", "unitX": 60, "unitY": 3, "anfme": 2, "background": "0x000000", "x": 125, "y": 737},
        {"id": "2", "unitX": 60, "unitY": 3, "anfme": 2, "background": "0x000000", "x": 227, "y": 737},
        {"id": "3", "unitX": 60, "unitY": 3, "anfme": 2, "background": "0x000000", "x": 125, "y": 977},
        {"id": "4", "unitX": 60, "unitY": 3, "anfme": 2, "background": "0x000000", "x": 227, "y": 977},
        {"id": "3", "unitX": 60, "unitY": 3, "anfme": 2, "background": "0x000000", "x": 125, "y": 867},
        {"id": "4", "unitX": 60, "unitY": 3, "anfme": 2, "background": "0x000000", "x": 227, "y": 867},
    ],
    "jar": [
        { "id": "1", "width": 15, "height": 15, "background": "0xb8db7c", "x": 142, "y": 733 },
        { "id": "1", "width": 15, "height": 15, "background": "0xb8db7c", "x": 142, "y": 733 },
        { "id": "1", "width": 15, "height": 15, "background": "0xb8db7c", "x": 142, "y": 733 },
        { "id": "1", "width": 15, "height": 15, "background": "0xb8db7c", "x": 142, "y": 733 },
        { "id": "1", "width": 15, "height": 110, "background": "0xa6a6a6", "x": 126, "y": 750 },
        { "id": "1", "width": 15, "height": 110, "background": "0xa6a6a6", "x": 169, "y": 750 },
        { "id": "1", "width": 15, "height": 110, "background": "0xa6a6a6", "x": 228, "y": 750 },
        { "id": "1", "width": 15, "height": 110, "background": "0xa6a6a6", "x": 270, "y": 750 },
        { "id": "1", "width": 15, "height": 108, "background": "0xea9a2b", "x": 169, "y": 881 },
        { "id": "1", "width": 15, "height": 108, "background": "0xea9a2b", "x": 270, "y": 881 },
    ],
    "conveyor": [
        { "id": "1", "title": "623", "width": 15, "height": 15, "background": "0xb8db7c", "x": 142, "y": 733 },
        { "id": "1", "title": "624", "width": 15, "height": 15, "background": "0xb8db7c", "x": 255, "y": 733 },
        { "id": "1", "title": "625", "width": 15, "height": 15, "background": "0xb8db7c", "x": 142, "y": 974 },
        { "id": "1", "title": "626", "width": 15, "height": 15, "background": "0xb8db7c", "x": 255, "y": 974 },
        { "id": "1", "title": "625", "width": 15, "height": 15, "background": "0xb8db7c", "x": 142, "y": 864 },
        { "id": "1", "title": "626", "width": 15, "height": 15, "background": "0xb8db7c", "x": 255, "y": 864 },
        { "id": "1", "title": "652", "width": 15, "height": 58, "background": "0xb8db7c", "x": 87, "y": 129 },
        { "id": "1", "title": "651", "width": 15, "height": 58, "background": "0xb8db7c", "x": 87, "y": 188 },
src/main/webapp/views/wcsmap/wcsmap.html
@@ -307,7 +307,7 @@
                        objectsContainer.addChild(rectangle);
                    }
                }
                for (let k of mapData.legend) {
                for (let k of mapData.jar) {
                    let rectangle = new PIXI.Graphics();
                    rectangle.beginFill(k.background);
                    rectangle.originColor = k.background;