智维


数据异常报警

<p>[toc]</p> <h3>待处理</h3> <ul> <li>serviceName: <code>ALEH00</code></li> <li>methodName: <code>queryInit</code></li> <li> <p>返回块: <code>result</code></p> <h4>返回示例</h4> </li> </ul> <pre><code>factoryId 厂部id prodLineId 产线id areaId 第一级区域id factoryName 厂部名 prodLineName 产线名 areaName 区域名 deviceName 设备名 deviceCode 设备编码 持续时长 //待确认是否需要此字段 超时 //待确认是否需要此字段 pendTaskCount 未必环工单 pendAlertCount 待处理报警</code></pre> <pre><code>{ attr: { serviceType: "", __resProjectEname__: "iehmpms", __resAppEname__: "pmsal", $$remote$$: "false", methodName: "queryInit", soaInvokeProtocol: "local", serviceName: "ALEH00" }, name: null, descName: null, msg: "查询成功,本次查询返回10条记录!", msgKey: "ep.2000", detailMsg: "", traceId: "", sys: {}, blocks: { inqu_status: {}, result: { attr: {}, blockMeta: {}, rows: [{ pendAlertCount: 0, prodLineName: "炼钢二产线-dev", factoryId: 918825219, domainNamePath: "宝山基地-dev/炼钢厂-dev/炼钢二产线-dev/炼钢区域九-dev", factoryName: "炼钢厂-dev", deviceTypeName: "交流电机", deviceCode: "260507M01_002", deviceId: 714795668177, deviceName: "导入测试-8", domainPath: "348764527/918825219/683338853/706331327", prodLineId: 683338853, pendTaskCount: 0, areaId: 706331327, areaName: "炼钢区域九-dev" } ], rowCount: 10, attrKeys: "offset,count,limit" } }, status: 0, defBlock: null, defaultBlock: null, displayMsgKey: "EP-2000", blockIds: "inqu_status,result", methodParamObj: null, globalParams: {}, globalUserId: "nameless", attrKeys: "serviceType,__resProjectEname__,__resAppEname__,$$remote$$,methodName,soaInvokeProtocol,serviceName" }</code></pre> <h3>根据设备编码查询报警</h3> <ul> <li>serviceName: <code>queryAbAlertByDeviceCode</code></li> <li>methodName: <code>ALEH00</code></li> <li> <p>返回块: <code>result</code></p> <h4>参数示例</h4> </li> </ul> <pre><code> EiInfo inInfo = new EiInfo(); inInfo.set("deviceCode","M45329804"); 根据数据源查询 EiInfo inInfo = new EiInfo(); inInfo.set("deviceCode","M45329804"); inInfo.set("alertSource","11"); </code></pre> <h4>返回示例</h4> <pre><code>alertSource 报警来源下来列表数据源 result参数说明 dataId 报警id taskId 工单id deviceCode 报警设备编码 domains 设备所在域路径 alertSource 报警来源 ruleId 产生报警的规则Id checkSpecialty 检测专业 alertCount 报警次数 alertLevel 报警等级 firstTime 第一次报警时间 lastTime 最后一次报警时间 hasHang 是否挂起 0否 1是 默认为0 alertState 报警状态 0新产生 转硬件5, 转软件10, 已忽略25, 已处理15, 无问题20 alertMessage 报警消息 file 附件 recCreateTime 创建时间 recReviseTime 更新时间 </code></pre> <pre><code>{ attr: { serviceType: "", __resProjectEname__: "iehmpms", __resAppEname__: "pmsal", alertSource: [ "11" ], $$remote$$: "false", methodName: "queryAbAlertByDeviceCode", soaInvokeProtocol: "local", deviceCode: "M45329804", serviceName: "ALEH00" }, name: null, descName: null, msg: "查询成功,本次查询返回4条记录!", msgKey: "ep.2000", detailMsg: "", traceId: "", sys: {}, blocks: { inqu_status: {}, result: { attr: {}, blockMeta: {}, rows: [{ lastTime: null, alertMessage: null, alertSource: "11", recReviseTime: null, alertLevel: 111111, hasHang: 0, domains: "1", deviceCode: "M45329804", firstTime: null, checkSpecialty: "1111", file: null, alertCount: 11111, recCreateTime: null, alertId: "13", ruleId: "111", alertState: null, taskId: null }, {}, {}, {} ], rowCount: 4, attrKeys: "offset,count,limit" } }, status: 0, globalUserId: "171465", methodParamObj: null, defBlock: null, defaultBlock: null, displayMsgKey: "EP-2000", blockIds: "inqu_status,result", globalParams: {}, attrKeys: "serviceType,__resProjectEname__,__resAppEname__,alertSource,$$remote$$,methodName,soaInvokeProtocol,deviceCode,serviceName" }</code></pre> <h3>创建工单</h3> <ul> <li>serviceName: <code>ALEH00</code></li> <li>methodName: <code>submit</code></li> </ul> <h4>参数示例</h4> <pre><code>EiInfo inInfo = new EiInfo(); inInfo.set("taskType", "硬件排故");// 工单类型 硬件排故/软件排故 inInfo.set("alertState", "5");// 提交类型 转硬件5, 转软件10, 已忽略25, 已处理15, 无问题20 inInfo.set("alertIds", Arrays.asList("1", "4"));// 报警id数组 inInfo.set("alertMessage", "报警消息");// 报警消息 inInfo.set("remark", "建议/意见");// 建议/意见 inInfo.set("domains", "设备所在域路径");// 设备所在域路径 inInfo.set("deviceCode", "M45329856");// 报警设备编码 inInfo.set("deviceName", "报警设备名称");// 报警设备名称</code></pre> <h4>返回示例</h4> <pre><code>{ attr: { serviceType: "", alertMessage: "报警消息", __resAppEname__: "pmsal", $$remote$$: "false", domains: "设备所在域路径", methodName: "submit", remark: "建议/意见", soaInvokeProtocol: "local", deviceCode: "M45329856", serviceName: "ALEH00", deviceName: "报警设备名称", taskType: "硬件排故", __resProjectEname__: "iehmpms", alertIds: [ "1", "4" ], alertState: "5" }, name: null, descName: null, msg: "提交成功", msgKey: "", detailMsg: "", traceId: "7f000000011165349529621100000010", sys: {}, blocks: {}, status: 0, globalUserId: "171465", methodParamObj: null, defBlock: null, defaultBlock: null, displayMsgKey: "", blockIds: "", globalParams: {}, attrKeys: "serviceType,alertMessage,__resAppEname__,$$remote$$,domains,methodName,remark,soaInvokeProtocol,deviceCode,serviceName,deviceName,taskType,__resProjectEname__,alertIds,alertState" }</code></pre> <h3>忽略报警</h3> <ul> <li>serviceName: <code>ALEH00</code></li> <li>methodName: <code>submitIgn</code></li> </ul> <h4>参数示例</h4> <pre><code>EiInfo inInfo = new EiInfo(); inInfo.set("alertState", "25");// 提交类型 转硬件5, 转软件10, 已忽略25, 已处理15, 无问题20 inInfo.set("alertIds", Arrays.asList("14"));// 报警id数组 inInfo.set("ignRemark", "报警消息");// 忽略原因 inInfo.set("remark", "建议/意见");// 原因说明</code></pre> <h4>返回示例</h4> <pre><code>{ attr: { serviceType: "", __resAppEname__: "pmsal", $$remote$$: "false", methodName: "submitIgn", remark: "建议/意见", soaInvokeProtocol: "local", serviceName: "ALEH00", __resProjectEname__: "iehmpms", alertIds: [ "14" ], ignRemark: "报警消息", alertState: "25" }, name: null, descName: null, msg: "提交成功", msgKey: "", detailMsg: "", traceId: "7f00000001116534967598960000000e", sys: {}, blocks: {}, status: 0, defBlock: null, defaultBlock: null, displayMsgKey: "", blockIds: "", methodParamObj: null, globalParams: {}, globalUserId: "171465", attrKeys: "serviceType,__resAppEname__,$$remote$$,methodName,remark,soaInvokeProtocol,serviceName,__resProjectEname__,alertIds,ignRemark,alertState" } </code></pre>

页面列表

ITEM_HTML