-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Frank Schnicke <[email protected]>
- Loading branch information
1 parent
a1a3b08
commit 5ce92e7
Showing
192 changed files
with
13,135 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
34 changes: 34 additions & 0 deletions
34
...x.components.docker/basyx.components.registry/src/test/resources/dockerMongodb.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# ############################# | ||
# MongoDB Backend configuration | ||
# ############################# | ||
|
||
# ############################# | ||
# Database Name | ||
# ############################# | ||
# The database in the MongoDB that hold the data | ||
|
||
dbname=admin | ||
|
||
# ############################# | ||
# Connection String | ||
# ############################# | ||
# MongoDB connection string for connecting to the MongoDB endpoint | ||
# Here it is not localhost, because the container has to address the mongodb | ||
# container in the default docker environment used in this component | ||
|
||
dbconnectionstring=mongodb://mongodb:27017/ | ||
|
||
# ############################# | ||
# Registry Collections | ||
# ############################# | ||
# Collection name that is used for storing registry data | ||
|
||
dbcollectionRegistry=registry | ||
|
||
# ############################# | ||
# AAS collections | ||
# ############################# | ||
# Collection names that are used for storing the AAS and Submodels | ||
|
||
# dbcollectionAAS=assetadministrationshells | ||
# dbcollectionSubmodels=submodels |
37 changes: 37 additions & 0 deletions
37
...basyx.components.docker/basyx.components.registry/src/test/resources/dockerSQL.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# ############################### | ||
# SQL database configuration file | ||
# ############################### | ||
|
||
# ############################### | ||
# Credentials | ||
# ############################### | ||
# Specifies the credentials for connecting to the SQL database | ||
|
||
dbuser=postgres | ||
dbpass=admin | ||
|
||
# ############################### | ||
# Database URL | ||
# ############################### | ||
# The direct SQL database url for connection | ||
# Here it is not localhost, because the container has to address the postgreSQL | ||
# container in the default docker environment used in this component | ||
|
||
dburl=//postgres:5432/basyx-directory? | ||
|
||
# ############################### | ||
# SQL driver information | ||
# ############################### | ||
# Java Driver and connection prefix for using the driver | ||
|
||
sqlDriver=org.postgresql.Driver | ||
sqlPrefix=jdbc:postgresql: | ||
|
||
|
||
# ############################### | ||
# Microsoft SQL Server Example | ||
# ############################### | ||
# dburl=//localhost:1234;databaseName=mydb | ||
# sqlDriver=com.microsoft.sqlserver.jdbc.SQLServerDriver | ||
# sqlPrefix=jdbc:sqlserver: | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions
2
basyx.components/basyx.components.lib/WebContent/META-INF/MANIFEST.MF
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Manifest-Version: 1.0 | ||
|
189 changes: 189 additions & 0 deletions
189
....components.lib/WebContent/WEB-INF/config/processengine/SimpleTransportProcess.bpmn20.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,189 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.activiti.org/test" exporter="Camunda Modeler" exporterVersion="1.16.2"> | ||
<process id="SimpleTransportProcess" name="transport process using coil-car" isExecutable="true"> | ||
<startEvent id="startevent1" name="Start"></startEvent> | ||
<serviceTask id="step5" name="pick up coil" activiti:class="org.eclipse.basyx.components.processengine.connector.DeviceServiceDelegate"> | ||
<extensionElements> | ||
<activiti:field name="serviceName"> | ||
<activiti:string><![CDATA[liftTo]]></activiti:string> | ||
</activiti:field> | ||
<activiti:field name="serviceProvider"> | ||
<activiti:string><![CDATA[coilcar]]></activiti:string></activiti:field> | ||
<activiti:field name="serviceParameter"> | ||
<activiti:string><![CDATA[[0]]]></activiti:string></activiti:field> | ||
<activiti:field name="submodelId"> | ||
<activiti:string><![CDATA[submodel1]]></activiti:string></activiti:field> | ||
</extensionElements> | ||
</serviceTask> | ||
<serviceTask id="step6" name="bring coil before spindle" activiti:class="org.eclipse.basyx.components.processengine.connector.DeviceServiceDelegate"> | ||
<extensionElements> | ||
<activiti:field name="serviceName"> | ||
<activiti:string><![CDATA[moveTo]]></activiti:string> | ||
</activiti:field> | ||
<activiti:field name="serviceProvider"> | ||
<activiti:string><![CDATA[coilcar]]></activiti:string></activiti:field> | ||
<activiti:field name="serviceParameter"> | ||
<activiti:string><![CDATA[[5]]]></activiti:string></activiti:field> | ||
<activiti:field name="submodelId"> | ||
<activiti:string><![CDATA[submodel1]]></activiti:string></activiti:field> | ||
</extensionElements> | ||
</serviceTask> | ||
<sequenceFlow id="flow5" sourceRef="step5" targetRef="step6"></sequenceFlow> | ||
<sequenceFlow id="flow6" sourceRef="exclusivegateway1" targetRef="step5"> | ||
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${coilposition == 1}]]></conditionExpression> | ||
</sequenceFlow> | ||
<endEvent id="endevent1" name="End"></endEvent> | ||
<serviceTask id="servicetask1" name="Lift coil until inline" activiti:class="org.eclipse.basyx.components.processengine.connector.DeviceServiceDelegate"> | ||
<extensionElements> | ||
<activiti:field name="serviceName"> | ||
<activiti:string><![CDATA[liftTo]]></activiti:string> | ||
</activiti:field> | ||
<activiti:field name="serviceProvider"> | ||
<activiti:string><![CDATA[coilcar]]></activiti:string></activiti:field> | ||
<activiti:field name="serviceParameter"> | ||
<activiti:string><![CDATA[[5]]]></activiti:string></activiti:field> | ||
<activiti:field name="submodelId"> | ||
<activiti:string><![CDATA[submodel1]]></activiti:string></activiti:field> | ||
</extensionElements> | ||
</serviceTask> | ||
<sequenceFlow id="flow7" sourceRef="step6" targetRef="servicetask1"></sequenceFlow> | ||
<sequenceFlow id="flow8" sourceRef="servicetask4" targetRef="endevent1"></sequenceFlow> | ||
<serviceTask id="servicetask2" name="put coil onto spindle" activiti:class="org.eclipse.basyx.components.processengine.connector.DeviceServiceDelegate"> | ||
<extensionElements> | ||
<activiti:field name="serviceName"> | ||
<activiti:string><![CDATA[moveTo]]></activiti:string> | ||
</activiti:field> | ||
<activiti:field name="serviceProvider"> | ||
<activiti:string><![CDATA[coilcar]]></activiti:string></activiti:field> | ||
<activiti:field name="serviceParameter"> | ||
<activiti:string><![CDATA[[6]]]></activiti:string></activiti:field> | ||
<activiti:field name="submodelId"> | ||
<activiti:string><![CDATA[submodel1]]></activiti:string></activiti:field> | ||
</extensionElements> | ||
</serviceTask> | ||
<serviceTask id="servicetask3" name="lift down" activiti:class="org.eclipse.basyx.components.processengine.connector.DeviceServiceDelegate"> | ||
<extensionElements> | ||
<activiti:field name="serviceName"> | ||
<activiti:string><![CDATA[liftTo]]></activiti:string> | ||
</activiti:field> | ||
<activiti:field name="serviceProvider"> | ||
<activiti:string><![CDATA[coilcar]]></activiti:string></activiti:field> | ||
<activiti:field name="serviceParameter"> | ||
<activiti:string><![CDATA[[0]]]></activiti:string></activiti:field> | ||
<activiti:field name="submodelId"> | ||
<activiti:string><![CDATA[submodel1]]></activiti:string></activiti:field> | ||
</extensionElements> | ||
</serviceTask> | ||
<sequenceFlow id="flow12" sourceRef="servicetask2" targetRef="servicetask3"></sequenceFlow> | ||
<sequenceFlow id="flow13" sourceRef="servicetask1" targetRef="servicetask2"></sequenceFlow> | ||
<serviceTask id="servicetask4" name="move back" activiti:class="org.eclipse.basyx.components.processengine.connector.DeviceServiceDelegate"> | ||
<extensionElements> | ||
<activiti:field name="serviceName"> | ||
<activiti:string><![CDATA[moveTo]]></activiti:string> | ||
</activiti:field> | ||
<activiti:field name="serviceProvider"> | ||
<activiti:string><![CDATA[coilcar]]></activiti:string></activiti:field> | ||
<activiti:field name="serviceParameter"> | ||
<activiti:string><![CDATA[[0]]]></activiti:string></activiti:field> | ||
<activiti:field name="submodelId"> | ||
<activiti:string><![CDATA[submodel1]]></activiti:string></activiti:field> | ||
</extensionElements> | ||
</serviceTask> | ||
<sequenceFlow id="flow14" sourceRef="servicetask3" targetRef="servicetask4"></sequenceFlow> | ||
<exclusiveGateway id="exclusivegateway1" name="check start position of coil"></exclusiveGateway> | ||
<sequenceFlow id="flow15" sourceRef="startevent1" targetRef="exclusivegateway1"></sequenceFlow> | ||
<serviceTask id="servicetask5" name="move to coil" activiti:class="org.eclipse.basyx.components.processengine.connector.DeviceServiceDelegate"> | ||
<extensionElements> | ||
<activiti:field name="serviceName"> | ||
<activiti:string><![CDATA[moveTo]]></activiti:string> | ||
</activiti:field> | ||
<activiti:field name="serviceProvider"> | ||
<activiti:string><![CDATA[coilcar]]></activiti:string></activiti:field> | ||
<activiti:field name="serviceParameter"> | ||
<activiti:string><![CDATA[[0]]]></activiti:string></activiti:field> | ||
<activiti:field name="submodelId"> | ||
<activiti:string><![CDATA[submodel1]]></activiti:string></activiti:field> | ||
</extensionElements> | ||
</serviceTask> | ||
<sequenceFlow id="flow16" sourceRef="exclusivegateway1" targetRef="servicetask5"> | ||
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${coilposition==2}]]></conditionExpression> | ||
</sequenceFlow> | ||
<sequenceFlow id="flow17" sourceRef="servicetask5" targetRef="step5"></sequenceFlow> | ||
</process> | ||
<bpmndi:BPMNDiagram id="BPMNDiagram_smsProcess"> | ||
<bpmndi:BPMNPlane bpmnElement="smsProcess" id="BPMNPlane_smsProcess"> | ||
<bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1"> | ||
<omgdc:Bounds height="35.0" width="35.0" x="12.0" y="128.0"></omgdc:Bounds> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape bpmnElement="step5" id="BPMNShape_step5"> | ||
<omgdc:Bounds height="71.0" width="105.0" x="240.0" y="109.0"></omgdc:Bounds> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape bpmnElement="step6" id="BPMNShape_step6"> | ||
<omgdc:Bounds height="71.0" width="105.0" x="380.0" y="109.0"></omgdc:Bounds> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1"> | ||
<omgdc:Bounds height="35.0" width="35.0" x="1140.0" y="127.0"></omgdc:Bounds> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape bpmnElement="servicetask1" id="BPMNShape_servicetask1"> | ||
<omgdc:Bounds height="71.0" width="105.0" x="530.0" y="109.0"></omgdc:Bounds> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape bpmnElement="servicetask2" id="BPMNShape_servicetask2"> | ||
<omgdc:Bounds height="71.0" width="105.0" x="690.0" y="106.0"></omgdc:Bounds> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape bpmnElement="servicetask3" id="BPMNShape_servicetask3"> | ||
<omgdc:Bounds height="71.0" width="105.0" x="840.0" y="107.0"></omgdc:Bounds> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape bpmnElement="servicetask4" id="BPMNShape_servicetask4"> | ||
<omgdc:Bounds height="55.0" width="105.0" x="980.0" y="117.0"></omgdc:Bounds> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape bpmnElement="exclusivegateway1" id="BPMNShape_exclusivegateway1"> | ||
<omgdc:Bounds height="40.0" width="40.0" x="89.0" y="125.0"></omgdc:Bounds> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape bpmnElement="servicetask5" id="BPMNShape_servicetask5"> | ||
<omgdc:Bounds height="55.0" width="105.0" x="160.0" y="240.0"></omgdc:Bounds> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNEdge bpmnElement="flow5" id="BPMNEdge_flow5"> | ||
<omgdi:waypoint x="345.0" y="144.0"></omgdi:waypoint> | ||
<omgdi:waypoint x="380.0" y="144.0"></omgdi:waypoint> | ||
</bpmndi:BPMNEdge> | ||
<bpmndi:BPMNEdge bpmnElement="flow6" id="BPMNEdge_flow6"> | ||
<omgdi:waypoint x="129.0" y="145.0"></omgdi:waypoint> | ||
<omgdi:waypoint x="240.0" y="144.0"></omgdi:waypoint> | ||
</bpmndi:BPMNEdge> | ||
<bpmndi:BPMNEdge bpmnElement="flow7" id="BPMNEdge_flow7"> | ||
<omgdi:waypoint x="485.0" y="144.0"></omgdi:waypoint> | ||
<omgdi:waypoint x="530.0" y="144.0"></omgdi:waypoint> | ||
</bpmndi:BPMNEdge> | ||
<bpmndi:BPMNEdge bpmnElement="flow8" id="BPMNEdge_flow8"> | ||
<omgdi:waypoint x="1085.0" y="144.0"></omgdi:waypoint> | ||
<omgdi:waypoint x="1140.0" y="144.0"></omgdi:waypoint> | ||
</bpmndi:BPMNEdge> | ||
<bpmndi:BPMNEdge bpmnElement="flow12" id="BPMNEdge_flow12"> | ||
<omgdi:waypoint x="795.0" y="141.0"></omgdi:waypoint> | ||
<omgdi:waypoint x="840.0" y="142.0"></omgdi:waypoint> | ||
</bpmndi:BPMNEdge> | ||
<bpmndi:BPMNEdge bpmnElement="flow13" id="BPMNEdge_flow13"> | ||
<omgdi:waypoint x="635.0" y="144.0"></omgdi:waypoint> | ||
<omgdi:waypoint x="690.0" y="141.0"></omgdi:waypoint> | ||
</bpmndi:BPMNEdge> | ||
<bpmndi:BPMNEdge bpmnElement="flow14" id="BPMNEdge_flow14"> | ||
<omgdi:waypoint x="945.0" y="142.0"></omgdi:waypoint> | ||
<omgdi:waypoint x="980.0" y="144.0"></omgdi:waypoint> | ||
</bpmndi:BPMNEdge> | ||
<bpmndi:BPMNEdge bpmnElement="flow15" id="BPMNEdge_flow15"> | ||
<omgdi:waypoint x="29.0" y="163.0"></omgdi:waypoint> | ||
<omgdi:waypoint x="47.0" y="197.0"></omgdi:waypoint> | ||
<omgdi:waypoint x="109.0" y="165.0"></omgdi:waypoint> | ||
</bpmndi:BPMNEdge> | ||
<bpmndi:BPMNEdge bpmnElement="flow16" id="BPMNEdge_flow16"> | ||
<omgdi:waypoint x="109.0" y="165.0"></omgdi:waypoint> | ||
<omgdi:waypoint x="110.0" y="267.0"></omgdi:waypoint> | ||
<omgdi:waypoint x="160.0" y="267.0"></omgdi:waypoint> | ||
</bpmndi:BPMNEdge> | ||
<bpmndi:BPMNEdge bpmnElement="flow17" id="BPMNEdge_flow17"> | ||
<omgdi:waypoint x="212.0" y="240.0"></omgdi:waypoint> | ||
<omgdi:waypoint x="292.0" y="180.0"></omgdi:waypoint> | ||
</bpmndi:BPMNEdge> | ||
</bpmndi:BPMNPlane> | ||
</bpmndi:BPMNDiagram> | ||
</definitions> |
14 changes: 14 additions & 0 deletions
14
basyx.components/basyx.components.lib/WebContent/WEB-INF/web.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" version="3.1"> | ||
<display-name>basys.components</display-name> | ||
|
||
|
||
<welcome-file-list> | ||
<welcome-file>index.html</welcome-file> | ||
<welcome-file>index.htm</welcome-file> | ||
<welcome-file>index.jsp</welcome-file> | ||
<welcome-file>default.html</welcome-file> | ||
<welcome-file>default.htm</welcome-file> | ||
<welcome-file>default.jsp</welcome-file> | ||
</welcome-file-list> | ||
</web-app> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
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.eclipse.basyx</groupId> | ||
<artifactId>basyx.components</artifactId> | ||
<version>1.0.1</version> | ||
</parent> | ||
|
||
<artifactId>basyx.components.lib</artifactId> | ||
<name>BaSyx Components Library</name> | ||
|
||
<packaging>jar</packaging> | ||
|
||
<!-- Define additional plugins that are not included by default --> | ||
<build> | ||
<plugins> | ||
<!-- Attach sources to jar file --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-source-plugin</artifactId> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
<dependencies> | ||
<!-- PostgreSQL SQL Database --> | ||
<dependency> | ||
<groupId>org.postgresql</groupId> | ||
<artifactId>postgresql</artifactId> | ||
<version>42.2.2</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.camunda.bpm</groupId> | ||
<artifactId>camunda-engine</artifactId> | ||
<version>7.15.0</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.camunda.bpm.model</groupId> | ||
<artifactId>camunda-bpmn-model</artifactId> | ||
<version>7.15.0</version> | ||
</dependency> | ||
<!-- Handles resources & files --> | ||
<dependency> | ||
<groupId>commons-io</groupId> | ||
<artifactId>commons-io</artifactId> | ||
<version>2.6</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>com.h2database</groupId> | ||
<artifactId>h2</artifactId> | ||
<version>1.4.197</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>com.zaxxer</groupId> | ||
<artifactId>HikariCP</artifactId> | ||
<version>3.4.5</version> | ||
</dependency> | ||
|
||
<!-- Add BaSys SDK --> | ||
<dependency> | ||
<groupId>org.eclipse.basyx</groupId> | ||
<artifactId>basyx.sdk</artifactId> | ||
</dependency> | ||
|
||
<!-- Adds additional classes of the BaSys SDK for tests --> | ||
<dependency> | ||
<groupId>org.eclipse.basyx</groupId> | ||
<artifactId>basyx.sdk</artifactId> | ||
<classifier>tests</classifier> | ||
</dependency> | ||
</dependencies> | ||
</project> |
29 changes: 29 additions & 0 deletions
29
...omponents/basyx.components.lib/src/main/java/org/eclipse/basyx/components/IComponent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/******************************************************************************* | ||
* Copyright (C) 2021 the Eclipse BaSyx Authors | ||
* | ||
* This program and the accompanying materials are made | ||
* available under the terms of the Eclipse Public License 2.0 | ||
* which is available at https://www.eclipse.org/legal/epl-2.0/ | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
******************************************************************************/ | ||
package org.eclipse.basyx.components; | ||
|
||
/** | ||
* Common interfaces for all components allowing starting/stopping the component | ||
* | ||
* @author schnicke | ||
* | ||
*/ | ||
public interface IComponent { | ||
|
||
/** | ||
* Starts the component | ||
*/ | ||
public void startComponent(); | ||
|
||
/** | ||
* Shuts down the component | ||
*/ | ||
public void stopComponent(); | ||
} |
Oops, something went wrong.