}
double rpm = ((tmp[2] << 8) + tmp[3]) / 4.0;
value = boost::lexical_cast<std::string>(rpm);
- return false;
+ return true;
}
};
}
int temp = tmp[2] - 40;
value = boost::lexical_cast<std::string>(temp);
- return false;
+ return true;
}
};
}
maf = ((tmp[2] << 8) + tmp[3]) / 100.0;
value = boost::lexical_cast<std::string>(maf);
- return false;
+ return true;
}
protected:
double consumption = 1 / (14.75 * 6.26) * maf * diffTime/60;
value = boost::lexical_cast<std::string>(consumption);
- return false;
+ return true;
}
private:
}
value = vinstring;
- return false;
+ return true;
}
};
VinPid::tryParse(replyVector);
value = value.substr(0,3);
- return false;
+ return true;
}
};