AscReaderStatusItem

Transport counterpart of the domain AscReaderStatus. Every property is nullable so that “not yet reported” stays distinguishable from a reported value.

Overview of AscReaderStatusItem goes here.

AscReaderStatusItem Properties

DeviceStatusItem -> AscReaderStatusItem

Field Type Inherited from Description
ConcurrencyVersion Nullable<Int64> DeviceStatusItem Concurrency version for optimistic concurrency control.
DisplayLevel String DeviceStatusItem Gets or sets the display level for this item, typically used to indicate visual priority, severity, or categorization in the user interface (e.g., Info, Warning, Critical).
DisplayStatus String DeviceStatusItem Gets or sets the display-friendly status text for the device. This is typically used for UI representation and may differ from internal status codes. [BsonIgnoreIfDefault] to avoid reading the value.
ExtendedProperties Dictionary<String> DeviceStatusItem Nullable dictionary for storing arbitrary status fields without requiring new strongly-typed properties on derived classes.
Key String DeviceStatusItem Device ID of the device hosting the status. This is provided to link the status to the device.
LastUpdated Nullable<DateTime> DeviceStatusItem Last update time in UTC. If null, the current time will be used.
LogId Nullable<Int64> DeviceStatusItem The log ID is provided by the smart controller (AUP devices) with every log event. So if the device status is being updated as part of processing a log event, the log ID can be used to correlate the status update with the original log event and gives the order of events. (Don’t override the status with an older logId.)
IsEnabled Nullable<Boolean> AscReaderStatusItem Whether the reader is enabled - the inverse of AscReaderInfo.IsDisabled. False takes precedence over every other status, because a disabled reader is not monitored.
IsOnline Nullable<Boolean> AscReaderStatusItem Whether the reader is online. Null means the online state has not been reported.
IsTampered Nullable<Boolean> AscReaderStatusItem Whether the reader reports a tamper condition. Null means never reported; only true raises a tampered status.

JSON Structure of AscReaderStatusItem

{
   "ConcurrencyVersion"	:	"Nullable\<Int64\>",
   "DisplayLevel"	:	"String",
   "DisplayStatus"	:	"String",
   "ExtendedProperties"	:	"Dictionary\<String\>",
   "Key"	:	"String",
   "LastUpdated"	:	"Nullable\<DateTime\>",
   "LogId"	:	"Nullable\<Int64\>",
   "IsEnabled"	:	"Nullable\<Boolean\>",
   "IsOnline"	:	"Nullable\<Boolean\>",
   "IsTampered"	:	"Nullable\<Boolean\>"
}