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
7f709896
Commit
7f709896
authored
Jan 18, 2022
by
Faezeh KHORRAM
💬
Browse files
tiny updates
parent
f6f2fb9f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Language_Workbench/xArduino-K3&ALE/org.gemoc.arduino.sequential.k3dsa/src/org/gemoc/arduino/sequential/k3dsa/OperationalSemantics.xtend
View file @
7f709896
package
org
.
gemoc
.
arduino
.
sequential
.
k3dsa
import
fr
.
inria
.
diverse
.
k3
.
al
.
annotationprocessor
.
Aspect
...
...
@@ -63,7 +62,7 @@ class Instruction_UtilitesAspect {
var
Project
project
=
null
var
current
=
_self
.
eContainer
()
while
(
current
!= null) {
while
(
current
!=
=
null) {
if
(
current
instanceof
Project
)
{
project
=
current
as
Project
return
project
...
...
@@ -79,7 +78,7 @@ class Instruction_UtilitesAspect {
val
project
=
_self
.
getProject
(
module
)
for
(
board
:
project
.
boards
)
{
if
(
board
!= null && board instanceof ArduinoBoard) {
if
(
board
!=
=
null && board instanceof ArduinoBoard) {
var
ArduinoBoard
arduinoBoard
=
board
as
ArduinoBoard
for
(
analogPin
:
arduinoBoard
.
analogPins
)
{
if
(
analogPin
.
module
==
module
)
{
...
...
@@ -135,9 +134,9 @@ class Project_ExecutableAspect {
}
}]
}
@
InitializeModel
def
public
void
initializeModel
(
EList
<
String
>
args
){
def
void
initializeModel
(
EList
<
String
>
args
){
_self
.
setup
}
}
...
...
@@ -272,7 +271,7 @@ class If_ExecutableAspect extends Control_ExecutableAspect {
if
(
_self
.
evaluate
)
{
_self
.
block
.
execute
}
else
{
if
(
_self
.
elseBlock
!= null) {
if
(
_self
.
elseBlock
!=
=
null) {
_self
.
elseBlock
.
execute
}
}
...
...
@@ -473,7 +472,7 @@ class IntegerModuleGet_ExecutableAspect extends Expression_EvaluableAspect{
if
(
_self
.
module
instanceof
BluetoothTransceiver
){
val
l
=
(
_self
.
module
as
BluetoothTransceiver
).
dataReceived
val
res
=
l
.
head
if
(
res
!= null) {
if
(
res
!=
=
null) {
l
.
remove
(
0
)
return
res
}
else
{
...
...
Modeling_Workbench/xFSM_tests/representations.aird
View file @
7f709896
...
...
@@ -10,4 +10,5 @@
<semanticResources>
TrafficLight_Test.tdlan2
</semanticResources>
<semanticResources>
gemoc-gen/execution/execution-20210517_155038/BitShifting_Test.tdlan2
</semanticResources>
<semanticResources>
gemoc-gen/execution/execution-20210517_155313/BitShifting_Test.tdlan2
</semanticResources>
<semanticResources>
gemoc-gen/execution/execution-20220115_113521/BitShifting_Test.tdlan2
</semanticResources>
</viewpoint:DAnalysis>
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