diff --git a/.env.dev b/.env.dev index b5e5fb6e..6d104d2f 100644 --- a/.env.dev +++ b/.env.dev @@ -12,6 +12,7 @@ ENV = 'development' VUE_APP_TITLE = 智能监控分析系统 # 芋道管理系统/开发环境 +# VUE_APP_BASE_API = 'http://192.168.8.22:48080' VUE_APP_BASE_API = 'http://172.16.32.21:48080' # 路由懒加载 diff --git a/dist.zip b/dist.zip new file mode 100644 index 00000000..e9b16c15 Binary files /dev/null and b/dist.zip differ diff --git a/package.json b/package.json index d715cd55..ee16bed6 100644 --- a/package.json +++ b/package.json @@ -52,6 +52,7 @@ "crypto-js": "^4.0.0", "diagram-js": "^12.3.0", "echarts": "5.4.0", + "el-tree-transfer": "^2.4.7", "element-ui": "2.15.12", "file-saver": "^2.0.5", "fuse.js": "6.6.2", diff --git a/src/api/core/base/factory.js b/src/api/core/base/factory.js index 7a64a2de..1c2f7cb8 100644 --- a/src/api/core/base/factory.js +++ b/src/api/core/base/factory.js @@ -61,9 +61,9 @@ export function exportFactoryExcel(query) { // 获取产线设备状态 export function getLineEqStatus(data) { return request({ - url: '/base/production-line/getLineEqStatus', - method: 'post', - data: data - }) + url: '/monitoring/equipment-monitor/getLineEqStatus', + method: 'post', + data: data, + }); } diff --git a/src/views/monitoring/qhdEquipmentVisualize/index.vue b/src/views/monitoring/qhdEquipmentVisualize/index.vue new file mode 100644 index 00000000..71943d26 --- /dev/null +++ b/src/views/monitoring/qhdEquipmentVisualize/index.vue @@ -0,0 +1,337 @@ + + + + + + diff --git a/src/views/monitoring/qhdEquipmentVisualize/line-pot.js b/src/views/monitoring/qhdEquipmentVisualize/line-pot.js new file mode 100644 index 00000000..a03a7f3f --- /dev/null +++ b/src/views/monitoring/qhdEquipmentVisualize/line-pot.js @@ -0,0 +1,5090 @@ +const linePot = { + line1canvasFirstHalf: [], + line1canvasSecondHalf: [], + line2canvasFirstHalf: [], + line2canvasSecondHalf: [], + line3canvasFirstHalf: [], // line3 分成两部分 + line3canvasSecondHalf: [], + line4canvasFirstHalf: [], // line4 分成两部分 + line4canvasSecondHalf: [], + line5canvasFirstHalf: [], // line5 分成两部分 + line5canvasSecondHalf: [], +}; +linePot.line1canvasFirstHalf = [ + { + name: '穿梭机', + id: 100101, + isEQ: true, //是否是设备 + x: 5, + y: 10, + width: 50, + height: 50, + }, + { + name: '机械手1', + id: 100201, + isEQ: true, //是否是设备 + x: 70, + y: 45, + width: 55, + height: 30, + }, + { + name: '机械手2', + id: 100202, + isEQ: true, //是否是设备 + x: 130, + y: 45, + width: 55, + height: 30, + }, + { + name: '机械手3', + id: 100203, + isEQ: true, //是否是设备 + x: 190, + y: 45, + width: 55, + height: 30, + }, + { + name: 'M01', + id: '1889846205990629371', + x: 65, + y: 10, + width: 50, + height: 30, + }, + { + name: 'M02', + id: '1889846205990629372', + x: 115, + y: 10, + width: 50, + height: 30, + }, + { + name: 'M03', + id: '1889846205990629373', + x: 165, + y: 10, + width: 50, + height: 30, + }, + { + name: 'M04', + id: '1889846205990629374', + x: 205, + y: 10, + width: 50, + height: 30, + }, + { + name: 'M05', + id: '1889846205990629375', + x: 255, + y: 10, + width: 50, + height: 30, + }, + { + name: 'M06', + id: '1889846205990629376', + x: 305, + y: 10, + width: 50, + height: 30, + }, + { + name: 'M07', + id: '1889846205990629377', + x: 355, + y: 10, + width: 50, + height: 30, + }, + { + name: 'M08', + id: '1889846205990629378', + x: 405, + y: 10, + width: 50, + height: 30, + }, + { + name: 'M09', + id: '1889846205990629378', + x: 405, + y: 40, + width: 50, + height: 50, + }, + { + name: 'M10', + id: '1889846205990629378', + x: 405, + y: 90, + width: 50, + height: 30, + }, + { + name: 'M11', + id: '1889846205990629378', + x: 405, + y: 120, + width: 50, + height: 30, + }, + { + name: 'M12', + id: '1889846205990629378', + x: 405, + y: 150, + width: 50, + height: 30, + }, + { + name: 'M13', + id: '1889846205990629378', + x: 405, + y: 180, + width: 50, + height: 30, + }, + { + name: 'M14', + id: '1889846205990629378', + x: 405, + y: 210, + width: 50, + height: 30, + }, + { + name: '0M300-1/2', + id: '1889846340208357377', + x: 455, + y: 20, + width: 50, + height: 30, + }, + { + name: '0M300-3/4', + id: '1889846340208357377', + x: 455, + y: 50, + width: 50, + height: 30, + }, + { + name: '0M301', + id: '1889846340208357377', + x: 505, + y: 50, + width: 50, + height: 30, + }, + { + name: '0M302', + id: '1889846340208357377', + x: 555, + y: 50, + width: 50, + height: 30, + }, + { + name: '0M303', + id: '1889846340208357377', + x: 605, + y: 50, + width: 50, + height: 30, + }, + { + name: '0M304', + id: '1889846340208357377', + x: 655, + y: 50, + width: 50, + height: 30, + }, + { + name: '0M200', + id: '1889846382482747393', + x: 455, + y: 120, + width: 50, + height: 30, + }, + { + name: '0M201', + id: '1889846382482747393', + x: 505, + y: 120, + width: 50, + height: 30, + }, + { + name: '0M202', + id: '1889846382482747393', + x: 555, + y: 120, + width: 50, + height: 30, + }, + { + name: '0M203', + id: '1889846382482747393', + x: 605, + y: 120, + width: 50, + height: 30, + }, + { + name: '0M204', + id: '1889846382482747393', + x: 655, + y: 120, + width: 50, + height: 30, + }, + { + name: '0M100', + id: '1889846424954269698', + x: 455, + y: 210, + width: 50, + height: 30, + }, + { + name: '0M101', + id: '1889846424954269698', + x: 505, + y: 210, + width: 50, + height: 30, + }, + { + name: '0M102', + id: '1889846424954269698', + x: 555, + y: 210, + width: 50, + height: 30, + }, + { + name: '0M103', + id: '1889846424954269698', + x: 605, + y: 210, + width: 50, + height: 30, + }, + { + name: '0M104', + id: '1889846424954269698', + x: 655, + y: 210, + width: 50, + height: 30, + }, + { + name: '磨边机3', + id: 100303, + isEQ: true, //是否是设备 + x: 705, + y: 40, + width: 50, + height: 50, + }, + { + name: '磨边机2', + id: 100302, + isEQ: true, //是否是设备 + x: 705, + y: 110, + width: 50, + height: 50, + }, + { + name: '磨边机1', + id: 100301, + isEQ: true, //是否是设备 + x: 705, + y: 200, + width: 50, + height: 50, + }, + { + name: '清洗机3', + id: 100403, + isEQ: true, //是否是设备 + x: 755, + y: 40, + width: 50, + height: 50, + }, + { + name: '清洗机2', + id: 100402, + isEQ: true, //是否是设备 + x: 755, + y: 110, + width: 50, + height: 50, + }, + { + name: '清洗机1', + id: 100401, + isEQ: true, //是否是设备 + x: 755, + y: 200, + width: 50, + height: 50, + }, + { + name: '1M301', + id: '1889846469384531970', + x: 805, + y: 50, + width: 50, + height: 30, + }, + { + name: '1M302', + id: '1889846469384531971', + x: 855, + y: 50, + width: 50, + height: 30, + }, + { + name: '1M303', + id: '1889846469384531972', + x: 905, + y: 50, + width: 50, + height: 30, + }, + { + name: '1M304', + id: '1889846469384531973', + x: 955, + y: 50, + width: 50, + height: 30, + }, + { + name: '1M305', + id: '1889846469384531974', + x: 1005, + y: 50, + width: 50, + height: 30, + }, + { + name: '1M201', + id: '1889846469384531970', + x: 805, + y: 120, + width: 50, + height: 30, + }, + { + name: '1M202', + id: '1889846469384531971', + x: 855, // 805 + 50 + y: 120, + width: 50, + height: 30, + }, + { + name: '1M203', + id: '1889846469384531972', + x: 905, // 855 + 50 + y: 120, + width: 50, + height: 30, + }, + { + name: '1M204', + id: '1889846469384531973', + x: 955, // 905 + 50 + y: 120, + width: 50, + height: 30, + }, + { + name: '1M205', + id: '1889846469384531974', + x: 1005, // 955 + 50 + y: 120, + width: 50, + height: 30, + }, + { + name: '1M101', + id: '1889846469384531970', + x: 805, + y: 210, + width: 50, + height: 30, + }, + { + name: '1M102', + id: '1889846469384531971', + x: 855, // 805 + 50 + y: 210, + width: 50, + height: 30, + }, + { + name: '1M103', + id: '1889846469384531972', + x: 905, // 855 + 50 + y: 210, + width: 50, + height: 30, + }, + { + name: '1M104', + id: '1889846469384531973', + x: 955, // 905 + 50 + y: 210, + width: 50, + height: 30, + }, + { + name: '1M105', + id: '1889846469384531974', + x: 1005, // 955 + 50 + y: 210, + width: 50, + height: 30, + }, + { + name: '预热3', + id: 100903, + isEQ: true, //是否是设备 + x: 1055, + y: 40, + width: 50, + height: 50, + }, + { + name: '预热2', + id: 100902, + isEQ: true, //是否是设备 + x: 1055, + y: 110, + width: 50, + height: 50, + }, + { + name: '预热1', + id: 100901, + isEQ: true, //是否是设备 + x: 1055, + y: 200, + width: 50, + height: 50, + }, + { + name: '1M306', + id: 11, + // isEQ: true, //是否是设备 + x: 1105, + y: 50, + width: 50, + height: 30, + }, + { + name: '1M206', + id: 12, + // isEQ: true, //是否是设备 + x: 1105, + y: 120, + width: 50, + height: 30, + }, + { + name: '1M106', + id: 13, + // isEQ: true, //是否是设备 + x: 1105, + y: 210, + width: 50, + height: 30, + }, + { + name: '镀膜机3', + id: 100803, + isEQ: true, //是否是设备 + x: 1155, + y: 40, + width: 50, + height: 50, + }, + { + name: '镀膜机2', + id: 100802, + isEQ: true, //是否是设备 + x: 1155, + y: 110, + width: 50, + height: 50, + }, + { + name: '镀膜机1', + id: 100801, + isEQ: true, //是否是设备 + x: 1155, + y: 200, + width: 50, + height: 50, + }, + { + name: '1M307', + id: 11, + // isEQ: true, //是否是设备 + x: 1205, + y: 50, + width: 50, + height: 30, + }, + { + name: '1M207', + id: 12, + // isEQ: true, //是否是设备 + x: 1205, + y: 120, + width: 50, + height: 30, + }, + { + name: '1M107', + id: 13, + // isEQ: true, //是否是设备 + x: 1205, + y: 210, + width: 50, + height: 30, + }, + { + name: '一次固化3', + id: 101003, + isEQ: true, //是否是设备 + x: 1255, + y: 40, + width: 60, + height: 50, + }, + { + name: '一次固化2', + id: 101002, + isEQ: true, //是否是设备 + x: 1255, + y: 110, + width: 60, + height: 50, + }, + { + name: '一次固化1', + id: 101001, + isEQ: true, //是否是设备 + x: 1255, + y: 200, + width: 60, + height: 50, + }, + { + name: '烘干3', + id: 20, + isEQ: true, //是否是设备 + x: 1315, + y: 40, + width: 50, + height: 50, + }, + { + name: '烘干2', + id: 21, + isEQ: true, //是否是设备 + x: 1315, + y: 110, + width: 50, + height: 50, + }, + { + name: '烘干1', + id: 22, + isEQ: true, //是否是设备 + x: 1315, + y: 200, + width: 50, + height: 50, + }, + { + name: '1M308', + id: 11, + // isEQ: true, //是否是设备 + x: 1365, + y: 50, + width: 50, + height: 30, + }, + { + name: '1M208', + id: 12, + // isEQ: true, //是否是设备 + x: 1365, + y: 120, + width: 50, + height: 30, + }, + { + name: '1M108', + id: 13, + // isEQ: true, //是否是设备 + x: 1365, + y: 210, + width: 50, + height: 30, + }, + { + name: '镀膜机3', + id: 101103, + isEQ: true, //是否是设备 + x: 1415, + y: 40, + width: 50, + height: 50, + }, + { + name: '镀膜机2', + id: 101102, + isEQ: true, //是否是设备 + x: 1415, + y: 110, + width: 50, + height: 50, + }, + { + name: '镀膜机1', + id: 101101, + isEQ: true, //是否是设备 + x: 1415, + y: 200, + width: 50, + height: 50, + }, + { + name: '1M309', + id: 11, + x: 1465, + y: 50, + width: 50, + height: 30, + }, + { + name: '1M209', + id: 12, + x: 1465, + y: 120, + width: 50, + height: 30, + }, + { + name: '1M109', + id: 13, + x: 1465, + y: 210, + width: 50, + height: 30, + }, + { + name: '二次固化3', + id: 101203, + isEQ: true, //是否是设备 + x: 1515, + y: 40, + width: 60, + height: 50, + }, + { + name: '二次固化2', + id: 101202, + isEQ: true, //是否是设备 + x: 1515, + y: 110, + width: 60, + height: 50, + }, + { + name: '二次固化1', + id: 101201, + isEQ: true, //是否是设备 + x: 1515, + y: 200, + width: 60, + height: 50, + }, + { name: '2M101', id: 13, x: 1575, y: 210, width: 50, height: 30 }, + { name: '2M102', id: 14, x: 1625, y: 210, width: 50, height: 30 }, + { name: '2M103', id: 15, x: 1675, y: 210, width: 50, height: 30 }, + { name: '2M104', id: 16, x: 1725, y: 210, width: 50, height: 30 }, + { name: '2M105', id: 17, x: 1775, y: 210, width: 50, height: 30 }, + { name: '2M106', id: 18, x: 1825, y: 210, width: 50, height: 30 }, + { name: '2M107', id: 19, x: 1875, y: 210, width: 50, height: 30 }, + { name: '2M108', id: 20, x: 1925, y: 210, width: 50, height: 30 }, + + { name: '2M201', id: 13, x: 1575, y: 120, width: 50, height: 30 }, + { name: '2M202', id: 14, x: 1625, y: 120, width: 50, height: 30 }, + { name: '2M203', id: 15, x: 1675, y: 120, width: 50, height: 30 }, + { name: '2M204', id: 16, x: 1675, y: 150, width: 50, height: 30 }, + { name: '2M205', id: 17, x: 1675, y: 180, width: 50, height: 30 }, + + { name: '2M301', id: 13, x: 1575, y: 50, width: 50, height: 30 }, + { name: '2M302', id: 14, x: 1625, y: 50, width: 50, height: 30 }, + { name: '2M303', id: 15, x: 1675, y: 50, width: 50, height: 30 }, + { name: '2M304', id: 16, x: 1725, y: 50, width: 50, height: 30 }, + { name: '2M305', id: 17, x: 1775, y: 50, width: 50, height: 30 }, + { name: '2M306', id: 18, x: 1775, y: 80, width: 50, height: 35 }, + { name: '2M307', id: 19, x: 1775, y: 115, width: 50, height: 35 }, + { name: '2M308', id: 20, x: 1775, y: 145, width: 50, height: 35 }, + { name: '2M309', id: 20, x: 1775, y: 175, width: 50, height: 35 }, +]; + +linePot.line1canvasSecondHalf = [ + { name: '钢化炉', id: 13, isEQ: true, x: 5, y: 150, width: 60, height: 50 }, + { + name: '3M101', + id: '1889846619888742401', + x: 65, + y: 160, + width: 50, + height: 30, + }, + { + name: '3M102', + id: '1889846619888742402', + x: 115, + y: 160, + width: 50, + height: 30, + }, + { + name: '3M103', + id: '1889846619888742403', + x: 165, + y: 160, + width: 50, + height: 30, + }, + { + name: '3M104', + id: '1889846619888742404', + x: 215, + y: 160, + width: 50, + height: 30, + }, + { + name: '3M105', + id: '1889846619888742405', + x: 265, + y: 160, + width: 50, + height: 30, + }, + { + name: '3M106', + id: '1889846619888742406', + x: 315, + y: 160, + width: 50, + height: 30, + }, + { + name: '3M107', + id: '1889846619888742407', + x: 365, + y: 160, + width: 50, + height: 30, + }, + { + name: '3M108', + id: '1889846619888742408', + x: 415, + y: 160, + width: 50, + height: 30, + }, + { + name: '3M109', + id: '1889846619888742409', + x: 465, + y: 160, + width: 50, + height: 30, + }, + { + name: '3M110', + id: '1889846619888742410', + x: 515, + y: 160, + width: 50, + height: 30, + }, + { + name: '3M203', + id: '1889846619888742403', + x: 265, + y: 130, + width: 50, + height: 30, + }, + { + name: '3M204', + id: '1889846619888742404', + x: 265, + y: 100, + width: 50, + height: 30, + }, + { + name: '3M205', + id: '1889846619888742405', + x: 265, + y: 70, + width: 50, + height: 30, + }, + { + name: '3M206', + id: '1889846619888742406', + x: 315, + y: 70, + width: 50, + height: 30, + }, + { + name: '3M207', + id: '1889846619888742407', + x: 365, + y: 70, + width: 50, + height: 30, + }, + { + name: '3M208', + id: '1889846619888742408', + x: 415, + y: 70, + width: 50, + height: 30, + }, + { + name: '3M209', + id: '1889846619888742409', + x: 465, + y: 70, + width: 50, + height: 30, + }, + { + name: '3M210', + id: '1889846619888742410', + x: 515, + y: 70, + width: 50, + height: 30, + }, + { + name: '3M202', + id: '1889846619888742403', + x: 365, + y: 130, + width: 50, + height: 30, + }, + { + name: '3M203', + id: '1889846619888742404', + x: 365, + y: 100, + width: 50, + height: 30, + }, + { + name: '清洗机', + id: 101501, + isEQ: true, + x: 565, + y: 60, + width: 60, + height: 50, + }, + { + name: '清洗机', + id: 101502, + isEQ: true, + x: 565, + y: 150, + width: 60, + height: 50, + }, + { name: '4M200', id: 13, x: 625, y: 70, width: 50, height: 30 }, + { name: '4M201', id: 13, x: 675, y: 70, width: 50, height: 30 }, + { name: '4M00', id: 13, x: 625, y: 160, width: 50, height: 30 }, + { name: '4M101', id: 13, x: 675, y: 160, width: 50, height: 30 }, + { + name: '铺纸机', + id: 101601, + isEQ: true, + x: 725, + y: 60, + width: 60, + height: 50, + }, + { + name: '铺纸机', + id: 101602, + isEQ: true, + x: 725, + y: 150, + width: 60, + height: 50, + }, + { name: '4M202', id: 13, x: 785, y: 70, width: 50, height: 30 }, + { name: '4M203', id: 14, x: 835, y: 70, width: 50, height: 30 }, + { name: '4M204', id: 15, x: 885, y: 70, width: 50, height: 30 }, + { name: '4M205', id: 16, x: 935, y: 70, width: 50, height: 30 }, + { name: '4M206', id: 17, x: 985, y: 70, width: 50, height: 30 }, + { name: '4M207', id: 16, x: 985, y: 100, width: 50, height: 30 }, + { name: '4M208', id: 17, x: 985, y: 130, width: 50, height: 30 }, + { name: '4M209', id: 16, x: 885, y: 100, width: 50, height: 30 }, + { name: '4M210', id: 17, x: 885, y: 130, width: 50, height: 30 }, + { name: '4M102', id: 13, x: 785, y: 160, width: 50, height: 30 }, + { name: '4M103', id: 14, x: 835, y: 160, width: 50, height: 30 }, + { name: '4M104', id: 15, x: 885, y: 160, width: 50, height: 30 }, + { name: '4M105', id: 16, x: 935, y: 160, width: 50, height: 30 }, + { name: '4M106', id: 17, x: 985, y: 160, width: 50, height: 30 }, + { name: '4M107', id: 18, x: 1035, y: 160, width: 50, height: 30 }, + { name: '4M108', id: 19, x: 1085, y: 160, width: 50, height: 30 }, + { name: '4M109', id: 20, x: 1135, y: 160, width: 50, height: 30 }, + { name: '4M110', id: 21, x: 1185, y: 160, width: 50, height: 30 }, + { name: '4M111', id: 22, x: 1235, y: 160, width: 50, height: 30 }, + { name: '4M112', id: 23, x: 1285, y: 160, width: 50, height: 30 }, + { name: '4M113', id: 24, x: 1335, y: 160, width: 50, height: 30 }, + { name: '4M114', id: 25, x: 1385, y: 160, width: 50, height: 30 }, + { name: '4M115', id: 26, x: 1435, y: 160, width: 50, height: 30 }, + { name: '4M116', id: 27, x: 1485, y: 160, width: 50, height: 30 }, + { + name: '下片机3', + id: 101701, + isEQ: true, + x: 1105, + y: 110, + width: 60, + height: 30, + }, + { + name: '下片机2', + id: 101702, + isEQ: true, + x: 1175, + y: 110, + width: 60, + height: 30, + }, + { + name: '下片机1', + id: 101703, + isEQ: true, + x: 1245, + y: 110, + width: 60, + height: 30, + }, +]; + +linePot.line2canvasFirstHalf = [ + { + name: '穿梭机', + id: 200101, + isEQ: true, //是否是设备 + x: 5, + y: 90, + width: 50, + height: 50, + }, + { + name: '机械手1', + id: 200201, + isEQ: true, //是否是设备 + x: 65, + y: 55, + width: 55, + height: 30, + }, + { + name: '机械手2', + id: 200202, + isEQ: true, //是否是设备 + x: 125, + y: 55, + width: 55, + height: 30, + }, + { + name: '机械手3', + id: 200203, + isEQ: true, //是否是设备 + x: 185, + y: 55, + width: 55, + height: 30, + }, + { + name: 'M01', + id: '152', + // isL: true, //是否L形状 + remark: '-M12', + x: 55, + y: 95, + width: 50, + height: 30, + // line: [ + // [60, 50], + // [290, 50], + // [290, 80], + // [240, 80], + // [240, 140], + // [290, 140], + // [290, 170], + // [210, 170], + // [210, 80], + // [60, 80], + // ], + }, + { name: 'M01', id: '152', x: 55, y: 95, width: 50, height: 30 }, + { name: 'M02', id: '153', x: 105, y: 95, width: 50, height: 30 }, + { name: 'M03', id: '154', x: 155, y: 95, width: 50, height: 30 }, + { name: 'M04', id: '155', x: 205, y: 95, width: 50, height: 30 }, + { name: 'M05', id: '156', x: 255, y: 95, width: 50, height: 30 }, + { name: 'M06', id: '157', x: 305, y: 95, width: 50, height: 30 }, + { name: 'M07', id: '158', x: 355, y: 95, width: 50, height: 30 }, + { name: 'M08', id: '159', x: 405, y: 95, width: 50, height: 30 }, + { name: 'M09', id: '160', x: 455, y: 95, width: 50, height: 30 }, + { name: 'M10', id: '161', x: 505, y: 95, width: 50, height: 30 }, + { name: 'M11', id: '162', x: 555, y: 95, width: 50, height: 30 }, + { name: 'M12', id: '163', x: 605, y: 95, width: 50, height: 30 }, + { name: 'M13', id: '162', x: 505, y: 125, width: 50, height: 30 }, + { name: 'M14', id: '163', x: 505, y: 155, width: 50, height: 30 }, + { name: 'M15', id: '162', x: 555, y: 155, width: 50, height: 30 }, + { name: 'M16', id: '163', x: 605, y: 155, width: 50, height: 30 }, + + { name: 'M17', id: '162', x: 505, y: 65, width: 50, height: 30 }, + { name: 'M18', id: '163', x: 505, y: 35, width: 50, height: 30 }, + { name: 'M19', id: '162', x: 555, y: 35, width: 50, height: 30 }, + { name: 'M20', id: '163', x: 605, y: 35, width: 50, height: 30 }, + { + name: '磨边机1', + id: 200301, + isEQ: true, //是否是设备 + // isL: true, //是否L形状 + x: 655, + y: 25, + width: 50, + height: 50, + }, + { + name: '磨边机2', + id: 200302, + isEQ: true, //是否是设备 + // isL: true, //是否L形状 + x: 655, + y: 85, + width: 50, + height: 50, + }, + { + name: '磨边机3', + id: 200303, + isEQ: true, //是否是设备 + // isL: true, //是否L形状 + x: 655, + y: 145, + width: 50, + height: 50, + }, + { + name: '清洗机1', + id: 200401, + isEQ: true, //是否是设备 + // isL: true, //是否L形状 + x: 705, + y: 25, + width: 50, + height: 50, + }, + { + name: '清洗机2', + id: 200402, + isEQ: true, //是否是设备 + // isL: true, //是否L形状 + x: 705, + y: 85, + width: 50, + height: 50, + }, + { + name: '清洗机3', + id: 200403, + isEQ: true, //是否是设备 + // isL: true, //是否L形状 + x: 705, + y: 145, + width: 50, + height: 50, + }, + { name: '1M101', id: '226', x: 755, y: 35, width: 50, height: 30 }, + { name: '1M102', id: '227', x: 805, y: 35, width: 50, height: 30 }, + { name: '1M103', id: '228', x: 855, y: 35, width: 50, height: 30 }, + { name: '1M104', id: '229', x: 905, y: 35, width: 50, height: 30 }, + { name: '1M105', id: '230', x: 955, y: 35, width: 50, height: 30 }, + + { name: '1M201', id: '226', x: 755, y: 95, width: 50, height: 30 }, + { name: '1M202', id: '227', x: 805, y: 95, width: 50, height: 30 }, + { name: '1M203', id: '228', x: 855, y: 95, width: 50, height: 30 }, + { name: '1M204', id: '229', x: 905, y: 95, width: 50, height: 30 }, + { name: '1M205', id: '230', x: 955, y: 95, width: 50, height: 30 }, + + { name: '1M301', id: '226', x: 755, y: 155, width: 50, height: 30 }, + { name: '1M302', id: '227', x: 805, y: 155, width: 50, height: 30 }, + { name: '1M303', id: '228', x: 855, y: 155, width: 50, height: 30 }, + { name: '1M304', id: '229', x: 905, y: 155, width: 50, height: 30 }, + { name: '1M305', id: '230', x: 955, y: 155, width: 50, height: 30 }, + { + name: '预热1', + id: 200901, + // isEQ: true, //是否是设备 + // remark: '1M101-1M105', + // isL: true, //是否L形状 + x: 1005, + y: 25, + width: 50, + height: 50, + }, + { + name: '预热2', + id: 200902, + // remark: '1M201-1M205', + // isL: true, //是否L形状 + x: 1005, + y: 85, + width: 50, + height: 50, + }, + { + name: '预热3', + id: 200903, + // remark: '1M301-1M305', + // isL: true, //是否L形状 + x: 1005, + y: 145, + width: 50, + height: 50, + }, + { + name: '1M106', + id: '232', + // isEQ: true, //是否是设备 + // isL: true, //是否L形状 + x: 1055, + y: 35, + width: 55, + height: 30, + }, + { + name: '1M206', + id: '233', + x: 1055, + y: 95, + width: 55, + height: 30, + }, + { + name: '1M306', + id: '234', + x: 1055, + y: 155, + width: 55, + height: 30, + }, + { + name: '镀膜机1', + id: 200801, + isEQ: true, //是否是设备 + // remark: '1M106', + // isL: true, //是否L形状 + x: 1105, + y: 25, + width: 50, + height: 50, + }, + { + name: '镀膜机2', + id: 200802, + isEQ: true, //是否是设备 + x: 1105, + y: 85, + width: 50, + height: 50, + }, + { + name: '镀膜机3', + id: 200803, + isEQ: true, //是否是设备 + x: 1105, + y: 145, + width: 50, + height: 50, + }, + { + name: '1M107', + id: '238', + // isEQ: true, //是否是设备 + // isL: true, //是否L形状 + x: 1155, + y: 35, + width: 50, + height: 30, + }, + { + name: '1M207', + id: '239', + x: 1155, + y: 95, + width: 50, + height: 30, + }, + { + name: '1M307', + id: '240', + x: 1155, + y: 155, + width: 50, + height: 30, + }, + { + name: '一次固化1', + id: 201001, + // isEQ: true, //是否是设备 + // remark: '1M107', + // isL: true, //是否L形状 + x: 1205, + y: 25, + width: 60, + height: 50, + }, + { + name: '一次固化2', + id: 201002, + // remark: '1M207', + x: 1205, + y: 85, + width: 60, + height: 50, + }, + { + name: '一次固化3', + id: 201003, + // remark: '1M307', + x: 1205, + y: 145, + width: 60, + height: 50, + }, + { + name: '烘干1', + id: '244', + // isEQ: true, //是否是设备 + // remark: '1M107', + // isL: true, //是否L形状 + x: 1265, + y: 25, + width: 55, + height: 50, + }, + { + name: '烘干2', + id: '245', + // remark: '1M207', + x: 1265, + y: 85, + width: 55, + height: 50, + }, + { + name: '烘干3', + id: '246', + // remark: '1M307', + x: 1265, + y: 145, + width: 55, + height: 50, + }, + { + name: '1M108', + id: '247', + // isEQ: true, //是否是设备 + // isL: true, //是否L形状 + x: 1320, + y: 35, + width: 50, + height: 30, + }, + { + name: '1M208', + id: '248', + x: 1320, + y: 95, + width: 50, + height: 30, + }, + { + name: '1M308', + id: '249', + x: 1320, + y: 155, + width: 50, + height: 30, + }, + { + name: '镀膜机1', + id: 201101, + isEQ: true, //是否是设备 + // remark: '1M107', + // isL: true, //是否L形状 + x: 1370, + y: 25, + width: 55, + height: 50, + }, + { + name: '镀膜机2', + id: 201102, + isEQ: true, //是否是设备 + + // remark: '1M207', + x: 1370, + y: 85, + width: 55, + height: 50, + }, + { + name: '镀膜机3', + id: 201103, + isEQ: true, //是否是设备 + + // remark: '1M307', + x: 1370, + y: 145, + width: 55, + height: 50, + }, + { + name: '1M109', + id: '253', + x: 1425, + y: 35, + width: 50, + height: 30, + }, + { + name: '1M209', + id: '254', + x: 1425, + y: 95, + width: 50, + height: 30, + }, + { + name: '1M309', + id: '255', + x: 1425, + y: 155, + width: 50, + height: 30, + }, + { + name: '二次固化1', + id: 201201, + // isEQ: true, //是否是设备 + // remark: '1M107', + // isL: true, //是否L形状 + x: 1475, + y: 25, + width: 60, + height: 50, + }, + { + name: '二次固化2', + id: 201202, + // remark: '1M207', + x: 1475, + y: 85, + width: 60, + height: 50, + }, + { + name: '二次固化3', + id: 201203, + // remark: '1M307', + x: 1475, + y: 145, + width: 60, + height: 50, + }, + { name: '2M101', id: '254', x: 1535, y: 35, width: 50, height: 30 }, + { name: '2M102', id: '255', x: 1585, y: 35, width: 50, height: 30 }, + { name: '2M103', id: '256', x: 1635, y: 35, width: 50, height: 30 }, + { name: '2M104', id: '257', x: 1685, y: 35, width: 50, height: 30 }, + { name: '2M105', id: '258', x: 1735, y: 35, width: 50, height: 30 }, + { name: '2M106', id: '259', x: 1785, y: 35, width: 50, height: 30 }, + { name: '2M107', id: '260', x: 1835, y: 35, width: 50, height: 30 }, + { name: '2M108', id: '261', x: 1885, y: 35, width: 50, height: 30 }, + + { name: '2M201', id: '254', x: 1535, y: 95, width: 50, height: 30 }, + { name: '2M202', id: '255', x: 1585, y: 95, width: 50, height: 30 }, + { name: '2M203', id: '256', x: 1635, y: 105, width: 50, height: 20 }, + { name: '2M204', id: '256', x: 1635, y: 85, width: 50, height: 20 }, + { name: '2M205', id: '256', x: 1635, y: 65, width: 50, height: 20 }, + + { name: '2M301', id: '254', x: 1535, y: 155, width: 50, height: 30 }, + { name: '2M302', id: '255', x: 1585, y: 155, width: 50, height: 30 }, + { name: '2M303', id: '256', x: 1635, y: 155, width: 50, height: 30 }, + { name: '2M304', id: '257', x: 1685, y: 155, width: 50, height: 30 }, + { name: '2M305', id: '258', x: 1735, y: 155, width: 50, height: 30 }, + { name: '2M306', id: '259', x: 1735, y: 125, width: 50, height: 30 }, + { name: '2M307', id: '260', x: 1735, y: 95, width: 50, height: 30 }, + { name: '2M308', id: '261', x: 1735, y: 65, width: 50, height: 30 }, + { name: '2M308', id: '261', x: 1735, y: 35, width: 50, height: 30 }, +]; + +linePot.line2canvasSecondHalf = [ + { + name: '钢化炉', + id: 201401, + isEQ: true, //是否是设备 + x: 5, + y: 20, + width: 55, + height: 50, + }, + { name: '3M101', id: '258', x: 60, y: 30, width: 50, height: 30 }, + { name: '3M102', id: '259', x: 110, y: 30, width: 50, height: 30 }, + { name: '3M103', id: '260', x: 160, y: 30, width: 50, height: 30 }, + { name: '3M104', id: '261', x: 210, y: 30, width: 50, height: 30 }, + { name: '3M105', id: '262', x: 260, y: 30, width: 50, height: 30 }, + { name: '3M106', id: '263', x: 310, y: 30, width: 50, height: 30 }, + { name: '3M107', id: '264', x: 360, y: 30, width: 50, height: 30 }, + { name: '3M108', id: '265', x: 410, y: 30, width: 50, height: 30 }, + { name: '3M109', id: '266', x: 460, y: 30, width: 50, height: 30 }, + { name: '3M110', id: '267', x: 510, y: 30, width: 50, height: 30 }, + + { name: '3M201', id: '262', x: 360, y: 60, width: 50, height: 30 }, + { name: '3M202', id: '262', x: 360, y: 90, width: 50, height: 30 }, + { name: '3M203', id: '262', x: 260, y: 60, width: 50, height: 30 }, + { name: '3M204', id: '262', x: 260, y: 90, width: 50, height: 30 }, + { name: '3M205', id: '262', x: 260, y: 120, width: 50, height: 30 }, + { name: '3M206', id: '263', x: 310, y: 120, width: 50, height: 30 }, + { name: '3M207', id: '264', x: 360, y: 120, width: 50, height: 30 }, + { name: '3M208', id: '265', x: 410, y: 120, width: 50, height: 30 }, + { name: '3M209', id: '266', x: 460, y: 120, width: 50, height: 30 }, + { name: '3M210', id: '267', x: 510, y: 120, width: 50, height: 30 }, + + // { + // name: '连线', + // id: '259', + // remark: '3M203-3M210', + // isL: true, //是否L形状 + // line: [ + // [1445, 50], + // [1445, 190], + // [1700, 190], + // [1700, 160], + // [1495, 160], + // [1495, 50], + // ], + // }, + // { + // name: '连线', + // id: '260', + // remark: '3M101-3M110', + // x: 1550, + // y: 50, + // width: 55, + // height: 110, + // }, + { + name: '清洗机1', + id: 201501, + isEQ: true, //是否是设备 + x: 560, + y: 20, + width: 55, + height: 50, + }, + { + name: '清洗机2', + id: 201502, + isEQ: true, //是否是设备 + x: 560, + y: 110, + width: 55, + height: 50, + }, + { + name: '4M100', + id: 201503, + x: 615, + y: 30, + width: 50, + height: 30, + }, + { + name: '4M101', + id: '263', + x: 665, + y: 30, + width: 50, + height: 30, + }, + { + name: '4M200', + id: '264', + x: 615, + y: 120, + width: 50, + height: 30, + }, + { + name: '4M201', + id: '264', + x: 665, + y: 120, + width: 50, + height: 30, + }, + { + name: '铺纸机1', + id: 201601, + isEQ: true, //是否是设备 + x: 715, + y: 20, + width: 55, + height: 50, + }, + { + name: '铺纸机2', + id: 201602, + isEQ: true, //是否是设备 + x: 715, + y: 110, + width: 55, + height: 50, + }, + { name: '4M102', id: '267', x: 770, y: 30, width: 50, height: 30 }, + { name: '4M103', id: '268', x: 820, y: 30, width: 50, height: 30 }, + { name: '4M104', id: '269', x: 870, y: 30, width: 50, height: 30 }, + { name: '4M105', id: '270', x: 920, y: 30, width: 50, height: 30 }, + { name: '4M106', id: '271', x: 970, y: 30, width: 50, height: 30 }, + { name: '4M107', id: '272', x: 1020, y: 30, width: 50, height: 30 }, + { name: '4M108', id: '273', x: 1070, y: 30, width: 50, height: 30 }, + { name: '4M109', id: '274', x: 1120, y: 30, width: 50, height: 30 }, + { name: '4M110', id: '275', x: 1170, y: 30, width: 50, height: 30 }, + { name: '4M111', id: '276', x: 1220, y: 30, width: 50, height: 30 }, + { name: '4M112', id: '277', x: 1270, y: 30, width: 50, height: 30 }, + { name: '4M113', id: '278', x: 1320, y: 30, width: 50, height: 30 }, + { name: '4M114', id: '279', x: 1370, y: 30, width: 50, height: 30 }, + { name: '4M115', id: '280', x: 1420, y: 30, width: 50, height: 30 }, + { name: '4M116', id: '281', x: 1470, y: 30, width: 50, height: 30 }, + + { name: '4M202', id: '267', x: 770, y: 120, width: 50, height: 30 }, + { name: '4M203', id: '268', x: 820, y: 120, width: 50, height: 30 }, + { name: '4M204', id: '269', x: 870, y: 120, width: 50, height: 30 }, + { name: '4M205', id: '270', x: 920, y: 120, width: 50, height: 30 }, + { name: '4M206', id: '271', x: 970, y: 120, width: 50, height: 30 }, + { name: '4M207', id: '273', x: 970, y: 90, width: 50, height: 30 }, + { name: '4M208', id: '274', x: 970, y: 60, width: 50, height: 30 }, + { name: '4M209', id: '274', x: 870, y: 90, width: 50, height: 30 }, + { name: '4M210', id: '275', x: 870, y: 60, width: 50, height: 30 }, + // { + // name: '连线', + // id: '268', + // remark: '4M202-4M208', + // isL: true, //是否L形状 + // line: [ + // [1815, 160], + // [2015, 160], + // [2015, 50], + // [2065, 50], + // [2065, 190], + // [1815, 190], + // ], + // }, + // { + // name: '连线', + // id: '269', + // remark: '4M210-4M209', + // x: 1915, + // y: 50, + // width: 55, + // height: 110, + // }, + // { + // name: '连线', + // id: '270', + // remark: '4M107-4M116', + // x: 2065, + // y: 20, + // width: 250, + // height: 30, + // }, + { + name: '下片机1', + id: 201701, + isEQ: true, //是否是设备 + x: 1050, + y: 70, + width: 55, + height: 30, + }, + { + name: '下片机2', + id: 201702, + isEQ: true, //是否是设备 + x: 1120, + y: 70, + width: 55, + height: 30, + }, + { + name: '下片机3', + id: 201703, + isEQ: true, //是否是设备 + x: 1190, + y: 70, + width: 55, + height: 30, + }, +]; + +linePot.line3canvasFirstHalf = [ + { + name: '穿梭机', + id: 300101, + isEQ: true, //是否是设备 + x: 5, + y: 130, + width: 50, + height: 50, + }, + { + name: '机械手1', + id: 300201, + isEQ: true, //是否是设备 + x: 70, + y: 85, + width: 55, + height: 30, + }, + { + name: '机械手2', + id: 300202, + isEQ: true, //是否是设备 + x: 130, + y: 85, + width: 55, + height: 30, + }, + { + name: 'M01', + id: '1889919197315657729', + x: 55, + y: 130, + width: 50, + height: 30, + }, + { + name: 'M02', + id: '1889919197315657730', + x: 105, + y: 130, + width: 50, + height: 30, + }, + { + name: 'M03', + id: '1889919197315657731', + x: 155, + y: 130, + width: 50, + height: 30, + }, + { + name: 'M04', + id: '1889919197315657732', + x: 205, + y: 130, + width: 50, + height: 30, + }, + { + name: 'M05', + id: '1889919197315657733', + x: 255, + y: 130, + width: 50, + height: 30, + }, + { + name: 'M06', + id: '1889919197315657734', + x: 305, + y: 130, + width: 50, + height: 30, + }, + { + name: 'M07', + id: '1889919197315657735', + x: 355, + y: 130, + width: 50, + height: 30, + }, + { + name: 'M08', + id: '1889919197315657736', + x: 405, + y: 130, + width: 50, + height: 30, + }, + { + name: 'M09', + id: '1889919197315657737', + x: 455, + y: 130, + width: 50, + height: 30, + }, + { + name: 'M10', + id: '1889919197315657738', + x: 505, + y: 130, + width: 50, + height: 60, + }, + { + name: 'M11', + id: '1889919197315657739', + x: 555, + y: 130, + width: 50, + height: 60, + }, + { + name: 'M12', + id: '1889919197315657740', + x: 605, + y: 160, + width: 50, + height: 30, + }, + { + name: 'M13', + id: '1889919197315657738', + x: 505, + y: 100, + width: 50, + height: 30, + }, + { + name: 'M14', + id: '1889919197315657738', + x: 505, + y: 70, + width: 50, + height: 30, + }, + { + name: 'M16', + id: '1889919197315657739', + x: 555, + y: 70, + width: 50, + height: 30, + }, + { + name: 'M15', + id: '1889919197315657740', + x: 605, + y: 70, + width: 50, + height: 30, + }, + { + name: '磨边机2', + id: 300302, + isEQ: true, //是否是设备 + x: 655, + y: 60, + width: 50, + height: 50, + }, + { + name: '磨边机1', + id: 300301, + isEQ: true, //是否是设备 + x: 655, + y: 155, + width: 50, + height: 50, + }, + { + name: '清洗机2', + id: 300402, + isEQ: true, //是否是设备 + x: 705, + y: 60, + width: 50, + height: 50, + }, + { + name: '清洗机1', + id: 300401, + isEQ: true, //是否是设备 + x: 705, + y: 155, + width: 50, + height: 50, + }, + { name: '1M201', x: 755, y: 70, width: 50, height: 30 }, + { name: '1M202', x: 805, y: 70, width: 50, height: 30 }, + { name: '1M203', x: 855, y: 70, width: 50, height: 30 }, + { name: '1M204', x: 905, y: 70, width: 50, height: 30 }, + { name: '1M205', x: 955, y: 70, width: 50, height: 30 }, + { name: '1M101', x: 755, y: 160, width: 50, height: 30 }, + { name: '1M102', x: 805, y: 160, width: 50, height: 30 }, + { name: '1M103', x: 855, y: 160, width: 50, height: 30 }, + { name: '1M104', x: 905, y: 160, width: 50, height: 30 }, + { name: '1M105', x: 955, y: 160, width: 50, height: 30 }, + { + name: '打孔机2', + id: 300502, + isEQ: true, //是否是设备 + x: 1005, + y: 60, + width: 50, + height: 50, + }, + { + name: '打孔机1', + id: 300501, + isEQ: true, //是否是设备 + x: 1005, + y: 155, + width: 50, + height: 50, + }, + { name: '1M206', x: 1055, y: 70, width: 50, height: 30 }, + { name: '1M207', x: 1105, y: 70, width: 50, height: 30 }, + { name: '1M208', x: 1155, y: 70, width: 50, height: 30 }, + { name: '1M106', x: 1055, y: 160, width: 50, height: 30 }, + { name: '1M107', x: 1105, y: 160, width: 50, height: 30 }, + { name: '1M108', x: 1155, y: 160, width: 50, height: 30 }, + { + name: '清洗机2', + id: 300602, + isEQ: true, //是否是设备 + x: 1205, + y: 60, + width: 50, + height: 50, + }, + { + name: '清洗机1', + id: 300601, + isEQ: true, //是否是设备 + x: 1205, + y: 155, + width: 50, + height: 50, + }, + { name: '1M209', x: 1255, y: 70, width: 50, height: 30 }, + { name: '1M210', x: 1305, y: 70, width: 50, height: 30 }, + { name: '1M211', x: 1355, y: 70, width: 50, height: 30 }, + { name: '1M109', x: 1255, y: 160, width: 50, height: 30 }, + { name: '1M110', x: 1305, y: 160, width: 50, height: 30 }, + { name: '1M111', x: 1355, y: 160, width: 50, height: 30 }, + { + name: '丝印机2', + id: 300702, + isEQ: true, //是否是设备 + x: 1405, + y: 60, + width: 50, + height: 50, + }, + { + name: '丝印机1', + id: 300701, + isEQ: true, //是否是设备 + x: 1405, + y: 155, + width: 50, + height: 50, + }, + { + name: '1M212', + id: '1889919314311573505', + x: 1455, + y: 70, + width: 50, + height: 30, + }, + { + name: '1M112', + id: '1889919347735982081', + x: 1455, + y: 160, + width: 50, + height: 30, + }, + { + name: '预热2', + id: 300902, + isEQ: true, //是否是设备 + x: 1505, + y: 60, + width: 50, + height: 50, + }, + { + name: '预热1', + id: 300901, + isEQ: true, //是否是设备 + x: 1505, + y: 155, + width: 50, + height: 50, + }, + { + name: '1M213', + id: '1889919314311573505', + x: 1555, + y: 70, + width: 50, + height: 30, + }, + { + name: '1M113', + id: '1889919347735982081', + x: 1555, + y: 160, + width: 50, + height: 30, + }, + { + name: '镀膜机2', + id: 300802, + isEQ: true, //是否是设备 + x: 1605, + y: 60, + width: 50, + height: 50, + }, + { + name: '镀膜机1', + id: 300801, + isEQ: true, //是否是设备 + x: 1605, + y: 155, + width: 50, + height: 50, + }, + { + name: '1M214', + id: '1889919314311573505', + x: 1655, + y: 70, + width: 50, + height: 30, + }, + { + name: '1M114', + id: '1889919347735982081', + x: 1655, + y: 160, + width: 50, + height: 30, + }, + { + name: '固化2', + id: 301002, + isEQ: true, //是否是设备 + x: 1705, + y: 60, + width: 50, + height: 50, + }, + { + name: '固化1', + id: 301001, + isEQ: true, //是否是设备 + x: 1705, + y: 160, + width: 50, + height: 50, + }, + { + name: '2M201', + id: '1889919197315657729', + x: 1755, + y: 70, + width: 50, + height: 30, + }, + { + name: '2M202', + id: '1889919197315657729', + x: 1805, + y: 70, + width: 50, + height: 30, + }, + { + name: '2M203', + id: '1889919197315657729', + x: 1855, + y: 70, + width: 50, + height: 30, + }, + { + name: '2M204', + id: '1889919197315657729', + x: 1855, + y: 100, + width: 50, + height: 30, + }, + { + name: '2M205', + id: '1889919197315657729', + x: 1855, + y: 130, + width: 50, + height: 30, + }, + { + name: '2M101', + id: '1889919314311573505', + remark: '-', + x: 1755, + y: 160, + width: 50, + height: 30, + }, + { + name: '2M102', + id: 'auto-generated-102', + remark: '-', + x: 1805, // 1755 + 50 + y: 160, + width: 50, + height: 30, + }, + { + name: '2M103', + id: 'auto-generated-103', + remark: '-', + x: 1855, // 1805 + 50 + y: 160, + width: 50, + height: 30, + }, + { + name: '2M104', + id: 'auto-generated-104', + remark: '-', + x: 1905, // 1855 + 50 + y: 160, + width: 50, + height: 30, + }, + { + name: '2M105', + id: 'auto-generated-105', + remark: '-', + x: 1955, // 1905 + 50 + y: 160, + width: 50, + height: 30, + }, + { + name: '2M106', + id: 'auto-generated-106', + remark: '-', + x: 2005, // 1955 + 50 + y: 160, + width: 50, + height: 30, + }, + { + name: '2M107', + id: 'auto-generated-107', + remark: '-', + x: 2055, // 2005 + 50 + y: 160, + width: 50, + height: 30, + }, +]; + +linePot.line3canvasSecondHalf = [ + { + name: '钢化炉', + id: 301401, + isEQ: true, //是否是设备 + x: 5, + y: 130, + width: 50, + height: 50, + }, + { + name: '3M101', + id: '1889919314311573505', + remark: '3M105', + x: 55, + y: 140, + width: 50, + height: 30, + }, + { + name: '3M102', + x: 105, // 55 + 50 (前一个x + width) + y: 140, + width: 50, + height: 30, + }, + { + name: '3M103', + x: 155, // 105 + 50 + y: 140, + width: 50, + height: 30, + }, + { + name: '3M104', + x: 205, // 155 + 50 + y: 140, + width: 50, + height: 30, + }, + { + name: '3M105', + x: 255, // 205 + 50 + y: 140, + width: 50, + height: 30, + }, + { + name: '清洗机', + id: 301501, + isEQ: true, //是否是设备 + x: 305, + y: 130, + width: 50, + height: 50, + }, + { + name: '4M100', + id: '1889919314311573505', + remark: '', + x: 355, + y: 140, + width: 50, + height: 30, + }, + { + name: '4M101', + x: 405, // 355 + 50 (前一个 x + width) + y: 140, + width: 50, + height: 30, + }, + { + name: '铺纸机', + id: 301601, + isEQ: true, //是否是设备 + x: 455, + y: 130, + width: 50, + height: 50, + }, + { + name: '4M10A', + id: '1889919314311573505', + remark: '', //3线比2线这里反了 + x: 505, + y: 140, + width: 50, + height: 30, + }, + { + name: '铺纸机', + id: 301602, + isEQ: true, //是否是设备 + x: 555, + y: 130, + width: 50, + height: 50, + }, + { + name: '4M102', + id: '1889919314311573505', + x: 605, + y: 140, + width: 50, + height: 30, + }, + { + name: '4M103', + x: 655, // 605 + 200 + y: 140, + width: 50, + height: 30, + }, + { + name: '4M104', + x: 705, // 805 + 200 + y: 140, + width: 50, + height: 30, + }, + { + name: '4M105', + x: 755, // 1005 + 200 + y: 140, + width: 50, + height: 30, + }, + { + name: '4M106', + x: 805, // 1205 + 200 + y: 140, + width: 50, + height: 30, + }, + { + name: '4M107', + x: 855, // 1405 + 200 + y: 140, + width: 50, + height: 30, + }, + { + name: '4M108', + x: 905, // 1605 + 200 + y: 140, + width: 50, + height: 30, + }, + { + name: '4M109', + x: 955, // 1805 + 200 + y: 140, + width: 50, + height: 30, + }, + // { + // name: '一次固化1', + // id: 73, + // isEQ: true, //是否是设备 + // x: 644, + // y: 40, + // width: 60, + // height: 50, + // }, + // { + // name: '一次固化2', + // id: 74, + // isEQ: true, //是否是设备 + // x: 644, + // y: 130, + // width: 60, + // height: 50, + // }, + // { + // name: '连线', + // id: '1889919382095720450', + // remark: '2M101-2M106', + // x: 706, + // y: 50, + // width: 202, + // height: 30, + // }, + // { + // name: '连线', + // id: '1889919416660979714', + // remark: '2M201-2M205(L)', + // isL: true, //是否L形状 + // line: [ + // [706, 140], + // [770, 140], + // [770, 80], + // [800, 80], + // [800, 170], + // [706, 170], + // ], + // }, + // { + // name: '钢化炉', + // id: 75, + // isEQ: true, //是否是设备 + // x: 910, + // y: 40, + // width: 80, + // height: 50, + // }, + // { + // name: '连线', + // id: '1889919447367479298', + // remark: '3M101-3M105', + // x: 992, + // y: 50, + // width: 120, + // height: 30, + // }, + // { + // name: '清洗机', + // id: 76, + // isEQ: true, //是否是设备 + // x: 1114, + // y: 40, + // width: 50, + // height: 50, + // }, + // { + // name: '铺纸机', + // id: 77, + // isEQ: true, //是否是设备 + // x: 1166, + // y: 40, + // width: 50, + // height: 50, + // }, + // { + // name: '铺纸机', + // id: 78, + // isEQ: true, //是否是设备 + // x: 1218, + // y: 40, + // width: 50, + // height: 50, + // }, + // { + // name: '连线', + // id: '1889919487062372353', + // remark: '4M100-4M109', + // x: 1270, + // y: 50, + // width: 290, + // height: 30, + // }, + { + name: '下片机1', + id: 301701, + isEQ: true, //是否是设备 + x: 705, + y: 85, + width: 60, + height: 30, + }, + { + name: '下片机2', + id: 301702, + isEQ: true, //是否是设备 + x: 855, + y: 85, + width: 60, + height: 30, + }, +]; + +linePot.line4canvasFirstHalf = [ + { + name: '穿梭机', + id: 400101, + isEQ: true, + x: 5, + y: 205, + width: 50, + height: 50, + }, + { + name: '机械手1', + id: 400201, + isEQ: true, + x: 90, + y: 170, + width: 55, + height: 30, + }, + { + name: '机械手2', + id: 400202, + isEQ: true, + x: 150, + y: 170, + width: 55, + height: 30, + }, + { + name: 'M01', + id: '1889188182611783682', + x: 55, + y: 205, + width: 50, + height: 30, + }, + { + name: 'M02', + x: 105, + y: 205, + width: 50, + height: 30, + }, + { + name: 'M03', + x: 155, + y: 205, + width: 50, + height: 30, + }, + { + name: 'M04', + x: 205, + y: 205, + width: 50, + height: 30, + }, + { + name: 'M05', + x: 255, + y: 205, + width: 50, + height: 30, + }, + { + name: 'M06', + x: 305, + y: 205, + width: 50, + height: 30, + }, + { + name: 'M07', + x: 355, + y: 205, + width: 50, + height: 30, + }, + { + name: 'M08', + x: 405, + y: 205, + width: 50, + height: 30, + }, + { + name: 'M09', + x: 455, + y: 205, + width: 50, + height: 30, + }, + { + name: 'M10', + x: 505, + y: 205, + width: 50, + height: 30, + }, + { + name: 'M11', + x: 555, + y: 205, + width: 50, + height: 30, + }, + { + name: 'M12', + x: 605, + y: 205, + width: 50, + height: 30, + }, + { + name: 'M13', + x: 505, + y: 175, + width: 50, + height: 30, + }, + { + name: 'M14', + x: 505, + y: 115, + width: 50, + height: 60, + }, + { + name: 'M15', + x: 555, + y: 145, + width: 50, + height: 30, + }, + { + name: 'M16', + x: 605, + y: 145, + width: 50, + height: 30, + }, + { + name: 'M17', + x: 505, + y: 85, + width: 50, + height: 30, + }, + { + name: 'M18', + x: 505, + y: 25, + width: 50, + height: 60, + }, + { + name: 'M19', + x: 555, + y: 25, + width: 50, + height: 30, + }, + { + name: 'M20', + x: 605, + y: 25, + width: 50, + height: 30, + }, + { + name: '磨边机1', + id: 400301, + isEQ: true, + x: 655, + y: 15, + width: 50, + height: 50, + }, + { + name: '磨边机2', + id: 400302, + isEQ: true, + x: 655, + y: 135, + width: 50, + height: 50, + }, + { + name: '磨边机3', + id: 400303, + isEQ: true, + x: 655, + y: 195, + width: 50, + height: 50, + }, + { + name: '清洗机1', + id: 400401, + isEQ: true, + x: 705, + y: 15, + width: 50, + height: 50, + }, + { + name: '清洗机2', + id: 400402, + isEQ: true, + x: 705, + y: 135, + width: 50, + height: 50, + }, + { + name: '清洗机3', + id: 400403, + isEQ: true, + x: 705, + y: 195, + width: 50, + height: 50, + }, + { + name: '1M101', + id: '1889190496001126401', + x: 755, + y: 25, + width: 50, + height: 30, + }, + { + name: '1M102', + x: 805, + y: 25, + width: 50, + height: 30, + }, + { + name: '1M103', + x: 855, + y: 25, + width: 50, + height: 30, + }, + { + name: '1M104', + x: 905, + y: 25, + width: 50, + height: 30, + }, + { + name: '1M105', + x: 955, + y: 25, + width: 50, + height: 30, + }, + { + name: '1M201', + id: '1889190496001126401', + x: 755, + y: 145, + width: 50, + height: 30, + }, + { + name: '1M202', + x: 805, + y: 145, + width: 50, + height: 30, + }, + { + name: '1M203', + x: 855, + y: 145, + width: 50, + height: 30, + }, + { + name: '1M204', + x: 905, + y: 145, + width: 50, + height: 30, + }, + { + name: '1M205', + x: 955, + y: 145, + width: 50, + height: 30, + }, + { + name: '1M301', + id: '1889190496001126401', + x: 755, + y: 205, + width: 50, + height: 30, + }, + { + name: '1M102', + x: 805, + y: 205, + width: 50, + height: 30, + }, + { + name: '1M303', + x: 855, + y: 205, + width: 50, + height: 30, + }, + { + name: '1M304', + x: 905, + y: 205, + width: 50, + height: 30, + }, + { + name: '1M305', + x: 955, + y: 205, + width: 50, + height: 30, + }, + { + name: '打孔机1', + id: 400501, + isEQ: true, + x: 1005, + y: 15, + width: 50, + height: 50, + }, + { + name: '打孔机2', + id: 400502, + isEQ: true, + x: 1005, + y: 135, + width: 50, + height: 50, + }, + { + name: '打孔机3', + id: 400503, + isEQ: true, + x: 1005, + y: 195, + width: 50, + height: 50, + }, + { + name: '1M106', + id: '1889190496001126401', + x: 1055, + y: 25, + width: 50, + height: 30, + }, + { + name: '1M107', + id: '1889190496001126402', + x: 1105, + y: 25, + width: 50, + height: 30, + }, + { + name: '1M108', + id: '1889190496001126403', + x: 1155, + y: 25, + width: 50, + height: 30, + }, + { + name: '1M206', + id: '1889190496001126401', + x: 1055, + y: 145, + width: 50, + height: 30, + }, + { + name: '1M207', + id: '1889190496001126402', + x: 1105, + y: 145, + width: 50, + height: 30, + }, + { + name: '1M208', + id: '1889190496001126403', + x: 1155, + y: 145, + width: 50, + height: 30, + }, + { + name: '1M306', + id: '1889190496001126401', + x: 1055, + y: 205, + width: 50, + height: 30, + }, + { + name: '1M307', + id: '1889190496001126402', + x: 1105, + y: 205, + width: 50, + height: 30, + }, + { + name: '1M308', + id: '1889190496001126403', + x: 1155, + y: 205, + width: 50, + height: 30, + }, + { + name: '清洗机1', + id: 400601, + isEQ: true, + x: 1205, + y: 15, + width: 50, + height: 50, + }, + { + name: '清洗机2', + id: 400602, + isEQ: true, + x: 1205, + y: 135, + width: 50, + height: 50, + }, + { + name: '清洗机3', + id: 400603, + isEQ: true, + x: 1205, + y: 195, + width: 50, + height: 50, + }, + { + name: '1M109', + id: '1889190496001126401', + remark: '', + x: 1255, + y: 25, + width: 50, + height: 30, + }, + { + name: '1M110', + id: '1889190496001126402', + remark: '', + x: 1305, + y: 25, + width: 50, + height: 30, + }, + { + name: '1M111', + id: '1889190496001126403', + remark: '', + x: 1355, + y: 25, + width: 50, + height: 30, + }, + { + name: '2M109', + id: '1889190496001126404', + remark: '', + x: 1255, + y: 145, + width: 50, + height: 30, + }, + { + name: '2M110', + id: '1889190496001126405', + remark: '', + x: 1305, + y: 145, + width: 50, + height: 30, + }, + { + name: '2M111', + id: '1889190496001126406', + remark: '', + x: 1355, + y: 145, + width: 50, + height: 30, + }, + { + name: '3M109', + id: '1889190685516558338', + remark: '', + x: 1255, + y: 205, + width: 50, + height: 30, + }, + { + name: '3M110', + id: '1889190685516558339', + remark: '', + x: 1305, + y: 205, + width: 50, + height: 30, + }, + { + name: '3M111', + id: '1889190685516558340', + remark: '', + x: 1355, + y: 205, + width: 50, + height: 30, + }, + { + name: '丝印机1', + id: 400701, + isEQ: true, + x: 1405, + y: 15, + width: 50, + height: 50, + }, + { + name: '丝印机2', + id: 400702, + isEQ: true, + x: 1405, + y: 135, + width: 50, + height: 50, + }, + { + name: '丝印机3', + id: 400703, + isEQ: true, + x: 1405, + y: 195, + width: 50, + height: 50, + }, + { + name: '1M112', + id: '1889190496001126401', + remark: '', + x: 1455, + y: 25, + width: 50, + height: 30, + }, + { + name: '1M212', + id: '1889190496001126401', + remark: '', + x: 1455, + y: 145, + width: 50, + height: 30, + }, + { + name: '1M212', + id: '1889190685516558338', + remark: '', + x: 1455, + y: 205, + width: 50, + height: 30, + }, + { + name: '一次固化1', + id: 401001, + isEQ: true, + x: 1505, + y: 15, + width: 50, + height: 50, + }, + { + name: '一次固化2', + id: 401002, + isEQ: true, + x: 1505, + y: 135, + width: 50, + height: 50, + }, + { + name: '一次固化3', + id: 401003, + isEQ: true, + x: 1505, + y: 195, + width: 50, + height: 50, + }, + { + name: '2M101', + id: '1889190685516558338', + x: 1555, + y: 25, + width: 50, + height: 30, + }, + { + name: '2M102', + id: '1889190685516558339', + x: 1605, + y: 25, + width: 50, + height: 30, + }, + { + name: '2M103', + id: '1889190685516558340', + x: 1655, + y: 25, + width: 50, + height: 30, + }, + { + name: '2M104', + id: '1889190685516558341', + x: 1705, + y: 25, + width: 50, + height: 30, + }, + { + name: '2M105', + id: '1889190685516558342', + x: 1755, + y: 25, + width: 50, + height: 30, + }, + { + name: '2M106', + id: '1889190685516558343', + x: 1805, + y: 25, + width: 50, + height: 30, + }, + { + name: '2M107', + id: '1889190685516558344', + x: 1855, + y: 25, + width: 50, + height: 30, + }, + { + name: '2M208', + id: '1889190685516558345', + x: 1905, + y: 25, + width: 50, + height: 30, + }, + { + name: '2M201', + id: '1889190685516558338', + x: 1555, + y: 145, + width: 50, + height: 30, + }, + { + name: '2M202', + id: '1889190685516558339', + x: 1605, + y: 145, + width: 50, + height: 30, + }, + { + name: '2M203', + id: '1889190685516558340', + x: 1655, + y: 145, + width: 50, + height: 30, + }, + { + name: '2M204', + id: '1889190685516558341', + x: 1655, + y: 95, + width: 50, + height: 50, + }, + { + name: '2M205', + id: '1889190685516558342', + x: 1655, + y: 55, + width: 50, + height: 40, + }, + { + name: '2M301', + id: '1889190685516558338', + x: 1555, + y: 205, + width: 50, + height: 30, + }, + { + name: '2M302', + id: '1889190685516558339', + x: 1605, + y: 205, + width: 50, + height: 30, + }, + { + name: '2M303', + id: '1889190685516558340', + x: 1655, + y: 205, + width: 50, + height: 30, + }, + { + name: '2M304', + id: '1889190685516558341', + x: 1705, + y: 205, + width: 50, + height: 30, + }, + { + name: '2M305', + id: '1889190685516558342', + x: 1755, + y: 205, + width: 50, + height: 30, + }, + { + name: '2M306', + id: '1889190685516558343', + x: 1755, + y: 175, + width: 50, + height: 30, + }, + { + name: '2M307', + id: '1889190685516558344', + x: 1755, + y: 145, + width: 50, + height: 30, + }, + { + name: '2M308', + id: '1889190685516558345', + x: 1755, + y: 85, + width: 50, + height: 60, + }, + { + name: '2M309', + id: '1889190685516558345', + x: 1755, + y: 55, + width: 50, + height: 30, + }, +]; + + linePot.line4canvasSecondHalf = [ + { + name: '钢化炉', + id: 401401, + isEQ: true, //是否是设备 + x: 5, + y: 20, + width: 50, + height: 50, + }, + { + name: '3M101', + id: '1889190685516558338', + remark: '3M110', + x: 55, + y: 30, + width: 50, + height: 30, + }, + { + name: '3M102', + id: '1889190685516558339', // 假设的id,可根据实际修改 + remark: '', + x: 105, // 55 + 50 + y: 30, + width: 50, + height: 30, + }, + { + name: '3M103', + id: '1889190685516558340', // 假设的id,可根据实际修改 + remark: '', + x: 155, // 105 + 50 + y: 30, + width: 50, + height: 30, + }, + { + name: '3M104', + id: '1889190685516558341', // 假设的id,可根据实际修改 + remark: '', + x: 205, // 155 + 50 + y: 30, + width: 50, + height: 30, + }, + { + name: '3M105', + id: '1889190685516558342', // 假设的id,可根据实际修改 + remark: '', + x: 255, // 205 + 50 + y: 30, + width: 50, + height: 30, + }, + { + name: '3M106', + id: '1889190685516558343', // 假设的id,可根据实际修改 + remark: '', + x: 305, // 255 + 50 + y: 30, + width: 50, + height: 30, + }, + { + name: '3M107', + id: '1889190685516558344', // 假设的id,可根据实际修改 + remark: '', + x: 355, // 305 + 50 + y: 30, + width: 50, + height: 30, + }, + { + name: '3M108', + id: '1889190685516558345', // 假设的id,可根据实际修改 + remark: '', + x: 405, // 355 + 50 + y: 30, + width: 50, + height: 30, + }, + { + name: '3M109', + id: '1889190685516558346', // 假设的id,可根据实际修改 + remark: '', + x: 455, // 405 + 50 + y: 30, + width: 50, + height: 30, + }, + { + name: '3M110', + id: '1889190685516558347', // 假设的id,可根据实际修改 + remark: '', + x: 505, // 455 + 50 + y: 30, + width: 50, + height: 30, + }, + { + name: '3M201', + id: '1889190685516558344', // 假设的id,可根据实际修改 + remark: '', + x: 355, // 305 + 50 + y: 60, + width: 50, + height: 30, + }, + { + name: '3M202', + id: '1889190685516558344', // 假设的id,可根据实际修改 + remark: '', + x: 355, // 305 + 50 + y: 90, + width: 50, + height: 30, + }, + { + name: '3M203', + id: '1889190685516558342', // 假设的id,可根据实际修改 + remark: '', + x: 255, // 205 + 50 + y: 60, + width: 50, + height: 30, + }, + { + name: '3M204', + id: '1889190685516558342', // 假设的id,可根据实际修改 + remark: '', + x: 255, // 205 + 50 + y: 90, + width: 50, + height: 30, + }, + { + name: '3M205', + id: '1889190685516558342', // 假设的id,可根据实际修改 + remark: '', + x: 255, // 205 + 50 + y: 120, + width: 50, + height: 30, + }, + { + name: '3M206', + id: '1889190685516558343', // 假设的id,可根据实际修改 + remark: '', + x: 305, // 255 + 50 + y: 120, + width: 50, + height: 30, + }, + { + name: '3M207', + id: '1889190685516558344', // 假设的id,可根据实际修改 + remark: '', + x: 355, // 305 + 50 + y: 120, + width: 50, + height: 30, + }, + { + name: '3M208', + id: '1889190685516558345', // 假设的id,可根据实际修改 + remark: '', + x: 405, // 355 + 50 + y: 120, + width: 50, + height: 30, + }, + { + name: '3M209', + id: '1889190685516558346', // 假设的id,可根据实际修改 + remark: '', + x: 455, // 405 + 50 + y: 120, + width: 50, + height: 30, + }, + { + name: '3M210', + id: '1889190685516558347', // 假设的id,可根据实际修改 + remark: '', + x: 505, // 455 + 50 + y: 120, + width: 50, + height: 30, + }, + { + name: '清洗机1', + id: 401501, + isEQ: true, //是否是设备 + x: 555, + y: 20, + width: 50, + height: 50, + }, + { + name: '清洗机2', + id: 401502, + isEQ: true, //是否是设备 + x: 555, + y: 110, + width: 50, + height: 50, + }, + { + name: '4M100', + id: '1889190496001126401', + x: 605, + y: 30, + width: 50, + height: 30, + }, + { + name: '4M101', + id: '1889190496001126401', + x: 655, + y: 30, + width: 50, + height: 30, + }, + { + name: '4M200', + id: '1889190496001126401', + x: 605, + y: 120, + width: 50, + height: 30, + }, + { + name: '4M201', + id: '1889190496001126401', + x: 655, + y: 120, + width: 50, + height: 30, + }, + { + name: '铺纸机1', + id: 401601, + isEQ: true, //是否是设备 + x: 705, + y: 20, + width: 50, + height: 50, + }, + { + name: '铺纸机2', + id: 401602, + isEQ: true, //是否是设备 + x: 705, + y: 110, + width: 50, + height: 50, + }, + { + name: '4M102', + id: '1889190496001126401', + x: 755, + y: 30, + width: 50, + height: 30, + }, + { + name: '4M103', + id: '1889190496001126402', // 假设的id,可根据实际修改 + x: 805, // 755 + 50 + y: 30, + width: 50, + height: 30, + }, + { + name: '4M104', + id: '1889190496001126403', // 假设的id,可根据实际修改 + x: 855, // 805 + 50 + y: 30, + width: 50, + height: 30, + }, + { + name: '4M105', + id: '1889190496001126404', // 假设的id,可根据实际修改 + x: 905, // 855 + 50 + y: 30, + width: 50, + height: 30, + }, + { + name: '4M106', + id: '1889190496001126405', // 假设的id,可根据实际修改 + x: 955, // 905 + 50 + y: 30, + width: 50, + height: 30, + }, + { + name: '4M107', + id: '1889190496001126406', // 假设的id,可根据实际修改 + x: 1005, // 955 + 50 + y: 30, + width: 50, + height: 30, + }, + { + name: '4M108', + id: '1889190496001126407', // 假设的id,可根据实际修改 + x: 1055, // 1005 + 50 + y: 30, + width: 50, + height: 30, + }, + { + name: '4M109', + id: '1889190496001126408', // 假设的id,可根据实际修改 + x: 1105, // 1055 + 50 + y: 30, + width: 50, + height: 30, + }, + { + name: '4M110', + id: '1889190496001126409', // 假设的id,可根据实际修改 + x: 1155, // 1105 + 50 + y: 30, + width: 50, + height: 30, + }, + { + name: '4M111', + id: '1889190496001126410', // 假设的id,可根据实际修改 + x: 1205, // 1155 + 50 + y: 30, + width: 50, + height: 30, + }, + { + name: '4M112', + id: '1889190496001126411', // 假设的id,可根据实际修改 + x: 1255, // 1205 + 50 + y: 30, + width: 50, + height: 30, + }, + { + name: '4M113', + id: '1889190496001126412', // 假设的id,可根据实际修改 + x: 1305, // 1255 + 50 + y: 30, + width: 50, + height: 30, + }, + { + name: '4M114', + id: '1889190496001126413', // 假设的id,可根据实际修改 + x: 1355, // 1305 + 50 + y: 30, + width: 50, + height: 30, + }, + { + name: '4M115', + id: '1889190496001126414', // 假设的id,可根据实际修改 + x: 1405, // 1355 + 50 + y: 30, + width: 50, + height: 30, + }, + { + name: '4M116', + id: '1889190496001126415', // 假设的id,可根据实际修改 + x: 1455, // 1405 + 50 + y: 30, + width: 50, + height: 30, + }, + { + name: '4M202', + id: '1889190496001126401', + x: 755, + y: 120, + width: 50, + height: 30, + }, + { + name: '4M203', + id: '1889190496001126402', // 假设的id,可根据实际修改 + x: 805, // 755 + 50 + y: 120, + width: 50, + height: 30, + }, + { + name: '4M204', + id: '1889190496001126403', // 假设的id,可根据实际修改 + x: 855, // 805 + 50 + y: 120, + width: 50, + height: 30, + }, + { + name: '4M205', + id: '1889190496001126404', // 假设的id,可根据实际修改 + x: 905, // 855 + 50 + y: 120, + width: 50, + height: 30, + }, + { + name: '4M206', + id: '1889190496001126405', // 假设的id,可根据实际修改 + x: 955, // 905 + 50 + y: 120, + width: 50, + height: 30, + }, + { + name: '4M207', + id: '1889190496001126406', // 假设的id,可根据实际修改 + x: 955, // 955 + 50 + y: 60, + width: 50, + height: 30, + }, + { + name: '4M208', + id: '1889190496001126407', // 假设的id,可根据实际修改 + x: 955, // 1005 + 50 + y: 90, + width: 50, + height: 30, + }, + { + name: '4M209', + id: '1889190496001126406', // 假设的id,可根据实际修改 + x: 855, // 955 + 50 + y: 60, + width: 50, + height: 30, + }, + { + name: '4M210', + id: '1889190496001126407', // 假设的id,可根据实际修改 + x: 855, // 1005 + 50 + y: 90, + width: 50, + height: 30, + }, + { + name: '下片机1', + id: 401701, + isEQ: true, //是否是设备 + x: 1100, + y: 65, + width: 60, + height: 30, + }, + { + name: '下片机2', + id: 401702, + isEQ: true, //是否是设备 + x: 1250, + y: 65, + width: 60, + height: 30, + }, + { + name: '下片机3', + id: 401703, + isEQ: true, //是否是设备 + x: 1400, + y: 65, + width: 60, + height: 30, + }, + ]; + + linePot.line5canvasFirstHalf = [ + { + name: '穿梭机', + id: 500101, + isEQ: true, //是否是设备 + x: 5, + y: 280, // 220 + 60 + width: 50, + height: 50, + }, + { + name: '机械手1', + id: 500201, + isEQ: true, //是否是设备 + x: 70, + y: 170, // 110 + 60 + width: 55, + height: 30, + }, + { + name: '机械手2', + id: 500202, + isEQ: true, //是否是设备 + x: 130, + y: 170, // 110 + 60 + width: 55, + height: 30, + }, + { + name: '机械手3', + id: 500203, + isEQ: true, //是否是设备 + x: 190, + y: 170, // 110 + 60 + width: 55, + height: 30, + }, + { + name: 'M01', + id: '1889919903443513346', + x: 55, + y: 290, // 230 + 60 + width: 50, + height: 30, + }, + { + name: 'M02', + id: '', // 假设这里没有给出id,留空,你可以根据实际情况补充 + x: 105, + y: 290, // 230 + 60 + width: 50, + height: 30, + }, + { + name: 'M03', + id: '', // 假设这里没有给出id,留空,你可以根据实际情况补充 + x: 155, + y: 290, // 230 + 60 + width: 50, + height: 30, + }, + { + name: 'M04', + id: '', // 假设这里没有给出id,留空,你可以根据实际情况补充 + x: 205, + y: 290, // 230 + 60 + width: 50, + height: 30, + }, + { + name: 'M05', + id: '', // 假设这里没有给出id,留空,你可以根据实际情况补充 + x: 255, + y: 290, // 230 + 60 + width: 50, + height: 30, + }, + { + name: 'M06', + id: '', // 假设这里没有给出id,留空,你可以根据实际情况补充 + x: 305, + y: 290, // 230 + 60 + width: 50, + height: 30, + }, + { + name: 'M07', + id: '', // 假设这里没有给出id,留空,你可以根据实际情况补充 + x: 355, + y: 290, // 230 + 60 + width: 50, + height: 30, + }, + { + name: 'M08', + id: '', // 假设这里没有给出id,留空,你可以根据实际情况补充 + x: 405, + y: 290, // 230 + 60 + width: 50, + height: 30, + }, + { + name: 'M09', + id: '', // 假设这里没有给出id,留空,你可以根据实际情况补充 + x: 455, + y: 290, // 230 + 60 + width: 50, + height: 30, + }, + { + name: 'M10', + id: '', + x: 455, + y: 260, // 200 + 60 + width: 50, + height: 30, + }, + { + name: 'M11', + id: '', + x: 455, + y: 230, // 170 + 60 + width: 50, + height: 30, + }, + { + name: 'M12', + id: '', + x: 455, + y: 200, // 140 + 60 + width: 50, + height: 30, + }, + { + name: 'M13', + id: '', + x: 455, + y: 170, // 110 + 60 + width: 50, + height: 30, + }, + { + name: 'M14', + id: '', + x: 455, + y: 140, // 80 + 60 + width: 50, + height: 30, + }, + { + name: 'M15', + id: '', + x: 455, + y: 110, // 50 + 60 + width: 50, + height: 30, + }, + { + name: 'M16', + id: '', + x: 455, + y: 80, // 20 + 60 + width: 50, + height: 30, + }, + { + name: 'M17', + id: '', + x: 455, + y: 50, // -10 + 60 + width: 50, + height: 30, + }, + { + name: 'M18', + id: '', + x: 455, + y: 20, // -40 + 60 + width: 50, + height: 30, + }, + + { + name: '0M101', + id: '', + x: 505, + y: 200, // 140 + 60 + width: 50, + height: 30, + }, + { + name: '0M102', + id: '', + x: 555, + y: 200, // 140 + 60 + width: 50, + height: 30, + }, + { + name: '0M103', + id: '', + x: 605, + y: 200, // 140 + 60 + width: 50, + height: 30, + }, + { + name: '0M104', + id: '', + x: 655, + y: 200, // 140 + 60 + width: 50, + height: 30, + }, + + { + name: '0M201', + id: '', + x: 505, + y: 110, // 140 + 60 + width: 50, + height: 30, + }, + { + name: '0M202', + id: '', + x: 555, + y: 110, // 140 + 60 + width: 50, + height: 30, + }, + { + name: '0M203', + id: '', + x: 605, + y: 110, // 140 + 60 + width: 50, + height: 30, + }, + { + name: '0M204', + id: '', + x: 655, + y: 110, // 140 + 60 + width: 50, + height: 30, + }, + + { + name: '0M301', + id: '', + x: 505, + y: 20, // 140 + 60 + width: 50, + height: 30, + }, + { + name: '0M302', + id: '', + x: 555, + y: 20, // 140 + 60 + width: 50, + height: 30, + }, + { + name: '0M303', + id: '', + x: 605, + y: 20, // 140 + 60 + width: 50, + height: 30, + }, + { + name: '0M304', + id: '', + x: 655, + y: 20, // 140 + 60 + width: 50, + height: 30, + }, + { + name: '磨边机3', + id: 500303, + isEQ: true, //是否是设备 + x: 705, + y: 10, + width: 50, + height: 50, + }, + { + name: '磨边机2', + id: 500302, + isEQ: true, //是否是设备 + x: 705, + y: 100, + width: 50, + height: 50, + }, + { + name: '磨边机1', + id: 500301, + isEQ: true, //是否是设备 + x: 705, + y: 190, + width: 50, + height: 50, + }, + { + name: '清洗机3', + id: 500403, + isEQ: true, //是否是设备 + x: 755, + y: 10, + width: 50, + height: 50, + }, + { + name: '清洗机2', + id: 500402, + isEQ: true, //是否是设备 + x: 755, + y: 100, + width: 50, + height: 50, + }, + { + name: '清洗机1', + id: 500401, + isEQ: true, //是否是设备 + x: 755, + y: 190, + width: 50, + height: 50, + }, + { + name: '1M301', + id: '1889920027607494658', + x: 805, + y: 20, + width: 50, + height: 30, + }, + { + name: '1M302', + id: '自动生成或替换实际ID', + x: 855, // 805 + 50 + y: 20, + width: 50, + height: 30, + }, + { + name: '1M303', + id: '自动生成或替换实际ID', + x: 905, // 855 + 50 + y: 20, + width: 50, + height: 30, + }, + { + name: '1M304', + id: '自动生成或替换实际ID', + x: 955, // 905 + 50 + y: 20, + width: 50, + height: 30, + }, + { + name: '1M305', + id: '自动生成或替换实际ID', + x: 1005, // 955 + 50 + y: 20, + width: 50, + height: 30, + }, + + // 1M201-1M205系列 (y=110) + { + name: '1M201', + id: '1889920058062336001', + x: 805, + y: 110, + width: 50, + height: 30, + }, + { + name: '1M202', + id: '自动生成或替换实际ID', + x: 855, + y: 110, + width: 50, + height: 30, + }, + { + name: '1M203', + id: '自动生成或替换实际ID', + x: 905, + y: 110, + width: 50, + height: 30, + }, + { + name: '1M204', + id: '自动生成或替换实际ID', + x: 955, + y: 110, + width: 50, + height: 30, + }, + { + name: '1M205', + id: '自动生成或替换实际ID', + x: 1005, + y: 110, + width: 50, + height: 30, + }, + + // 1M101-1M105系列 (y=200) + { + name: '1M101', + id: '1889920089926463489', + x: 805, + y: 200, + width: 50, + height: 30, + }, + { + name: '1M102', + id: '自动生成或替换实际ID', + x: 855, + y: 200, + width: 50, + height: 30, + }, + { + name: '1M103', + id: '自动生成或替换实际ID', + x: 905, + y: 200, + width: 50, + height: 30, + }, + { + name: '1M104', + id: '自动生成或替换实际ID', + x: 955, + y: 200, + width: 50, + height: 30, + }, + { + name: '1M105', + id: '自动生成或替换实际ID', + x: 1005, + y: 200, + width: 50, + height: 30, + }, + { + name: '打孔机3', + id: 500503, + isEQ: true, //是否是设备 + x: 1055, + y: 10, + width: 50, + height: 50, + }, + { + name: '打孔机2', + id: 500502, + isEQ: true, //是否是设备 + x: 1055, + y: 100, + width: 50, + height: 50, + }, + { + name: '打孔机1', + id: 500501, + isEQ: true, //是否是设备 + x: 1055, + y: 190, + width: 50, + height: 50, + }, + // 1M306-1M308系列 (y=20) + { + name: '1M306', + id: '1889920027607494658', + x: 1105, + y: 20, + width: 50, + height: 30, + }, + { + name: '1M307', + id: '自动生成或替换实际ID', + x: 1155, // 1105 + 50 + y: 20, + width: 50, + height: 30, + }, + { + name: '1M308', + id: '自动生成或替换实际ID', + x: 1205, // 1155 + 50 + y: 20, + width: 50, + height: 30, + }, + + // 1M206-1M208系列 (y=110) + { + name: '1M206', + id: '1889920058062336001', + x: 1105, + y: 110, + width: 50, + height: 30, + }, + { + name: '1M207', + id: '自动生成或替换实际ID', + x: 1155, // 542 + 50 + y: 110, + width: 50, + height: 30, + }, + { + name: '1M208', + id: '自动生成或替换实际ID', + x: 1205, // 592 + 50 + y: 110, + width: 50, + height: 30, + }, + + // 1M106-1M108系列 (y=200) + { + name: '1M106', + id: '1889920089926463489', + x: 1105, + y: 200, + width: 50, + height: 30, + }, + { + name: '1M107', + id: '自动生成或替换实际ID', + x: 1155, // 1105 + 50 + y: 200, + width: 50, + height: 30, + }, + { + name: '1M108', + id: '自动生成或替换实际ID', + x: 1205, // 1155 + 50 + y: 200, + width: 50, + height: 30, + }, + { + name: '清洗机3', + id: 500603, + isEQ: true, //是否是设备 + x: 1255, + y: 10, + width: 50, + height: 50, + }, + { + name: '清洗机2', + id: 500602, + isEQ: true, //是否是设备 + x: 1255, + y: 100, + width: 50, + height: 50, + }, + + { + name: '清洗机1', + id: 500601, + isEQ: true, //是否是设备 + x: 1255, + y: 190, + width: 50, + height: 50, + }, + { + name: '1M309', + id: '1889920027607494658', + x: 1305, + y: 20, + width: 50, + height: 30, + }, + { + name: '1M310', + id: '', // 假设 id 未知,可根据实际补充 + x: 1355, // 1305 + 50 + y: 20, + width: 50, + height: 30, + }, + { + name: '1M311', + id: '', // 假设 id 未知,可根据实际补充 + x: 1405, // 1355 + 50 + y: 20, + width: 50, + height: 30, + }, + { + name: '1M209', + id: '1889920058062336001', + x: 1305, + y: 110, + width: 50, + height: 30, + }, + { + name: '1M210', + id: '', // 假设 id 未知,可根据实际补充 + x: 1355, // 1305 + 50 + y: 110, + width: 50, + height: 30, + }, + { + name: '1M211', + id: '', // 假设 id 未知,可根据实际补充 + x: 1405, // 1355 + 50 + y: 110, + width: 50, + height: 30, + }, + { + name: '1M109', + id: '1889920089926463489', + x: 1305, + y: 200, + width: 50, + height: 30, + }, + { + name: '1M110', + id: '', // 假设 id 未知,可根据实际补充 + x: 1355, // 1305 + 50 + y: 200, + width: 50, + height: 30, + }, + { + name: '1M111', + id: '', // 假设 id 未知,可根据实际补充 + x: 1405, // 1355 + 50 + y: 200, + width: 50, + height: 30, + }, + { + name: '丝印机3', + id: 500703, + isEQ: true, //是否是设备 + x: 1455, + y: 10, + width: 50, + height: 50, + }, + { + name: '丝印机2', + id: 500702, + isEQ: true, //是否是设备 + x: 1455, + y: 100, + width: 50, + height: 50, + }, + { + name: '丝印机1', + id: 500701, + isEQ: true, //是否是设备 + x: 1455, + y: 190, + width: 50, + height: 50, + }, + { + name: '1M312', + id: '1889920027607494658', + x: 1505, + y: 20, + width: 50, + height: 30, + }, + { + name: '1M212', + id: '1889920058062336001', + x: 1505, + y: 110, + width: 50, + height: 30, + }, + { + name: '1M112', + id: '1889920089926463489', + x: 1505, + y: 200, + width: 50, + height: 30, + }, + { + name: '一次固化3', + id: 501003, + isEQ: true, //是否是设备 + x: 1555, + y: 10, + width: 60, + height: 50, + }, + { + name: '一次固化2', + id: 501002, + isEQ: true, //是否是设备 + x: 1555, + y: 100, + width: 60, + height: 50, + }, + { + name: '一次固化1', + id: 501001, + isEQ: true, //是否是设备 + x: 1555, + y: 190, + width: 60, + height: 50, + }, + { + name: '2M101', + id: '1889920119957680130', + x: 1615, + y: 200, + width: 50, + height: 30, + }, + { + name: '2M102', + id: '自动生成或替换实际ID', + x: 1665, // 1615 + 50 + y: 200, + width: 50, + height: 30, + }, + { + name: '2M103', + id: '自动生成或替换实际ID', + x: 1715, // 1665 + 50 + y: 200, + width: 50, + height: 30, + }, + { + name: '2M104', + id: '自动生成或替换实际ID', + x: 1765, // 1715 + 50 + y: 200, + width: 50, + height: 30, + }, + { + name: '2M105', + id: '自动生成或替换实际ID', + x: 1815, // 1765 + 50 + y: 200, + width: 50, + height: 30, + }, + { + name: '2M106', + id: '自动生成或替换实际ID', + x: 1865, // 1815 + 50 + y: 200, + width: 50, + height: 30, + }, + { + name: '2M107', + id: '自动生成或替换实际ID', + x: 1915, // 1865 + 50 + y: 200, + width: 50, + height: 30, + }, + { + name: '2M108', + id: '自动生成或替换实际ID', + x: 1965, // 1915 + 50 + y: 200, + width: 50, + height: 30, + }, + + { + name: '2M201', + id: '1889920119957680130', + x: 1615, + y: 110, + width: 50, + height: 30, + }, + { + name: '2M202', + id: '自动生成或替换实际ID', + x: 1665, // 1615 + 50 + y: 110, + width: 50, + height: 30, + }, + { + name: '2M203', + id: '自动生成或替换实际ID', + x: 1715, // 1665 + 50 + y: 110, + width: 50, + height: 30, + }, + { + name: '2M204', + id: '自动生成或替换实际ID', + x: 1715, // 1715 + 50 + y: 140, + width: 50, + height: 30, + }, + { + name: '2M205', + id: '自动生成或替换实际ID', + x: 1715, // 1765 + 50 + y: 170, + width: 50, + height: 30, + }, + + { + name: '2M301', + id: '1889920119957680130', + x: 1615, + y: 20, + width: 50, + height: 30, + }, + { + name: '2M302', + id: '自动生成或替换实际ID', + x: 1665, // 1615 + 50 + y: 20, + width: 50, + height: 30, + }, + { + name: '2M303', + id: '自动生成或替换实际ID', + x: 1715, // 1665 + 50 + y: 20, + width: 50, + height: 30, + }, + { + name: '2M304', + id: '自动生成或替换实际ID', + x: 1765, // 1715 + 50 + y: 20, + width: 50, + height: 30, + }, + { + name: '2M305', + id: '自动生成或替换实际ID', + x: 1815, // 1765 + 50 + y: 20, + width: 50, + height: 30, + }, + { + name: '2M306', + id: '自动生成或替换实际ID', + x: 1815, // 1815 + 50 + y: 50, + width: 50, + height: 60, + }, + { + name: '2M307', + id: '自动生成或替换实际ID', + x: 1815, // 1865 + 50 + y: 110, + width: 50, + height: 30, + }, + { + name: '2M308', + id: '自动生成或替换实际ID', + x: 1815, // 1915 + 50 + y: 140, + width: 50, + height: 30, + }, + { + name: '2M309', + id: '自动生成或替换实际ID', + x: 1815, // 1915 + 50 + y: 170, + width: 50, + height: 30, + }, + ]; + +linePot.line5canvasSecondHalf = [ + { + name: '钢化炉', + id: 501401, + isEQ: true, //是否是设备 + x: 5, + y: 140, + width: 50, + height: 50, + }, + { + name: '3M101', + id: '1889920232033677313', + x: 55, + y: 150, + width: 50, + height: 30, + }, + { + name: '3M102', + id: '自动生成或替换实际ID', + x: 105, // 55 + 50 + y: 150, + width: 50, + height: 30, + }, + { + name: '3M103', + id: '自动生成或替换实际ID', + x: 155, // 105 + 50 + y: 150, + width: 50, + height: 30, + }, + { + name: '3M104', + id: '自动生成或替换实际ID', + x: 205, // 155 + 50 + y: 150, + width: 50, + height: 30, + }, + { + name: '3M105', + id: '自动生成或替换实际ID', + x: 255, // 205 + 50 + y: 150, + width: 50, + height: 30, + }, + { + name: '3M106', + id: '自动生成或替换实际ID', + x: 305, // 255 + 50 + y: 150, + width: 50, + height: 30, + }, + { + name: '3M107', + id: '自动生成或替换实际ID', + x: 355, // 305 + 50 + y: 150, + width: 50, + height: 30, + }, + { + name: '3M108', + id: '自动生成或替换实际ID', + x: 405, // 355 + 50 + y: 150, + width: 50, + height: 30, + }, + { + name: '3M109', + id: '自动生成或替换实际ID', + x: 455, // 405 + 50 + y: 150, + width: 50, + height: 30, + }, + { + name: '3M110', + id: '自动生成或替换实际ID', + x: 505, // 455 + 50 + y: 150, + width: 50, + height: 30, + }, + { + name: '3M201', + id: '自动生成或替换实际ID', + x: 355, // 205 + 50 + y: 120, + width: 50, + height: 30, + }, + { + name: '3M202', + id: '自动生成或替换实际ID', + x: 355, // 255 + 50 + y: 90, + width: 50, + height: 30, + }, + { + name: '3M203', + id: '自动生成或替换实际ID', + x: 255, // 205 + 50 + y: 120, + width: 50, + height: 30, + }, + { + name: '3M204', + id: '自动生成或替换实际ID', + x: 255, // 255 + 50 + y: 90, + width: 50, + height: 30, + }, + { + name: '3M205', + id: '自动生成或替换实际ID', + x: 255, // 305 + 50 + y: 60, + width: 50, + height: 30, + }, + { + name: '3M206', + id: '自动生成或替换实际ID', + x: 305, // 255 + 50 + y: 60, + width: 50, + height: 30, + }, + { + name: '3M207', + id: '自动生成或替换实际ID', + x: 355, // 305 + 50 + y: 60, + width: 50, + height: 30, + }, + { + name: '3M208', + id: '自动生成或替换实际ID', + x: 405, // 355 + 50 + y: 60, + width: 50, + height: 30, + }, + { + name: '3M209', + id: '自动生成或替换实际ID', + x: 455, // 405 + 50 + y: 60, + width: 50, + height: 30, + }, + { + name: '3M210', + id: '自动生成或替换实际ID', + x: 505, // 455 + 50 + y: 60, + width: 50, + height: 30, + }, + { + name: '清洗机2', + id: 501502, + isEQ: true, //是否是设备 + x: 555, + y: 50, + width: 55, + height: 50, + }, + { + name: '清洗机1', + id: 501501, + isEQ: true, //是否是设备 + x: 555, + y: 140, + width: 55, + height: 50, + }, + { + name: '4M200', + id: '1889920296726622209', + x: 610, + y: 60, + width: 50, + height: 30, + }, + { + name: '4M201', + id: '1889920296726622209', + x: 660, + y: 60, + width: 50, + height: 30, + }, + { + name: '4M100', + id: '1889920296726622209', + x: 610, + y: 150, + width: 50, + height: 30, + }, + { + name: '4M101', + id: '1889920296726622209', + x: 660, + y: 150, + width: 50, + height: 30, + }, + { + name: '铺纸机2', + id: 501602, + isEQ: true, //是否是设备 + x: 710, + y: 50, + width: 55, + height: 50, + }, + { + name: '铺纸机1', + id: 501601, + isEQ: true, //是否是设备 + x: 710, + y: 140, + width: 55, + height: 50, + }, + { + name: '4M102', + id: '1889920296726622209', + remark: '-4M116', + x: 765, + y: 150, + width: 50, + height: 30, + }, + { + name: '4M103', + id: '自动生成或替换实际ID', + x: 815, // 765 + 50 + y: 150, + width: 50, + height: 30, + }, + { + name: '4M104', + id: '自动生成或替换实际ID', + x: 865, // 815 + 50 + y: 150, + width: 50, + height: 30, + }, + { + name: '4M105', + id: '自动生成或替换实际ID', + x: 915, // 865 + 50 + y: 150, + width: 50, + height: 30, + }, + { + name: '4M106', + id: '自动生成或替换实际ID', + x: 965, // 915 + 50 + y: 150, + width: 50, + height: 30, + }, + { + name: '4M107', + id: '自动生成或替换实际ID', + x: 1015, // 965 + 50 + y: 150, + width: 50, + height: 30, + }, + { + name: '4M108', + id: '自动生成或替换实际ID', + x: 1065, // 1015 + 50 + y: 150, + width: 50, + height: 30, + }, + { + name: '4M109', + id: '自动生成或替换实际ID', + x: 1115, // 1065 + 50 + y: 150, + width: 50, + height: 30, + }, + { + name: '4M110', + id: '自动生成或替换实际ID', + x: 1165, // 1115 + 50 + y: 150, + width: 50, + height: 30, + }, + { + name: '4M111', + id: '自动生成或替换实际ID', + x: 1215, // 1165 + 50 + y: 150, + width: 50, + height: 30, + }, + { + name: '4M112', + id: '自动生成或替换实际ID', + x: 1265, // 1215 + 50 + y: 150, + width: 50, + height: 30, + }, + { + name: '4M113', + id: '自动生成或替换实际ID', + x: 1315, // 1265 + 50 + y: 150, + width: 50, + height: 30, + }, + { + name: '4M114', + id: '自动生成或替换实际ID', + x: 1365, // 1315 + 50 + y: 150, + width: 50, + height: 30, + }, + { + name: '4M115', + id: '自动生成或替换实际ID', + x: 1415, // 1365 + 50 + y: 150, + width: 50, + height: 30, + }, + { + name: '4M116', + id: '自动生成或替换实际ID', + x: 1465, // 1415 + 50 + y: 150, + width: 50, + height: 30, + }, + + { + name: '4M202', + id: '1889920296726622209', + remark: '-4M116', + x: 765, + y: 60, + width: 50, + height: 30, + }, + { + name: '4M203', + id: '自动生成或替换实际ID', + x: 815, // 765 + 50 + y: 60, + width: 50, + height: 30, + }, + { + name: '4M204', + id: '自动生成或替换实际ID', + x: 865, // 815 + 50 + y: 60, + width: 50, + height: 30, + }, + { + name: '4M205', + id: '自动生成或替换实际ID', + x: 915, // 865 + 50 + y: 60, + width: 50, + height: 30, + }, + { + name: '4M206', + id: '自动生成或替换实际ID', + x: 965, // 915 + 50 + y: 60, + width: 50, + height: 30, + }, + { + name: '4M207', + id: '自动生成或替换实际ID', + x: 965, // 915 + 50 + y: 90, + width: 50, + height: 30, + }, + { + name: '4M208', + id: '自动生成或替换实际ID', + x: 965, // 915 + 50 + y: 120, + width: 50, + height: 30, + }, + { + name: '4M209', + id: '自动生成或替换实际ID', + x: 865, // 915 + 50 + y: 90, + width: 50, + height: 30, + }, + { + name: '4M210', + id: '自动生成或替换实际ID', + x: 865, // 915 + 50 + y: 120, + width: 50, + height: 30, + }, + { + name: '下片机1', + id: 501701, + isEQ: true, //是否是设备 + x: 1050, + y: 95, + width: 60, + height: 30, + }, + { + name: '下片机2', + id: 501702, + isEQ: true, //是否是设备 + x: 1150, + y: 95, + width: 60, + height: 30, + }, + { + name: '下片机3', + id: 501703, + isEQ: true, //是否是设备 + x: 1250, + y: 95, + width: 60, + height: 30, + }, +]; + +export default linePot;