Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
monticore
EmbeddedMontiArc
generators
EMAM2SomeIP
Commits
da929bd6
Commit
da929bd6
authored
Jul 09, 2019
by
Markus Georg Bendel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update SomeIPAdapterModel
parent
240bd43d
Pipeline
#158635
failed with stages
in 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/main/java/de/monticore/lang/monticar/generator/someip/template/SomeIPAdapterModel.java
...onticar/generator/someip/template/SomeIPAdapterModel.java
+3
-3
No files found.
src/main/java/de/monticore/lang/monticar/generator/someip/template/SomeIPAdapterModel.java
View file @
da929bd6
...
...
@@ -33,11 +33,11 @@ public class SomeIPAdapterModel {
if
(
symbol
.
isPresent
()
&&
symbol
.
get
().
isKindOf
(
SomeIPConnectionKind
.
INSTANCE
))
{
SomeIPConnectionSymbol
sym
=
(
SomeIPConnectionSymbol
)
symbol
.
get
();
String
topicName
=
sym
.
get
TopicName
().
isPresent
()?
sym
.
get
TopicName
().
get
():
"unknown"
;
symbolKind
=
"someip,
topic: "
+
topicName
;
String
serviceID
=
sym
.
get
serviceID
().
isPresent
()?
sym
.
get
serviceID
().
get
():
"unknown"
;
symbolKind
=
"someip,
serviceID: "
+
serviceID
;
}
this
.
ports
.
add
(
port
.
getName
()
+
" : "
+
kind
+
" ("
+
symbolKind
+
")"
);
this
.
ports
.
add
(
port
.
getName
()
+
" : "
+
kind
+
" ("
+
symbolKind
+
")"
);
}
}
...
...
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