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
b5a41cc6
Commit
b5a41cc6
authored
Aug 11, 2011
by
Pavel Vainerman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(IOControl): исправил ошибку в поиске узла с настройками.
parent
da0291f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
IOControl.cc
extensions/IOControl/IOControl.cc
+8
-2
No files found.
extensions/IOControl/IOControl.cc
View file @
b5a41cc6
...
@@ -328,6 +328,7 @@ void IOControl::execute()
...
@@ -328,6 +328,7 @@ void IOControl::execute()
{
{
try
try
{
{
if
(
!
noCards
)
if
(
!
noCards
)
{
{
check_testmode
();
check_testmode
();
...
@@ -443,6 +444,8 @@ void IOControl::iopoll()
...
@@ -443,6 +444,8 @@ void IOControl::iopoll()
// --------------------------------------------------------------------------------
// --------------------------------------------------------------------------------
void
IOControl
::
ioread
(
IOInfo
*
it
)
void
IOControl
::
ioread
(
IOInfo
*
it
)
{
{
// cout << conf->oind->getMapName(it->si.id) << " ignore=" << it->ignore << " ncard=" << it->ncard << endl;
if
(
it
->
ignore
||
it
->
ncard
==
defCardNum
)
if
(
it
->
ignore
||
it
->
ncard
==
defCardNum
)
return
;
return
;
...
@@ -1588,10 +1591,13 @@ void IOControl::buildCardsList()
...
@@ -1588,10 +1591,13 @@ void IOControl::buildCardsList()
return
;
return
;
}
}
xmlNode
*
cnode
=
xml
->
findNode
(
mynode
,
"iocards"
,
""
);
//xmlNode* cnode = xml->findNode(mynode,"iocards","");
//xmlNode* extFindNode(xmlNode* node, int depth, int width, const std::string searchnode, const std::string name = "", bool top=true );
xmlNode
*
cnode
=
xml
->
extFindNode
(
mynode
,
1
,
1
,
"iocards"
,
""
);
if
(
!
cnode
)
if
(
!
cnode
)
{
{
unideb
[
Debug
::
WARN
]
<<
myname
<<
"(buildCardsList):
<iocards> not found..
"
<<
endl
;
unideb
[
Debug
::
WARN
]
<<
myname
<<
"(buildCardsList):
Not found <iocards> for node="
<<
conf
->
getLocalNodeName
()
<<
"("
<<
conf
->
getLocalNode
()
<<
")
"
<<
endl
;
return
;
return
;
}
}
...
...
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