Commit 813ee79a authored by Nicolas Tappret's avatar Nicolas Tappret

improve last commit

parent dd14ad36
......@@ -1135,11 +1135,17 @@ void AttributeCombiner::add_dynamic_commands()
addError(i, arl[j][i]);
} else {
if (arl[j][i].group_element_enabled()) {
vector<inType> v;
arl[j][i] >> v;
readVal[i * nbAtt + j] = (outType) v[0];
if(item->rwType){
readSetPoint[i * nbAtt + j] = (outType) v[1];
if(item->type != Tango::DEV_STATE){
vector<inType> v;
arl[j][i] >> v;
readVal[i * nbAtt + j] = (outType) v[0];
if(item->rwType){
readSetPoint[i * nbAtt + j] = (outType) v[1];
}
}else{
inType v;
arl[j][i] >> v;
readVal[i * nbAtt + j] = (outType) v;
}
} else {
readVal[i * nbAtt + j] = disableValue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment