Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
naomod
faezeh-public
XTDL
Commits
d03a7ac9
Commit
d03a7ac9
authored
May 20, 2021
by
Faezeh KHORRAM
💬
Browse files
Update k3tdlConfigurationAspects.xtend
parent
e7056964
Changes
1
Hide whitespace changes
Inline
Side-by-side
org.imt.k3tdl.tdlInterpreter/src/org/imt/k3tdl/k3dsa/k3tdlConfigurationAspects.xtend
View file @
d03a7ac9
...
...
@@ -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){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment