import { I18nService } from '@app/core/services/i18n.service'; import { fabric } from 'fabric'; export class MonitorCanvasPart5 { constructor( private _i18nService: I18nService ) { }; public _conveyors: any[] = [ { i: 22150, x: 1475, y: -70, w: 20, h: 25, t: { x: 1447, y: -62 }, a: { x: 1480, y: -62, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22151, x: 1475, y: -44, w: 20, h: 25, t: { x: 1447, y: -36 }, a: { x: 1480, y: -36, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22152, x: 1475, y: -18, w: 20, h: 25, t: { x: 1447, y: -10 }, a: { x: 1480, y: -10, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22153, x: 1475, y: 8, w: 20, h: 25, t: { x: 1447, y: 16 }, a: { x: 1480, y: 16, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22154, x: 1475, y: 34, w: 20, h: 25, t: { x: 1447, y: 42 }, a: { x: 1480, y: 42, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22155, x: 1475, y: 60, w: 20, h: 25, t: { x: 1447, y: 68 }, a: { x: 1480, y: 68, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22156, x: 1475, y: 86, w: 20, h: 25, t: { x: 1500, y: 94 }, a: { x: 1480, y: 94, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22157, x: 1475, y: 112, w: 20, h: 25, t: { x: 1500, y: 112 }, a: { x: 1480, y: 120, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22158, x: 1475, y: 138, w: 20, h: 25, t: { x: 1500, y: 146 }, a: { x: 1480, y: 146, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22159, x: 1475, y: 164, w: 20, h: 25, t: { x: 1500, y: 172 }, a: { x: 1480, y: 172, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22160, x: 1475, y: 190, w: 20, h: 25, t: { x: 1500, y: 198 }, a: { x: 1480, y: 198, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22161, x: 1475, y: 216, w: 20, h: 25, t: { x: 1500, y: 224 }, a: { x: 1480, y: 224, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22162, x: 1475, y: 242, w: 20, h: 25, t: { x: 1500, y: 250 }, a: { x: 1480, y: 250, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22163, x: 1475, y: 268, w: 20, h: 25, t: { x: 1500, y: 276 }, a: { x: 1480, y: 276, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22164, x: 1475, y: 294, w: 20, h: 25, t: { x: 1500, y: 302 }, a: { x: 1480, y: 302, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22165, x: 1475, y: 320, w: 20, h: 25, t: { x: 1500, y: 328 }, a: { x: 1480, y: 328, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22166, x: 1475, y: 346, w: 20, h: 25, t: { x: 1500, y: 354 }, a: { x: 1480, y: 354, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22167, x: 1475, y: 372, w: 20, h: 25, t: { x: 1500, y: 380 }, a: { x: 1480, y: 380, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22168, x: 1475, y: 398, w: 20, h: 25, t: { x: 1447, y: 406 }, a: { x: 1480, y: 406, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22169, x: 1475, y: 424, w: 20, h: 25, t: { x: 1447, y: 432 }, a: { x: 1480, y: 432, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22170, x: 1475, y: 445, w: 20, h: 25, t: { x: 1447, y: 460 }, a: { x: 1480, y: 458, w: 6, h: 6 }, j: { angle: 0 } }, { i: 24023, x: 1477, y: 454, w: 12, h: 12,a: { x: 1480, y: 458, w: 6, h: 6 }, }, { i: 22179, x: 1453, y: 86, w: 20, h: 25, t: { x: 1428, y: 87 }, a: { x: 1458, y: 94, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22178, x: 1453, y: 112, w: 20, h: 25, t: { x: 1428, y: 120 }, a: { x: 1458, y: 120, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22177, x: 1453, y: 138, w: 20, h: 25, t: { x: 1428, y: 146 }, a: { x: 1458, y: 146, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22176, x: 1453, y: 164, w: 20, h: 25, t: { x: 1428, y: 172 }, a: { x: 1458, y: 172, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22175, x: 1453, y: 190, w: 20, h: 25, t: { x: 1428, y: 198 }, a: { x: 1458, y: 198, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22174, x: 1453, y: 216, w: 20, h: 25, t: { x: 1428, y: 224 }, a: { x: 1458, y: 224, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22173, x: 1453, y: 242, w: 20, h: 25, t: { x: 1428, y: 250 }, a: { x: 1458, y: 250, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22172, x: 1453, y: 268, w: 20, h: 25, t: { x: 1428, y: 276 }, a: { x: 1458, y: 276, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22171, x: 1453, y: 294, w: 20, h: 25, t: { x: 1428, y: 302 }, a: { x: 1458, y: 302, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22131, x: 1390, y: -70, w: 20, h: 25, t: { x: 1367, y: -62 }, a: { x: 1395, y: -62, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22132, x: 1390, y: -44, w: 20, h: 25, t: { x: 1367, y: -36 }, a: { x: 1395, y: -36, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22133, x: 1390, y: -18, w: 20, h: 25, t: { x: 1367, y: -10 }, a: { x: 1395, y: -10, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22134, x: 1390, y: 8, w: 20, h: 25, t: { x: 1367, y: 16 }, a: { x: 1395, y: 16, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22135, x: 1390, y: 34, w: 20, h: 25, t: { x: 1413, y: 42 }, a: { x: 1395, y: 42, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22136, x: 1390, y: 60, w: 20, h: 25, t: { x: 1367, y: 68 }, a: { x: 1395, y: 68, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22137, x: 1390, y: 86, w: 20, h: 25, t: { x: 1367, y: 94 }, a: { x: 1395, y: 94, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22138, x: 1390, y: 112, w: 20, h: 25, t: { x: 1367, y: 120 }, a: { x: 1395, y: 120, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22139, x: 1390, y: 138, w: 20, h: 25, t: { x: 1367, y: 146 }, a: { x: 1395, y: 146, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22140, x: 1390, y: 164, w: 20, h: 25, t: { x: 1367, y: 172 }, a: { x: 1395, y: 172, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22141, x: 1390, y: 190, w: 20, h: 25, t: { x: 1367, y: 198 }, a: { x: 1395, y: 198, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22142, x: 1390, y: 216, w: 20, h: 25, t: { x: 1367, y: 224 }, a: { x: 1395, y: 224, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22143, x: 1390, y: 242, w: 20, h: 25, t: { x: 1367, y: 250 }, a: { x: 1395, y: 250, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22144, x: 1390, y: 268, w: 20, h: 25, t: { x: 1367, y: 276 }, a: { x: 1395, y: 276, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22145, x: 1390, y: 294, w: 20, h: 25, t: { x: 1367, y: 302 }, a: { x: 1395, y: 302, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22146, x: 1390, y: 320, w: 20, h: 25, t: { x: 1367, y: 328 }, a: { x: 1395, y: 328, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22147, x: 1390, y: 346, w: 20, h: 25, t: { x: 1367, y: 354 }, a: { x: 1395, y: 354, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22148, x: 1390, y: 372, w: 20, h: 25, t: { x: 1367, y: 380 }, a: { x: 1395, y: 380, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22149, x: 1390, y: 398, w: 20, h: 25, t: { x: 1367, y: 406 }, a: { x: 1395, y: 406, w: 6, h: 6 }, j: { angle: 0 } }, { i: 22180, x: 1390, y: 424, w: 20, h: 25, a: { x: 1395, y: 432, w: 6, h: 6 }, j: { angle: 0 } },//, t: { x: 1367, y: 432 } { i: 22181, x: 1390, y: 445, w: 20, h: 25, t: { x: 1367, y: 460 }, a: { x: 1395, y: 458, w: 6, h: 6 }, j: { angle: 0 } }, { i: 24031, x: 1477, y: 90, w: 13, h: 13, a: { x: 1480, y: 94, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24030, x: 1455, y: 90, w: 13, h: 13, a: { x: 1458, y: 94, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24028, x: 1477, y: 298, w: 13, h: 13, a: { x: 1480, y: 302, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24029, x: 1455, y: 298, w: 13, h: 13, a: { x: 1458, y: 302, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24020, x: 1392, y: 38, w: 13, h: 13,a: { x: 1395, y: 42, w: 6, h: 6 }, j: { angle: 30 } },//t: { x: 1222, y: -62 }, { i: 22185, x: 1369, y: 34, w: 20, h: 25, t: { x: 1346, y: 42 }, a: { x: 1374, y: 42, w: 6, h: 6 }, j: { angle: 0 } }, { i: 24021, x: 1392, y: 404, w: 13, h: 13, a: { x: 1395, y: 406, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24022, x: 1392, y: 454, w: 13, h: 13, a: { x: 1395, y: 458, w: 6, h: 6 }, j: { angle: 30 } }, //西側 夹层 { i: 23461, x: 940, y: -70, w: 20, h: 25, a: { x: 948, y: -62, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: -62 }, { i: 23460, x: 940, y: -44, w: 20, h: 25, a: { x: 948, y: -36, w: 6, h: 6 }, j: { angle: 0 } },//, t: { x: 1222, y: -36 } { i: 23459, x: 940, y: -18, w: 20, h: 25, a: { x: 948, y: -10, w: 6, h: 6 }, j: { angle: 0 } },//, t: { x: 1222, y: -10 } { i: 23458, x: 940, y: 8, w: 20, h: 25, a: { x: 948, y: 16, w: 6, h: 6 }, j: { angle: 0 } },// t: { x: 1222, y: 16 }, { i: 23457, x: 940, y: 34, w: 20, h: 25,t: { x: 962, y: 40 }, a: { x: 948, y: 42, w: 6, h: 6 }, j: { angle: 0 } },// t: { x: 1222, y: 42 }, { i: 23456, x: 940, y: 60, w: 20, h: 25,t: { x: 962, y: 66 }, a: { x: 948, y: 68, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 68 }, { i: 23455, x: 940, y: 86, w: 20, h: 25,t: { x: 962, y: 92 }, a: { x: 948, y: 94, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 94 }, { i: 23454, x: 940, y: 112, w: 20, h: 25,t: { x: 962, y: 118 }, a: { x: 948, y: 120, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 120 }, { i: 23453, x: 940, y: 138, w: 20, h: 25,t: { x: 962, y: 144 }, a: { x: 948, y: 146, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 146 }, { i: 23452, x: 940, y: 164, w: 20, h: 25, t: { x: 962, y: 170 },a: { x: 948, y: 172, w: 6, h: 6 }, j: { angle: 0 } },// t: { x: 1222, y: 172 }, { i: 23451, x: 940, y: 190, w: 20, h: 25, t: { x: 962, y: 196 },a: { x: 948, y: 198, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 198 }, { i: 23450, x: 940, y: 216, w: 20, h: 25, t: { x: 962, y: 222 },a: { x: 948, y: 224, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 224 }, { i: 23449, x: 940, y: 242, w: 20, h: 25, t: { x: 962, y: 246 },a: { x: 948, y: 250, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 250 }, { i: 23448, x: 940, y: 268, w: 20, h: 25, a: { x: 948, y: 276, w: 6, h: 6 }, j: { angle: 0 } },// t: { x: 1222, y: 276 }, { i: 23447, x: 940, y: 294, w: 20, h: 25, a: { x: 948, y: 302, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 302 }, { i: 23446, x: 940, y: 320, w: 20, h: 25, a: { x: 948, y: 328, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 328 }, { i: 23445, x: 940, y: 346, w: 20, h: 25, a: { x: 948, y: 354, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 354 }, { i: 23444, x: 940, y: 372, w: 20, h: 25, a: { x: 948, y: 380, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 380 }, { i: 23443, x: 940, y: 398, w: 20, h: 25, a: { x: 948, y: 406, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 406 }, { i: 23442, x: 940, y: 424, w: 20, h: 25, a: { x: 948, y: 432, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 432 }, { i: 23441, x: 940, y: 450, w: 20, h: 25, a: { x: 948, y: 458, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 458 }, { i: 23440, x: 940, y: 476, w: 20, h: 25, a: { x: 948, y: 484, w: 6, h: 6 }, j: { angle: 0 } },// t: { x: 1222, y: 484 }, { i: 23439, x: 940, y: 502, w: 20, h: 25, a: { x: 948, y: 510, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 510 }, // { i: 23425, x: 562, y: -66, w: 20, h: 15, a: { x: 568, y: -60, w: 5, h: 5 }, j: { angle: 60 } }, // { i: 23426, x: 585, y: -66, w: 20, h: 15, a: { x: 591, y: -60, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23425, x: 919, y: -70, w: 20, h: 15,t: { x: 919, y: -76 }, a: { x: 925, y: -66, w: 5, h: 5 }, j: { angle: -40 } }, { i: 23426, x: 898, y: -70, w: 20, h: 15, t: { x: 898, y: -76 },a: { x: 902, y: -66, w: 5, h: 5 }, j: { angle: -40 } }, { i: 23468, x: 877, y: -70, w: 20, h: 25, a: { x: 885, y: -62, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: -62 }, { i: 23469, x: 877, y: -44, w: 20, h: 25, a: { x: 885, y: -36, w: 6, h: 6 }, j: { angle: 0 } },//, t: { x: 1222, y: -36 } { i: 23470, x: 877, y: -18, w: 20, h: 25, a: { x: 885, y: -10, w: 6, h: 6 }, j: { angle: 0 } },//, t: { x: 1222, y: -10 } { i: 23471, x: 877, y: 8, w: 20, h: 25,t: { x: 900, y: 15 }, a: { x: 885, y: 16, w: 6, h: 6 }, j: { angle: 0 } },// t: { x: 1222, y: 16 }, { i: 23473, x: 877, y: 34, w: 20, h: 25,t: { x: 900, y: 49 }, a: { x: 885, y: 42, w: 6, h: 6 }, j: { angle: 0 } },// t: { x: 1222, y: 42 }, { i: 23474, x: 877, y: 60, w: 20, h: 25, t: { x: 900, y: 66 }, a: { x: 885, y: 68, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 68 }, { i: 23472, x: 877, y: 86, w: 20, h: 25,t: { x: 900, y: 92 }, a: { x: 885, y: 94, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 94 }, { i: 23475, x: 877, y: 112, w: 20, h: 25,t: { x: 900, y: 118 }, a: { x: 885, y: 120, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 120 }, { i: 23476, x: 877, y: 138, w: 20, h: 25,t: { x: 900, y: 144 }, a: { x: 885, y: 146, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 146 }, { i: 23477, x: 877, y: 164, w: 20, h: 25,t: { x: 900, y: 170 }, a: { x: 885, y: 172, w: 6, h: 6 }, j: { angle: 0 } },// t: { x: 1222, y: 172 }, { i: 23478, x: 877, y: 190, w: 20, h: 25,t: { x: 900, y: 196 }, a: { x: 885, y: 198, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 198 }, { i: 23479, x: 877, y: 216, w: 20, h: 25,t: { x: 900, y: 222 }, a: { x: 885, y: 224, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 224 }, // 成品 { i: 23480, x: 877, y: 242, w: 20, h: 25, t: { x: 900, y: 248 }, a: { x: 885, y: 250, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 250 }, // { i: 23777, x: 270, y: 242, w: 20, h: 25, a: { x: 885, y: 250, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 250 }, { i: 23481, x: 877, y: 268, w: 20, h: 25,t: { x: 900, y: 274 }, a: { x: 885, y: 276, w: 6, h: 6 }, j: { angle: 0 } },// t: { x: 1222, y: 276 }, { i: 23482, x: 877, y: 294, w: 20, h: 25, t: { x: 900, y: 300 }, a: { x: 885, y: 302, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 302 }, { i: 23483, x: 877, y: 320, w: 20, h: 25, t: { x: 900, y: 326 }, a: { x: 885, y: 328, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 328 }, { i: 23484, x: 877, y: 346, w: 20, h: 25, t: { x: 900, y: 352 }, a: { x: 885, y: 354, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 354 }, { i: 23485, x: 877, y: 372, w: 20, h: 25, t: { x: 900, y: 378 }, a: { x: 885, y: 380, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 380 }, { i: 23486, x: 877, y: 398, w: 20, h: 25,t: { x: 900, y: 404 }, a: { x: 885, y: 406, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 406 }, { i: 23487, x: 877, y: 424, w: 20, h: 25, t: { x: 900, y: 430 }, a: { x: 885, y: 432, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 432 }, // { i: 23487, x: 940, y: 450, w: 20, h: 25,t: { x: 900, y: 456 }, a: { x: 948, y: 458, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 458 }, // { i: 23440, x: 940, y: 476, w: 20, h: 25,t: { x: 900, y: 482 }, a: { x: 948, y: 484, w: 6, h: 6 }, j: { angle: 0 } },// t: { x: 1222, y: 484 }, // { i: 23439, x: 940, y: 502, w: 20, h: 25, t: { x: 900, y: 508 }, a: { x: 948, y: 510, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 510 }, { i: 23427, x: 856, y: -70, w: 20, h: 15,t: { x: 866, y: -76 }, a: { x: 862, y: -66, w: 5, h: 5 }, j: { angle: -40 } }, { i: 23428, x: 835, y: -70, w: 20, h: 15,t: { x: 836, y: -76 }, a: { x: 841, y: -66, w: 5, h: 5 }, j: { angle: -40 } }, { i: 23429, x: 814, y: -70, w: 20, h: 15,t: { x: 815, y: -76 }, a: { x: 820, y: -66, w: 5, h: 5 }, j: { angle: -40 } }, { i: 23489, x: 793, y: -70, w: 20, h: 15, t: { x: 794, y: -76 },a: { x: 799, y: -66, w: 5, h: 5 }, j: { angle: -40 } }, { i: 23432, x: 856, y: 8, w: 20, h: 15, a: { x: 862, y: 12, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23431, x: 835, y: 8, w: 20, h: 15, a: { x: 841, y: 12, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23430, x: 814, y: 8, w: 20, h: 15, a: { x: 820, y: 12, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23490, x: 793, y: 8, w: 20, h: 15, a: { x: 799, y: 12, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23466, x: 856, y: -54, w: 15, h: 20, a: { x: 862, y: -44, w: 6, h: 6 }, j: { angle: 0 } }, { i: 23464, x: 835, y: -54, w: 15, h: 20, a: { x: 841, y: -44, w: 6, h: 6 }, j: { angle: 0 } }, { i: 23462, x: 793, y: -54, w: 15, h: 20, a: { x: 796, y: -44, w: 6, h: 6 }, j: { angle: 0 } }, { i: 23467, x: 856, y: -13, w: 15, h: 20, a: { x: 862, y: -4, w: 6, h: 6 }, j: { angle: 0 } }, { i: 23465, x: 835, y: -13, w: 15, h: 20, a: { x: 841, y: -4, w: 6, h: 6 }, j: { angle: 0 } }, { i: 23463, x: 793, y: -13, w: 15, h: 20, a: { x: 796, y: -4, w: 6, h: 6 }, j: { angle: 0 } }, { i: 23433, x: 856, y: 37, w: 20, h: 15, a: { x: 862, y: 39, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23491, x: 835, y: 37, w: 20, h: 15, a: { x: 841, y: 39, w: 5, h: 5 }, j: { angle: -40 } }, { i: 23434, x: 856, y: 64, w: 20, h: 15, a: { x: 862, y: 66, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23492, x: 835, y: 64, w: 20, h: 15, a: { x: 841, y: 66, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23435, x: 856, y: 242, w: 20, h: 15, a: { x: 862, y: 248, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23493, x: 835, y: 242, w: 20, h: 15, a: { x: 841, y: 248, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23436, x: 856, y: 268, w: 20, h: 15, a: { x: 862, y: 274, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23494, x: 835, y: 268, w: 20, h: 15, a: { x: 841, y: 274, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23437, x: 856, y: 372, w: 20, h: 15, a: { x: 862, y: 378, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23495, x: 835, y: 372, w: 20, h: 15, a: { x: 841, y: 378, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23438, x: 856, y: 398, w: 20, h: 15, a: { x: 862, y: 404, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23496, x: 835, y: 398, w: 20, h: 15, a: { x: 841, y: 404, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23327, x: 640, y: 242, w: 20, h: 25, a: { x: 648, y: 250, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 250 }, { i: 23328, x: 640, y: 268, w: 20, h: 25, a: { x: 648, y: 276, w: 6, h: 6 }, j: { angle: 0 } },// t: { x: 1222, y: 276 }, { i: 23329, x: 640, y: 294, w: 20, h: 25, a: { x: 648, y: 302, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 302 }, { i: 23330, x: 640, y: 320, w: 20, h: 25, a: { x: 648, y: 328, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 328 }, { i: 23331, x: 640, y: 346, w: 20, h: 25, a: { x: 648, y: 354, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 354 }, { i: 23332, x: 640, y: 372, w: 20, h: 25, a: { x: 648, y: 380, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 380 }, { i: 23333, x: 640, y: 398, w: 20, h: 25, a: { x: 648, y: 406, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 406 }, { i: 23334, x: 640, y: 424, w: 20, h: 25, a: { x: 648, y: 432, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 432 }, { i: 23335, x: 640, y: 450, w: 20, h: 25, a: { x: 648, y: 458, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 458 }, { i: 23336, x: 640, y: 476, w: 20, h: 25, a: { x: 648, y: 484, w: 6, h: 6 }, j: { angle: 0 } },// t: { x: 1222, y: 484 }, { i: 23337, x: 640, y: 502, w: 20, h: 25, a: { x: 648, y: 510, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 510 }, { i: 23301, x: 661, y: 243, w: 20, h: 15,t: { x: 662, y: 237 }, a: { x: 669, y: 249, w: 5, h: 5 }, j: { angle: -40 } }, { i: 23302, x: 682, y: 243, w: 20, h: 15,t: { x: 683, y: 237 }, a: { x: 690, y: 249, w: 5, h: 5 }, j: { angle: -40 } }, { i: 23303, x: 703, y: 243, w: 40, h: 15, a: { x: 711, y: 249, w: 5, h: 5 }, j: { angle: 60 } }, // { i: 23304, x: 724, y: 243, w: 20, h: 15, a: { x: 732, y: 249, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23305, x: 661, y: 294, w: 20, h: 15, t: { x: 662, y: 288 },a: { x: 669, y: 300, w: 5, h: 5 }, j: { angle: -40 } }, { i: 23306, x: 682, y: 294, w: 20, h: 15,t: { x: 683, y: 288 }, a: { x: 690, y: 300, w: 5, h: 5 }, j: { angle: -40 } }, { i: 23307, x: 703, y: 294, w: 40, h: 15, a: { x: 711, y: 300, w: 5, h: 5 }, j: { angle: 60 } }, // { i: 23308, x: 724, y: 294, w: 20, h: 15, a: { x: 732, y: 300, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23309, x: 661, y: 346, w: 20, h: 15, t: { x: 662, y: 340 }, a: { x: 669, y: 352, w: 5, h: 5 }, j: { angle: -40 } }, { i: 23310, x: 682, y: 346, w: 20, h: 15, t: { x: 683, y: 340 },a: { x: 690, y: 352, w: 5, h: 5 }, j: { angle: -40 } }, { i: 23311, x: 703, y: 346, w: 40, h: 15, a: { x: 711, y: 352, w: 5, h: 5 }, j: { angle: 60 } }, // { i: 23312, x: 724, y: 346, w: 20, h: 15, a: { x: 732, y: 352, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23313, x: 661, y: 398, w: 20, h: 15,t: { x: 661, y: 392 }, a: { x: 669, y: 406, w: 5, h: 5 }, j: { angle: -40 } }, { i: 23314, x: 682, y: 398, w: 20, h: 15, t: { x: 683, y: 392 },a: { x: 690, y: 406, w: 5, h: 5 }, j: { angle: -40 } }, { i: 23315, x: 703, y: 398, w: 40, h: 15, a: { x: 711, y: 406, w: 5, h: 5 }, j: { angle: 60 } }, // { i: 23316, x: 724, y: 398, w: 20, h: 15, a: { x: 732, y: 406, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23317, x: 661, y: 450, w: 20, h: 15,t: { x: 662, y: 444 }, a: { x: 669, y: 458, w: 5, h: 5 }, j: { angle: -40 } }, { i: 23318, x: 682, y: 450, w: 20, h: 15,t: { x: 683, y: 444 }, a: { x: 690, y: 458, w: 5, h: 5 }, j: { angle: -40 } }, { i: 23319, x: 703, y: 450, w: 40, h: 15, a: { x: 711, y: 458, w: 5, h: 5 }, j: { angle: 60 } }, // { i: 23320, x: 724, y: 450, w: 20, h: 15, a: { x: 732, y: 458, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23323, x: 661, y: 508, w: 20, h: 15, t: { x: 661, y: 502 },a: { x: 669, y: 512, w: 5, h: 5 }, j: { angle: -40 } }, { i: 23324, x: 682, y: 508, w: 20, h: 15, t: { x: 683, y: 502 },a: { x: 690, y: 512, w: 5, h: 5 }, j: { angle: -40 } }, { i: 23325, x: 703, y: 508, w: 40, h: 15, a: { x: 711, y: 512, w: 5, h: 5 }, j: { angle: 60 } }, // { i: 23326, x: 724, y: 508, w: 20, h: 15, a: { x: 732, y: 512, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23321, x: 600, y: 508, w: 15, h: 15, a: { x: 605, y: 512, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23322, x: 616, y: 508, w: 22, h: 15, a: { x: 621, y: 512, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23338, x: 578, y: 500, w: 20, h: 25, a: { x: 560, y: 510, w: 6, h: 6 }, j: { angle: 0 } }, { i: 26038, x: 575, y: 474, w: 25, h: 25, r: 8.5, a: { x: 577, y: 484, w: 6, h: 6 }, j: { angle: 0 } }, { i: 24509, x: 728, y: 245, w: 10, h: 10,t: { x: 728, y: 237 }, a: { x: 730, y: 247, w: 6, h: 6 }, j: { angle: -40 } }, { i: 24508, x: 707, y: 245, w: 10, h: 10,t: { x: 707, y: 237 }, a: { x: 709, y: 247, w: 6, h: 6 }, j: { angle: -40 } }, { i: 24511, x: 728, y: 296, w: 10, h: 10,t: { x: 728, y: 288 }, a: { x: 730, y: 298, w: 6, h: 6 }, j: { angle: -40 } }, { i: 24510, x: 707, y: 296, w: 10, h: 10,t: { x: 707, y: 288 }, a: { x: 709, y: 298, w: 6, h: 6 }, j: { angle: -40 } }, { i: 24513, x: 728, y: 348, w: 10, h: 10, t: { x: 728, y: 340 }, a: { x: 730, y: 350, w: 6, h: 6 }, j: { angle: -40 } }, { i: 24512, x: 707, y: 348, w: 10, h: 10, t: { x: 707, y: 340 }, a: { x: 709, y: 350, w: 6, h: 6 }, j: { angle: -40 } }, { i: 24515, x: 728, y: 400, w: 10, h: 10,t: { x: 728, y: 392 }, a: { x: 730, y: 404, w: 6, h: 6 }, j: { angle: -40 } }, { i: 24514, x: 707, y: 400, w: 10, h: 10,t: { x: 707, y: 392 }, a: { x: 709, y: 404, w: 6, h: 6 }, j: { angle: -40 } }, { i: 24517, x: 728, y: 452, w: 10, h: 10,t: { x: 728, y: 444 }, a: { x: 730, y: 454, w: 6, h: 6 }, j: { angle: -40 } }, { i: 24516, x: 707, y: 452, w: 10, h: 10, t: { x: 707, y: 444 },a: { x: 709, y: 454, w: 6, h: 6 }, j: { angle: -40 } }, { i: 24519, x: 728, y: 510, w: 10, h: 10,t: { x: 728, y: 502 }, a: { x: 730, y: 512, w: 6, h: 6 }, j: { angle: -40 } }, { i: 24518, x: 707, y: 510, w: 10, h: 10, t: { x: 707, y: 502 },a: { x: 709, y: 512, w: 6, h: 6 }, j: { angle: -40 } }, { i: 23424, x: 961, y: 510, w: 20, h: 15, a: { x: 969, y: 514, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23423, x: 983, y: 510, w: 20, h: 15, a: { x: 991, y: 514, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23422, x: 1005, y: 510, w: 20, h: 15, a: { x: 1013, y: 514, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23421, x: 1027, y: 510, w: 20, h: 15, a: { x: 1035, y: 514, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23420, x: 961, y: 452, w: 20, h: 15, a: { x: 969, y: 458, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23419, x: 983, y: 452, w: 20, h: 15, a: { x: 991, y: 458, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23418, x: 1005, y: 452, w: 20, h: 15, a: { x: 1013, y: 458, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23417, x: 1027, y: 452, w: 20, h: 15, a: { x: 1035, y: 458, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23416, x: 961, y: 400, w: 20, h: 15, a: { x: 969, y: 406, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23415, x: 983, y: 400, w: 20, h: 15, a: { x: 991, y: 406, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23414, x: 1005, y: 400, w: 20, h: 15, a: { x: 1013, y: 406, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23413, x: 1027, y: 400, w: 20, h: 15, a: { x: 1035, y: 406, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23412, x: 961, y: 348, w: 20, h: 15, a: { x: 969, y: 354, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23411, x: 983, y: 348, w: 20, h: 15, a: { x: 991, y: 354, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23410, x: 1005, y: 348, w: 20, h: 15, a: { x: 1013, y: 354, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23409, x: 1027, y: 348, w: 20, h: 15, a: { x: 1035, y: 354, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23408, x: 961, y: 296, w: 20, h: 15, a: { x: 969, y: 302, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23407, x: 983, y: 296, w: 20, h: 15, a: { x: 991, y: 302, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23406, x: 1005, y: 296, w: 20, h: 15, a: { x: 1013, y: 302, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23405, x: 1027, y: 296, w: 20, h: 15, a: { x: 1035, y: 302, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23404, x: 961, y: 244, w: 20, h: 15, a: { x: 969, y: 250, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23403, x: 983, y: 244, w: 20, h: 15, a: { x: 991, y: 250, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23402, x: 1005, y: 244, w: 20, h: 15, a: { x: 1007, y: 246, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23401, x: 1027, y: 244, w: 20, h: 15, a: { x: 1029, y: 246, w: 5, h: 5 }, j: { angle: 60 } }, { i: 24559, x: 1007, y: 246, w: 10, h: 10, a: { x: 1009, y: 248, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24558, x: 1029, y: 246, w: 10, h: 10, a: { x: 1031, y: 248, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24560, x: 1029, y: 298, w: 10, h: 10, a: { x: 1031, y: 300, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24561, x: 1007, y: 298, w: 10, h: 10, a: { x: 1009, y: 300, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24562, x: 1029, y: 350, w: 10, h: 10, a: { x: 1031, y: 352, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24563, x: 1007, y: 350, w: 10, h: 10, a: { x: 1009, y: 352, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24565, x: 1007, y: 402, w: 10, h: 10, a: { x: 1009, y: 404, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24564, x: 1029, y: 402, w: 10, h: 10, a: { x: 1031, y: 404, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24567, x: 1007, y: 454, w: 10, h: 10, a: { x: 1009, y: 456, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24566, x: 1029, y: 454, w: 10, h: 10, a: { x: 1031, y: 456, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24569, x: 1007, y: 512, w: 10, h: 10, a: { x: 1009, y: 514, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24568, x: 1029, y: 512, w: 10, h: 10, a: { x: 1031, y: 514, w: 6, h: 6 }, j: { angle: 30 } }, //成品23523 { i: 23523, x: 175, y: 70, w: 20, h: 30,t: { x: 198, y: 73 }, a: { x: 183, y: 75, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: -62 }, { i: 23522, x: 175, y: 101, w: 20, h: 30, t: { x: 198, y: 107 },a: { x: 183, y: 105, w: 6, h: 6 }, j: { angle: 0 } },//, t: { x: 1222, y: -36 } { i: 23521, x: 175, y: 156, w: 20, h: 30, t: { x: 198, y: 162 },a: { x: 179, y: 161, w: 6, h: 6 }, j: { angle: 0 } },//, t: { x: 1222, y: -10 } { i: 23520, x: 175, y: 210, w: 20, h: 30, t: { x: 198, y: 216 },a: { x: 179, y: 214, w: 6, h: 6 }, j: { angle: 0 } },// t: { x: 1222, y: 16 }, { i: 23519, x: 175, y: 263, w: 20, h: 30,t: { x: 198, y: 269 }, a: { x: 179, y: 267, w: 6, h: 6 }, j: { angle: 0 } },// t: { x: 1222, y: 42 }, { i: 23518, x: 175, y: 318, w: 20, h: 20,t: { x: 198, y: 324 }, a: { x: 179, y: 322, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 68 }, { i: 23517, x: 175, y: 357, w: 20, h: 20,t: { x: 198, y: 363 }, a: { x: 179, y: 361, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 94 }, // 成品 { i: 23516, x: 175, y: 400, w: 20, h: 28,t: { x: 198, y: 406 }, a: { x: 179, y: 404, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 120 }, { i: 23515, x: 175, y: 430, w: 20, h: 28,t: { x: 198, y: 436 }, a: { x: 179, y: 434, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 146 }, { i: 16032, x: 170, y: 460, w: 30, r: 8.5,t: { x: 204, y: 466 }, h: 30, a: { x: 180, y: 470, w: 6, h: 6 }, j: { angle: 0 } },// t: { x: 1222, y: 172 }, { i: 23514, x: 175, y: 491, w: 20, h: 30, t: { x: 204, y: 498 }, a: { x: 179, y: 495, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 198 }, { i: 23512, x: 175, y: 522, w: 20, h: 30,t: { x: 198, y: 528 }, a: { x: 179, y: 526, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 224 }, { i: 23777, x: 280, y: 522, w: 20, h: 30,t: { x: 303, y: 528 }, a: { x: 284, y: 526, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 224 }, // { i: 23512, x: 175, y: 302, w: 20, h: 30, a: { x: 183, y: 316, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 250 }, // //左侧 { i: 23541, x: 115, y: 70, w: 30, h: 30, r: 8.5,t: { x: 146, y: 76 }, a: { x: 120, y: 74, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: -62 }, { i: 23510, x: 120, y: 101, w: 20, h: 30, t: { x: 142, y: 107 },a: { x: 125, y: 105, w: 6, h: 6 }, j: { angle: 0 } },//, t: { x: 1222, y: -36 } // { i: 16031, x: 115, y: -8, w: 30, h: 30, a: { x: 128, y: 6, w: 6, h: 6 }, j: { angle: 0 } },//, t: { x: 1222, y: -10 } { i: 23509, x: 120, y: 156, w: 20, h: 30,t: { x: 142, y: 162 }, a: { x: 125, y: 161, w: 6, h: 6 }, j: { angle: 0 } },// t: { x: 1222, y: 16 }, { i: 23508, x: 120, y: 210, w: 20, h: 30,t: { x: 142, y: 216 }, a: { x: 124, y: 214, w: 6, h: 6 }, j: { angle: 0 } },// t: { x: 1222, y: 42 }, { i: 23507, x: 120, y: 263, w: 20, h: 30,t: { x: 142, y: 269 }, a: { x: 124, y: 267, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 68 }, { i: 23506, x: 120, y: 316, w: 20, h: 30, t: { x: 142, y: 322 },a: { x: 128, y: 320, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 94 }, { i: 23505, x: 120, y: 347, w: 20, h: 30, t: { x: 142, y: 353 },a: { x: 128, y: 351, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 120 }, //成品 2左 { i: 23504, x: 120, y: 400, w: 20, h: 28, t: { x: 142, y: 406 }, a: { x: 128, y: 404, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 146 }, { i: 23503, x: 120, y: 430, w: 20, h: 28, t: { x: 142, y: 436 }, a: { x: 128, y: 444, w: 6, h: 6 }, j: { angle: 0 } },// t: { x: 1222, y: 172 }, { i: 16031, x: 115, y: 460, w: 30, h: 30, r: 8.5, t: { x: 145, y: 466 }, a: { x: 125, y: 468, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 198 }, { i: 23502, x: 120, y: 491, w: 20, h: 30,t: { x: 142, y: 497 }, a: { x: 124, y: 495, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 224 }, { i: 23501, x: 120, y: 522, w: 20, h: 30, t: { x: 142, y: 528 }, a: { x: 124, y: 526, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 224 }, //3ceng ru { i: 23666, x: 240, y: 522, w: 20, h: 30,t: { x: 218, y: 537 }, a: { x: 246, y: 526, w: 6, h: 6 }, j: { angle: 0 } },//t: { x: 1222, y: 224 }, // 成品 { i: 23539, x: 196, y: 378, w: 20, h: 20, a: { x: 200, y: 382, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23540, x: 217, y: 378, w: 20, h: 20,t: { x: 217, y: 372 }, a: { x: 221, y: 382, w: 5, h: 5 }, j: { angle: -40 } }, { i: 23538, x: 120, y: 378, w: 75, h: 20, a: { x: 125, y: 386, w: 5, h: 5 }, j: { angle: 60 } }, { i: 24601, x: 124, y: 382, w: 10, h: 10, a: { x: 126, y: 384, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24999, x: 180, y: 382, w: 10, h: 10, a: { x: 182, y: 384, w: 6, h: 6 }, j: { angle: 30 } }, { i: 23536, x: 175, y: 340, w: 40, h: 15, a: { x: 179, y: 344, w: 5, h: 5 }, j: { angle: 60 } }, { i: 24608, x: 179, y: 342, w: 10, h: 10, a: { x: 181, y: 344, w: 5, h: 5 }, j: { angle: 30 } }, { i: 23537, x: 217, y: 340, w: 20, h: 15,t: { x: 217, y: 334 }, a: { x: 221, y: 344, w: 5, h: 5 }, j: { angle: -40 } }, { i: 23534, x: 196, y: 296, w: 20, h: 20, a: { x: 206, y: 300, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23535, x: 217, y: 296, w: 20, h: 20,t: { x: 217, y: 290 }, a: { x: 227, y: 300, w: 5, h: 5 }, j: { angle: -40 } }, { i: 23533, x: 120, y: 296, w: 75, h: 20, a: { x: 124, y: 300, w: 5, h: 5 }, j: { angle: 60 } }, { i: 24602, x: 124, y: 298, w: 10, h: 10, a: { x: 126, y: 300, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24992, x: 180, y: 298, w: 10, h: 10, a: { x: 182, y: 300, w: 6, h: 6 }, j: { angle: 30 } }, { i: 23531, x: 196, y: 241, w: 20, h: 20, a: { x: 200, y: 246, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23532, x: 217, y: 241, w: 20, h: 20,t: { x: 217, y: 235 }, a: { x: 221, y: 246, w: 5, h: 5 }, j: { angle: -40 } }, { i: 23530, x: 120, y: 241, w: 75, h: 20, a: { x: 125, y: 245, w: 5, h: 5 }, j: { angle: 60 } }, { i: 24603, x: 124, y: 243, w: 10, h: 10, a: { x: 126, y: 245, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24607, x: 180, y: 243, w: 10, h: 10, a: { x: 182, y: 245, w: 6, h: 6 }, j: { angle: 30 } }, { i: 23528, x: 196, y: 188, w: 20, h: 20, a: { x: 200, y: 193, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23529, x: 217, y: 188, w: 20, h: 20,t: { x: 217, y: 182 }, a: { x: 221, y: 193, w: 5, h: 5 }, j: { angle: -40 } }, { i: 23527, x: 120, y: 188, w: 75, h: 20, a: { x: 125, y: 192, w: 5, h: 5 }, j: { angle: 60 } }, { i: 24604, x: 124, y: 190, w: 10, h: 10, a: { x: 126, y: 192, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24777, x: 180, y: 190, w: 10, h: 10, a: { x: 182, y: 192, w: 6, h: 6 }, j: { angle: 30 } }, { i: 23525, x: 196, y: 134, w: 20, h: 20, a: { x: 206, y: 138, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23526, x: 217, y: 134, w: 20, h: 20,t: { x: 217, y: 128 }, a: { x: 227, y: 138, w: 5, h: 5 }, j: { angle: -40 } }, { i: 23524, x: 120, y: 134, w: 75, h: 20, a: { x: 124, y: 138, w: 5, h: 5 }, j: { angle: 60 } }, { i: 24605, x: 124, y: 136, w: 10, h: 10, a: { x: 126, y: 138, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24606, x: 180, y: 136, w: 10, h: 10, a: { x: 182, y: 138, w: 6, h: 6 }, j: { angle: 30 } }, { i: 23543, x: 88, y: 75, w: 25, h: 15, a: { x: 92, y: 79, w: 5, h: 5 }, j: { angle: 60 } }, { i: 23544, x: 65, y: 60, w: 20, h: 30, a: { x: 69, y: 64, w: 5, h: 5 }, j: { angle: 60 } }, { i: 24507, x: 580, y: 510, w: 10, h: 10, a: { x: 583, y: 512, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24506, x: 644, y: 510, w: 10, h: 10, a: { x: 646, y: 512, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24505, x: 644, y: 452, w: 10, h: 10, a: { x: 646, y: 454, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24503, x: 644, y: 402, w: 10, h: 10, a: { x: 646, y: 404, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24502, x: 644, y: 298, w: 10, h: 10, a: { x: 646, y: 300, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24501, x: 644, y: 245, w: 10, h: 10, a: { x: 646, y: 247, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24548, x: 795, y: -68, w: 10, h: 10, a: { x: 799, y: -66, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24547, x: 837, y: -68, w: 10, h: 10, a: { x: 841, y: -66, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24546, x: 858, y: -68, w: 10, h: 10, a: { x: 862, y: -66, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24549, x: 795, y: 10, w: 10, h: 10, a: { x: 799, y: 12, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24550, x: 837, y: 10, w: 10, h: 10, a: { x: 841, y: 12, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24551, x: 858, y: 10, w: 10, h: 10, a: { x: 862, y: 12, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24552, x: 835, y: 39, w: 10, h: 10,t: { x: 835, y: 36 }, a: { x: 837, y: 41, w: 6, h: 6 }, j: { angle: -40 } }, { i: 24553, x: 837, y: 66, w: 10, h: 10, a: { x: 839, y: 68, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24554, x: 837, y: 244, w: 10, h: 10,t: { x: 837, y: 236 }, a: { x: 839, y: 246, w: 6, h: 6 }, j: { angle: -40 } }, { i: 24555, x: 837, y: 270, w: 10, h: 10, a: { x: 839, y: 272, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24556, x: 837, y: 374, w: 10, h: 10,t: { x: 837, y: 366 }, a: { x: 839, y: 376, w: 6, h: 6 }, j: { angle: -40 } }, { i: 24557, x: 837, y: 400, w: 10, h: 10, a: { x: 839, y: 402, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24532, x: 942, y: 244, w: 10, h: 10, a: { x: 944, y: 246, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24533, x: 942, y: 298, w: 10, h: 10, a: { x: 944, y: 300, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24534, x: 942, y: 350, w: 10, h: 10, a: { x: 944, y: 352, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24535, x: 942, y: 402, w: 10, h: 10, a: { x: 944, y: 404, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24536, x: 942, y: 454, w: 10, h: 10, a: { x: 944, y: 456, w: 6, h: 6 }, j: { angle: 30 } }, { i: 24537, x: 942, y: 510, w: 10, h: 10, a: { x: 944, y: 512, w: 6, h: 6 }, j: { angle: 30 } }, ]; private _BarcodeReader: any[] = [ { i: 19011, x: 1452, y: 96, w: 10, h: 10, a: 90 },//, t: { x: 259, y: -35,angle: 0 } { i: 19009, x: 1498, y: 132, w: 10, h: 10, a: -90 },//, t: { x: 259, y: -35,angle: 0 } { i: 19010, x: 1410, y: 24, w: 10, h: 10, a: -90 },//, t: { x: 259, y: -35,angle: 0 } { i: 19196, x: 686, y: 260, w: 12, h: 12, a: 0 }, { i: 19195, x: 686, y: 314, w: 12, h: 12, a: 0 }, { i: 19193, x: 686, y: 366, w: 12, h: 12, a: 0 }, { i: 19191, x: 686, y: 418, w: 12, h: 12, a: 0 }, { i: 19189, x: 686, y: 470, w: 12, h: 12, a: 0 }, { i: 19187, x: 686, y: 528, w: 12, h: 12, a: 0 }, { i: 19177, x: 870, y: -70, w: 12, h: 12, a: 180 }, { i: 19183, x: 902, y: 47, w: 10, h: 10, a: -90 }, //成品 { i: 19231, x: 120, y: 532, w: 10, h: 10, a: 90 }, { i: 19233, x: 200, y: 95, w: 10, h: 10, a: -90 }, { i: 19232, x: 120, y: 273, w: 10, h: 10, a: 90 }, { i: 19186, x: 618, y: 525, w: 10, h: 10, a: 0 }, ] /* private _conveyors: any = { 84001: { x: 890, y: 159, w: 40, h: 40, t: { x: 875, y: 180 } , a: { x: 950, y: 171, w: 8, h: 8 } },//设备号显示在左侧:x=左-15,y=上+8 }; */ public draw = (canvas: fabric.Canvas, colors: { [key: string]: string }, index: { [key: number]: any }, data: { [key: number]: any }) => { // 基础布局 //debugger; canvas.add(new fabric.Group([ // 货架2 new fabric.Rect({ left: 1050, top: 510, width: 300, height: 12, fill: '#ffd700', stroke: '#000000' }), // 货架1 new fabric.Rect({ left: 1050, top: 550, width: 300, height: 12, fill: '#ffd700', stroke: '#000000' }), // 货架4 new fabric.Rect({ left: 1050, top: 456, width: 300, height: 12, fill: '#ffd700', stroke: '#000000' }), // 货架3 new fabric.Rect({ left: 1050, top: 492, width: 300, height: 12, fill: '#ffd700', stroke: '#000000' }), // 货架6 new fabric.Rect({ left: 1050, top: 403, width: 300, height: 12, fill: '#ffd700', stroke: '#000000' }), // 货架5 new fabric.Rect({ left: 1050, top: 440, width: 300, height: 12, fill: '#ffd700', stroke: '#000000' }), // // 货架8 new fabric.Rect({ left: 1050, top: 350, width: 300, height: 12, fill: '#ffd700', stroke: '#000000' }), // // 货架7 new fabric.Rect({ left: 1050, top: 388, width: 300, height: 12, fill: '#ffd700', stroke: '#000000' }), // // 货架10 new fabric.Rect({ left: 1050, top: 298, width: 300, height: 12, fill: '#ffd700', stroke: '#000000' }), // // 货架9 new fabric.Rect({ left: 1050, top: 336, width: 300, height: 12, fill: '#ffd700', stroke: '#000000' }), // // 货架112 new fabric.Rect({ left: 1050, top: 244, width: 300, height: 12, fill: '#ffd700', stroke: '#000000' }), // // 货架11 new fabric.Rect({ left: 1050, top: 284, width: 300, height: 12, fill: '#ffd700', stroke: '#000000' }), new fabric.Text('18001', { left: 1200, top: 530, fontSize: 10, fill: '#90a4ae' }), new fabric.Text('18002', { left: 1200, top: 475, fontSize: 10, fill: '#90a4ae' }), new fabric.Text('18003', { left: 1200, top: 424, fontSize: 10, fill: '#90a4ae' }), new fabric.Text('18004', { left: 1200, top: 375, fontSize: 10, fill: '#90a4ae' }), new fabric.Text('18005', { left: 1200, top: 315, fontSize: 10, fill: '#90a4ae' }), new fabric.Text('18006', { left: 1200, top: 262, fontSize: 10, fill: '#90a4ae' }), new fabric.Text('成品库夹层', { left: 55, top: 35, fontSize: 20, fill: '#000000' }), // // C成品1 // new fabric.Rect({ // left: 241, // top: 118, // width: 300, // height: 11, // fill: '#ffd700', // stroke: '#000000' // }), // // C成品2 // new fabric.Rect({ // left: 241, // top: 85, // width: 300, // height: 11, // fill: '#ffd700', // stroke: '#000000' // }), // // C成品2 // new fabric.Rect({ // left: 241, // top: 56, // width: 300, // height: 11, // fill: '#ffd700', // stroke: '#000000' // }), // // C成品2 // new fabric.Rect({ // left: 241, // top: 68, // width: 300, // height: 11, // fill: '#ffd700', // stroke: '#000000' // }), // // C成品2 // new fabric.Rect({ // left: 241, // top: 30, // width: 300, // height: 10, // fill: '#ffd700', // stroke: '#000000' // }), // // C成品2 // new fabric.Rect({ // left: 241, // top: 19, // width: 300, // height: 10, // fill: '#ffd700', // stroke: '#000000' // }), // // C成品2 // new fabric.Rect({ // left: 241, // top: -8, // width: 300, // height: 11, // fill: '#ffd700', // stroke: '#000000' // }), // // C成品2 // new fabric.Rect({ // left: 241, // top: 4, // width: 300, // height: 11, // fill: '#ffd700', // stroke: '#000000' // }), // // C成品2 // new fabric.Rect({ // left: 241, // top: -39, // width: 300, // height: 11, // fill: '#ffd700', // stroke: '#000000' // }), // new fabric.Rect({ // left: 241, // top: -51, // width: 300, // height: 11, // fill: '#ffd700', // stroke: '#000000' // }), // new fabric.Text('18017', { // left: 390, // top: -21, // fontSize: 10, // fill: '#90a4ae' // }), // new fabric.Text('18018', { // left: 390, // top: 43, // fontSize: 10, // fill: '#90a4ae' // }), // new fabric.Text('18019', { // left: 390, // top: 100, // fontSize: 10, // fill: '#90a4ae' // }), new fabric.Text('夹层静置西回盘', { left: 615, top: 190, fontSize: 20, fill: '#000000' }), new fabric.Rect({ left: 774, top:35, width: 60, height: 380, fill: '#FFD700' }), new fabric.Text('➱', { left: 1350, top: -70, fontSize: 25, fill: '#C71585', angle: 90 }), new fabric.Text('➱', { left: 1350, top: -30, fontSize: 25, fill: '#C71585', angle: 90 }), new fabric.Text('➱', { left: 1350, top: 10, fontSize: 25, fill: '#C71585', angle: 90 }), new fabric.Text('➱', { left: 1500, top: -30, fontSize: 25, fill: '#C71585', angle: -90 }), new fabric.Text('➱', { left: 1500, top: 50, fontSize: 25, fill: '#C71585', angle: -90 }), new fabric.Text('➱', { left: 1500, top: 10, fontSize: 25, fill: '#C71585', angle: -90 }), new fabric.Text('➱', { left: 960, top: -18, fontSize: 25, fill: '#C71585', angle: -90 }), new fabric.Text('➱', { left: 960, top: 12, fontSize: 25, fill: '#C71585', angle: -90 }), new fabric.Text('➱', { left: 960, top: 42, fontSize: 25, fill: '#C71585', angle: -90 }), new fabric.Text('➱', { left: 983, top: 250, fontSize: 25, fill: '#C71585', angle: 180 }), new fabric.Text('➱', { left: 1013, top: 250, fontSize: 25, fill: '#C71585', angle: 180 }), new fabric.Text('➱', { left: 682, top: 540, fontSize: 25, fill: '#C71585', angle: 0 }), new fabric.Text('➱', { left: 710, top: 540, fontSize: 25, fill: '#C71585', angle: 0 }), new fabric.Text('➱', { left: 610, top: 330, fontSize: 25, fill: '#C71585', angle: -90 }), new fabric.Text('➱', { left: 610, top: 360, fontSize: 25, fill: '#C71585', angle: -90 }), new fabric.Text('➱', { left: 875, top: 120, fontSize: 25, fill: '#C71585', angle: 90 }), new fabric.Text('➱', { left: 875, top: 152, fontSize: 25, fill: '#C71585', angle: 90 }), new fabric.Text('➱', { left: 875, top: 192, fontSize: 25, fill: '#C71585', angle: 90 }), new fabric.Text('➱', { left: 815, top: 80, fontSize: 25, fill: '#C71585', angle: 180 }), new fabric.Text('➱', { left: 800, top: 86, fontSize: 25, fill: '#C71585', angle: 0 }), new fabric.Text('➱', { left: 80, top: 210, fontSize: 25, fill: '#C71585', angle: -90 }), new fabric.Text('➱', { left: 80, top: 240, fontSize: 25, fill: '#C71585', angle: -90 }), new fabric.Text('➱', { left: 80, top: 270, fontSize: 25, fill: '#C71585', angle: -90 }), new fabric.Text('➱', { left: 280, top: 400, fontSize: 25, fill: '#C71585', angle: 180 }), new fabric.Text('➱', { left: 260, top: 340, fontSize: 25, fill: '#C71585', angle: 0 }), new fabric.Text('➱', { left: 280, top: 320, fontSize: 25, fill: '#C71585', angle: 180 }), new fabric.Text('➱', { left: 260, top: 241, fontSize: 25, fill: '#C71585', angle: 0 }), new fabric.Text('➱', { left: 280, top: 210, fontSize: 25, fill: '#C71585', angle: 180 }), new fabric.Text('➱', { left: 260, top: 134, fontSize: 25, fill: '#C71585', angle: 0 }), new fabric.Text('➱', { left: 198, top: 40, fontSize: 25, fill: '#C71585', angle: 90 }), new fabric.Text('连廊实料回库(左)和空盘供给(右)', { left: 1340, top: -100, fontSize: 15, // fill: '#C71585', angle: 0 }), new fabric.Text('分档1,2,3', { left: 814, top: 160, fontSize: 15, // fill: '#C71585', angle: 90 }), new fabric.Text('成品三楼人工抽检口', { left: 240, top: 560, fontSize: 15, // fill: '#C71585', angle: 0 }), new fabric.Text('成品二楼入实托、出空托口', { left: 90, top: 590, fontSize: 15, // fill: '#C71585', angle: 0 }), /* new fabric.Rect({ left: 510, top: 0, width: 340, height: 300, rx: 5, ry: 5, fill: '#c5cae9' }), new fabric.Rect({ left: 860, top: 0, width: 340, height: 300, rx: 5, ry: 5, fill: '#b2ebf2' }), */ // new fabric.Rect({ // left: 850, // top: 0, // width: 5, // height: 550, // rx: 5, // ry: 5, // fill: '#c5cae9' // }), // new fabric.Text('←' + this._i18nService.translate(`routes.wcs.monitor.warehouse1`), { // left: 530, // top: 175, // fontSize: 8 // }), // new fabric.Text(this._i18nService.translate(`routes.wcs.monitor.warehouse1`) + '→', { // left: 1135, // top: 175, // fontSize: 8 // }), // new fabric.Text('←' + this._i18nService.translate(`routes.wcs.monitor.warehouse2`), { // left: 530, // top: 110, // fontSize: 8 // }), // new fabric.Text(this._i18nService.translate(`routes.wcs.monitor.warehouse2`) + '→', { // left: 1135, // top: 110, // fontSize: 8 // }), // new fabric.Text(this._i18nService.translate(`routes.wcs.monitor.load`) + '→', { // left: 530, // top: 60, // fontSize: 8 // }), // new fabric.Text('←' + this._i18nService.translate(`routes.wcs.monitor.load`), { // left: 1135, // top: 60, // fontSize: 8 // }) new fabric.Rect({ left: 791, top:-34, width: 80, height: 20, fill: '#FFD700' }), new fabric.Text('直流内阻、ocv3', { left: 790, top: -28, fontSize: 10, // fill: '#C71585', angle: 0 }), ], { hoverCursor: 'default', objectCaching: false, hasControls: false, selectable: false })); // 输送线 this._conveyors.forEach((item: any) => { const objects: any[] = [ index[item.i] = new fabric.Rect({ left: item.x, top: item.y, width: item.w, height: item.h, rx: item.r ?? 0, ry: item.r ?? 0, //初始化的时候data是后端带回来的,页面切换的时候data是暂存的数据 //如果data里不包括color 就填充gray,如果有就填充data里的颜色属性 fill: data[item.i]?.color || colors.burlywood, //宽度为0.1像素 king strokeWidth: 0.3, //矩形描边颜色,默认透明 king //黑色 stroke: '#000000' }) ]; // if(item.t) // { // } /* if(item.i == 24020) { debugger; } */ if (item.t) { objects.push(new fabric.Text(item.i.toString(), { left: item.t?.x, top: item.t?.y, //设备号旋转角度 -30 angle: item.j?.angle, fontSize: 8 })); } // else // { // objects.push(new fabric.Text("", { // left: -100, // top:-100, // //设备号旋转角度 -30 // angle: 0, // fontSize: 8, // visible:false // })) // } ; if (item.a) { //向数组中添加新对象,此处可优化为canvas.add() king objects.push(new fabric.Rect({ left: item.a?.x, top: item.a?.y, width: item.a?.w, height: item.a?.h, //矩形的 x 方向上的圆角半径 king rx: item.a.r ?? 0, //矩形的 y 方向上的圆角半径 king ry: item.a.r ?? 0, fill: '#1e88e5', //传递过来的数据带着处理过的光电信息 如果.0=1 就暂存中这个设备的splitByte_0设置为了ture,在此直接用 visible: data[item.i]?.splitByte_0 || false // visible: true })); } //创建多个对象的组,将多个对象组合成一个整体 ,便于对整个组进行监听和单机事件等 代码中 i 都代表设备号 King var group = new fabric.Group(objects, { //悬停时的光标样式属性, 'pointer' 时,表示鼠标悬停在对象上时,会显示手形光标,通常用于表示该对象可以被点击或选择 // 'default'、'crosshair'、'move'、'text'、'wait'、'help' 这些属性 King hoverCursor: 'pointer', //对象属性发生变化后需要重新渲染对象 false 如果是true 当对象的属性发生变化时,只需要重新渲染对象的部分区域 king objectCaching: false, //组内对象是否显示控制点 king hasControls: false, //组是否可选中 king selectable: false }); group.data = [item.i]; canvas.add(group); }); //扫码器 this._BarcodeReader.forEach((item: any) => { const objects: any[] = [ index[item.i] = new fabric.Triangle({ left: item.x, top: item.y, width: item.w, height: item.h, // rx: item.r ?? 0, // ry: item.r ?? 0, angle: item.a, fill: colors.red, }) ]; if (item.t) { objects.push(new fabric.Text(item.i.toString(), { left: item.t?.x, top: item.t?.y, angle: item.t?.angle, // stroke:pink fontSize: 8 })); }; // if (item.a) { // objects.push(new fabric.Rect({ // left: data[item.i]?.left+30 || 100, // top: item.a?.y, // width: item.a?.w, // height: item.a?.h, // rx: item.a.r ?? 0, // ry: item.a.r ?? 0, // fill: '#1e88e5', // visible:false // })); // } var group = new fabric.Group(objects, { hoverCursor: 'pointer', objectCaching: false, hasControls: false, selectable: false }); group.data = [item.i]; canvas.add(group); }) // console.log(data[11006]) // data[11006]?.left == 470.775 ? data[11006]?.left5 : data[11006]?.left || 1327 const stacker7 = new fabric.Path('M 0 8 L 8 0 L 38 0 L 46 8 L 38 16 L 8 16 z', { left:data[11006]?.left|| 1327, top: 262, width: 15, height: 10, //fill: colors.yellow, fill: data[11006]?.color || colors.yellow, hoverCursor: 'pointer', hasControls: false, selectable: false }); canvas.add(index[stacker7.data = 11006] = stacker7); const stacker29006= new fabric.Rect({ left: data[11006]?.left + 30 || 1369, top: 266, width: 6, height: 6, hoverCursor: 'pointer', objectCaching: false, hasControls: false, selectable: false, fill: colors.blue, visible: data[11006]?.splitByte_0 || false // visible:true }); canvas.add(index[stacker29006.data = 29006] = stacker29006); const stacker20006 = new fabric.Rect({ left: data[11006]?.left + 12 || 1339, top: 266, width: 7, height: 7, hoverCursor: 'pointer', objectCaching: false, hasControls: false, selectable: false, fill: colors.blue, visible: data[11006]?.splitByte_1 || false // visible:true }); canvas.add(index[stacker20006.data = 20006] = stacker20006); // const stacker8 = new fabric.Path('M 0 8 L 8 0 L 38 0 L 46 8 L 38 16 L 8 16 z', { left: data[11005]?.left || 1327, top: 315, width: 15, height: 10, //fill: colors.yellow, fill: data[11005]?.color || colors.yellow, hoverCursor: 'pointer', hasControls: false, selectable: false }); canvas.add(index[stacker8.data = 11005] = stacker8); const stacker29005= new fabric.Rect({ left: data[11005]?.left + 30 || 1357, top: 319, width: 5, height: 5, hoverCursor: 'pointer', objectCaching: false, hasControls: false, selectable: false, fill: colors.blue, visible: data[11005]?.splitByte_0 || false // visible:true }); canvas.add(index[stacker29005.data = 29005] = stacker29005); const stacker20005 = new fabric.Rect({ left: data[11005]?.left + 12 || 1339, top: 319, width: 7, height: 7, hoverCursor: 'pointer', objectCaching: false, hasControls: false, selectable: false, fill: colors.blue, visible: data[11005]?.splitByte_1 || false // visible:true }); canvas.add(index[stacker20005.data = 20005] = stacker20005); // const stacker9 = new fabric.Path('M 0 8 L 8 0 L 38 0 L 46 8 L 38 16 L 8 16 z', { left: data[11004]?.left || 1327, top: 368, width: 15, height: 10, //fill: colors.yellow, fill: data[11004]?.color || colors.yellow, hoverCursor: 'pointer', hasControls: false, selectable: false }); canvas.add(index[stacker9.data = 11004] = stacker9); const stacker29004= new fabric.Rect({ left: data[11004]?.left + 30 || 1357, top: 372, width: 5, height: 5, hoverCursor: 'pointer', objectCaching: false, hasControls: false, selectable: false, fill: colors.blue, visible: data[11004]?.splitByte_0 || false // visible:true }); canvas.add(index[stacker29004.data = 29004] = stacker29004); const stacker20004 = new fabric.Rect({ left: data[11004]?.left + 12 || 1339, top: 372, width: 7, height: 7, hoverCursor: 'pointer', objectCaching: false, hasControls: false, selectable: false, fill: colors.blue, visible: data[11004]?.splitByte_1 || false // visible:true }); canvas.add(index[stacker20004.data = 20004] = stacker20004); // const stacker10 = new fabric.Path('M 0 8 L 8 0 L 38 0 L 46 8 L 38 16 L 8 16 z', { left: data[11003]?.left || 1327, top: 422, width: 15, height: 10, //fill: colors.yellow, fill: data[11003]?.color || colors.yellow, hoverCursor: 'pointer', hasControls: false, selectable: false }); canvas.add(index[stacker10.data = 11003] = stacker10); const stacker29003= new fabric.Rect({ left: data[11003]?.left + 30 || 1357, top: 426, width: 6, height: 6, hoverCursor: 'pointer', objectCaching: false, hasControls: false, selectable: false, fill: colors.blue, visible: data[11003]?.splitByte_0 || false // visible:true }); canvas.add(index[stacker29003.data = 29003] = stacker29003); const stacker20003 = new fabric.Rect({ left: data[11003]?.left + 12 || 1339, top: 426, width: 6, height: 6, hoverCursor: 'pointer', objectCaching: false, hasControls: false, selectable: false, fill: colors.blue, visible: data[11003]?.splitByte_1 || false // visible:true }); canvas.add(index[stacker20003.data = 20003] = stacker20003); // const stacker11 = new fabric.Path('M 0 8 L 8 0 L 38 0 L 46 8 L 38 16 L 8 16 z', { left: data[11002]?.left || 1327, top: 472, width: 15, height: 10, //fill: colors.yellow, fill: data[11002]?.color || colors.yellow, hoverCursor: 'pointer', hasControls: false, selectable: false }); canvas.add(index[stacker11.data = 11002] = stacker11); const stacker29002= new fabric.Rect({ left: data[11002]?.left + 30 || 1357, top: 476, width: 6, height: 6, hoverCursor: 'pointer', objectCaching: false, hasControls: false, selectable: false, fill: colors.blue, visible: data[11002]?.splitByte_0 || false // visible:true }); canvas.add(index[stacker29002.data = 29002] = stacker29002); const stacker20002 = new fabric.Rect({ left: data[11002]?.left + 12 || 1339, top: 476, width: 7, height:7, hoverCursor: 'pointer', objectCaching: false, hasControls: false, selectable: false, fill: colors.blue, visible: data[11002]?.splitByte_1 || false // visible:true }); canvas.add(index[stacker20002.data = 20002] = stacker20002); // const stacker12 = new fabric.Path('M 0 8 L 8 0 L 38 0 L 46 8 L 38 16 L 8 16 z', { left: data[11001]?.left || 1327, top: 526, width: 15, height: 10, //fill: colors.yellow, fill: data[11001]?.color || colors.yellow, hoverCursor: 'pointer', hasControls: false, selectable: false }); canvas.add(index[stacker12.data = 11001] = stacker12); const stacker29001= new fabric.Rect({ left: data[11001]?.left + 30 || 1357, top: 530, width: 5, height: 5, hoverCursor: 'pointer', objectCaching: false, hasControls: false, selectable: false, fill: colors.blue, visible: data[11001]?.splitByte_0 || false // visible:true }); canvas.add(index[stacker29001.data = 29001] = stacker29001); const stacker20001 = new fabric.Rect({ left: data[11001]?.left + 12 || 1339, top: 530, width: 7, height: 7, hoverCursor: 'pointer', objectCaching: false, hasControls: false, selectable: false, fill: colors.blue, visible: data[11001]?.splitByte_1 || false // visible:true }); canvas.add(index[stacker20001.data = 20001] = stacker20001); // 堆垛机 /* const stacker = new fabric.Path('M 0 8 L 8 0 L 58 0 L 66 8 L 58 16 L 8 16 z', { left: 187, top: 423, width: 30, height: 15, fill: colors.yellow, hoverCursor: 'pointer', hasControls: false, selectable: false }); canvas.add(index[stacker.data = 18001] = stacker); */ } }