Table of Contents

Class DateCommand

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

The .da Date Command of the Technology Solutions UK Ltd ASCII 2 Protocol

(.da) A command to obtain or set the date of the reader's real time clock

[AsciiCommand(".da")]
public class DateCommand : AsciiCommandBase, IAsciiCommand
Inheritance
DateCommand
Implements
Inherited Members
Extension Methods

Constructors

DateCommand()

Initializes a new instance of the DateCommand class

public DateCommand()

Properties

Date

Gets or sets the date to read or write (time is ignored)

[AsciiParameter("s")]
[AsciiResponse("DA")]
public DateTime? Date { get; set; }

Property Value

DateTime?

Remarks

Before the command is executed this gets or set the value to set date of the reader to "-s".

If the command has been executed successfully this returns the date from the response "DA: {yyyy-MM-dd}" until it is set to different value at which point the response is reset