Click or drag to resize

AddressAreaContains(Int64, Int64, Int64, Int64) Method

Determines whether the first addressable area contains the second addressable area.

Namespace: Demo3D.PLC.Comms
Assembly: PLC (in PLC.dll) Version: 19.00.00
Syntax
C#
public static bool Contains(
	long fromBitsA,
	long toBitsA,
	long fromBitsB,
	long toBitsB
)

Parameters

fromBitsA  Int64
The start bit address of the first address to compare.
toBitsA  Int64
The number of bits in the first address to compare.
fromBitsB  Int64
The start bit address of the second address to compare.
toBitsB  Int64
The number of bits in the second address to compare.

Return Value

Boolean
True if the first addressable area contains the second addressable area.
See Also