namespace Sick.Tim781s.Colab.Commands;
///
/// Interface for ColaB protocol commands
///
public interface IColaBCommand
{
///
/// Gets the command data (SOPAS command string encoded as bytes)
///
ReadOnlyMemory GetCommandData();
///
/// Processes the reply from the scanner
///
/// The reply data from the scanner
/// True if the command was successful
bool ProcessReply(ReadOnlyMemory replyData);
///
/// Indicates if the command was successfully executed
///
bool WasSuccessful { get; }
}