春风项目四线(合箱线、总装线)
yyt
2024-05-23 04b8eff075a04db23e6f908855699b4d2954588c
提交 | 用户 | 时间
fd2207 1 import request from '@/utils/request'
2
054abe 3 // 查询交互信号配置列表
fd2207 4 export function listOpcuaconfig(query) {
5   return request({
6     url: '/da/opcuaconfig/list',
7     method: 'get',
8     params: query
9   })
10 }
11
054abe 12 // 查询交互信号配置详细
fd2207 13 export function getOpcuaconfig(id) {
14   return request({
15     url: '/da/opcuaconfig/' + id,
16     method: 'get'
17   })
18 }
19
0b1422 20 // 查询交互信号配置详细
04b8ef 21 export function setBarcode(barcode,locationCode) {
0b1422 22   return request({
04b8ef 23     url: '/da/opcuaconfig/barcode/' + barcode+'/'+locationCode,
0b1422 24     method: 'get'
Y 25   })
26 }
27
054abe 28 // 新增交互信号配置
fd2207 29 export function addOpcuaconfig(data) {
30   return request({
31     url: '/da/opcuaconfig',
32     method: 'post',
33     data: data
34   })
35 }
36
054abe 37 // 修改交互信号配置
fd2207 38 export function updateOpcuaconfig(data) {
39   return request({
40     url: '/da/opcuaconfig',
41     method: 'put',
42     data: data
43   })
44 }
45
054abe 46 // 删除交互信号配置
fd2207 47 export function delOpcuaconfig(id) {
48   return request({
49     url: '/da/opcuaconfig/' + id,
50     method: 'delete'
51   })
52 }