Show / Hide Table of Contents

Class Output

Inheritance
System.Object
Buffer
Output
Implements
IBufferOutput
IBuffer
Inherited Members
Buffer.buffertype
Buffer.data
Buffer.max
Buffer.offset
Buffer.source
Buffer.unit
Buffer.unitsize
Buffer.Data
Buffer.Max
Buffer.Offset
Buffer.Size
Buffer.Source
Buffer.Unit
Buffer.UnitSize
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
[Serializable]
public class Output : Buffer, IBufferOutput, IBuffer

Constructors

Output()

Declaration
public Output()

Properties

Changed

Declaration
public bool Changed { get; set; }
Property Value
Type Description
System.Boolean

Outgoing

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

Methods

Active(Int32, Int16)

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

Allocate(Int32, Int32)

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

Allocate(Int32, Int32, Units)

Declaration
public override void Allocate(int bytesize, int offset, Units unit)
Parameters
Type Name Description
System.Int32 bytesize
System.Int32 offset
Units unit
Overrides
Buffer.Allocate(Int32, Int32, Units)

Array(Int32, Byte[], Boolean)

Declaration
public byte[] Array(int address, byte[] bytes, bool flush)
Parameters
Type Name Description
System.Int32 address
System.Byte[] bytes
System.Boolean flush
Returns
Type Description
System.Byte[]

Boolean(Int32, Int16, Boolean, Boolean)

Declaration
public byte[] Boolean(int address, short bit, bool state, bool flush)
Parameters
Type Name Description
System.Int32 address
System.Int16 bit
System.Boolean state
System.Boolean flush
Returns
Type Description
System.Byte[]

Byte(Int32, Byte, Boolean)

Declaration
public byte[] Byte(int address, byte data, bool flush)
Parameters
Type Name Description
System.Int32 address
System.Byte data
System.Boolean flush
Returns
Type Description
System.Byte[]

Double(Int32, Double, Conversions, Boolean)

Declaration
public byte[] Double(int address, double value, Conversions conversion, bool flush)
Parameters
Type Name Description
System.Int32 address
System.Double value
Conversions conversion
System.Boolean flush
Returns
Type Description
System.Byte[]

Float(Int32, Single, Conversions, Boolean)

Declaration
public byte[] Float(int address, float value, Conversions conversion, bool flush)
Parameters
Type Name Description
System.Int32 address
System.Single value
Conversions conversion
System.Boolean flush
Returns
Type Description
System.Byte[]

Flush()

Declaration
public void Flush()

GetData(Int32, Int32)

Declaration
public byte[] GetData(int startbyte, int length)
Parameters
Type Name Description
System.Int32 startbyte
System.Int32 length
Returns
Type Description
System.Byte[]

Int16(Int32, Int16, Conversions, Boolean)

Declaration
public byte[] Int16(int address, short data, Conversions conversion, bool flush)
Parameters
Type Name Description
System.Int32 address
System.Int16 data
Conversions conversion
System.Boolean flush
Returns
Type Description
System.Byte[]

Int32(Int32, Int32, Conversions, Boolean)

Declaration
public byte[] Int32(int address, int data, Conversions conversion, bool flush)
Parameters
Type Name Description
System.Int32 address
System.Int32 data
Conversions conversion
System.Boolean flush
Returns
Type Description
System.Byte[]

Int64(Int32, Int64, Conversions, Boolean)

Declaration
public byte[] Int64(int address, long data, Conversions conversion, bool flush)
Parameters
Type Name Description
System.Int32 address
System.Int64 data
Conversions conversion
System.Boolean flush
Returns
Type Description
System.Byte[]

SInt(Int32, SByte, Boolean)

Declaration
public byte[] SInt(int address, sbyte data, bool flush)
Parameters
Type Name Description
System.Int32 address
System.SByte data
System.Boolean flush
Returns
Type Description
System.Byte[]

String(Int32, String, Boolean)

Declaration
public byte[] String(int address, string str, bool flush)
Parameters
Type Name Description
System.Int32 address
System.String str
System.Boolean flush
Returns
Type Description
System.Byte[]

Switch(Int32, Int16, Boolean)

Declaration
public byte[] Switch(int address, short bitno, bool flush)
Parameters
Type Name Description
System.Int32 address
System.Int16 bitno
System.Boolean flush
Returns
Type Description
System.Byte[]

UInt16(Int32, UInt16, Conversions, Boolean)

Declaration
public byte[] UInt16(int address, ushort data, Conversions conversion, bool flush)
Parameters
Type Name Description
System.Int32 address
System.UInt16 data
Conversions conversion
System.Boolean flush
Returns
Type Description
System.Byte[]

UInt32(Int32, UInt32, Conversions, Boolean)

Declaration
public byte[] UInt32(int address, uint data, Conversions conversion, bool flush)
Parameters
Type Name Description
System.Int32 address
System.UInt32 data
Conversions conversion
System.Boolean flush
Returns
Type Description
System.Byte[]

UInt64(Int32, UInt64, Conversions, Boolean)

Declaration
public byte[] UInt64(int address, ulong data, Conversions conversion, bool flush)
Parameters
Type Name Description
System.Int32 address
System.UInt64 data
Conversions conversion
System.Boolean flush
Returns
Type Description
System.Byte[]

Events

OnBufferChanged

Declaration
public event BufferChangedEvent OnBufferChanged
Event Type
Type Description
BufferChangedEvent

Implements

IBufferOutput
IBuffer
Back to top Generated by DocFX