LAPTOP-SNT8I5JK\Boounion
2025-07-28 bfe14e41fa5b07771d78af4511ba18d706bc23cc
SourceCode/Bond/Servo/CEqReadStep.h
@@ -3,7 +3,7 @@
#include <functional>
#define READ_BUFFER_MAX      1024
#define READ_BUFFER_MAX      2048
#define ROK            0               /* 读数据OK */
#define RTIMEOUT      -1               /* 读数据超时 */
@@ -11,14 +11,14 @@
#define RCOMPLETE      1               /* 读数据流程完成 */
namespace SERVO {
   typedef std::function<int(int code, const char* pszData, size_t size)> ONREAD;
   typedef std::function<int(void* pFrom, int code, const char* pszData, size_t size)> ONREAD;
   class CEqReadStep : public CReadStep
   {
   public:
      CEqReadStep();
      CEqReadStep(int dev, size_t readSize, ONREAD onReadBlock);
      ~CEqReadStep();
      virtual ~CEqReadStep();
   public:
      virtual void getAttributeVector(CAttributeVector& attrubutes);