public static void SendMessageAccepted() { var commandHeader = new CommandHeader { Count = 1, Type = (int)CommandTypeEnum.MessageAccepted }; SendAnswer(IP, Port, commandHeader.ToBytes()); }
public static void SendClearLogDataGrid() { var commandHeader = new CommandHeader { Count = 1, Type = (int)CommandTypeEnum.ClearLogDataGrid }; SendAnswer(IP, Port, commandHeader.ToBytes()); }
public static void SendQueryCommand(QueryCommand queryCommand) { var commandHeader = new CommandHeader { Count = 1, Type = (int)CommandTypeEnum.QueryCommand }; byte[] commandBytes = CommandUtils.ConcatByteArrays(commandHeader.ToBytes(), queryCommand.ToBytes()); SendAnswer(IP, Port, commandBytes); }