using System.Collections.Generic; using Aitex.Core.RT.IOCore; namespace MECF.Framework.RT.Core.IoProviders { public interface IIoBuffer { void SetBufferBlock(string provider, List lstBlocks); void SetIoMap(string provider, int blockOffset, List ioList); void SetIoMap(string provider, int blockOffset, List ioList); void SetIoMap(string provider, int blockOffset, List ioList); void SetIoMap(string provider, int blockOffset, List ioList); void SetIoMap(string provider, Dictionary ioMappingPathFile); void SetIoMapByModule(string provider, int offset, string ioMappingPathFile, string module); Dictionary GetDoBuffer(string source); Dictionary GetDiBuffer(string source); Dictionary GetAoBuffer(string source); Dictionary GetAiBuffer(string source); Dictionary GetAoBufferFloat(string source); Dictionary GetAiBufferFloat(string source); void SetDiBuffer(string source, int offset, bool[] buffer); void SetDoBuffer(string source, int offset, bool[] buffer); void SetAiBuffer(string source, int offset, short[] buffer, int bufferStartIndex = 0); void SetAoBuffer(string source, int offset, short[] buffer, int bufferStartIndex = 0); void SetAiBufferFloat(string source, int offset, float[] buffer, int bufferStartIndex = 0); void SetAoBufferFloat(string source, int offset, float[] buffer, int bufferStartIndex = 0); } }