C# Class RFID.RFIDInterface.LakeChabotReader

Inheritance: IDisposable, IReader
Afficher le fichier Open project: mti-rfid/RFID_Explorer Class Usage Examples

Méthodes publiques

Свойство Type Description
MANAGED_ACCESS rfid.Linkage
VirtualReaderQueue Queue

Private Properties

Свойство Type Description
CreateDataSet void
EnumerateReaders List
InitReader Result
LakeChabotReader System
LakeChabotReader System
LoadLibrary IntPtr
PacketCallBackFromReader bool
ProcessPacket void
ProcessQueuedPackets int
SavePacket void
WaitForFileReady void
initAntennaList Result

Méthodes publiques

Méthode Description
API_AntennaPortGetConfiguration ( byte r_Port, AntennaPortConfig &r_Config ) : System.Result
API_AntennaPortGetSenseThreshold ( UInt32 &AntennaThreshold ) : System.Result
API_AntennaPortSetConfiguration ( byte r_Port, AntennaPortConfig r_Config ) : System.Result
API_AntennaPortSetSenseThreshold ( UInt32 AntennaThreshold ) : System.Result
API_AntennaPortSetState ( byte r_Port, AntennaPortState r_State ) : Result
API_ControlSoftReset ( ) : Result
API_GpioReadPins ( byte r_Mask, byte &r_Value ) : Result
API_MacGetCustomerRegion ( string &r_CustomerRegion ) : Result
API_TestGetAntennaPortConfiguration ( byte &r_btPhysicalPort, UInt16 &r_usPowerLevel ) : Result
API_TestGetFrequencyConfiguration ( byte &r_btChannelFlag, UInt32 &r_uiExactFrequecny ) : Result
API_TestGetRandomDataPulseTime ( UInt16 &r_usOnTime, UInt16 &r_usOffTime ) : Result
API_TestSetAntennaPortConfiguration ( byte r_btPhysicalPort, UInt16 r_usPowerLevel ) : Result
API_TestSetFrequencyConfiguration ( byte r_btChannelFlag, UInt32 r_uiExactFrequecny ) : Result
API_TestSetRandomDataPulseTime ( UInt16 r_usOnTime, UInt16 r_usOffTime ) : Result
API_TestTurnCarrierWaveOff ( ) : Result
API_TestTurnCarrierWaveOn ( ) : Result
API_l8K6CSetTagAccessPassword ( UInt32 AccessPassword ) : Result
API_l8K6CTagGetAccessPassword ( UInt32 &AccessPassword ) : Result
API_l8K6CTagInventory ( ) : Result
AssemblyClosing ( ) : void
BindReader ( rfidReaderID Reader ) : LakeChabotReader
BuildTables ( Object context, BackgroundWorker worker, int refreshMS ) : ReportBase

ClearSession ( ) : void
CloseReader ( ) : void
Dispose ( ) : void
FindReaders ( ) : List
FindReaders ( rfidReaderID whereToLook ) : List
GetPropertyAsString ( string name ) : string
GetSessionRelativeDateTime ( long pointInTimeMS ) : DateTime
GetSessionRelativeSessionDuration ( long elapsedMilliseconds ) : TimeSpan
LakeChabotReader ( rfidReaderID ReaderToBind ) : System

Create a bound reader

LoadFileIntoStaticReader ( Object context, BackgroundWorker worker, int refreshMS, string zipFileName ) : ReportBase

MacBypassReadRegister ( ushort address, ushort &data ) : rfid.Constants.Result
MacBypassWriteRegister ( ushort address, ushort data ) : rfid.Constants.Result
MacClearError ( ) : rfid.Constants.Result
MacGetError ( uint &errorCode, uint &lastErrorCode ) : rfid.Constants.Result
MacReadBankedRegister ( ushort address, ushort bank, uint &data ) : rfid.Constants.Result
MacReadOemData ( ushort address, uint &Data ) : rfid.Constants.Result
MacReadRegister ( ushort address, uint &data ) : rfid.Constants.Result
MacReadRegisterGetTempature ( ushort address, int &data ) : rfid.Constants.Result
MacReadRegisterInfo ( ushort address, RegisterInfo &info ) : rfid.Constants.Result
MacReset ( ) : rfid.Constants.Result
MacWriteBankedRegister ( ushort address, ushort bank, uint data ) : rfid.Constants.Result
MacWriteOemData ( ushort address, uint Data ) : rfid.Constants.Result
MacWriteRegister ( UInt16 address, uint data ) : rfid.Constants.Result
MonitorInventory ( Object context, BackgroundWorker worker, int refreshMS ) : ReportBase
MonitorPulse ( Object context, BackgroundWorker worker, int refreshMS ) : ReportBase
MyCallback ( UInt32 bufferLength, IntPtr pBuffer, IntPtr context ) : Int32
ReadInventory ( Object context, BackgroundWorker worker, int refreshMS ) : ReportBase

ReadRegister ( UInt16 address, string &errorMessage ) : UInt32
SaveDataToFile ( Object context, BackgroundWorker worker, int refreshMS, string Filename ) : ReportBase
SetProperty ( string name, object value ) : void
SettingsChanged ( ) : void

Called after the public properties have been changed.

TagAccess ( Object context, BackgroundWorker worker, int refreshMS, int r_iTagAccessReqCount, int r_iTagAccessReqCountRead ) : ReportBase

Read Tag memory

UpdateInventoryStats ( ) : void
WriteRegister ( UInt16 address, UInt32 value, string &errorMessage ) : UInt32

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Dispose(bool disposing) executes in two distinct scenarios. If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed. If disposing equals false, the method has been called by the runtime from inside the finalizer and you should not reference other objects. Only unmanaged resources can be disposed.

Private Methods

Méthode Description
CreateDataSet ( ) : void
EnumerateReaders ( rfidReaderID whereToLook ) : List
InitReader ( ) : Result
LakeChabotReader ( ) : System
LakeChabotReader ( bool noStartup ) : System
LoadLibrary ( String lpFileName ) : IntPtr
PacketCallBackFromReader ( int readerIndex, Byte PacketBuffer ) : bool

ProcessPacket ( PacketData envelope ) : void

ProcessQueuedPackets ( ) : int

SavePacket ( PacketData envelope ) : void

Caculate basic stats and save the packet to a stream

WaitForFileReady ( string newFilePath ) : void
initAntennaList ( ) : Result

Method Details

API_AntennaPortGetConfiguration() public méthode

public API_AntennaPortGetConfiguration ( byte r_Port, AntennaPortConfig &r_Config ) : System.Result
r_Port byte
r_Config AntennaPortConfig
Résultat System.Result

API_AntennaPortGetSenseThreshold() public méthode

public API_AntennaPortGetSenseThreshold ( UInt32 &AntennaThreshold ) : System.Result
AntennaThreshold System.UInt32
Résultat System.Result

API_AntennaPortSetConfiguration() public méthode

public API_AntennaPortSetConfiguration ( byte r_Port, AntennaPortConfig r_Config ) : System.Result
r_Port byte
r_Config AntennaPortConfig
Résultat System.Result

API_AntennaPortSetSenseThreshold() public méthode

public API_AntennaPortSetSenseThreshold ( UInt32 AntennaThreshold ) : System.Result
AntennaThreshold System.UInt32
Résultat System.Result

API_AntennaPortSetState() public méthode

public API_AntennaPortSetState ( byte r_Port, AntennaPortState r_State ) : Result
r_Port byte
r_State AntennaPortState
Résultat Result

API_ControlSoftReset() public méthode

public API_ControlSoftReset ( ) : Result
Résultat Result

API_GpioReadPins() public méthode

public API_GpioReadPins ( byte r_Mask, byte &r_Value ) : Result
r_Mask byte
r_Value byte
Résultat Result

API_MacGetCustomerRegion() public méthode

public API_MacGetCustomerRegion ( string &r_CustomerRegion ) : Result
r_CustomerRegion string
Résultat Result

API_TestGetAntennaPortConfiguration() public méthode

public API_TestGetAntennaPortConfiguration ( byte &r_btPhysicalPort, UInt16 &r_usPowerLevel ) : Result
r_btPhysicalPort byte
r_usPowerLevel UInt16
Résultat Result

API_TestGetFrequencyConfiguration() public méthode

public API_TestGetFrequencyConfiguration ( byte &r_btChannelFlag, UInt32 &r_uiExactFrequecny ) : Result
r_btChannelFlag byte
r_uiExactFrequecny UInt32
Résultat Result

API_TestGetRandomDataPulseTime() public méthode

public API_TestGetRandomDataPulseTime ( UInt16 &r_usOnTime, UInt16 &r_usOffTime ) : Result
r_usOnTime UInt16
r_usOffTime UInt16
Résultat Result

API_TestSetAntennaPortConfiguration() public méthode

public API_TestSetAntennaPortConfiguration ( byte r_btPhysicalPort, UInt16 r_usPowerLevel ) : Result
r_btPhysicalPort byte
r_usPowerLevel UInt16
Résultat Result

API_TestSetFrequencyConfiguration() public méthode

public API_TestSetFrequencyConfiguration ( byte r_btChannelFlag, UInt32 r_uiExactFrequecny ) : Result
r_btChannelFlag byte
r_uiExactFrequecny UInt32
Résultat Result

API_TestSetRandomDataPulseTime() public méthode

public API_TestSetRandomDataPulseTime ( UInt16 r_usOnTime, UInt16 r_usOffTime ) : Result
r_usOnTime UInt16
r_usOffTime UInt16
Résultat Result

API_TestTurnCarrierWaveOff() public méthode

public API_TestTurnCarrierWaveOff ( ) : Result
Résultat Result

API_TestTurnCarrierWaveOn() public méthode

public API_TestTurnCarrierWaveOn ( ) : Result
Résultat Result

API_l8K6CSetTagAccessPassword() public méthode

public API_l8K6CSetTagAccessPassword ( UInt32 AccessPassword ) : Result
AccessPassword UInt32
Résultat Result

API_l8K6CTagGetAccessPassword() public méthode

public API_l8K6CTagGetAccessPassword ( UInt32 &AccessPassword ) : Result
AccessPassword UInt32
Résultat Result

API_l8K6CTagInventory() public méthode

public API_l8K6CTagInventory ( ) : Result
Résultat Result

AssemblyClosing() public static méthode

public static AssemblyClosing ( ) : void
Résultat void

BindReader() public méthode

public BindReader ( rfidReaderID Reader ) : LakeChabotReader
Reader rfidReaderID
Résultat LakeChabotReader

BuildTables() public méthode

public BuildTables ( Object context, BackgroundWorker worker, int refreshMS ) : ReportBase
context Object
worker BackgroundWorker
refreshMS int
Résultat ReportBase

ClearSession() public méthode

public ClearSession ( ) : void
Résultat void

CloseReader() public méthode

public CloseReader ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

Dispose(bool disposing) executes in two distinct scenarios. If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed. If disposing equals false, the method has been called by the runtime from inside the finalizer and you should not reference other objects. Only unmanaged resources can be disposed.
protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

FindReaders() public static méthode

public static FindReaders ( ) : List
Résultat List

FindReaders() public static méthode

public static FindReaders ( rfidReaderID whereToLook ) : List
whereToLook rfidReaderID
Résultat List

GetPropertyAsString() public méthode

public GetPropertyAsString ( string name ) : string
name string
Résultat string

GetSessionRelativeDateTime() public méthode

public GetSessionRelativeDateTime ( long pointInTimeMS ) : DateTime
pointInTimeMS long
Résultat DateTime

GetSessionRelativeSessionDuration() public méthode

public GetSessionRelativeSessionDuration ( long elapsedMilliseconds ) : TimeSpan
elapsedMilliseconds long
Résultat TimeSpan

LakeChabotReader() public méthode

Create a bound reader
public LakeChabotReader ( rfidReaderID ReaderToBind ) : System
ReaderToBind rfidReaderID
Résultat System

LoadFileIntoStaticReader() public static méthode

public static LoadFileIntoStaticReader ( Object context, BackgroundWorker worker, int refreshMS, string zipFileName ) : ReportBase
context Object
worker BackgroundWorker
refreshMS int
zipFileName string
Résultat ReportBase

MacBypassReadRegister() public méthode

public MacBypassReadRegister ( ushort address, ushort &data ) : rfid.Constants.Result
address ushort
data ushort
Résultat rfid.Constants.Result

MacBypassWriteRegister() public méthode

public MacBypassWriteRegister ( ushort address, ushort data ) : rfid.Constants.Result
address ushort
data ushort
Résultat rfid.Constants.Result

MacClearError() public méthode

public MacClearError ( ) : rfid.Constants.Result
Résultat rfid.Constants.Result

MacGetError() public méthode

public MacGetError ( uint &errorCode, uint &lastErrorCode ) : rfid.Constants.Result
errorCode uint
lastErrorCode uint
Résultat rfid.Constants.Result

MacReadBankedRegister() public méthode

public MacReadBankedRegister ( ushort address, ushort bank, uint &data ) : rfid.Constants.Result
address ushort
bank ushort
data uint
Résultat rfid.Constants.Result

MacReadOemData() public méthode

public MacReadOemData ( ushort address, uint &Data ) : rfid.Constants.Result
address ushort
Data uint
Résultat rfid.Constants.Result

MacReadRegister() public méthode

public MacReadRegister ( ushort address, uint &data ) : rfid.Constants.Result
address ushort
data uint
Résultat rfid.Constants.Result

MacReadRegisterGetTempature() public méthode

public MacReadRegisterGetTempature ( ushort address, int &data ) : rfid.Constants.Result
address ushort
data int
Résultat rfid.Constants.Result

MacReadRegisterInfo() public méthode

public MacReadRegisterInfo ( ushort address, RegisterInfo &info ) : rfid.Constants.Result
address ushort
info RegisterInfo
Résultat rfid.Constants.Result

MacReset() public méthode

public MacReset ( ) : rfid.Constants.Result
Résultat rfid.Constants.Result

MacWriteBankedRegister() public méthode

public MacWriteBankedRegister ( ushort address, ushort bank, uint data ) : rfid.Constants.Result
address ushort
bank ushort
data uint
Résultat rfid.Constants.Result

MacWriteOemData() public méthode

public MacWriteOemData ( ushort address, uint Data ) : rfid.Constants.Result
address ushort
Data uint
Résultat rfid.Constants.Result

MacWriteRegister() public méthode

public MacWriteRegister ( UInt16 address, uint data ) : rfid.Constants.Result
address UInt16
data uint
Résultat rfid.Constants.Result

MonitorInventory() public méthode

public MonitorInventory ( Object context, BackgroundWorker worker, int refreshMS ) : ReportBase
context Object
worker BackgroundWorker
refreshMS int
Résultat ReportBase

MonitorPulse() public méthode

public MonitorPulse ( Object context, BackgroundWorker worker, int refreshMS ) : ReportBase
context Object
worker BackgroundWorker
refreshMS int
Résultat ReportBase

MyCallback() public méthode

public MyCallback ( UInt32 bufferLength, IntPtr pBuffer, IntPtr context ) : Int32
bufferLength UInt32
pBuffer IntPtr
context IntPtr
Résultat Int32

ReadInventory() public méthode

public ReadInventory ( Object context, BackgroundWorker worker, int refreshMS ) : ReportBase
context Object
worker BackgroundWorker
refreshMS int
Résultat ReportBase

ReadRegister() public méthode

public ReadRegister ( UInt16 address, string &errorMessage ) : UInt32
address UInt16
errorMessage string
Résultat UInt32

SaveDataToFile() public méthode

public SaveDataToFile ( Object context, BackgroundWorker worker, int refreshMS, string Filename ) : ReportBase
context Object
worker BackgroundWorker
refreshMS int
Filename string
Résultat ReportBase

SetProperty() public méthode

public SetProperty ( string name, object value ) : void
name string
value object
Résultat void

SettingsChanged() public méthode

Called after the public properties have been changed.
public SettingsChanged ( ) : void
Résultat void

TagAccess() public méthode

Read Tag memory
public TagAccess ( Object context, BackgroundWorker worker, int refreshMS, int r_iTagAccessReqCount, int r_iTagAccessReqCountRead ) : ReportBase
context Object
worker BackgroundWorker
refreshMS int
r_iTagAccessReqCount int
r_iTagAccessReqCountRead int
Résultat ReportBase

UpdateInventoryStats() public méthode

public UpdateInventoryStats ( ) : void
Résultat void

WriteRegister() public méthode

public WriteRegister ( UInt16 address, UInt32 value, string &errorMessage ) : UInt32
address UInt16
value UInt32
errorMessage string
Résultat UInt32

Property Details

MANAGED_ACCESS public_oe static_oe property

public static rfid.Linkage MANAGED_ACCESS
Résultat rfid.Linkage

VirtualReaderQueue public_oe property

public Queue VirtualReaderQueue
Résultat Queue