Creates a new CommandFrame from specified parameters.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public CommandFrame( ushort idCode, DeviceCommand command, byte version )
Public Sub New ( _ idCode As UShort, _ command As DeviceCommand, _ version As Byte _ )
public: CommandFrame( unsigned short idCode, DeviceCommand command, unsigned char version )
Parameters
- idCode (UInt16)
- The ID code of this CommandFrame.
- command (DeviceCommand)
- The DeviceCommand for this CommandFrame.
- version (Byte)
- IEEE C37.118 revision number.
Remarks
This constructor is used by a consumer to generate an IEEE C37.118 command frame.