测点数据项级联
<h3>获取测点</h3>
<h4>参数示例</h4>
<pre><code> EiInfo inInfo = new EiInfo();
inInfo.set("deviceCode", "820602L01");
inInfo.set(EiConstant.serviceName, "ALAH01");
inInfo.set(EiConstant.methodName, "getPointByDevice");
inInfo = XLocalManager.call(inInfo);</code></pre>
<h4>返回示例</h4>
<pre><code>{
attr: {
serviceType: "",
__resProjectEname__: "iehmpms",
__resAppEname__: "pmsal",
$$remote$$: "false",
methodName: "getPointByDevice",
soaInvokeProtocol: "local",
deviceCode: "820602L01",
serviceName: "ALAH01"
},
name: null,
descName: null,
msg: "",
msgKey: "",
detailMsg: "",
traceId: "7f00000001116552703522650000000e",
sys: {},
blocks: {
resultPoint: {
attr: null,
blockMeta: {},
rows: [{
pointName: "键盘",
pointNo: "00"
},
{
pointName: "鼠标",
pointNo: "01"
},
{
pointName: "显示器",
pointNo: "02"
}
],
rowCount: 3,
attrKeys: ""
}
},
status: 0,
defBlock: null,
defaultBlock: null,
displayMsgKey: "",
blockIds: "resultPoint",
methodParamObj: null,
globalParams: {},
globalUserId: "nameless",
attrKeys: "serviceType,__resProjectEname__,__resAppEname__,$$remote$$,methodName,soaInvokeProtocol,deviceCode,serviceName"
}</code></pre>
<h3>获取数据项</h3>
<h4>参数示例</h4>
<pre><code> EiInfo inInfo = new EiInfo();
inInfo.set("deviceCode", "820602L01");
inInfo.set("pointNo", "00");
inInfo.set(EiConstant.serviceName, "ALAH01");
inInfo.set(EiConstant.methodName, "getKpiByDeviceAndPoint");
inInfo = XLocalManager.call(inInfo);</code></pre>
<h4>返回示例</h4>
<pre><code>{
attr: {
serviceType: "",
__resProjectEname__: "iehmpms",
__resAppEname__: "pmsal",
$$remote$$: "false",
methodName: "getKpiByDeviceAndPoint",
soaInvokeProtocol: "local",
deviceCode: "820602L01",
serviceName: "ALAH01",
pointNo: "00"
},
name: null,
descName: null,
msg: "",
msgKey: "",
detailMsg: "",
traceId: "7f00000001116552705768880000001f",
sys: {},
blocks: {
resultKpi: {
attr: null,
blockMeta: {},
rows: [{
kpiDisplayName: "浓度",
collectKpiId: "WDG_MV_IN"
},
{
kpiDisplayName: "温度",
collectKpiId: "WDG_MV"
}
],
rowCount: 2,
attrKeys: ""
}
},
status: 0,
defBlock: null,
defaultBlock: null,
displayMsgKey: "",
blockIds: "resultKpi",
methodParamObj: null,
globalParams: {},
globalUserId: "171465",
attrKeys: "serviceType,__resProjectEname__,__resAppEname__,$$remote$$,methodName,soaInvokeProtocol,deviceCode,serviceName,pointNo"
}</code></pre>