- Add ConnectionParam.java to extract the connection parameters under ConnectedAP tag in the CID/SCD file while parsing it.

- Add the ConnectionParam to the ServerModel.java to be retrieved after parsing the CID/SCD file.
- Enhance the SclParser.java to parse the ConnectionParam under the ConnectedAP tag.
- Optimize imports in the SclParser.java
- Remove the unnecessary .toStrings in the SclParser.java
- Replace the If-else with switch case in the SclParser.java
- Edit SclParser.java to set current timestamp.
- Edit SclParser.java to let the Parsed CID/SCD (ServerModel) returns some attributes and Values that programmer may need after parsing.
- Let each returned LogicalDevice that returned from the ServerModel to return their LogicalNodes and some attributes after parsing.
- Let each returned LogicalNode that returned from the LogicalDevice that returned from the ServerModel to return their DataObjects and some attributes after parsing.
- Let FcDataObject returns some attributes after parsing.
- Let FcModelNode returns some attibutes after parsing.
pull/38/head
abdelaziz 2 years ago
parent 0eee857775
commit 261f2f03fe

4
.gitignore vendored

@ -1,7 +1,6 @@
# Gradle
.gradle/
build/
target/
gradle.properties
# IntelliJ IDEA
@ -15,6 +14,3 @@ out/
.metadata/
**/bin/main/
**/bin/test/
target/iec61850-0.0.1-SNAPSHOT.jar
target/maven-archiver
*.jar

@ -1,54 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.master</groupId>
<artifactId>protocol-converter</artifactId>
<version>1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>com.master</groupId>
<artifactId>iec61850</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>iec61850</name>
<description>IEC61850 library for MMS client and Server</description>
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>com.beanit</groupId>
<artifactId>iec61850bean</artifactId>
<version>1.9.0</version>
</dependency>
<dependency>
<groupId>com.beanit</groupId>
<artifactId>asn1bean</artifactId>
<version>1.13.0</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.32</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.8.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.tngtech.archunit</groupId>
<artifactId>archunit-junit</artifactId>
<version>0.8.3</version>
</dependency>
</dependencies>
</project>

@ -20,7 +20,7 @@ import org.w3c.dom.Node;
public final class EnumVal {
private final String id;
private final int ord;
private int ord;
public EnumVal(String id, int ord) {
this.id = id;

@ -33,7 +33,7 @@ public final class TConnection {
private final ServerThread serverThread;
public byte[] tSelRemote = null;
public byte[] tSelLocal = null;
private final int srcRef;
private int srcRef;
private int dstRef;
private int maxTPduSizeParam;
private int maxTPduSize;

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save