Creates a new CommandFrame from specified parameters.

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 )

- idCode (UInt16)
- The ID code of this CommandFrame.
- command (DeviceCommand)
- The DeviceCommand for this CommandFrame.
- version (Byte)
- IEEE C37.118 revision number.

This constructor is used by a consumer to generate an IEEE C37.118 command frame.