Table of Contents

Class ReadLogFileCommand

Namespace
TechnologySolutions.Rfid.AsciiProtocol.Commands
Assembly
TechnologySolutions.Rfid.AsciiProtocol.Core.dll

The .rl Read the Log file of the Technology Solutions UK Ltd ASCII 2 Protocol

(.rl) A command to read the log file from the device

[AsciiCommand(".rl")]
public class ReadLogFileCommand : ActionCommandBase, IAsciiCommand, ICommandParameters
Inheritance
ReadLogFileCommand
Implements
Inherited Members
Extension Methods

Constructors

ReadLogFileCommand()

Initializes a new instance of the ReadLogFileCommand class

public ReadLogFileCommand()

Properties

BlockOffset

Gets or sets the block offset to read from the log (when no set the whole log is returned)

[AsciiParameter("b")]
public int? BlockOffset { get; set; }

Property Value

int?

Delete

Gets or sets a value indicating whether to delete the file from the device

[AsciiParameter("d")]
public Confirmation? Delete { get; set; }

Property Value

Confirmation?

DeleteFile

Gets or sets a value indicating whether to delete the file from the device

[Obsolete("Use Delete instead")]
[AsciiParameter("d")]
public Deletion? DeleteFile { get; set; }

Property Value

Deletion?

IsCommandLoggingEnabled

Gets or sets a value indicating whether to command logging is enabled. Set to null to not change the current value

[AsciiParameter("c")]
public TriState? IsCommandLoggingEnabled { get; set; }

Property Value

TriState?

LogFile

Gets the contents of the file

public string LogFile { get; }

Property Value

string

LogFileLength

Gets the log file length returned when the command is executed synchronously with ReadLogFileLength equals true

[AsciiResponse("LL")]
public int LogFileLength { get; }

Property Value

int

ReadLogLength

Gets or sets a value indicating whether to query the reader for the log file length (to return LogFileLength)

[AsciiParameter("l")]
public bool ReadLogLength { get; set; }

Property Value

bool