fix: 缩短paramindex属性只要后半段

iec104
huangfeng 1 year ago
parent 0d5e1d4b73
commit 7e1d79f60c

@ -58,4 +58,9 @@ public class IcdFileConfig {
.build();
instList.add(item);
}
public String buildParamIndex(IcdFileConfigInst inst) {
String param = iedName + ldeviceInst + "/" + lnClass + inst.getInst() + "$" + inst.getParamindex();
return param;
}
}

@ -53,7 +53,7 @@ public class IcdXmlUtil {
String dai = findLN_DOI_DAI(lnNode, doName);
String key = iedName + ldInst + "/" + lnClass + "/" + doName;
String param = iedName + ldInst + "/" + lnClass + lnInst + "$" + fc + "$" + doName + "$" + dai;
String param = fc + "$" + doName + "$" + dai;
if ("MX".equals(fc)) {
IcdFileConfig config = result.get(key);
if (config == null) {

Loading…
Cancel
Save