mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-02-07 20:31:50 +08:00
35 lines
779 B
C++
35 lines
779 B
C++
/*****************************************************************************
|
|
*
|
|
* $Id$
|
|
*
|
|
****************************************************************************/
|
|
|
|
#ifndef __COMMANDSIIREAD_H__
|
|
#define __COMMANDSIIREAD_H__
|
|
|
|
#include "Command.h"
|
|
|
|
/****************************************************************************/
|
|
|
|
class CommandSiiRead:
|
|
public Command
|
|
{
|
|
public:
|
|
CommandSiiRead();
|
|
|
|
string helpString() const;
|
|
void execute(MasterDevice &, const StringVector &);
|
|
|
|
protected:
|
|
struct CategoryName {
|
|
uint16_t type;
|
|
const char *name;
|
|
};
|
|
static const CategoryName categoryNames[];
|
|
static const char *getCategoryName(uint16_t);
|
|
};
|
|
|
|
/****************************************************************************/
|
|
|
|
#endif
|