Browse Source

情报板接口修改

wangqin
lau572 1 year ago
parent
commit
e83807b57d
  1. 16
      ruoyi-ui/src/views/information/board/index.vue

16
ruoyi-ui/src/views/information/board/index.vue

@ -453,8 +453,8 @@ export default {
updateTime: null, updateTime: null,
remark: null, remark: null,
params: {}, params: {},
deviceId: 1055550313, deviceId: 595,
deviceName: '门架式可变信息标志ZK19+333', deviceName: '门架式可变信息标志K57+595',
brandId: 4, brandId: 4,
iotBoardBrandName: { iotBoardBrandName: {
brandId: 4, brandId: 4,
@ -481,7 +481,7 @@ export default {
installDate: '2022-12-14T16:06:03.000+08:00', installDate: '2022-12-14T16:06:03.000+08:00',
maintainId: 2, maintainId: 2,
collarAgencyId: 555503, collarAgencyId: 555503,
pileNumber: 'ZK134+587', pileNumber: 'K57+595',
manageAgencyId: 'YG11002', manageAgencyId: 'YG11002',
producteDate: null, producteDate: null,
repairDate: null, repairDate: null,
@ -493,7 +493,7 @@ export default {
localInfo: 36, localInfo: 36,
routeNumber: null, routeNumber: null,
routeName: null, routeName: null,
deviceIp: '10.7.179.245', deviceIp: '10.0.81.62',
devicePort: null, devicePort: null,
devicePixel: '768*64', devicePixel: '768*64',
userName: null, userName: null,
@ -924,17 +924,17 @@ export default {
})*/ })*/
invokedFunction(65,11,{size : '65535',fileName:'play001.lst'}).then(res =>{ invokedFunction(595,11,{size : '65535',fileName:'play010.lst'}).then(res =>{
debugger debugger
console.log('发布消息,校验文件名-------------------------------------') console.log('发布消息,校验文件名-------------------------------------')
console.log(res) console.log(res)
if (res.data.result == '01'){ if (res.data.result == '01'){
invokedFunction(65,13,{parameters:newArr}).then(res =>{ invokedFunction(595,13,{parameters:newArr}).then(res =>{
debugger debugger
console.log('发布消息,发送文件内容-----------------------------') console.log('发布消息,发送文件内容-----------------------------')
console.log(res) console.log(res)
if (res.data.result == '01'){ if (res.data.result == '01'){
invokedFunction(65,'1B',{fileId:'1'}).then(res =>{ invokedFunction(595,'1B',{fileId:'10'}).then(res =>{
debugger debugger
console.log('发布消息,播放文件-----------------------------') console.log('发布消息,播放文件-----------------------------')
console.log(res) console.log(res)
@ -1083,7 +1083,7 @@ export default {
this.loading = false this.loading = false
this.submitButton = false this.submitButton = false
})*/ })*/
await getDeviceRealtimeProperty('65','3A',{ async: false}) await getDeviceRealtimeProperty('595','3A',{ async: false})
.then(res => { .then(res => {
if ("3A" in res.data){ if ("3A" in res.data){
console.log('回读消息------------------------') console.log('回读消息------------------------')

Loading…
Cancel
Save