智维


综合趋势

<p>[toc]</p> <h3>测点数据集</h3> <ul> <li>serviceName: <code>ALAH03</code></li> <li> <p>methodName: <code>queryRealTimeData</code></p> <h4>参数示例</h4> </li> </ul> <pre><code>EiInfo inInfo = new EiInfo(); inInfo.set("deviceCode","820602L01"); </code></pre> <h4>返回示例</h4> <pre><code>{ attr: { serviceType: "", __resProjectEname__: "iehmpms", __resAppEname__: "pmsal", resultMap: [{ collectPointId: "jp", kpiCount: 2, pointName: "键盘", pointNo: "00", deviceKpi: [{ REC_CREATE_TIME: "2022-05-25 12:02:25", kpiDisplayName: "浓度", unit: "g/m3", specialty: "环境监测/大气监测(大气)/大气粉尘及有害气体监测与污染分析", kpiId: 456123383, collectKpiId: "WDG_MV_IN" }, { REC_CREATE_TIME: "2022-05-25 12:02:25", kpiDisplayName: "温度", unit: "℃", specialty: "设备诊断/振动诊断(振动)/数值分析与预警", kpiId: 483249545, collectKpiId: "WDG_MV" } ] }, { collectPointId: "sb", kpiCount: 2, pointName: "鼠标", pointNo: "01", deviceKpi: [{ REC_CREATE_TIME: "2022-05-25 12:02:25", kpiDisplayName: "浓度", unit: "g/m3", specialty: "环境监测/大气监测(大气)/大气粉尘及有害气体监测与污染分析", kpiId: 456123383, collectKpiId: "WDG_MV_IN" }, { REC_CREATE_TIME: "2022-05-25 12:02:25", kpiDisplayName: "温度", unit: "℃", specialty: "设备诊断/振动诊断(振动)/数值分析与预警", kpiId: 483249545, collectKpiId: "WDG_MV" } ] }, { collectPointId: "xs", kpiCount: 1, pointName: "显示器", pointNo: "02", deviceKpi: [{ REC_CREATE_TIME: "2022-05-25 12:02:25", kpiDisplayName: "浓度", unit: "g/m3", specialty: "环境监测/大气监测(大气)/大气粉尘及有害气体监测与污染分析", kpiId: 456123383, collectKpiId: "WDG_MV_IN" }] } ], $$remote$$: "false", methodName: "queryRealTimeData", soaInvokeProtocol: "local", deviceCode: "820602L01", serviceName: "ALAH03" }, name: null, descName: null, msg: "", msgKey: "", detailMsg: "", traceId: "7f00000001116540605930940000000b", sys: {}, blocks: {}, status: 0, globalUserId: "nameless", methodParamObj: null, defBlock: null, defaultBlock: null, displayMsgKey: "", blockIds: "", globalParams: {}, attrKeys: "serviceType,__resProjectEname__,__resAppEname__,resultMap,$$remote$$,methodName,soaInvokeProtocol,deviceCode,serviceName" }</code></pre> <h3>折线图据集</h3> <ul> <li>serviceName: <code>ALAH03</code></li> <li> <p>methodName: <code>queryTimeSeriesHistoryDataAgg</code></p> <h4>参数示例</h4> </li> </ul> <pre><code>EiInfo inInfo = new EiInfo(); inInfo.set("deviceCode", "820602L01"); inInfo.set("pointId", "00"); inInfo.set("kpiId", "WDG_MV_IN"); inInfo.set("startTime", 1650101599000000000L);//*1000000000 inInfo.set("endTime", 1650601599000000000L); inInfo.set("aggregateFunc", 1); inInfo.set("interval", 1000000000L); * deviceCode String 设备九位码 * pointId String 测点id * kpiId String 数据项id * startTime Long 纳秒 * endTime Long 纳秒 * aggregateFunc Integer "如果数据量超过7000,使用aggregateFunc自动聚合: * 1:平均值.2:最大值.3:最小值 4:末值. " * interval Long 聚合周期 纳秒 </code></pre> <h4>返回示例</h4> <pre><code>{ attr: { serviceType: "", __resAppEname__: "pmsal", kpiId: "WDG_MV_IN", $$remote$$: "false", methodName: "queryTimeSeriesHistoryDataAgg", soaInvokeProtocol: "local", deviceCode: "820602L01", aggregateFunc: 1, serviceName: "ALAH03", __resProjectEname__: "iehmpms", pointId: "00", startTime: 1650101599000000000, interval: 1000000000, endTime: 1650601599000000000, historyDataMap: { values: [ "945.1", "946.7", "947.4", "946.7", "947.8" ], DTimes: [ "2022-04-16 17:35:35", "2022-04-16 17:40:35", "2022-04-16 17:45:35", "2022-04-16 17:50:40", "2022-04-16 17:55:40" ] } }, name: null, descName: null, msg: "", msgKey: "", detailMsg: "", traceId: "7f00000001116541322260500000000b", sys: {}, blocks: {}, status: 0, defBlock: null, defaultBlock: null, displayMsgKey: "", blockIds: "", methodParamObj: null, globalParams: {}, globalUserId: "nameless", attrKeys: "serviceType,__resAppEname__,kpiId,$$remote$$,methodName,soaInvokeProtocol,deviceCode,aggregateFunc,serviceName,__resProjectEname__,pointId,startTime,interval,endTime,historyDataMap" }</code></pre>

页面列表

ITEM_HTML