Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
osie
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
nexedi
osie
Commits
21ad6698
Commit
21ad6698
authored
Jun 02, 2022
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup tabulations.
parent
34519556
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
coupler/opc-ua-server/keep_alive_subscriber.h
coupler/opc-ua-server/keep_alive_subscriber.h
+4
-4
No files found.
coupler/opc-ua-server/keep_alive_subscriber.h
View file @
21ad6698
...
@@ -196,11 +196,11 @@ static UA_StatusCode addSubscribedVariables(UA_Server *server, UA_NodeId dataSet
...
@@ -196,11 +196,11 @@ static UA_StatusCode addSubscribedVariables(UA_Server *server, UA_NodeId dataSet
UA_NODEID_NUMERIC
(
0
,
UA_NS0ID_BASEDATAVARIABLETYPE
),
UA_NODEID_NUMERIC
(
0
,
UA_NS0ID_BASEDATAVARIABLETYPE
),
vAttr
,
NULL
,
&
newNode
);
vAttr
,
NULL
,
&
newNode
);
/*monitor variable*/
/*monitor variable*/
if
(
ENABLE_HEART_BEAT_CHECK
)
{
if
(
ENABLE_HEART_BEAT_CHECK
)
{
UA_MonitoredItemCreateRequest
monRequest
=
UA_MonitoredItemCreateRequest_default
(
newNode
);
UA_MonitoredItemCreateRequest
monRequest
=
UA_MonitoredItemCreateRequest_default
(
newNode
);
UA_Server_createDataChangeMonitoredItem
(
server
,
UA_TIMESTAMPSTORETURN_SOURCE
,
UA_Server_createDataChangeMonitoredItem
(
server
,
UA_TIMESTAMPSTORETURN_SOURCE
,
monRequest
,
NULL
,
dataChangeNotificationCallback
);
monRequest
,
NULL
,
dataChangeNotificationCallback
);
}
}
/* For creating Targetvariables */
/* For creating Targetvariables */
UA_FieldTargetDataType_init
(
&
targetVars
[
i
].
targetVariable
);
UA_FieldTargetDataType_init
(
&
targetVars
[
i
].
targetVariable
);
targetVars
[
i
].
targetVariable
.
attributeId
=
UA_ATTRIBUTEID_VALUE
;
targetVars
[
i
].
targetVariable
.
attributeId
=
UA_ATTRIBUTEID_VALUE
;
...
@@ -283,8 +283,8 @@ void callbackCheckHeartBeat() {
...
@@ -283,8 +283,8 @@ void callbackCheckHeartBeat() {
UA_LOG_INFO
(
UA_Log_Stdout
,
\
UA_LOG_INFO
(
UA_Log_Stdout
,
\
UA_LOGCATEGORY_USERLAND
,
\
UA_LOGCATEGORY_USERLAND
,
\
"DOWN: %s (delta=%d)"
,
coupler_id_str
,
timestamp_delta
);
"DOWN: %s (delta=%d)"
,
coupler_id_str
,
timestamp_delta
);
// go to safe mode as a dependant coupler is DOWN.
// go to safe mode as a dependant coupler is DOWN.
gotoSafeMode
();
gotoSafeMode
();
}
}
}
}
else
{
else
{
...
...
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