A Sandcastle Documented Class Library
DodCageCodeFieldEncoderDecode Method |
Decodes a field, reading its value from a word array and setting the corresponding property.
Namespace: Tego.Rfid.Tds
Assembly: Tego (in Tego.dll) Version: 1.0.6599.21663 (1.2017.413.1)
Syntax
public int Decode( EpcEncoder epc, PropertyInfo propertyInfo, ushort[] words, int bitAddress, int bitCount, string FormatString )
Public Function Decode ( epc As EpcEncoder, propertyInfo As PropertyInfo, words As UShort(), bitAddress As Integer, bitCount As Integer, FormatString As String ) As Integer
public: virtual int Decode( EpcEncoder^ epc, PropertyInfo^ propertyInfo, array<unsigned short>^ words, int bitAddress, int bitCount, String^ FormatString ) sealed
abstract Decode : epc : EpcEncoder * propertyInfo : PropertyInfo * words : uint16[] * bitAddress : int * bitCount : int * FormatString : string -> int override Decode : epc : EpcEncoder * propertyInfo : PropertyInfo * words : uint16[] * bitAddress : int * bitCount : int * FormatString : string -> int
Parameters
- epc
- Type: Tego.Rfid.TdsEpcEncoder
EPC encoder in which to set field. - propertyInfo
- Type: System.ReflectionPropertyInfo
Property which represents the field to decode. - words
- Type: SystemUInt16
Word array from which to read the encoded field. - bitAddress
- Type: SystemInt32
Address at which to read the field. - bitCount
- Type: SystemInt32
Number of bits to decode. Default VARIABLE if not known. - FormatString
- Type: SystemString
[Missing <param name="FormatString"/> documentation for "M:Tego.Rfid.Tds.DodCageCodeFieldEncoder.Decode(Tego.Rfid.Tds.EpcEncoder,System.Reflection.PropertyInfo,System.UInt16[],System.Int32,System.Int32,System.String)"]
Return Value
Type: Int32Number of bits decoded.
Implements
IEpcFieldEncoderDecode(EpcEncoder, PropertyInfo, UInt16, Int32, Int32, String)See Also