You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
527 B
C++
35 lines
527 B
C++
//
|
|
// ±êÖ¾ÎïͨÐÅ - ETC - ZigBee
|
|
//
|
|
|
|
#include "ETCCommand.h"
|
|
|
|
ETCCommand::ETCCommand()
|
|
{
|
|
SetDevice(CommandData::Devices::ETC);
|
|
}
|
|
|
|
byte* ETCCommand::CMD_GateUp()
|
|
{
|
|
SetCommand(0x08, 0x01, 0x01);
|
|
return GetCommandArray();
|
|
}
|
|
|
|
byte* ETCCommand::CMD_GateDown()
|
|
{
|
|
SetCommand(0x08, 0x02, 0x02);
|
|
return GetCommandArray();
|
|
}
|
|
|
|
byte* ETCCommand::CMD_LeftUpRightDown()
|
|
{
|
|
SetCommand(0x08, 0x01, 0x02);
|
|
return GetCommandArray();
|
|
}
|
|
|
|
byte* ETCCommand::CMD_LeftDownRightUp()
|
|
{
|
|
SetCommand(0x08, 0x02, 0x01);
|
|
return GetCommandArray();
|
|
}
|