Compare commits
56 Commits
Author | SHA1 | Date |
---|---|---|
![]() |
c5acb251b7 | 2 years ago |
![]() |
0d652ed0d0 | 2 years ago |
![]() |
0508da4073 | 2 years ago |
![]() |
6d8859f6f6 | 2 years ago |
![]() |
f9f34cde0c | 4 years ago |
![]() |
fa62271c46 | 4 years ago |
![]() |
cb903a3f61 | 4 years ago |
![]() |
77c7b009b4 | 5 years ago |
![]() |
e0770f03e6 | 5 years ago |
![]() |
ef06aea374 | 5 years ago |
![]() |
0afb4f56a1 | 5 years ago |
![]() |
eccb578588 | 5 years ago |
![]() |
1f01fcac02 | 5 years ago |
![]() |
05d75db9db | 5 years ago |
![]() |
cd11b7c9ff | 5 years ago |
![]() |
24cee0d77e | 5 years ago |
![]() |
fc8ec39ed9 | 5 years ago |
![]() |
fef09d40c8 | 5 years ago |
![]() |
48531ffd8d | 5 years ago |
![]() |
b3e45e0f16 | 5 years ago |
![]() |
69a1c96c04 | 5 years ago |
![]() |
792afe0ce8 | 5 years ago |
![]() |
6c89bb3639 | 5 years ago |
![]() |
49a6743e50 | 5 years ago |
![]() |
63db1782d1 | 5 years ago |
![]() |
667ae70c35 | 5 years ago |
![]() |
f416a33418 | 5 years ago |
![]() |
75ad0eb76c | 5 years ago |
![]() |
066a034c49 | 5 years ago |
![]() |
8e4a1b0f81 | 5 years ago |
![]() |
d7d87c6004 | 5 years ago |
![]() |
e37e072144 | 5 years ago |
![]() |
92705822d6 | 5 years ago |
![]() |
7552c59319 | 5 years ago |
![]() |
9b7e830559 | 5 years ago |
![]() |
983fbbddb4 | 5 years ago |
![]() |
9fc7d2376c | 5 years ago |
![]() |
fb6dded6c9 | 5 years ago |
![]() |
10dd18750a | 5 years ago |
![]() |
cbac75d770 | 5 years ago |
![]() |
42e855fce6 | 6 years ago |
![]() |
d1237d2e45 | 6 years ago |
![]() |
476bed5898 | 6 years ago |
![]() |
9d01e8b867 | 6 years ago |
![]() |
193e76209e | 6 years ago |
![]() |
c7c69b6294 | 6 years ago |
![]() |
7c4961db5f | 6 years ago |
![]() |
9aa85d1a90 | 6 years ago |
![]() |
5235f51e32 | 6 years ago |
![]() |
249b7c6dd9 | 6 years ago |
![]() |
7e9eb53e0f | 6 years ago |
![]() |
1cc94089f4 | 6 years ago |
![]() |
bbc98a065a | 6 years ago |
![]() |
d2c53aeb94 | 6 years ago |
![]() |
a3a11ed52c | 7 years ago |
![]() |
e8bb35fd02 | 7 years ago |
@ -1,4 +1,4 @@
|
||||
# OpenIEC61850
|
||||
OpenIEC61850 is a library implementing the IEC 61850 standard based on the MMS mapping for client and server communication.
|
||||
# IEC61850bean
|
||||
IEC61850bean (previously known as OpenIEC61850) is a library implementing the IEC 61850 standard based on the MMS mapping for client and server communication.
|
||||
|
||||
For detailed information on OpenIEC61850 visit https://www.beanit.com/iec-61850/. OpenIEC61850 has recently been moved from openmuc.org to beanit.com.
|
||||
For detailed information on IEC61850bean visit https://www.beanit.com/iec-61850/.
|
||||
|
@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd `dirname $0`
|
||||
|
||||
rm ../src/main/java-gen/com/beanit/josistack/internal/acse/asn1/*
|
||||
asn1bean-compiler -o "../src/main/java-gen/" -p "com.beanit.josistack.internal.acse" -f iso-acse-layer.asn -dv
|
||||
|
||||
rm ../src/main/java-gen/com/beanit/josistack/internal/presentation/asn1/*
|
||||
asn1bean-compiler -o "../src/main/java-gen/" -p "com.beanit.josistack.internal.presentation" -f iso-presentation-layer.asn -dv
|
||||
|
||||
rm -r ../src/main/java-gen/com/beanit/iec61850bean/internal/mms/asn1/*
|
||||
asn1bean-compiler -o "../src/main/java-gen" -p "com.beanit.iec61850bean.internal.mms" -f mms.asn -dv
|
@ -1,7 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd `dirname $0`
|
||||
|
||||
rm ../../src/main/java-gen/com/beanit/josistack/internal/acse/asn1/*
|
||||
|
||||
jasn1-compiler -o "../../src/main/java-gen/" -p "com.beanit.josistack.internal.acse" -f iso-acse-layer.asn -dv
|
@ -1,6 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd `dirname $0`
|
||||
|
||||
rm ../../src/main/java-gen/com/beanit/josistack/internal/presentation/asn1/*.java
|
||||
jasn1-compiler -o ../../src/main/java-gen/ -p com.beanit.josistack.internal.presentation -f iso-presentation-layer.asn -dv
|
@ -1,7 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd `dirname $0`
|
||||
|
||||
rm -r ../../src/main/java-gen/com/beanit/openiec61850/internal/mms/asn1/*
|
||||
|
||||
jasn1-compiler -o "../../src/main/java-gen" -p "com.beanit.openiec61850.internal.mms" -f mms.asn -dv
|
@ -1,5 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd `dirname $0`
|
||||
|
||||
find ../../ -iname "*.java" | xargs sed -i 's/import com\.beanit\.jasn1\.ber\.types\.BerBoolean/import com\.beanit\.openiec61850\.internal\.BerBoolean/g'
|
@ -0,0 +1,10 @@
|
||||
steps to follow:
|
||||
|
||||
1) compile classes by executing compile.sh
|
||||
|
||||
2) format everything using IntelliJ
|
||||
|
||||
3) execute replace-berboolean.sh (this step does not work if step 2
|
||||
is not executed)
|
||||
|
||||
4) again format everyting using IntelliJ
|
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd `dirname $0`
|
||||
|
||||
# replace BerBoolean from ASN1bean with special one for IEC 61850 so that true is coded as 0x01 instead of 0xff
|
||||
find ../ -iname "*.java" | xargs sed -i 's/import com\.beanit\.asn1bean\.ber\.types\.BerBoolean/import com\.beanit\.iec61850bean\.internal\.BerBoolean/g'
|
@ -1,20 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
JARS_LOCATION="../../build/libs-all"
|
||||
MAIN_CLASS="com.beanit.openiec61850.app.ConsoleClient"
|
||||
SYSPROPS=""
|
||||
PARAMS=""
|
||||
|
||||
SCRIPT_HOME=`dirname $0`
|
||||
|
||||
CLASSPATH=$(JARS=("$SCRIPT_HOME"/"$JARS_LOCATION"/*.jar); IFS=:; echo "${JARS[*]}")
|
||||
|
||||
for i in $@; do
|
||||
if [[ $i == -D* ]]; then
|
||||
SYSPROPS="$SYSPROPS $i";
|
||||
else
|
||||
PARAMS="$PARAMS $i";
|
||||
fi
|
||||
done
|
||||
|
||||
java $SYSPROPS -cp $CLASSPATH $MAIN_CLASS $PARAMS
|
@ -1,6 +0,0 @@
|
||||
::BATCH file for windows
|
||||
|
||||
set BATDIR=%~dp0
|
||||
set LIBDIR=%BATDIR%..\..\build\libs-all
|
||||
|
||||
java -Djava.ext.dirs=%LIBDIR% com.beanit.openiec61850.app.ConsoleClient %*
|
@ -1,6 +0,0 @@
|
||||
::BATCH file to windows
|
||||
|
||||
set BATDIR=%~dp0
|
||||
set LIBDIR=%BATDIR%..\..\build\libs-all
|
||||
|
||||
java -Dlogback.configurationFile=logback.xml -Djava.ext.dirs=%LIBDIR% com.beanit.openiec61850.app.ConsoleServer %*
|
@ -1,39 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
JARS_LOCATION="../../build/libs-all"
|
||||
MAIN_CLASS="com.beanit.openiec61850.clientgui.ClientGui"
|
||||
SYSPROPS=""
|
||||
PARAMS=""
|
||||
|
||||
# from gradle start script:
|
||||
# Attempt to set SCRIPT_HOME
|
||||
# Resolve links: $0 may be a link
|
||||
PRG="$0"
|
||||
# Need this for relative symlinks.
|
||||
while [ -h "$PRG" ] ; do
|
||||
ls=`ls -ld "$PRG"`
|
||||
link=`expr "$ls" : '.*-> \(.*\)$'`
|
||||
if expr "$link" : '/.*' > /dev/null; then
|
||||
PRG="$link"
|
||||
else
|
||||
PRG=`dirname "$PRG"`"/$link"
|
||||
fi
|
||||
done
|
||||
SAVED="`pwd`"
|
||||
cd "`dirname \"$PRG\"`/" >/dev/null
|
||||
SCRIPT_HOME="`pwd -P`"
|
||||
cd "$SAVED" >/dev/null
|
||||
|
||||
|
||||
CLASSPATH=$(JARS=("$SCRIPT_HOME"/"$JARS_LOCATION"/*.jar); IFS=:; echo "${JARS[*]}")
|
||||
|
||||
for i in $@; do
|
||||
if [[ $i == -D* ]]; then
|
||||
SYSPROPS="$SYSPROPS $i";
|
||||
else
|
||||
PARAMS="$PARAMS $i";
|
||||
fi
|
||||
done
|
||||
|
||||
java $SYSPROPS -cp $CLASSPATH $MAIN_CLASS $PARAMS
|
||||
|
@ -1,6 +0,0 @@
|
||||
::BATCH file to windows
|
||||
|
||||
set BATDIR=%~dp0
|
||||
set LIBDIR=%BATDIR%..\..\build\libs-all
|
||||
|
||||
java -Djava.ext.dirs=%LIBDIR% com.beanit.openiec61850.clientgui.ClientGui %*
|
@ -0,0 +1,38 @@
|
||||
#!/bin/bash
|
||||
|
||||
JARS_LOCATION="build/libs-all"
|
||||
MAIN_CLASS="com.beanit.iec61850bean.app.ConsoleClient"
|
||||
SYSPROPS=""
|
||||
PARAMS=""
|
||||
|
||||
# Attempt to set APP_HOME (from Gradle start script)
|
||||
# Resolve links: $0 may be a link
|
||||
PRG="$0"
|
||||
# Need this for relative symlinks.
|
||||
while [ -h "$PRG" ] ; do
|
||||
ls=`ls -ld "$PRG"`
|
||||
link=`expr "$ls" : '.*-> \(.*\)$'`
|
||||
if expr "$link" : '/.*' > /dev/null; then
|
||||
PRG="$link"
|
||||
else
|
||||
PRG=`dirname "$PRG"`"/$link"
|
||||
fi
|
||||
done
|
||||
SAVED="`pwd`"
|
||||
cd "`dirname \"$PRG\"`/.." >/dev/null
|
||||
APP_HOME="`pwd -P`"
|
||||
cd "$SAVED" >/dev/null
|
||||
|
||||
CLASSPATH=$(JARS=("$APP_HOME"/"$JARS_LOCATION"/*.jar); IFS=:; echo "${JARS[*]}")
|
||||
|
||||
PARAMS=( )
|
||||
SYSPROPS=( )
|
||||
for i in "$@"; do
|
||||
if [[ $i == -D* ]]; then
|
||||
SYSPROPS+=( "$i" )
|
||||
else
|
||||
PARAMS+=( "$i" )
|
||||
fi
|
||||
done
|
||||
|
||||
java "${SYSPROPS[@]}" -cp "$CLASSPATH" $MAIN_CLASS "${PARAMS[@]}"
|
@ -0,0 +1,7 @@
|
||||
::BATCH file to windows
|
||||
@echo off
|
||||
|
||||
set BATDIR=%~dp0
|
||||
set LIBDIR="%BATDIR%..\build\libs-all\*"
|
||||
|
||||
java -cp %LIBDIR% com.beanit.iec61850bean.app.ConsoleClient %*
|
@ -0,0 +1,8 @@
|
||||
::BATCH file to windows
|
||||
@echo off
|
||||
|
||||
set BATDIR=%~dp0
|
||||
set LIBDIR="%BATDIR%..\build\libs-all\*"
|
||||
|
||||
java -Dlogback.configurationFile=logback.xml -cp %LIBDIR% com.beanit.iec61850bean.app.ConsoleServer %*
|
||||
|
@ -0,0 +1,38 @@
|
||||
#!/bin/bash
|
||||
|
||||
JARS_LOCATION="build/libs-all"
|
||||
MAIN_CLASS="com.beanit.iec61850bean.clientgui.ClientGui"
|
||||
SYSPROPS=""
|
||||
PARAMS=""
|
||||
|
||||
# Attempt to set APP_HOME (from Gradle start script)
|
||||
# Resolve links: $0 may be a link
|
||||
PRG="$0"
|
||||
# Need this for relative symlinks.
|
||||
while [ -h "$PRG" ] ; do
|
||||
ls=`ls -ld "$PRG"`
|
||||
link=`expr "$ls" : '.*-> \(.*\)$'`
|
||||
if expr "$link" : '/.*' > /dev/null; then
|
||||
PRG="$link"
|
||||
else
|
||||
PRG=`dirname "$PRG"`"/$link"
|
||||
fi
|
||||
done
|
||||
SAVED="`pwd`"
|
||||
cd "`dirname \"$PRG\"`/.." >/dev/null
|
||||
APP_HOME="`pwd -P`"
|
||||
cd "$SAVED" >/dev/null
|
||||
|
||||
CLASSPATH=$(JARS=("$APP_HOME"/"$JARS_LOCATION"/*.jar); IFS=:; echo "${JARS[*]}")
|
||||
|
||||
PARAMS=( )
|
||||
SYSPROPS=( )
|
||||
for i in "$@"; do
|
||||
if [[ $i == -D* ]]; then
|
||||
SYSPROPS+=( "$i" )
|
||||
else
|
||||
PARAMS+=( "$i" )
|
||||
fi
|
||||
done
|
||||
|
||||
java "${SYSPROPS[@]}" -cp "$CLASSPATH" $MAIN_CLASS "${PARAMS[@]}"
|
@ -0,0 +1,7 @@
|
||||
::BATCH file to windows
|
||||
@echo off
|
||||
|
||||
set BATDIR=%~dp0
|
||||
set LIBDIR="%BATDIR%..\build\libs-all\*"
|
||||
|
||||
java -cp %LIBDIR% com.beanit.iec61850bean.clientgui.ClientGui %*
|
@ -1,219 +0,0 @@
|
||||
plugins {
|
||||
id("biz.aQute.bnd.builder") version "4.1.0"
|
||||
id("com.diffplug.gradle.spotless") version "3.19.0" apply false
|
||||
id("io.codearte.nexus-staging") version "0.20.0"
|
||||
}
|
||||
|
||||
apply from: "configuration.gradle"
|
||||
|
||||
configure(allprojects) {
|
||||
version = cfgVersion
|
||||
}
|
||||
|
||||
nexusStaging {
|
||||
packageGroup = cfgGroup
|
||||
username = cfgRepositoryUser
|
||||
password = cfgRepositoryPass
|
||||
stagingProfileId = cfgStagingProfileId
|
||||
}
|
||||
|
||||
configure(javaProjects) {
|
||||
|
||||
apply plugin: "java"
|
||||
apply plugin: "eclipse"
|
||||
apply plugin: "maven"
|
||||
apply plugin: "signing"
|
||||
apply plugin: "biz.aQute.bnd.builder"
|
||||
apply plugin: "com.diffplug.gradle.spotless"
|
||||
|
||||
uploadArchives.enabled = false
|
||||
|
||||
group = cfgGroup
|
||||
|
||||
if (!project.properties.containsKey('cfgJavaVersion')) {
|
||||
project.ext {
|
||||
cfgJavaVersion = '1.8'
|
||||
}
|
||||
}
|
||||
|
||||
sourceCompatibility = cfgJavaVersion
|
||||
targetCompatibility = cfgJavaVersion
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
mavenLocal()
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
itest {
|
||||
compileClasspath += sourceSets.main.runtimeClasspath
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
testCompile group: "junit", name: "junit", version: "4.12"
|
||||
itestCompile group: "junit", name: "junit", version: "4.12"
|
||||
}
|
||||
|
||||
jar {
|
||||
manifest {
|
||||
version = project.version.replace("-", ".")
|
||||
}
|
||||
}
|
||||
|
||||
spotless {
|
||||
java {
|
||||
googleJavaFormat()
|
||||
}
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile) {
|
||||
doFirst {
|
||||
if (sourceCompatibility == '1.7' && System.env.JDK7_HOME != null) {
|
||||
options.fork = true
|
||||
options.bootstrapClasspath = files("$System.env.JDK7_HOME/jre/lib/rt.jar")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
task jarAll(type: Copy) {
|
||||
dependsOn(configurations.default.getAllArtifacts().getBuildDependencies())
|
||||
|
||||
//only the jar file created:
|
||||
from configurations.default.getAllArtifacts().getFiles()
|
||||
if (cfgCopyDependencies) {
|
||||
if (cfgCopyToRoot) {
|
||||
into rootDir.getPath() + "/build/libs-all"
|
||||
} else {
|
||||
into "build/libs-all"
|
||||
}
|
||||
//includes all the dependencies:
|
||||
from configurations.default
|
||||
} else {
|
||||
if (cfgCopyToRoot) {
|
||||
into rootDir.getPath() + "/build/libs-all"
|
||||
} else {
|
||||
into "build/libs-all"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
build.dependsOn { jarAll }
|
||||
|
||||
eclipse.pathVariables([GRADLE_USER_HOME: file(gradle.gradleUserHomeDir)])
|
||||
tasks.eclipse.dependsOn(cleanEclipse)
|
||||
|
||||
|
||||
task sourcesJar(type: Jar, dependsOn: classes) {
|
||||
classifier = "sources"
|
||||
from sourceSets.main.allSource
|
||||
}
|
||||
|
||||
task javadocJar(type: Jar, dependsOn: javadoc) {
|
||||
classifier = "javadoc"
|
||||
from javadoc.destinationDir
|
||||
}
|
||||
|
||||
artifacts {
|
||||
archives sourcesJar
|
||||
archives javadocJar
|
||||
}
|
||||
|
||||
javadoc {
|
||||
exclude "**/internal/**"
|
||||
exclude "**/java-gen/**"
|
||||
exclude "**/app/**"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
configure(repositoryProjects) {
|
||||
|
||||
uploadArchives.enabled = true
|
||||
|
||||
if (cfgSignPom) {
|
||||
signing {
|
||||
if (project.hasProperty("signing.keyId")) {
|
||||
sign configurations.archives
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
uploadArchives {
|
||||
repositories {
|
||||
mavenDeployer {
|
||||
|
||||
if (cfgSignPom) {
|
||||
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
|
||||
}
|
||||
|
||||
repository(url: cfgRepository) {
|
||||
authentication(userName: cfgRepositoryUser, password: cfgRepositoryPass)
|
||||
if (cfgRepository != null && System.getProperty("https.proxyHost") != null && ((System.getProperty("https.nonProxyHosts") == null) || !cfgRepository.contains(System.getProperty("https.nonProxyHosts")))) {
|
||||
proxy(host: System.getProperty("https.proxyHost"), port: Integer.parseInt(System.getProperty("https.proxyPort")), type: "https")
|
||||
}
|
||||
}
|
||||
snapshotRepository(url: cfgSnapshotRepository) {
|
||||
authentication(userName: cfgRepositoryUser, password: cfgRepositoryPass)
|
||||
if (cfgSnapshotRepository != null && System.getProperty("https.proxyHost") != null && ((System.getProperty("https.nonProxyHosts") == null) || !cfgSnapshotRepository.contains(System.getProperty("https.nonProxyHosts")))) {
|
||||
proxy(host: System.getProperty("https.proxyHost"), port: Integer.parseInt(System.getProperty("https.proxyPort")), type: "https")
|
||||
}
|
||||
}
|
||||
|
||||
pom.project {
|
||||
//additional pom information can be found in subproject build.gradle files
|
||||
|
||||
packaging "jar"
|
||||
url "http://www.beanit.com/"
|
||||
|
||||
scm {
|
||||
url "none"
|
||||
connection "none"
|
||||
}
|
||||
|
||||
developers {
|
||||
developer {
|
||||
id "beanit"
|
||||
name "Beanit GmbH"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
task javadocAll(type: Javadoc) {
|
||||
|
||||
source docProjects.collect {
|
||||
project -> project.sourceSets.main.allJava
|
||||
}
|
||||
|
||||
exclude "**/internal/**"
|
||||
exclude "**/java-gen/**"
|
||||
exclude "**/app/**"
|
||||
|
||||
destinationDir = new File(buildDir, "docs/javadoc-all")
|
||||
|
||||
classpath = files(distributionProjects.collect { project ->
|
||||
project.sourceSets.main.compileClasspath
|
||||
})
|
||||
|
||||
classpath += files(distributionProjects.collect { project ->
|
||||
project.sourceSets.main.output
|
||||
})
|
||||
}
|
||||
|
||||
tasks.withType(Tar) {
|
||||
dependsOn(distributionProjects.build)
|
||||
dependsOn(javadocAll)
|
||||
|
||||
compression = Compression.GZIP
|
||||
|
||||
destinationDir = file("build/distributions/")
|
||||
}
|
||||
|
||||
task(tar, type: Tar) {
|
||||
archiveName = project.name + "-" + project.version + ".tgz"
|
||||
}
|
||||
|
@ -0,0 +1,317 @@
|
||||
import net.ltgt.gradle.errorprone.errorprone
|
||||
|
||||
plugins {
|
||||
`java-library`
|
||||
`maven-publish`
|
||||
signing
|
||||
eclipse
|
||||
id("biz.aQute.bnd.builder") version "5.1.1"
|
||||
id("com.diffplug.spotless") version "5.9.0"
|
||||
id("io.codearte.nexus-staging") version "0.22.0"
|
||||
id("net.ltgt.errorprone") version "1.3.0"
|
||||
}
|
||||
|
||||
var cfgJavaVersion = JavaVersion.VERSION_1_8
|
||||
|
||||
val sonatypeRepository: String? by project
|
||||
val sonatypeSnapshotRepository: String? by project
|
||||
val sonatypeUser: String? by project
|
||||
val sonatypePass: String? by project
|
||||
val sonatypeStagingProfileId: String? by project
|
||||
|
||||
//----------- project specific configuration start --------------------
|
||||
|
||||
val cfgVersion = "1.9.1-SNAPSHOT"
|
||||
val cfgGroup = "com.beanit"
|
||||
val cfgCopyToRoot = false
|
||||
val cfgSignPom = true
|
||||
val cfgRepository: String? = sonatypeRepository
|
||||
val cfgSnapshotRepository: String? = sonatypeSnapshotRepository
|
||||
val cfgRepositoryUser: String? = sonatypeUser
|
||||
val cfgRepositoryPass: String? = sonatypePass
|
||||
val cfgStagingProfileId: String? = sonatypeStagingProfileId
|
||||
val javaProjects: Set<Project> = allprojects
|
||||
val distributionProjects = javaProjects
|
||||
val docProjects = javaProjects
|
||||
val repositoryProjects = javaProjects
|
||||
val cfgModuleName = "com.beanit.iec61850bean"
|
||||
|
||||
tasks.register<Tar>("tar") {
|
||||
into(project.name) {
|
||||
from("./") {
|
||||
include("build.gradle.kts")
|
||||
include("LICENSE.txt")
|
||||
include("doc/**")
|
||||
include("bin/**")
|
||||
exclude("bin/main/")
|
||||
exclude("bin/test/")
|
||||
include("gradle/wrapper/**")
|
||||
include("gradlew")
|
||||
include("gradlew.bat")
|
||||
include("build/libs-all/**")
|
||||
include("src/**")
|
||||
|
||||
include("asn1/**")
|
||||
}
|
||||
}
|
||||
|
||||
into(project.name + "/doc/") {
|
||||
from("./build/docs/") {
|
||||
include("javadoc/**")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//-----java root project configurations
|
||||
|
||||
dependencies {
|
||||
implementation("com.beanit:asn1bean:1.12.0")
|
||||
implementation("org.slf4j:slf4j-api:1.7.25")
|
||||
runtimeOnly("ch.qos.logback:logback-classic:1.2.3")
|
||||
}
|
||||
|
||||
project.extra["cfgModuleName"] = "com.beanit.iec61850bean"
|
||||
|
||||
tasks["jar"].withConvention(aQute.bnd.gradle.BundleTaskConvention::class) {
|
||||
bnd("""
|
||||
Bundle-Name: IEC61850bean
|
||||
Bundle-SymbolicName: ${project.extra["cfgModuleName"]}
|
||||
-exportcontents: !*.internal.*,*
|
||||
Import-Package: com.beanit.asn1bean.*,javax.net,*;resolution:=optional
|
||||
""")
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
java {
|
||||
setSrcDirs(listOf("src/main/java", "src/main/java-gen"))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
maybeCreate<MavenPublication>("mavenJava").pom {
|
||||
name.set("IEC61850bean")
|
||||
description.set("IEC61850bean is a Java library implementing the IEC 61850 MMS communication standard for clients and servers.")
|
||||
|
||||
licenses {
|
||||
license {
|
||||
name.set("The Apache License, Version 2.0")
|
||||
url.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//----------- project specific configuration end ---------------------
|
||||
|
||||
|
||||
configure(allprojects) {
|
||||
version = cfgVersion
|
||||
group = cfgGroup
|
||||
}
|
||||
|
||||
nexusStaging {
|
||||
packageGroup = cfgGroup
|
||||
username = cfgRepositoryUser
|
||||
password = cfgRepositoryPass
|
||||
stagingProfileId = cfgStagingProfileId
|
||||
}
|
||||
|
||||
configure(javaProjects) {
|
||||
|
||||
apply(plugin = "java-library")
|
||||
apply(plugin = "maven-publish")
|
||||
apply(plugin = "signing")
|
||||
apply(plugin = "eclipse")
|
||||
apply(plugin = "biz.aQute.bnd.builder")
|
||||
apply(plugin = "com.diffplug.spotless")
|
||||
apply(plugin = "net.ltgt.errorprone")
|
||||
|
||||
tasks.publish {
|
||||
enabled = false
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
java {
|
||||
sourceCompatibility = cfgJavaVersion
|
||||
targetCompatibility = cfgJavaVersion
|
||||
withSourcesJar()
|
||||
withJavadocJar()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
testImplementation("org.junit.jupiter:junit-jupiter:5.7.0")
|
||||
testImplementation("com.tngtech.archunit:archunit-junit5:0.15.0")
|
||||
errorprone("com.google.errorprone:error_prone_core:2.5.1")
|
||||
}
|
||||
|
||||
tasks.test {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
tasks.withType<JavaCompile>().configureEach {
|
||||
options.errorprone.excludedPaths.set(".*java-gen.*")
|
||||
if (!JavaVersion.current().isJava9Compatible) {
|
||||
options.errorprone.isEnabled.set(false)
|
||||
}
|
||||
}
|
||||
|
||||
afterEvaluate {
|
||||
tasks.jar {
|
||||
manifest {
|
||||
attributes["Automatic-Module-Name"] = project.extra["cfgModuleName"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
spotless {
|
||||
java {
|
||||
googleJavaFormat()
|
||||
}
|
||||
}
|
||||
|
||||
tasks.register<Copy>("jarAll") {
|
||||
from(configurations.runtimeClasspath) // all runtime dependencies
|
||||
from(tasks.jar) // the jar file created
|
||||
if (cfgCopyToRoot) {
|
||||
into(rootDir.path + "/build/libs-all")
|
||||
} else {
|
||||
into("build/libs-all")
|
||||
}
|
||||
}
|
||||
|
||||
tasks.build {
|
||||
dependsOn("jarAll")
|
||||
}
|
||||
|
||||
eclipse.pathVariables(mapOf("GRADLE_USER_HOME" to file(gradle.gradleUserHomeDir)))
|
||||
tasks.eclipse { dependsOn(tasks.cleanEclipse) }
|
||||
|
||||
tasks.javadoc {
|
||||
exclude("**/internal/**")
|
||||
exclude("**/java-gen/**")
|
||||
exclude("**/app/**")
|
||||
|
||||
//linking Javadoc in version prior 9 does not work well because Javadoc uses html frames.
|
||||
if (cfgJavaVersion.isJava9Compatible) {
|
||||
if (cfgJavaVersion.isJava11Compatible) {
|
||||
(options as StandardJavadocDocletOptions).links?.add("https://docs.oracle.com/en/java/javase/${cfgJavaVersion.majorVersion}/docs/api/")
|
||||
} else {
|
||||
(options as StandardJavadocDocletOptions).links?.add("https://docs.oracle.com/javase/${cfgJavaVersion.majorVersion}/docs/api/")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
configure(repositoryProjects) {
|
||||
tasks.publish {
|
||||
enabled = true
|
||||
}
|
||||
}
|
||||
|
||||
configure(repositoryProjects) {
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
val mvnPublication: MavenPublication = maybeCreate<MavenPublication>("mavenJava")
|
||||
mvnPublication.from(components["java"])
|
||||
mvnPublication.versionMapping {
|
||||
usage("java-api") {
|
||||
fromResolutionOf("runtimeClasspath")
|
||||
}
|
||||
usage("java-runtime") {
|
||||
fromResolutionResult()
|
||||
}
|
||||
}
|
||||
mvnPublication.pom {
|
||||
url.set("http://www.beanit.com/")
|
||||
|
||||
developers {
|
||||
developer {
|
||||
id.set("beanit")
|
||||
name.set("Beanit GmbH")
|
||||
}
|
||||
}
|
||||
scm {
|
||||
connection.set("none")
|
||||
url.set("none")
|
||||
}
|
||||
}
|
||||
}
|
||||
repositories {
|
||||
maven {
|
||||
val releasesRepoUrl = uri(cfgRepository ?: "")
|
||||
val snapshotsRepoUrl = uri(cfgSnapshotRepository ?: "")
|
||||
// val releasesRepoUrl = uri("$buildDir/repos/releases")
|
||||
// val snapshotsRepoUrl = uri("$buildDir/repos/snapshots")
|
||||
url = if (version.toString().endsWith("SNAPSHOT")) snapshotsRepoUrl else releasesRepoUrl
|
||||
credentials {
|
||||
username = cfgRepositoryUser
|
||||
password = cfgRepositoryPass
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (cfgSignPom) {
|
||||
signing {
|
||||
sign(publishing.publications["mavenJava"])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
tasks.register<Javadoc>("javadocAll") {
|
||||
|
||||
source(docProjects.map { project ->
|
||||
project.sourceSets["main"].allJava
|
||||
})
|
||||
|
||||
exclude("**/internal/**")
|
||||
exclude("**/java-gen/**")
|
||||
exclude("**/app/**")
|
||||
|
||||
setDestinationDir(File(buildDir, "docs/javadoc-all"))
|
||||
|
||||
classpath = files(distributionProjects.map { project ->
|
||||
project.sourceSets["main"].compileClasspath
|
||||
})
|
||||
|
||||
classpath += files(distributionProjects.map { project ->
|
||||
project.sourceSets["main"].output
|
||||
})
|
||||
|
||||
//linking Javadoc in version prior 9 does not work well because Javadoc uses html frames.
|
||||
if (cfgJavaVersion.isJava9Compatible) {
|
||||
if (cfgJavaVersion.isJava11Compatible) {
|
||||
(options as StandardJavadocDocletOptions).links?.add("https://docs.oracle.com/en/java/javase/${cfgJavaVersion.majorVersion}/docs/api/")
|
||||
} else {
|
||||
(options as StandardJavadocDocletOptions).links?.add("https://docs.oracle.com/javase/${cfgJavaVersion.majorVersion}/docs/api/")
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
tasks.named<Tar>("tar") {
|
||||
archiveFileName.set(project.name + "-" + project.version + ".tgz")
|
||||
|
||||
dependsOn(distributionProjects.map { "${it.path}:build" })
|
||||
distributionProjects.forEach {
|
||||
println("project: "
|
||||
+ it.path)
|
||||
}
|
||||
dependsOn(tasks.named("javadocAll"))
|
||||
|
||||
compression = Compression.GZIP
|
||||
|
||||
destinationDirectory.set(File("build/distributions/"))
|
||||
}
|
@ -1,110 +0,0 @@
|
||||
project.ext {
|
||||
|
||||
cfgVersion = "1.8.0"
|
||||
|
||||
cfgGroup = "com.beanit"
|
||||
|
||||
cfgCopyDependencies = true
|
||||
|
||||
cfgCopyToRoot = false
|
||||
|
||||
cfgSignPom = true
|
||||
|
||||
cfgJavaVersion = "1.7"
|
||||
|
||||
cfgRepository = project.properties.sonatypeRepository
|
||||
|
||||
cfgSnapshotRepository = project.properties.sonatypeSnapshotRepository
|
||||
|
||||
cfgRepositoryUser = project.properties.sonatypeUser
|
||||
|
||||
cfgRepositoryPass = project.properties.sonatypePass
|
||||
|
||||
cfgStagingProfileId = project.properties.sonatypeStagingProfileId
|
||||
|
||||
javaProjects = allprojects
|
||||
|
||||
distributionProjects = javaProjects
|
||||
|
||||
docProjects = javaProjects
|
||||
|
||||
repositoryProjects = javaProjects
|
||||
}
|
||||
|
||||
tasks.withType(Tar) {
|
||||
|
||||
into(project.name) {
|
||||
from("./") {
|
||||
include "build.gradle"
|
||||
include "configuration.gradle"
|
||||
include "settings.gradle"
|
||||
include "LICENSE.txt"
|
||||
include "doc/**"
|
||||
include "bin/**"
|
||||
include "gradle/wrapper/**"
|
||||
include "gradlew"
|
||||
include "gradlew.bat"
|
||||
include "build/libs-all/**"
|
||||
include "src/**"
|
||||
|
||||
include "asn1/**"
|
||||
}
|
||||
}
|
||||
|
||||
into(project.name + "/doc/") {
|
||||
from("./build/docs/") {
|
||||
include "javadoc/**"
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
//------------------project specific configurations--------------------
|
||||
|
||||
apply plugin: "java"
|
||||
apply plugin: "eclipse"
|
||||
apply plugin: "maven"
|
||||
apply plugin: "signing"
|
||||
|
||||
def projectName = "OpenIEC61850"
|
||||
|
||||
dependencies {
|
||||
compile group: "org.slf4j", name: "slf4j-api", version: "1.7.25"
|
||||
compile group: "com.beanit", name: "jasn1", version: "1.11.0"
|
||||
compile group: "ch.qos.logback", name: "logback-classic", version: "1.2.3"
|
||||
compile group: "com.toedter", name: "jcalendar", version: "1.4"
|
||||
}
|
||||
|
||||
jar {
|
||||
bnd("Bundle-Name": "OpenIEC61850",
|
||||
"Bundle-SymbolicName": "com.beanit.openiec61850",
|
||||
"-exportcontents": "!*.internal.*,*",
|
||||
"Import-Package": "com.beanit.jasn1.*,javax.net,*;resolution:=optional")
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
java.srcDirs = ["src/main/java", "src/main/java-gen"]
|
||||
}
|
||||
}
|
||||
|
||||
uploadArchives {
|
||||
repositories {
|
||||
mavenDeployer {
|
||||
pom.project {
|
||||
name "OpenIEC61850"
|
||||
description "OpenIEC61850 is a Java library implementing the IEC 61850 MMS communication standard for clients and servers."
|
||||
|
||||
licenses {
|
||||
license {
|
||||
name "Apache License, Version 2.0"
|
||||
url "http://www.apache.org/licenses/LICENSE-2.0"
|
||||
distribution "repo"
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-5.2.1-all.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
|
@ -0,0 +1,5 @@
|
||||
#Tue Jun 30 15:11:36 CEST 2020
|
||||
tselLocal=0,0
|
||||
serverAddress=127.0.0.1
|
||||
tselRemote=0,1
|
||||
serverPort=10002
|
@ -1,7 +1,10 @@
|
||||
/** This class file was automatically generated by jASN1 (http://www.beanit.com) */
|
||||
package com.beanit.openiec61850.internal.mms.asn1;
|
||||
/*
|
||||
* This class file was automatically generated by ASN1bean (http://www.beanit.com)
|
||||
*/
|
||||
|
||||
import com.beanit.jasn1.ber.types.string.BerVisibleString;
|
||||
package com.beanit.iec61850bean.internal.mms.asn1;
|
||||
|
||||
import com.beanit.asn1bean.ber.types.string.BerVisibleString;
|
||||
|
||||
public class BasicIdentifier extends BerVisibleString {
|
||||
|
@ -1,7 +1,10 @@
|
||||
/** This class file was automatically generated by jASN1 (http://www.beanit.com) */
|
||||
package com.beanit.openiec61850.internal.mms.asn1;
|
||||
/*
|
||||
* This class file was automatically generated by ASN1bean (http://www.beanit.com)
|
||||
*/
|
||||
|
||||
import com.beanit.jasn1.ber.types.BerNull;
|
||||
package com.beanit.iec61850bean.internal.mms.asn1;
|
||||
|
||||
import com.beanit.asn1bean.ber.types.BerNull;
|
||||
|
||||
public class ConcludeRequestPDU extends BerNull {
|
||||
|
@ -1,7 +1,10 @@
|
||||
/** This class file was automatically generated by jASN1 (http://www.beanit.com) */
|
||||
package com.beanit.openiec61850.internal.mms.asn1;
|
||||
/*
|
||||
* This class file was automatically generated by ASN1bean (http://www.beanit.com)
|
||||
*/
|
||||
|
||||
import com.beanit.jasn1.ber.types.BerInteger;
|
||||
package com.beanit.iec61850bean.internal.mms.asn1;
|
||||
|
||||
import com.beanit.asn1bean.ber.types.BerInteger;
|
||||
import java.math.BigInteger;
|
||||
|
||||
public class DataAccessError extends BerInteger {
|
@ -1,7 +1,10 @@
|
||||
/** This class file was automatically generated by jASN1 (http://www.beanit.com) */
|
||||
package com.beanit.openiec61850.internal.mms.asn1;
|
||||
/*
|
||||
* This class file was automatically generated by ASN1bean (http://www.beanit.com)
|
||||
*/
|
||||
|
||||
import com.beanit.jasn1.ber.types.BerNull;
|
||||
package com.beanit.iec61850bean.internal.mms.asn1;
|
||||
|
||||
import com.beanit.asn1bean.ber.types.BerNull;
|
||||
|
||||
public class DefineNamedVariableListResponse extends BerNull {
|
||||
|
@ -1,5 +1,8 @@
|
||||
/** This class file was automatically generated by jASN1 (http://www.beanit.com) */
|
||||
package com.beanit.openiec61850.internal.mms.asn1;
|
||||
/*
|
||||
* This class file was automatically generated by ASN1bean (http://www.beanit.com)
|
||||
*/
|
||||
|
||||
package com.beanit.iec61850bean.internal.mms.asn1;
|
||||
|
||||
import java.math.BigInteger;
|
||||
|
@ -1,7 +1,10 @@
|
||||
/** This class file was automatically generated by jASN1 (http://www.beanit.com) */
|
||||
package com.beanit.openiec61850.internal.mms.asn1;
|
||||
/*
|
||||
* This class file was automatically generated by ASN1bean (http://www.beanit.com)
|
||||
*/
|
||||
|
||||
import com.beanit.jasn1.ber.types.BerNull;
|
||||
package com.beanit.iec61850bean.internal.mms.asn1;
|
||||
|
||||
import com.beanit.asn1bean.ber.types.BerNull;
|
||||
|
||||
public class FileCloseResponse extends BerNull {
|
||||
|
@ -1,5 +1,8 @@
|
||||
/** This class file was automatically generated by jASN1 (http://www.beanit.com) */
|
||||
package com.beanit.openiec61850.internal.mms.asn1;
|
||||
/*
|
||||
* This class file was automatically generated by ASN1bean (http://www.beanit.com)
|
||||
*/
|
||||
|
||||
package com.beanit.iec61850bean.internal.mms.asn1;
|
||||
|
||||
public class FileDeleteRequest extends FileName {
|
||||
|
@ -1,7 +1,10 @@
|
||||
/** This class file was automatically generated by jASN1 (http://www.beanit.com) */
|
||||
package com.beanit.openiec61850.internal.mms.asn1;
|
||||
/*
|
||||
* This class file was automatically generated by ASN1bean (http://www.beanit.com)
|
||||
*/
|
||||
|
||||
import com.beanit.jasn1.ber.types.BerNull;
|
||||
package com.beanit.iec61850bean.internal.mms.asn1;
|
||||
|
||||
import com.beanit.asn1bean.ber.types.BerNull;
|
||||
|
||||
public class FileDeleteResponse extends BerNull {
|
||||
|
@ -1,5 +1,8 @@
|
||||
/** This class file was automatically generated by jASN1 (http://www.beanit.com) */
|
||||
package com.beanit.openiec61850.internal.mms.asn1;
|
||||
/*
|
||||
* This class file was automatically generated by ASN1bean (http://www.beanit.com)
|
||||
*/
|
||||
|
||||
package com.beanit.iec61850bean.internal.mms.asn1;
|
||||
|
||||
import java.math.BigInteger;
|
||||
|
@ -1,7 +1,10 @@
|
||||
/** This class file was automatically generated by jASN1 (http://www.beanit.com) */
|
||||
package com.beanit.openiec61850.internal.mms.asn1;
|
||||
/*
|
||||
* This class file was automatically generated by ASN1bean (http://www.beanit.com)
|
||||
*/
|
||||
|
||||
import com.beanit.jasn1.ber.types.BerOctetString;
|
||||
package com.beanit.iec61850bean.internal.mms.asn1;
|
||||
|
||||
import com.beanit.asn1bean.ber.types.BerOctetString;
|
||||
|
||||
public class FloatingPoint extends BerOctetString {
|
||||
|
@ -1,5 +1,8 @@
|
||||
/** This class file was automatically generated by jASN1 (http://www.beanit.com) */
|
||||
package com.beanit.openiec61850.internal.mms.asn1;
|
||||
/*
|
||||
* This class file was automatically generated by ASN1bean (http://www.beanit.com)
|
||||
*/
|
||||
|
||||
package com.beanit.iec61850bean.internal.mms.asn1;
|
||||
|
||||
public class GetNamedVariableListAttributesRequest extends ObjectName {
|
||||
|
@ -0,0 +1,18 @@
|
||||
/*
|
||||
* This class file was automatically generated by ASN1bean (http://www.beanit.com)
|
||||
*/
|
||||
|
||||
package com.beanit.iec61850bean.internal.mms.asn1;
|
||||
|
||||
import com.beanit.asn1bean.ber.types.string.BerVisibleString;
|
||||
|
||||
public class Identifier extends BerVisibleString {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public Identifier() {}
|
||||
|
||||
public Identifier(byte[] value) {
|
||||
super(value);
|
||||
}
|
||||
}
|
@ -1,5 +1,8 @@
|
||||
/** This class file was automatically generated by jASN1 (http://www.beanit.com) */
|
||||
package com.beanit.openiec61850.internal.mms.asn1;
|
||||
/*
|
||||
* This class file was automatically generated by ASN1bean (http://www.beanit.com)
|
||||
*/
|
||||
|
||||
package com.beanit.iec61850bean.internal.mms.asn1;
|
||||
|
||||
public class InitiateErrorPDU extends ServiceError {
|
||||
|
@ -1,7 +1,10 @@
|
||||
/** This class file was automatically generated by jASN1 (http://www.beanit.com) */
|
||||
package com.beanit.openiec61850.internal.mms.asn1;
|
||||
/*
|
||||
* This class file was automatically generated by ASN1bean (http://www.beanit.com)
|
||||
*/
|
||||
|
||||
import com.beanit.jasn1.ber.types.BerInteger;
|
||||
package com.beanit.iec61850bean.internal.mms.asn1;
|
||||
|
||||
import com.beanit.asn1bean.ber.types.BerInteger;
|
||||
import java.math.BigInteger;
|
||||
|
||||
public class Integer16 extends BerInteger {
|
@ -1,7 +1,10 @@
|
||||
/** This class file was automatically generated by jASN1 (http://www.beanit.com) */
|
||||
package com.beanit.openiec61850.internal.mms.asn1;
|
||||
/*
|
||||
* This class file was automatically generated by ASN1bean (http://www.beanit.com)
|
||||
*/
|
||||
|
||||
import com.beanit.jasn1.ber.types.BerInteger;
|
||||
package com.beanit.iec61850bean.internal.mms.asn1;
|
||||
|
||||
import com.beanit.asn1bean.ber.types.BerInteger;
|
||||
import java.math.BigInteger;
|
||||
|
||||
public class Integer32 extends BerInteger {
|
@ -1,7 +1,10 @@
|
||||
/** This class file was automatically generated by jASN1 (http://www.beanit.com) */
|
||||
package com.beanit.openiec61850.internal.mms.asn1;
|
||||
/*
|
||||
* This class file was automatically generated by ASN1bean (http://www.beanit.com)
|
||||
*/
|
||||
|
||||
import com.beanit.jasn1.ber.types.BerInteger;
|
||||
package com.beanit.iec61850bean.internal.mms.asn1;
|
||||
|
||||
import com.beanit.asn1bean.ber.types.BerInteger;
|
||||
import java.math.BigInteger;
|
||||
|
||||
public class Integer8 extends BerInteger {
|
@ -0,0 +1,18 @@
|
||||
/*
|
||||
* This class file was automatically generated by ASN1bean (http://www.beanit.com)
|
||||
*/
|
||||
|
||||
package com.beanit.iec61850bean.internal.mms.asn1;
|
||||
|
||||
import com.beanit.asn1bean.ber.types.string.BerVisibleString;
|
||||
|
||||
public class MMSString extends BerVisibleString {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public MMSString() {}
|
||||
|
||||
public MMSString(byte[] value) {
|
||||
super(value);
|
||||
}
|
||||
}
|
@ -1,7 +1,10 @@
|
||||
/** This class file was automatically generated by jASN1 (http://www.beanit.com) */
|
||||
package com.beanit.openiec61850.internal.mms.asn1;
|
||||
/*
|
||||
* This class file was automatically generated by ASN1bean (http://www.beanit.com)
|
||||
*/
|
||||
|
||||
import com.beanit.jasn1.ber.types.BerBitString;
|
||||
package com.beanit.iec61850bean.internal.mms.asn1;
|
||||
|
||||
import com.beanit.asn1bean.ber.types.BerBitString;
|
||||
|
||||
public class ParameterSupportOptions extends BerBitString {
|
||||
|
@ -1,7 +1,10 @@
|
||||
/** This class file was automatically generated by jASN1 (http://www.beanit.com) */
|
||||
package com.beanit.openiec61850.internal.mms.asn1;
|
||||
/*
|
||||
* This class file was automatically generated by ASN1bean (http://www.beanit.com)
|
||||
*/
|
||||
|
||||
import com.beanit.jasn1.ber.types.BerBitString;
|
||||
package com.beanit.iec61850bean.internal.mms.asn1;
|
||||
|
||||
import com.beanit.asn1bean.ber.types.BerBitString;
|
||||
|
||||
public class ServiceSupportOptions extends BerBitString {
|
||||
|
@ -0,0 +1,18 @@
|
||||
/*
|
||||
* This class file was automatically generated by ASN1bean (http://www.beanit.com)
|
||||
*/
|
||||
|
||||
package com.beanit.iec61850bean.internal.mms.asn1;
|
||||
|
||||
import com.beanit.asn1bean.ber.types.BerOctetString;
|
||||
|
||||
public class TimeOfDay extends BerOctetString {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public TimeOfDay() {}
|
||||
|
||||
public TimeOfDay(byte[] value) {
|
||||
super(value);
|
||||
}
|
||||
}
|
@ -1,7 +1,10 @@
|
||||
/** This class file was automatically generated by jASN1 (http://www.beanit.com) */
|
||||
package com.beanit.openiec61850.internal.mms.asn1;
|
||||
/*
|
||||
* This class file was automatically generated by ASN1bean (http://www.beanit.com)
|
||||
*/
|
||||
|
||||
import com.beanit.jasn1.ber.types.BerInteger;
|
||||
package com.beanit.iec61850bean.internal.mms.asn1;
|
||||
|
||||
import com.beanit.asn1bean.ber.types.BerInteger;
|
||||
import java.math.BigInteger;
|
||||
|
||||
public class Unsigned16 extends BerInteger {
|
@ -1,7 +1,10 @@
|
||||
/** This class file was automatically generated by jASN1 (http://www.beanit.com) */
|
||||
package com.beanit.openiec61850.internal.mms.asn1;
|
||||
/*
|
||||
* This class file was automatically generated by ASN1bean (http://www.beanit.com)
|
||||
*/
|
||||
|
||||
import com.beanit.jasn1.ber.types.BerInteger;
|
||||
package com.beanit.iec61850bean.internal.mms.asn1;
|
||||
|
||||
import com.beanit.asn1bean.ber.types.BerInteger;
|
||||
import java.math.BigInteger;
|
||||
|
||||
public class Unsigned32 extends BerInteger {
|
@ -1,7 +1,10 @@
|
||||
/** This class file was automatically generated by jASN1 (http://www.beanit.com) */
|
||||
package com.beanit.openiec61850.internal.mms.asn1;
|
||||
/*
|
||||
* This class file was automatically generated by ASN1bean (http://www.beanit.com)
|
||||
*/
|
||||
|
||||
import com.beanit.jasn1.ber.types.BerInteger;
|
||||
package com.beanit.iec61850bean.internal.mms.asn1;
|
||||
|
||||
import com.beanit.asn1bean.ber.types.BerInteger;
|
||||
import java.math.BigInteger;
|
||||
|
||||
public class Unsigned8 extends BerInteger {
|
@ -0,0 +1,18 @@
|
||||
/*
|
||||
* This class file was automatically generated by ASN1bean (http://www.beanit.com)
|
||||
*/
|
||||
|
||||
package com.beanit.iec61850bean.internal.mms.asn1;
|
||||
|
||||
import com.beanit.asn1bean.ber.types.BerOctetString;
|
||||
|
||||
public class UtcTime extends BerOctetString {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public UtcTime() {}
|
||||
|
||||
public UtcTime(byte[] value) {
|
||||
super(value);
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue