实时数据
<p>[toc]</p>
<h3>测点数据集</h3>
<ul>
<li>serviceName: <code>ALAH02</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>
pointCount 测点数量
kpiCount 数据项数量
kpiCountData 数据项统计
reporting 在线
onceReport 曾经上报
reportedHistory 在线(24小时内、1小时外上报过)
unReported 未上报
pointDataMap 测点数据体
pointId 测点Id
kpiId 数据项Id
DTime 时间
deviceCode 设备编码
value 值
kpiDataMap 数据项数据体
pointId 测点Id
kpiId 数据项Id
DTime 时间
deviceCode 设备编码
value 值
</code></pre>
<pre><code>{
attr: {
serviceType: "",
__resAppEname__: "pmsal",
kpiCount: 1,
$$remote$$: "false",
methodName: "queryRealTimeData",
soaInvokeProtocol: "local",
deviceCode: "820602L01",
serviceName: "ALAH02",
pointDataMap: {
00: [{
pointId: "00",
kpiId: "WDG_MV_IN",
DTime: 1650678964000000000,
deviceCode: "820602L01",
value: 1002.6
}]
},
kpiCountData: {
onceReport: 1,
reportedHistory: 0,
reporting: 0,
unReported: 0
},
__resProjectEname__: "iehmpms",
pointCount: 0,
kpiDataMap: {
WDG_MV_IN: [{
pointId: "00",
kpiId: "WDG_MV_IN",
DTime: 1650678964000000000,
deviceCode: "820602L01",
value: 1002.6
}]
}
},
name: null,
descName: null,
msg: "",
msgKey: "",
detailMsg: "",
traceId: "7f000000011165390419702100000011",
sys: {},
blocks: {},
status: 0,
defBlock: null,
defaultBlock: null,
displayMsgKey: "",
blockIds: "",
methodParamObj: null,
globalParams: {},
globalUserId: "171465",
attrKeys: "serviceType,__resAppEname__,kpiCount,$$remote$$,methodName,soaInvokeProtocol,deviceCode,serviceName,pointDataMap,kpiData,__resProjectEname__,pointCount,kpiDataMap"
}</code></pre>