Commit d03a7ac9 authored by Faezeh KHORRAM's avatar Faezeh KHORRAM 💬
Browse files

Update k3tdlConfigurationAspects.xtend

parent e7056964
......@@ -126,7 +126,9 @@ class GateInstanceAspect {
def String sendArgument2sut(DataUse argument) {
if (argument instanceof DataInstanceUse) {
var arg = (argument as DataInstanceUse)
if (arg.dataInstance.name == 'runModel') {
if (arg.item != null && arg.item.size > 0){
return _self.setModelState(arg);
} else if (arg.dataInstance.name == 'runModel') {
println("--Start MUT Execution synchronous:")
return _self.gateLauncher.executeModel(true)
}else if (arg.dataInstance.name == 'runModelAsynchronous') {
......@@ -155,7 +157,6 @@ class GateInstanceAspect {
}
def String setModelState(DataInstanceUse arg){
//get the current MUTResource
var MUTResource = _self.gateLauncher.MUTResource;
var String status = null
if (arg.item != null && arg.item.size > 0){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment