<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Properties displayed twice with extended function blocks and interfaces</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3aaf05a954/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3aaf05a954/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/3aaf05a954/</id><updated>2020-02-27T13:49:49.350000Z</updated><subtitle>Recent posts to Properties displayed twice with extended function blocks and interfaces</subtitle><entry><title>Properties displayed twice with extended function blocks and interfaces</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3aaf05a954/?limit=25#b56d" rel="alternate"/><published>2020-02-27T13:49:49.350000Z</published><updated>2020-02-27T13:49:49.350000Z</updated><author><name>tvm</name><uri>https://forge.codesys.com/u/tvm/</uri></author><id>https://forge.codesys.combde8db6434ee7465186427809fe47b0b527757ec</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Interesting.  It turns out that when you clock "Implement Interfaces" on a function block, it automatically creates all properties, including ones from base function blocks.  I assumed that that was how it was supposed to be, but it looks like if you do that, you'll get the issue I was having.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Properties displayed twice with extended function blocks and interfaces</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3aaf05a954/?limit=25#f924" rel="alternate"/><published>2020-02-27T13:49:49.215000Z</published><updated>2020-02-27T13:49:49.215000Z</updated><author><name>tvm</name><uri>https://forge.codesys.com/u/tvm/</uri></author><id>https://forge.codesys.combbd374ef2e116066373d8ea27b411c6df20dc7d4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;INTERFACE&lt;/span&gt; &lt;span class="n"&gt;Interface1_ITF&lt;/span&gt;
&lt;span class="o"&gt;//&lt;/span&gt;&lt;span class="k"&gt;contains&lt;/span&gt; &lt;span class="n"&gt;properties&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;Prop1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;Prop2&lt;/span&gt;
&lt;span class="n"&gt;INTERFACE&lt;/span&gt; &lt;span class="n"&gt;Interface2_ITF&lt;/span&gt;
&lt;span class="o"&gt;//&lt;/span&gt;&lt;span class="k"&gt;contains&lt;/span&gt; &lt;span class="n"&gt;properties&lt;/span&gt; &lt;span class="n"&gt;Prop3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;Prop4&lt;/span&gt;
&lt;span class="k"&gt;FUNCTION&lt;/span&gt; &lt;span class="n"&gt;BLOCK&lt;/span&gt; &lt;span class="n"&gt;FB_1&lt;/span&gt; &lt;span class="n"&gt;IMPLEMENTS&lt;/span&gt; &lt;span class="n"&gt;Interface1_ITF&lt;/span&gt;
&lt;span class="k"&gt;FUNCTION&lt;/span&gt; &lt;span class="n"&gt;BLOCK&lt;/span&gt; &lt;span class="n"&gt;FB2&lt;/span&gt; &lt;span class="n"&gt;EXTENDS&lt;/span&gt; &lt;span class="n"&gt;FB1&lt;/span&gt; &lt;span class="n"&gt;IMPLEMENTS&lt;/span&gt; &lt;span class="n"&gt;Interface2_ITF&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;My question is, when I go online with a project, in FB_2 I will see the properties from the first interface twice&lt;br/&gt;
Prop1&lt;br/&gt;
Prop2&lt;br/&gt;
Prop1&lt;br/&gt;
Prop2&lt;br/&gt;
Prop3&lt;br/&gt;
Prop4&lt;/p&gt;
&lt;p&gt;I don't understand why.  I should see Prop1 and Prop2 because FB_2 is extending FB_1, and I should see Prop3 and Prop4 because it's implementing Interface2_ITF.  Why are Prop1 and Prop2 shown twice?&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;Tim&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>