Class Command
Represents a command or request for fingerprint device.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Unosquare.Sparkfun.FingerprintModule
Syntax
public class Command : PacketBase
Constructors
Command(CommandCode, Int32)
Initializes a new instance of the Command class.
Declaration
protected Command(CommandCode commandCode, int parameter)
Parameters
Type | Name | Description |
---|---|---|
CommandCode | commandCode | The command code. |
System.Int32 | parameter | The parameter. |
Command(CommandCode, Int32, Byte[])
Initializes a new instance of the Command class.
Declaration
protected Command(CommandCode commandCode, int parameter, byte[] data)
Parameters
Type | Name | Description |
---|---|---|
CommandCode | commandCode | The command code. |
System.Int32 | parameter | The parameter. |
System.Byte[] | data | A byte array representing the data for a Unosquare.Sparkfun.FingerprintModule.CommandDataPacket. |
Properties
CommandCode
Gets the command code.
Declaration
public CommandCode CommandCode { get; }
Property Value
Type | Description |
---|---|
CommandCode |