Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
AttributeCombiner
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Jira
Jira
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
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
Accelerators
Generic
AttributeCombiner
Commits
4ab2f4f4
Commit
4ab2f4f4
authored
Aug 25, 2020
by
Jean-Luc Pons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: DeviceAttribute extraction of INVALID no longer throw an exection !
parent
1785208c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
AttributeCombiner.cpp
AttributeCombiner.cpp
+5
-4
No files found.
AttributeCombiner.cpp
View file @
4ab2f4f4
...
...
@@ -944,7 +944,7 @@ void AttributeCombiner::add_dynamic_commands()
for
(
int
i
=
0
;
i
<
nbDev
;
i
++
)
{
for
(
int
j
=
0
;
j
<
nbAtt
;
j
++
)
{
if
(
!
arl
[
j
][
i
].
has_failed
()
&&
arl
[
j
][
i
].
group_element_enabled
())
{
if
(
!
arl
[
j
][
i
].
has_failed
()
&&
!
arl
[
j
][
i
].
get_data
().
is_empty
()
&&
arl
[
j
][
i
].
group_element_enabled
())
{
vector
<
inType
>
val
;
arl
[
j
][
i
]
>>
val
;
if
(
firstValue
)
{
...
...
@@ -957,7 +957,7 @@ void AttributeCombiner::add_dynamic_commands()
allEqual
=
allEqual
&&
(
val
[
0
]
==
value
);
}
}
else
{
if
(
arl
[
j
][
i
].
group_element_enabled
())
{
if
(
arl
[
j
][
i
].
has_failed
()
&&
arl
[
j
][
i
].
group_element_enabled
())
{
addError
(
i
,
arl
[
j
][
i
]);
allEqual
=
false
;
}
...
...
@@ -1149,10 +1149,11 @@ void AttributeCombiner::add_dynamic_commands()
for
(
int
i
=
0
;
i
<
nbDev
;
i
++
)
{
for
(
int
j
=
0
;
j
<
nbAtt
;
j
++
)
{
if
(
arl
[
j
][
i
].
has_failed
())
{
if
(
arl
[
j
][
i
].
has_failed
()
||
arl
[
j
][
i
].
get_data
().
is_empty
()
)
{
readVal
[
i
*
nbAtt
+
j
]
=
invalid
;
if
(
isRW
)
readSetPoint
[
i
*
nbAtt
+
j
]
=
invalid
;
addError
(
i
,
arl
[
j
][
i
]);
if
(
arl
[
j
][
i
].
has_failed
())
addError
(
i
,
arl
[
j
][
i
]);
}
else
{
if
(
arl
[
j
][
i
].
group_element_enabled
())
{
if
(
item
->
type
!=
Tango
::
DEV_STATE
&&
isRW
)
{
...
...
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