20 lines
314 B
C
20 lines
314 B
C
|
#pragma once
|
||
|
#include "Command.h"
|
||
|
#include <string>
|
||
|
|
||
|
using namespace std;
|
||
|
|
||
|
class UpsComand:public Command
|
||
|
{
|
||
|
public:
|
||
|
UpsComand(string command);
|
||
|
virtual ~UpsComand(void);
|
||
|
virtual int GetRequestSequence(unsigned char* bseq);
|
||
|
virtual bool Verify(unsigned char* rseq,int dlength);
|
||
|
|
||
|
private:
|
||
|
string m_command;
|
||
|
|
||
|
};
|
||
|
|