From 3a09875f8d0d5eeb71d49eb3f2ae73c3a596286c Mon Sep 17 00:00:00 2001 From: gengby <858962040@qq.com> Date: Fri, 24 Mar 2023 16:17:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/acs/device/config.vue | 35 +- .../driver/history/deviceErrorInfo/index.vue | 145 +++++ .../driver/history/instRecord/index.vue | 276 +++++++++ .../driver/history/taskRecord/index.vue | 555 ++++++++++++++++++ .../driver/history/taskTreeRecord/index.vue | 210 +++++++ .../acs/device/driver/lamp_three_color.vue | 18 - .../views/acs/device/driver/machines_site.vue | 490 ++++++++++++++++ .../driver/manipulator_inspect_site_NDC.vue | 121 ++++ .../views/acs/device/driver/ndxy_special.vue | 507 ++++++++++++++++ .../acs/device/driver/ndxy_special_two.vue | 487 +++++++++++++++ .../device/driver/non_line_inspect_site.vue | 220 +++++++ .../non_line_manipulator_inspect_site.vue | 220 +++++++ .../device/driver/special_ordinary_site.vue | 221 +++++++ .../driver/standard_conveyor_control.vue | 1 - ...ndard_conveyor_control_with_plcscanner.vue | 520 ++++++++++++++++ ...standard_conveyor_control_with_scanner.vue | 112 ++-- .../driver/standard_conveyor_monitor.vue | 6 +- .../driver/standard_emptypallet_site.vue | 465 +++++++++++++++ .../device/driver/standard_inspect_site.vue | 23 +- .../standard_manipulator_inspect_site.vue | 458 +++++++++++++++ .../standard_manipulator_stacking_site.vue | 482 +++++++++++++++ .../device/driver/standard_ordinary_site.vue | 7 +- .../standard_photoelectric_inspect_site.vue | 498 ++++++++++++++++ .../driver/standard_special_inspect_site.vue | 433 ++++++++++++++ .../views/acs/device/driver/weighing_site.vue | 122 ++++ 25 files changed, 6493 insertions(+), 139 deletions(-) create mode 100644 wcs/nladmin-ui/src/views/acs/device/driver/history/deviceErrorInfo/index.vue create mode 100644 wcs/nladmin-ui/src/views/acs/device/driver/history/instRecord/index.vue create mode 100644 wcs/nladmin-ui/src/views/acs/device/driver/history/taskRecord/index.vue create mode 100644 wcs/nladmin-ui/src/views/acs/device/driver/history/taskTreeRecord/index.vue create mode 100644 wcs/nladmin-ui/src/views/acs/device/driver/machines_site.vue create mode 100644 wcs/nladmin-ui/src/views/acs/device/driver/manipulator_inspect_site_NDC.vue create mode 100644 wcs/nladmin-ui/src/views/acs/device/driver/ndxy_special.vue create mode 100644 wcs/nladmin-ui/src/views/acs/device/driver/ndxy_special_two.vue create mode 100644 wcs/nladmin-ui/src/views/acs/device/driver/non_line_inspect_site.vue create mode 100644 wcs/nladmin-ui/src/views/acs/device/driver/non_line_manipulator_inspect_site.vue create mode 100644 wcs/nladmin-ui/src/views/acs/device/driver/special_ordinary_site.vue create mode 100644 wcs/nladmin-ui/src/views/acs/device/driver/standard_conveyor_control_with_plcscanner.vue create mode 100644 wcs/nladmin-ui/src/views/acs/device/driver/standard_emptypallet_site.vue create mode 100644 wcs/nladmin-ui/src/views/acs/device/driver/standard_manipulator_inspect_site.vue create mode 100644 wcs/nladmin-ui/src/views/acs/device/driver/standard_manipulator_stacking_site.vue create mode 100644 wcs/nladmin-ui/src/views/acs/device/driver/standard_photoelectric_inspect_site.vue create mode 100644 wcs/nladmin-ui/src/views/acs/device/driver/standard_special_inspect_site.vue create mode 100644 wcs/nladmin-ui/src/views/acs/device/driver/weighing_site.vue diff --git a/wcs/nladmin-ui/src/views/acs/device/config.vue b/wcs/nladmin-ui/src/views/acs/device/config.vue index 6e92eb1c..4bae2518 100644 --- a/wcs/nladmin-ui/src/views/acs/device/config.vue +++ b/wcs/nladmin-ui/src/views/acs/device/config.vue @@ -73,6 +73,19 @@ import crud from '@/mixins/crud' import { get, selectDriverCodeList } from '@/api/acs/device/driverConfig' import { getDicts } from '@/api/system/dict' +import weighing_site from './driver/weighing_site' +import machines_site from './driver/machines_site' +import standard_emptypallet_site from './driver/standard_emptypallet_site' +import standard_manipulator_inspect_site from './driver/standard_manipulator_inspect_site' +import standard_special_inspect_site from './driver/standard_special_inspect_site' +import special_ordinary_site from './driver/special_ordinary_site' +import standard_conveyor_control_with_plcscanner +from '@/views/acs/device/driver/standard_conveyor_control_with_plcscanner' +import non_line_manipulator_inspect_site from '@/views/acs/device/driver/non_line_manipulator_inspect_site' +import non_line_inspect_site from '@/views/acs/device/driver/non_line_inspect_site' +import manipulator_inspect_site_NDC from '@/views/acs/device/driver/manipulator_inspect_site_NDC' +import standard_manipulator_stacking_site from '@/views/acs/device/driver/standard_manipulator_stacking_site' +import standard_photoelectric_inspect_site from '@/views/acs/device/driver/standard_photoelectric_inspect_site' import standard_inspect_site from './driver/standard_inspect_site' import standard_ordinary_site from './driver/standard_ordinary_site' import lamp_three_color from './driver/lamp_three_color' @@ -110,20 +123,18 @@ export default { components: { standard_ordinary_site, standard_inspect_site, - standard_storage, - standard_scanner, - standard_conveyor_control_with_scanner, - standard_conveyor_control, - standard_conveyor_monitor, - hailiang_smart_plc_test, - agv_ndc_two, - agv_ndc_one, - lamp_three_color, + standard_autodoor, standard_emptypallet_site, standard_manipulator_inspect_site, standard_special_inspect_site, + lamp_three_color, + standard_storage, special_ordinary_site, + standard_scanner, + standard_conveyor_control_with_scanner, standard_conveyor_control_with_plcscanner, + standard_conveyor_control, + standard_conveyor_monitor, weighing_site, machines_site, non_line_manipulator_inspect_site, @@ -131,6 +142,8 @@ export default { manipulator_inspect_site_NDC, standard_manipulator_stacking_site, standard_photoelectric_inspect_site, + agv_ndc_two, + agv_ndc_one, hailiang_packer_station, hailiang_engraving_cache, hailiang_special_pick_station, @@ -144,12 +157,12 @@ export default { hailiang_cleaning_machine, hailiang_cleaning_machine_storage_station, hailiang_xj_plc_test, + hailiang_smart_plc_test, hailiang_threestation_smart, hailiang_foldingDisc_smart, hailiang_elevator_wiring, hailiang_paint_line, - hailiang_stacking_station, - standard_autodoor + hailiang_stacking_station }, dicts: ['device_type'], mixins: [crud], diff --git a/wcs/nladmin-ui/src/views/acs/device/driver/history/deviceErrorInfo/index.vue b/wcs/nladmin-ui/src/views/acs/device/driver/history/deviceErrorInfo/index.vue new file mode 100644 index 00000000..7a3611a3 --- /dev/null +++ b/wcs/nladmin-ui/src/views/acs/device/driver/history/deviceErrorInfo/index.vue @@ -0,0 +1,145 @@ + + + + + + + 设备编码 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/wcs/nladmin-ui/src/views/acs/device/driver/history/instRecord/index.vue b/wcs/nladmin-ui/src/views/acs/device/driver/history/instRecord/index.vue new file mode 100644 index 00000000..e5cf3a94 --- /dev/null +++ b/wcs/nladmin-ui/src/views/acs/device/driver/history/instRecord/index.vue @@ -0,0 +1,276 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 就绪 + 执行中 + 完成 + + + + + + + + + + + + + + + + + + + + + diff --git a/wcs/nladmin-ui/src/views/acs/device/driver/history/taskRecord/index.vue b/wcs/nladmin-ui/src/views/acs/device/driver/history/taskRecord/index.vue new file mode 100644 index 00000000..5f3a42fc --- /dev/null +++ b/wcs/nladmin-ui/src/views/acs/device/driver/history/taskRecord/index.vue @@ -0,0 +1,555 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 就绪 + 执行中 + 完成 + + + + + + + + + + + + + + + + + + + + diff --git a/wcs/nladmin-ui/src/views/acs/device/driver/history/taskTreeRecord/index.vue b/wcs/nladmin-ui/src/views/acs/device/driver/history/taskTreeRecord/index.vue new file mode 100644 index 00000000..da57075a --- /dev/null +++ b/wcs/nladmin-ui/src/views/acs/device/driver/history/taskTreeRecord/index.vue @@ -0,0 +1,210 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + 就绪 + 执行中 + 完成 + + + + + + + + + + + + + + + + + + + + diff --git a/wcs/nladmin-ui/src/views/acs/device/driver/lamp_three_color.vue b/wcs/nladmin-ui/src/views/acs/device/driver/lamp_three_color.vue index ed6082c0..3a513406 100644 --- a/wcs/nladmin-ui/src/views/acs/device/driver/lamp_three_color.vue +++ b/wcs/nladmin-ui/src/views/acs/device/driver/lamp_three_color.vue @@ -13,7 +13,6 @@ v-model="opc_id" placeholder="无" clearable - filterable @change="changeOpc" > - - - 测试读 - - - - - 测试写 @@ -286,15 +277,6 @@ export default { } }) }, - test_read2() { - testRead(this.data2, this.opc_id).then(data => { - this.data2 = data - console.log(this.data2) - this.notify('操作成功!', 'success') - }).catch(err => { - console.log(err.response.data.message) - }) - }, test_read1() { testRead(this.data1, this.opc_id).then(data => { this.data1 = data diff --git a/wcs/nladmin-ui/src/views/acs/device/driver/machines_site.vue b/wcs/nladmin-ui/src/views/acs/device/driver/machines_site.vue new file mode 100644 index 00000000..e4d98393 --- /dev/null +++ b/wcs/nladmin-ui/src/views/acs/device/driver/machines_site.vue @@ -0,0 +1,490 @@ + + + + + + 设备协议: + + + + + OpcServer: + + + + + + PLC: + + + + + + + + + + + 输送系统: + + + + + + + + + + + + + + + 指令相关: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AGV相关: + + + + + + + + + + + + + + + + + + + + PLC读取字段: + + + + + + + + + + + + + + 测试读 + + + + + + + + + + + + PLC写入字段: + + + + + + + + + + + + + + 测试写 + + + + + + + + + + + + + 保存 + + + + + + + + + + diff --git a/wcs/nladmin-ui/src/views/acs/device/driver/manipulator_inspect_site_NDC.vue b/wcs/nladmin-ui/src/views/acs/device/driver/manipulator_inspect_site_NDC.vue new file mode 100644 index 00000000..014c65e9 --- /dev/null +++ b/wcs/nladmin-ui/src/views/acs/device/driver/manipulator_inspect_site_NDC.vue @@ -0,0 +1,121 @@ + + + + + + 关联设备: + + + + + + + + + + + + + + + + + + 保存 + + + + + + + + + + diff --git a/wcs/nladmin-ui/src/views/acs/device/driver/ndxy_special.vue b/wcs/nladmin-ui/src/views/acs/device/driver/ndxy_special.vue new file mode 100644 index 00000000..7e12052a --- /dev/null +++ b/wcs/nladmin-ui/src/views/acs/device/driver/ndxy_special.vue @@ -0,0 +1,507 @@ + + + + + + + 设备协议: + + + + + OpcServer: + + + + + + PLC: + + + + + + + + + + + 输送系统: + + + + + + + + + + + + + + + 指令相关: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AGV相关: + + + + + + + + + + + + + + + + + + + + PLC读取字段: + + + + + + + + + + + + + + 测试读 + + + + + + + + + + + + PLC写入字段: + + + + + + + + + + + + + + 测试写 + + + + + + + + + + + + + 保存 + + + + + + + + + + diff --git a/wcs/nladmin-ui/src/views/acs/device/driver/ndxy_special_two.vue b/wcs/nladmin-ui/src/views/acs/device/driver/ndxy_special_two.vue new file mode 100644 index 00000000..25bccb7b --- /dev/null +++ b/wcs/nladmin-ui/src/views/acs/device/driver/ndxy_special_two.vue @@ -0,0 +1,487 @@ + + + + + + 设备协议: + + + + + OpcServer: + + + + + + PLC: + + + + + + + + + + + 输送系统: + + + + + + + + + + + + + + + 指令相关: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AGV相关: + + + + + + + + + + + + + + + + + + + + PLC读取字段: + + + + + + + + + + + + + + 测试读 + + + + + + + + + + + + PLC写入字段: + + + + + + + + + + + + + + 测试写 + + + + + + + + + + + + + 保存 + + + + + + + + + + diff --git a/wcs/nladmin-ui/src/views/acs/device/driver/non_line_inspect_site.vue b/wcs/nladmin-ui/src/views/acs/device/driver/non_line_inspect_site.vue new file mode 100644 index 00000000..b2523146 --- /dev/null +++ b/wcs/nladmin-ui/src/views/acs/device/driver/non_line_inspect_site.vue @@ -0,0 +1,220 @@ + + + + + + 输送系统: + + + + + + + + + + + + + + + + 指令相关: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AGV相关: + + + + + + + + + + + + + + + + + + + + + 保存 + + + + + + + + + + diff --git a/wcs/nladmin-ui/src/views/acs/device/driver/non_line_manipulator_inspect_site.vue b/wcs/nladmin-ui/src/views/acs/device/driver/non_line_manipulator_inspect_site.vue new file mode 100644 index 00000000..e0df177d --- /dev/null +++ b/wcs/nladmin-ui/src/views/acs/device/driver/non_line_manipulator_inspect_site.vue @@ -0,0 +1,220 @@ + + + + + + 输送系统: + + + + + + + + + + + + + + + + 指令相关: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AGV相关: + + + + + + + + + + + + + + + + + + + + + 保存 + + + + + + + + + + diff --git a/wcs/nladmin-ui/src/views/acs/device/driver/special_ordinary_site.vue b/wcs/nladmin-ui/src/views/acs/device/driver/special_ordinary_site.vue new file mode 100644 index 00000000..94d3eaa8 --- /dev/null +++ b/wcs/nladmin-ui/src/views/acs/device/driver/special_ordinary_site.vue @@ -0,0 +1,221 @@ + + + + + + 指令相关: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AGV相关: + + + + + + + + + + + + + + + + + + + + + 保存 + + + + + + + + + + diff --git a/wcs/nladmin-ui/src/views/acs/device/driver/standard_conveyor_control.vue b/wcs/nladmin-ui/src/views/acs/device/driver/standard_conveyor_control.vue index 99611ca5..825e9250 100644 --- a/wcs/nladmin-ui/src/views/acs/device/driver/standard_conveyor_control.vue +++ b/wcs/nladmin-ui/src/views/acs/device/driver/standard_conveyor_control.vue @@ -13,7 +13,6 @@ v-model="opc_id" placeholder="无" clearable - filterable @change="changeOpc" > + + + + + 设备协议: + + + + + OpcServer: + + + + + + PLC: + + + + + + + + + + + 输送系统: + + + + + + + + + + + + + + + 指令相关: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AGV相关: + + + + + + + + + + + + + + + + + + + + PLC读取字段: + + + + + + + + + + + + + + 测试读 + + + + + + + + + + + + PLC写入字段: + + + + + + + + + + + + + + 测试写 + + + + + + + + + + + + + 保存 + + + + + + + + + + diff --git a/wcs/nladmin-ui/src/views/acs/device/driver/standard_conveyor_control_with_scanner.vue b/wcs/nladmin-ui/src/views/acs/device/driver/standard_conveyor_control_with_scanner.vue index 8b025780..c1700c32 100644 --- a/wcs/nladmin-ui/src/views/acs/device/driver/standard_conveyor_control_with_scanner.vue +++ b/wcs/nladmin-ui/src/views/acs/device/driver/standard_conveyor_control_with_scanner.vue @@ -13,7 +13,6 @@ v-model="opc_id" placeholder="无" clearable - filterable @change="changeOpc" > - - - - - - - - - - - - - - - - @@ -274,14 +237,6 @@ /> - - - 测试读 - - - - - 测试写 @@ -343,20 +298,6 @@ export default { plc_code: '', opc_id: '', opc_code: '', - doors: [{ - key: '1', - label: '前门' - }, { - key: '2', - label: '后门' - }], - floors: [{ - key: '1', - label: '1楼' - }, { - key: '2', - label: '2楼' - }], address: '', configLoading: false, dataOpcservers: [], @@ -426,21 +367,39 @@ export default { if (data.code.indexOf('mode') !== -1) { const dbValue = data.db // .之前的字符串 - const beforeStr = dbValue.substring(0, 2) + const beforeStr = dbValue.match(/(\S*)\./)[1] // .之后的字符串 - const afterStr = dbValue.substring(2) + const afterStr = dbValue.match(/\.(\S*)/)[1] + // 取最后数字 + const endNumber = afterStr.substring(1) + // 最后为非数字 + if (isNaN(parseInt(endNumber))) { + return + } for (const val in this.data1) { if (this.data1[val].code.indexOf('move') !== -1) { - this.data1[val].db = beforeStr + (parseInt(afterStr) + 2) + this.data1[val].db = beforeStr + '.' + afterStr.substring(0, 1) + (parseInt(endNumber) + 1) } if (this.data1[val].code.indexOf('action') !== -1) { - this.data1[val].db = beforeStr + (parseInt(afterStr) + 4) + this.data1[val].db = beforeStr + '.' + afterStr.substring(0, 1) + (parseInt(endNumber) + 2) + } + if (this.data1[val].code.indexOf('ioaction') !== -1) { + this.data1[val].db = beforeStr + '.' + afterStr.substring(0, 1) + (parseInt(endNumber) + 3) + } + if (this.data1[val].code.indexOf('height') !== -1) { + this.data1[val].db = beforeStr + '.' + afterStr.substring(0, 1) + (parseInt(endNumber) + 4) } if (this.data1[val].code.indexOf('error') !== -1) { - this.data1[val].db = beforeStr + (parseInt(afterStr) + 6) + this.data1[val].db = beforeStr + '.' + afterStr.substring(0, 1) + (parseInt(endNumber) + 5) + } + if (this.data1[val].code.indexOf('direction') !== -1) { + this.data1[val].db = beforeStr + '.' + afterStr.substring(0, 1) + (parseInt(endNumber) + 6) + } + if (this.data1[val].code.indexOf('operation_type') !== -1) { + this.data1[val].db = beforeStr + '.' + afterStr.substring(0, 1) + (parseInt(endNumber) + 7) } if (this.data1[val].code.indexOf('task') !== -1) { - this.data1[val].db = beforeStr + (parseInt(afterStr) + 8) + this.data1[val].db = beforeStr + '.' + 'D' + (parseInt(endNumber) + 21) } } } @@ -450,15 +409,21 @@ export default { if (data.code.indexOf('to_command') !== -1) { const dbValue = data.db // .之前的字符串 - const beforeStr = dbValue.substring(0, 2) + const beforeStr = dbValue.match(/(\S*)\./)[1] // .之后的字符串 - const afterStr = dbValue.substring(2) + const afterStr = dbValue.match(/\.(\S*)/)[1] + // 取最后数字 + const endNumber = afterStr.substring(1) + // 最后为非数字 + if (isNaN(parseInt(endNumber))) { + return + } for (const val in this.data2) { if (this.data2[val].code.indexOf('to_target') !== -1) { - this.data2[val].db = beforeStr + (parseInt(afterStr) + 2) + this.data2[val].db = beforeStr + '.' + afterStr.substring(0, 1) + (parseInt(endNumber) + 2) } if (this.data2[val].code.indexOf('to_task') !== -1) { - this.data2[val].db = beforeStr + (parseInt(afterStr) + 4) + this.data2[val].db = beforeStr + '.' + 'D' + (parseInt(endNumber) + 6) } } } @@ -498,15 +463,6 @@ export default { console.log(err.response.data.message) }) }, - test_read2() { - testRead(this.data2, this.opc_id).then(data => { - this.data2 = data - console.log(this.data2) - this.notify('操作成功!', 'success') - }).catch(err => { - console.log(err.response.data.message) - }) - }, test_write1() { testwrite(this.data2, this.opc_id).then(data => { this.notify('操作成功!', 'success') diff --git a/wcs/nladmin-ui/src/views/acs/device/driver/standard_conveyor_monitor.vue b/wcs/nladmin-ui/src/views/acs/device/driver/standard_conveyor_monitor.vue index 62cd6223..02e1231a 100644 --- a/wcs/nladmin-ui/src/views/acs/device/driver/standard_conveyor_monitor.vue +++ b/wcs/nladmin-ui/src/views/acs/device/driver/standard_conveyor_monitor.vue @@ -13,7 +13,6 @@ v-model="opc_id" placeholder="无" clearable - filterable @change="changeOpc" > - + @@ -297,8 +296,7 @@ export default { manual_create_task: true, is_pickup: true, is_release: true, - link_device_code: [], - address: '' + link_device_code: [] }, rules: {} } diff --git a/wcs/nladmin-ui/src/views/acs/device/driver/standard_emptypallet_site.vue b/wcs/nladmin-ui/src/views/acs/device/driver/standard_emptypallet_site.vue new file mode 100644 index 00000000..f8e82e70 --- /dev/null +++ b/wcs/nladmin-ui/src/views/acs/device/driver/standard_emptypallet_site.vue @@ -0,0 +1,465 @@ + + + + + + + 设备协议: + + + + + OpcServer: + + + + + + PLC: + + + + + + + + + + + 输送系统: + + + + + + + + + + + + + + + 指令相关: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AGV相关: + + + + + + + + + + + + + + + + + + + + PLC读取字段: + + + + + + + + + + + + + + 测试读 + + + + + + + + + + + + PLC写入字段: + + + + + + + + + + + + + + 测试写 + + + + + + + + + + + + + 保存 + + + + + + + + + + diff --git a/wcs/nladmin-ui/src/views/acs/device/driver/standard_inspect_site.vue b/wcs/nladmin-ui/src/views/acs/device/driver/standard_inspect_site.vue index fa786110..efcaa092 100644 --- a/wcs/nladmin-ui/src/views/acs/device/driver/standard_inspect_site.vue +++ b/wcs/nladmin-ui/src/views/acs/device/driver/standard_inspect_site.vue @@ -13,7 +13,6 @@ v-model="opc_id" placeholder="无" clearable - filterable @change="changeOpc" > - + @@ -221,14 +220,6 @@ /> - - - 测试读 - - - - - 测试写 @@ -305,8 +296,7 @@ export default { manual_create_task: true, is_pickup: true, is_release: true, - link_device_code: [], - address: '' + link_device_code: [] }, rules: {} } @@ -440,15 +430,6 @@ export default { console.log(err.response.data.message) }) }, - test_read2() { - testRead(this.data2, this.opc_id).then(data => { - this.data2 = data - console.log(this.data2) - this.notify('操作成功!', 'success') - }).catch(err => { - console.log(err.response.data.message) - }) - }, test_write1() { testwrite(this.data2, this.opc_id).then(data => { this.notify('操作成功!', 'success') diff --git a/wcs/nladmin-ui/src/views/acs/device/driver/standard_manipulator_inspect_site.vue b/wcs/nladmin-ui/src/views/acs/device/driver/standard_manipulator_inspect_site.vue new file mode 100644 index 00000000..cc6e81bd --- /dev/null +++ b/wcs/nladmin-ui/src/views/acs/device/driver/standard_manipulator_inspect_site.vue @@ -0,0 +1,458 @@ + + + + + + + 设备协议: + + + + + OpcServer: + + + + + + PLC: + + + + + + + + + + + 输送系统: + + + + + + + + + + + + + + + 指令相关: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AGV相关: + + + + + + + + + + + + + + + + + + + + PLC读取字段: + + + + + + + + + + + + + + 测试读 + + + + + + + + + + + + PLC写入字段: + + + + + + + + + + + + + + 测试写 + + + + + + + + + + + + + 保存 + + + + + + + + + + diff --git a/wcs/nladmin-ui/src/views/acs/device/driver/standard_manipulator_stacking_site.vue b/wcs/nladmin-ui/src/views/acs/device/driver/standard_manipulator_stacking_site.vue new file mode 100644 index 00000000..06f9c510 --- /dev/null +++ b/wcs/nladmin-ui/src/views/acs/device/driver/standard_manipulator_stacking_site.vue @@ -0,0 +1,482 @@ + + + + + + + 设备协议: + + + + + OpcServer: + + + + + + PLC: + + + + + + + + + + + 输送系统: + + + + + + + + + + + + + + + 指令相关: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AGV相关: + + + + + + + + + + + + + + + + + + + + PLC读取字段: + + + + + + + + + + + + + + 测试读 + + + + + + + + + + + + PLC写入字段: + + + + + + + + + + + + + + 测试写 + + + + + + + + + + + + + 保存 + + + + + + + + + + diff --git a/wcs/nladmin-ui/src/views/acs/device/driver/standard_ordinary_site.vue b/wcs/nladmin-ui/src/views/acs/device/driver/standard_ordinary_site.vue index d1bf9971..1dfd00e9 100644 --- a/wcs/nladmin-ui/src/views/acs/device/driver/standard_ordinary_site.vue +++ b/wcs/nladmin-ui/src/views/acs/device/driver/standard_ordinary_site.vue @@ -25,7 +25,7 @@ - + @@ -73,11 +73,6 @@ - - - - - diff --git a/wcs/nladmin-ui/src/views/acs/device/driver/standard_photoelectric_inspect_site.vue b/wcs/nladmin-ui/src/views/acs/device/driver/standard_photoelectric_inspect_site.vue new file mode 100644 index 00000000..ba4c0f6c --- /dev/null +++ b/wcs/nladmin-ui/src/views/acs/device/driver/standard_photoelectric_inspect_site.vue @@ -0,0 +1,498 @@ + + + + + + 设备协议: + + + + + OpcServer: + + + + + + PLC: + + + + + + + + + + + 输送系统: + + + + + + + + + + + + + + + 指令相关: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AGV相关: + + + + + + + + + + + + + + + + + + + + PLC读取字段: + + + + + + + + + + + + + + 测试读 + + + + + + + + + + + + PLC写入字段: + + + + + + + + + + + + + + 测试写 + + + + + + + + + + + + + 保存 + + + + + + + + + + diff --git a/wcs/nladmin-ui/src/views/acs/device/driver/standard_special_inspect_site.vue b/wcs/nladmin-ui/src/views/acs/device/driver/standard_special_inspect_site.vue new file mode 100644 index 00000000..557aaf64 --- /dev/null +++ b/wcs/nladmin-ui/src/views/acs/device/driver/standard_special_inspect_site.vue @@ -0,0 +1,433 @@ + + + + + + + 设备协议: + + + + + OpcServer: + + + + + + PLC: + + + + + + + + + + + 输送系统: + + + + + + + + + + + + + + + 指令相关: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AGV相关: + + + + + + + + + + + + + + + + + + + + PLC读取字段: + + + + + + + + + + + + + + 测试读 + + + + + + + + + + + + PLC写入字段: + + + + + + + + + + + + + + 测试写 + + + + + + + + + + + + + 保存 + + + + + + + + + + diff --git a/wcs/nladmin-ui/src/views/acs/device/driver/weighing_site.vue b/wcs/nladmin-ui/src/views/acs/device/driver/weighing_site.vue new file mode 100644 index 00000000..84762b23 --- /dev/null +++ b/wcs/nladmin-ui/src/views/acs/device/driver/weighing_site.vue @@ -0,0 +1,122 @@ + + + + + + 输送系统: + + + + + + + + + + + + + + + + + + 保存 + + + + + + + + + +