Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
uniset2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UniSet project repositories
uniset2
Commits
281cbf0f
Commit
281cbf0f
authored
Jul 14, 2009
by
Pavel Vainerman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new realisation getValue: if analog sensor not found, find digital sensor..
parent
bc24c057
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
IOController.cc
src/Processes/IOController.cc
+9
-1
No files found.
src/Processes/IOController.cc
View file @
281cbf0f
...
...
@@ -123,7 +123,15 @@ CORBA::Boolean IOController::getState( const IOController_i::SensorInfo& si )
CORBA
::
Long
IOController
::
getValue
(
const
IOController_i
::
SensorInfo
&
si
)
{
AIOStateList
::
iterator
li
(
aioList
.
end
());
return
localGetValue
(
li
,
si
);
try
{
return
localGetValue
(
li
,
si
);
}
// getState if not found...
catch
(
IOController_i
::
NameNotFound
)
{
DIOStateList
::
iterator
li
(
dioList
.
end
());
return
(
localGetState
(
li
,
si
)
?
1
:
0
);
}
}
// ------------------------------------------------------------------------------------------
bool
IOController
::
localGetState
(
IOController
::
DIOStateList
::
iterator
&
li
,
...
...
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