|
|
@ -86,11 +86,6 @@ const operationState = computed(() => { |
|
|
|
let poll = null |
|
|
|
|
|
|
|
const getData = async () => { |
|
|
|
const res = await syncSendCmd({ |
|
|
|
className: 'DisinfectionCtrlServiceExt', |
|
|
|
fnName: 'getState', |
|
|
|
}) |
|
|
|
console.log(res.rely.startTimestamp) |
|
|
|
const data = await syncSendCmd({ |
|
|
|
className: 'H2O2SensorMgr', |
|
|
|
fnName: 'getH2O2SensorList', |
|
|
@ -100,13 +95,11 @@ const getData = async () => { |
|
|
|
const item: any = chartList.value[i] |
|
|
|
const list = await syncSendCmd({ |
|
|
|
className: 'H2O2SensorMgr', |
|
|
|
fnName: 'getH2O2DataRecordList', |
|
|
|
fnName: 'getDisinfectionH2O2DataRecordList', |
|
|
|
params: { |
|
|
|
type: item.type, |
|
|
|
id: item.id, |
|
|
|
since: res.rely?.startTimestamp, |
|
|
|
interval: 30, |
|
|
|
before: 0, |
|
|
|
}, |
|
|
|
}) |
|
|
|
chartList.value[i].data = list.rely |
|
|
|