Provide support for RFID related services. Module to facilitate listening/retrieval of printer unsolicited messaging related to RFID. More...
Public Member Functions | |
RfidMonitor (string commDescriptor) | |
Constructor called when creating a connection managed by the SDK. More... | |
void | Dispose () |
Protected Member Functions | |
virtual void | Dispose (bool disposing) |
Properties | |
RfidReportNotice | RfidReportCallback [get, set] |
Inherited from IRfidMonitor.RfidReportCallback. | |
bool | RfidReportListening [get, set] |
Selects verson 1 report type from printer. Version 1 only sends reports when EPC data written. Otherwise reports sent when read/writes of EPC, USR, TID. / // For simplicity. Make this private for now. Use only version 2 and if end user needs reporting only when EPC written (version 1), we can add back. public bool RfidReportingUsingVersionOne { get { return _rfidReportSelectVersion_1; } set { if (value != _rfidReportSelectVersion_1) { _rfidReportSelectVersion_1 = value;. More... | |
Provide support for RFID related services. Module to facilitate listening/retrieval of printer unsolicited messaging related to RFID.
Unsolicited messages, if enabled on printer, can be sent at any time. This module requires a constant "status" connection to the printer's management port in order to listen for any messaging sent out by printer.
Result after sending print job that writes to EPC, USR and reads USR memory.
UniPRT.Sdk.Monitor.RfidMonitor.RfidMonitor | ( | string | commDescriptor | ) |
Constructor called when creating a connection managed by the SDK.
commDescriptor is descriptor for the communication used to connect with printer.
TCP descriptor format: "ip" or "ip:port"
e.g. "127.0.0.1" or "127.0.0.1:3007"
If port is not provided, default value is used.
|
getset |
Selects verson 1 report type from printer. Version 1 only sends reports when EPC data written. Otherwise reports sent when read/writes of EPC, USR, TID.
/ // For simplicity. Make this private for now. Use only version 2 and if end user needs reporting only when EPC written (version 1), we can add back. public bool RfidReportingUsingVersionOne { get { return _rfidReportSelectVersion_1; } set { if (value != _rfidReportSelectVersion_1) { _rfidReportSelectVersion_1 = value;.
// refresh the report listening so that correct version gets sent to printer. if (_rfidReportListening) { RfidReportListening = _rfidReportListening; } } } }
/** \~English @brief Inherited from IRfidMonitor.RfidReportListening. \~Chinese-Traditional @brief 繼承自 IRfidMonitor.RfidReportListening。 \~Chinese @brief 继承自 IRfidMonitor.RfidReportListening。