Files
sensorapi/utilities/commands.js
T
admin acad6d8276 Tables simplified
idea_xxx entfernt

utilities/commands.js
   - unnecessary entries removed

sensorspecials/noise.js
   - unnecessary entries in whatTable removed
2023-03-08 16:22:03 +01:00

21 lines
776 B
JavaScript

// Command table for http calls
import * as getData from "../actions/getsensorData.js"
import * as getProps from "../actions/getproperties.js"
import * as getAKWs from "../actions/getAKWData.js"
import * as holAddr from "../actions/getaddress.js"
import * as radioact from "../sensorspecials/radioact.js"
import * as noise from "../sensorspecials/noise.js"
const cmdTable = [
{cmd: 'getactdata', func: getData.getActData},
{cmd: 'getlongavg', func: getData.getLongAvg},
{cmd: 'getavgdata', func: getData.getAvgData},
{cmd: 'getoneproperty', func: getProps.getOneProperty},
{cmd: 'getakwdata', func: getAKWs.getakwdata},
{cmd: 'getaddress', func: holAddr.getAddress},
{cmd: 'getsensordata', func: getData.getSensorData}
]
export default cmdTable