diff --git a/src/main/java/tmltranslator/TMLModeling.java b/src/main/java/tmltranslator/TMLModeling.java index 08bc0e0b07b171812dc60997d083cd8d5ecdd04f..b33aa9804d2f6df39af7663e8f442676b490ba72 100755 --- a/src/main/java/tmltranslator/TMLModeling.java +++ b/src/main/java/tmltranslator/TMLModeling.java @@ -848,7 +848,7 @@ public class TMLModeling<E> { TMLChannel channel = getChannelByShortName(signalName); if (channel!=null){ for (TMLCPrimitivePort port:channel.ports){ - if (port.checkAuth && port.checkStrongAuthStatus==1){ + if (port.checkAuth){ port.checkStrongAuthStatus = 3; port.mappingName= mappingName; } diff --git a/src/main/java/ui/tmlcompd/TMLCPrimitivePort.java b/src/main/java/ui/tmlcompd/TMLCPrimitivePort.java index 8605d135659ea48e5504456a9b382549a4ca11e0..ffc66bcc07c445fdb91aa3eeed555f9c4fe35389 100755 --- a/src/main/java/ui/tmlcompd/TMLCPrimitivePort.java +++ b/src/main/java/ui/tmlcompd/TMLCPrimitivePort.java @@ -601,6 +601,10 @@ public abstract class TMLCPrimitivePort extends TGCScalableWithInternalComponent } } checkAuth=jda.checkAuth; + if (checkStrongAuthStatus<2){ + checkStrongAuthStatus=1; + checkWeakAuthStatus=1; + } for(int i=0; i<nbMaxAttribute; i++) { //TraceManager.addDev("Getting string type: " + jda.getStringType(i)); list[i].setType(jda.getStringType(i));