Show / Hide Table of Contents

Class Buffer

Inheritance
System.Object
Buffer
Input
Output
Implements
IBuffer
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Experior.Core.Communication.PLC.Buffers
Assembly: Experior.Core.dll
Syntax
public abstract class Buffer : IBuffer

Fields

buffertype

Declaration
protected BufferTypes buffertype
Field Value
Type Description
BufferTypes

data

Declaration
protected byte[] data
Field Value
Type Description
System.Byte[]

max

Declaration
protected int max
Field Value
Type Description
System.Int32

offset

Declaration
protected int offset
Field Value
Type Description
System.Int32

source

Declaration
protected string source
Field Value
Type Description
System.String

unit

Declaration
protected Units unit
Field Value
Type Description
Units

unitsize

Declaration
protected int unitsize
Field Value
Type Description
System.Int32

Properties

Data

Declaration
public virtual byte[] Data { get; set; }
Property Value
Type Description
System.Byte[]

Max

Declaration
public int Max { get; set; }
Property Value
Type Description
System.Int32

Offset

Declaration
public int Offset { get; set; }
Property Value
Type Description
System.Int32

Size

Declaration
public int Size { get; }
Property Value
Type Description
System.Int32

Source

Declaration
public string Source { get; set; }
Property Value
Type Description
System.String

Unit

Declaration
public Units Unit { get; set; }
Property Value
Type Description
Units

UnitSize

Declaration
public int UnitSize { get; }
Property Value
Type Description
System.Int32

Methods

Active(Int32, Int16)

Declaration
public abstract bool Active(int address, short bitno)
Parameters
Type Name Description
System.Int32 address
System.Int16 bitno
Returns
Type Description
System.Boolean

Allocate(Int32, Int32)

Declaration
public abstract void Allocate(int bytesize, int offset)
Parameters
Type Name Description
System.Int32 bytesize
System.Int32 offset

Allocate(Int32, Int32, Units)

Declaration
public abstract void Allocate(int bytesize, int offset, Units datatype)
Parameters
Type Name Description
System.Int32 bytesize
System.Int32 offset
Units datatype

Implements

IBuffer
Back to top Generated by DocFX