[549568] New FBs

Adding the new Fbs.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=549568
Change-Id: Ieeba32d94ab4b050435a362a4a05d47eec013753
Signed-off-by: Jan Holzweber <j.holzweber@gmx.at>
diff --git a/SystemTests/SystemTests.sys b/SystemTests/SystemTests.sys
index 5fc51b5..2bf8b63 100644
--- a/SystemTests/SystemTests.sys
+++ b/SystemTests/SystemTests.sys
@@ -1,7 +1,6 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <!DOCTYPE System SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
 <System Comment="" Name="SystemTests">
-  <Identification/>
   <VersionInfo Author="Alois Zoitl" Date="2018-08-29" Organization="Johannes Kepler University" Remarks="initial API and implementation and/or initial documentation" Version="1.0"/>
   <Application Comment="Small test application for measuring the execution time of a few fbs for evaluating runtime performance" Name="Timing">
     <SubAppNetwork>
diff --git a/SystemTests/testfbforcodegenerator/Adapters/TestSocketAndPlug.fbt b/SystemTests/testfbforcodegenerator/Adapters/TestSocketAndPlug.fbt
new file mode 100644
index 0000000..bf80c64
--- /dev/null
+++ b/SystemTests/testfbforcodegenerator/Adapters/TestSocketAndPlug.fbt
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="Template for a simple Basic Function Block Type" Name="TestSocketAndPlug">
+  <Identification Description="Copyright (c) 2019 Jan Holzweber&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61499-2"/>
+  <VersionInfo Author="Jan Holzweber" Date="2019-07-25" Version="1.0"/>
+  <InterfaceList>
+    <Plugs>
+      <AdapterDeclaration Comment="" Name="AdpPlug" Type="TestAdapter"/>
+    </Plugs>
+    <Sockets>
+      <AdapterDeclaration Comment="" Name="AdpSocket" Type="TestAdapter"/>
+    </Sockets>
+  </InterfaceList>
+  <BasicFB>
+    <ECC>
+      <ECState Comment="Initial State" Name="START" x="475.0" y="1125.0"/>
+      <ECState Comment="" Name="State" x="2800.0" y="500.0">
+        <ECAction Algorithm="Plug" Output="AdpPlug.EO"/>
+      </ECState>
+      <ECState Comment="" Name="State_1" x="3230.0" y="2060.0">
+        <ECAction Algorithm="Socket" Output="AdpSocket.EI"/>
+      </ECState>
+      <ECTransition Comment="" Condition="AdpPlug.EI" Destination="State" Source="START" x="1835.0" y="670.0"/>
+      <ECTransition Comment="" Condition="1" Destination="START" Source="State" x="1920.0" y="1260.0"/>
+      <ECTransition Comment="" Condition="AdpSocket.EO" Destination="State_1" Source="START" x="1990.0" y="1625.0"/>
+      <ECTransition Comment="" Condition="1" Destination="START" Source="State_1" x="1825.0" y="2030.0"/>
+    </ECC>
+    <Algorithm Comment="new algorithm" Name="Plug">
+      <ST Text="AdpPlug.D0 := AdpPlug.DI;"/>
+    </Algorithm>
+    <Algorithm Comment="new algorithm" Name="Socket">
+      <ST Text="AdpSocket.DI := AdpSocket.D0;"/>
+    </Algorithm>
+  </BasicFB>
+</FBType>
diff --git a/SystemTests/testfbforcodegenerator/Adapters/TestSocketAndPlug_Socket.fbt b/SystemTests/testfbforcodegenerator/Adapters/TestSocketAndPlug_Socket.fbt
new file mode 100644
index 0000000..4c164d1
--- /dev/null
+++ b/SystemTests/testfbforcodegenerator/Adapters/TestSocketAndPlug_Socket.fbt
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="Template for a simple Basic Function Block Type" Name="TestSocketAndPlug_Socket">
+  <Identification Description="Copyright (c) 2019 Jan Holzweber&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61499-2"/>
+  <VersionInfo Author="Jan Holzweber" Date="2019-07-25" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Normal Execution Request" Name="EI" Type="Event">
+        <With Var="DI"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="" Name="EO" Type="Event">
+        <With Var="D0"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Input event qualifier" Name="DI" Type="INT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="" Name="D0" Type="INT"/>
+    </OutputVars>
+    <Sockets>
+      <AdapterDeclaration Comment="" Name="TestAdapter" Type="TestAdapter"/>
+    </Sockets>
+  </InterfaceList>
+  <BasicFB>
+    <ECC>
+      <ECState Comment="Initial State" Name="START" x="475.0" y="1125.0"/>
+      <ECState Comment="" Name="State" x="3240.0" y="1025.0">
+        <ECAction Algorithm="ToPlug" Output="TestAdapter.EI"/>
+      </ECState>
+      <ECState Comment="" Name="State_1" x="3000.0" y="2000.0">
+        <ECAction Algorithm="Out" Output="EO"/>
+      </ECState>
+      <ECTransition Comment="" Condition="EI" Destination="State" Source="START" x="1940.0" y="955.0"/>
+      <ECTransition Comment="" Condition="1" Destination="START" Source="State" x="1995.0" y="1505.0"/>
+      <ECTransition Comment="" Condition="TestAdapter.EO" Destination="State_1" Source="START" x="1830.0" y="1645.0"/>
+      <ECTransition Comment="" Condition="1" Destination="START" Source="State_1" x="1415.0" y="2450.0"/>
+    </ECC>
+    <Algorithm Comment="new algorithm" Name="ToPlug">
+      <ST Text="TestAdapter.DI := DI;"/>
+    </Algorithm>
+    <Algorithm Comment="new algorithm" Name="Out">
+      <ST Text="D0 := TestAdapter.D0;"/>
+    </Algorithm>
+  </BasicFB>
+</FBType>