You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
1.2 KiB
23 lines
1.2 KiB
'use strict';
|
|
const network = require('../../controllers/analysis/network');
|
|
|
|
module.exports = function (app, router, opts) {
|
|
app.fs.api.logAttr['GET/organizations/:pepProjectId/struc'] = { content: '获取项目下的结构物信息', visible: true };
|
|
router.get('/organizations/:pepProjectId/struc', network.getOrganizationsStruc)
|
|
|
|
app.fs.api.logAttr['GET/things/:thingId/deploy'] = { content: '获取设备部署信息', visible: true };
|
|
router.get('/things/:thingId/deploy', network.getThingsDeploy)
|
|
|
|
|
|
app.fs.api.logAttr['POST/sensors/last/data'] = { content: '原始数据查询失败', visible: true };
|
|
router.post('/sensors/last/data', network.getDeviceLists)
|
|
|
|
// app.fs.api.logAttr['GET/systemAvailability'] = { content: '获取系统可用性', visible: true };
|
|
// router.get('/systemAvailability', operationData.getSystemAvailability)
|
|
|
|
// app.fs.api.logAttr['GET/problemType'] = { content: '获取故障类型', visible: true };
|
|
// router.get('/problemType', operationData.getProblemType)
|
|
|
|
// app.fs.api.logAttr['GET/operationsPersonnel'] = { content: '获取运维人员', visible: true };
|
|
// router.get('/operationsPersonnel', operationData.getOperationsPersonnel)
|
|
}
|