Click or drag to resize

AddressArea Structure

Describes an addressable area within an address space.

Namespace:  Demo3D.PLC.Comms
Assembly:  PLC (in PLC.dll) Version: 15.0.2.11458
Syntax
C#
[TypeConverterAttribute(typeof(ExpandableObjectConverter))]
public readonly struct AddressArea : IComparable<AddressArea>, 
	IComparable

The AddressArea type exposes the following members.

Constructors
  NameDescription
Public methodAddressArea(AddressArea)
Constructs an addressable area within an address space.
Public methodAddressArea(Int64, Int64)
Constructs an addressable area within an address space.
Top
Properties
  NameDescription
Public propertyBitAddress
Absolute address in the address space (in bits).
Public propertyByteAddress
Absolute address rounded down to the nearest byte.
Public propertyFromBits
Absolute address in the addressable area (in bits).
Public propertyNumBits
Length of this address range (in bits).
Public propertyNumBytes
Number of bytes required to contain this addressable area.
Public propertyString
A string that represents the current addressable area.
Public propertyToBits
Absolute address of the first bit beyond this addressable area.
Public propertyStatic memberZero
The empty address area.
Top
Methods
  NameDescription
Public methodCompareTo(AddressArea)
Compares two addressable areas.
Public methodCompareTo(Object)
Compares two addressable areas.
Public methodContains(AddressArea)
Determines whether the current addressable area contains the specified addressable area.
Public methodContains(Int64)
Determines whether the current addressable area contains address.
Public methodStatic memberContains(Int64, Int64, Int64, Int64)
Determines whether the first addressable area contains the second addressable area.
Public methodGetByteAligned
Return the smallest byte-aligned addressable area that contains this addressable area.
Public methodGetWordAligned
Return the smallest word-aligned addressable area that contains this addressable area.
Public methodMerge
Return the smallest addressable area that contains this addressable area and 'other'.
Public methodOverlappingArea(AddressArea)
Return the overlapping area between this addressable area and 'other'.
Public methodStatic memberOverlappingArea(AddressArea, AddressArea)
Return the overlapping area between two addressable areas.
Public methodOverlappingOrContiguous(AddressArea)
Determines whether the specified addressable area either overlaps at any point or is contiguous with the current addressable area.
Public methodOverlappingOrContiguous(Int64, Int64)
Determines whether the specified addressable area either overlaps at any point or is contiguous with the current addressable area.
Public methodOverlaps(AddressArea)
Determines whether the specified addressable area overlaps the current addressable area at any point.
Public methodOverlaps(Int64, Int64)
Determines whether the specified addressable area overlap the current addressable area at any point.
Public methodStatic memberOverlaps(Int64, Int64, Int64, Int64)
Determines whether these two addressable areas overlap at any point.
Public methodShift
Return a new addressable area that's shifted by shiftBits bits.
Public methodToString
Returns a string that represents the current addressable area.
(Overrides ValueTypeToString.)
Top
See Also