// // 标志物通信 - 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(); }