BaseStation.ItemDescriber Namespace
CAS.DataPorter.Configurator Namespace
CAS.Lib.CommonBus Namespace
CAS.Lib.CommonBus.ApplicationLayer Namespace
CAS.Lib.CommonBus.CommunicationLayer Namespace
CAS.Lib.DeviceSimulator Namespace
CAS.NetworkConfigLib Namespace
Object-Oriented Internet Process-Observer

UMessage Constructor

Message with buffer located in unmanaged memory

Namespace:  CAS.Lib.CommonBus.CommunicationLayer
Assembly:  CommServer.CommonBus (in CommServer.CommonBus.dll)

Syntax


public UMessage(
	ushort length,
	bool bigEndian
)
Public Sub New ( _
	length As UShort, _
	bigEndian As Boolean _
)
public:
UMessage(
	unsigned short^ length, 
	bool^ bigEndian
)

Parameters

length
Type: UInt16
Length of the data buffer
bigEndian
Type: Boolean
If true, numerical quantity larger then a single byte is stored in the buffer with the most significant byte first. true to use a ‘big-Endian’ representation for addresses and data items. This means that when a numerical quantity larger than a single byte is transmitted, the most significant byte is sent first. So for example Register size value 16 - bits 0x1234 the first byte sent is 0x12 then 0x34 (fe. MODBUS, SBUS)