| | |
| | | |
| | | |
| | | namespace SERVO { |
| | | CEqProcessStep::CEqProcessStep() |
| | | CEqProcessStep::CEqProcessStep() : CReadStep() |
| | | { |
| | | m_nProcessDev = 0; |
| | | m_nTotalParameter = 0; |
| | |
| | | |
| | | void CEqProcessStep::getAttributeVector(CAttributeVector& attrubutes) |
| | | { |
| | | CStep::getAttributeVector(attrubutes); |
| | | CReadStep::getAttributeVector(attrubutes); |
| | | |
| | | attrubutes.addAttribute(new CAttribute("Glass ID", |
| | | m_strGlassId.c_str(), "")); |
| | |
| | | #define PROGRESS_BUF_SIZE (1024 + 64) |
| | | int CEqProcessStep::onReadData() |
| | | { |
| | | CStep::onReadData(); |
| | | CReadStep::onReadData(); |
| | | |
| | | // W1864 ~ W1A74, 529个word, 1058 bytes |
| | | char szBuffer[PROGRESS_BUF_SIZE]; |
| | |
| | | |
| | | int CEqProcessStep::onComplete() |
| | | { |
| | | CStep::onComplete(); |
| | | CReadStep::onComplete(); |
| | | LOGI("<CEqProcessStep> onComplete."); |
| | | |
| | | return 0; |
| | |
| | | |
| | | int CEqProcessStep::onTimeout() |
| | | { |
| | | CStep::onTimeout(); |
| | | CReadStep::onTimeout(); |
| | | LOGI("<CEqProcessStep> onTimeout."); |
| | | |
| | | return 0; |