Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
056a75e1
Commit
056a75e1
authored
Jul 12, 2005
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Message PlcConnect action
parent
07de2e4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
wb/lib/wb/src/wb_gobj.c
wb/lib/wb/src/wb_gobj.c
+16
-1
No files found.
wb/lib/wb/src/wb_gobj.c
View file @
056a75e1
...
...
@@ -979,6 +979,9 @@ unsigned long index;
pwr_sAttrRef
attrref
;
pwr_sAttrRef
nattrref
;
int
is_attr
;
char
*
aname
;
int
size
;
char
msg
[
200
];
/* Get the selected object in the navigator */
plc
=
(
node
->
hn
.
wind
)
->
hw
.
plc
;
...
...
@@ -1010,6 +1013,12 @@ unsigned long index;
gre_node_update
(
foectx
->
grectx
,
node
);
sts
=
ldh_AttrRefToName
(
ldhses
,
&
attrref
,
cdh_mNName
,
&
aname
,
&
size
);
if
(
EVEN
(
sts
))
return
sts
;
sprintf
(
msg
,
"Connected to: %s"
,
aname
);
foe_message
(
foectx
,
msg
);
return
FOE__SUCCESS
;
}
...
...
@@ -2733,6 +2742,9 @@ unsigned long index;
pwr_sAttrRef
attrref
;
pwr_sAttrRef
nattrref
;
int
is_attr
;
char
*
aname
;
int
size
;
char
msg
[
200
];
/* Get the selected object in the navigator */
plc
=
(
node
->
hn
.
wind
)
->
hw
.
plc
;
...
...
@@ -2763,8 +2775,11 @@ unsigned long index;
gre_node_update
(
foectx
->
grectx
,
node
);
sts
=
ldh_AttrRefToName
(
ldhses
,
&
attrref
,
cdh_mNName
,
&
aname
,
&
size
);
if
(
EVEN
(
sts
))
return
sts
;
gre_node_update
(
foectx
->
grectx
,
node
);
sprintf
(
msg
,
"Connected to: %s"
,
aname
);
foe_message
(
foectx
,
msg
);
return
FOE__SUCCESS
;
}
...
...
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