| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 | 
							- using System;
 
- using System.Collections.Generic;
 
- using System.Linq;
 
- using System.Text;
 
- using System.Threading.Tasks;
 
- using Aitex.Core.RT.IOCore;
 
- namespace MECF.Framework.RT.Core.IoProviders
 
- {
 
-     public enum IoType
 
-     {
 
-         DI,
 
-         DO,
 
-         AI,
 
-         AO,
 
-     }
 
-     public class IoBlockItem
 
-     {
 
-         public int Offset { get; set; }
 
-         public int Size { get; set; }
 
-         public IoType Type { get; set; }
 
-     }
 
-     public interface IIoBuffer
 
-     {
 
-         
 
-         void SetBufferBlock(string provider, List<IoBlockItem> lstBlocks);
 
-         void SetIoMap(string provider, int blockOffset, List<DIAccessor> ioList);
 
-         void SetIoMap(string provider, int blockOffset, List<DOAccessor> ioList);
 
-         void SetIoMap(string provider, int blockOffset, List<AIAccessor> ioList);
 
-         void SetIoMap(string provider, int blockOffset, List<AOAccessor> ioList);
 
-         void SetIoMap(string provider, Dictionary<int, string> ioMappingPathFile);
 
-         void SetIoMapByModule(string provider, int offset, string ioMappingPathFile, string module);
 
-         Dictionary<int, bool[]> GetDoBuffer(string source);
 
-         Dictionary<int, bool[]> GetDiBuffer(string source);
 
-         Dictionary<int, short[]> GetAoBuffer(string source);
 
-         Dictionary<int, short[]> GetAiBuffer(string source);
 
-         void SetDiBuffer(string source, int offset, bool[] buffer);
 
-         void SetAiBuffer(string source, int offset, short[] buffer, int skipSize = 0);
 
-     }
 
- }
 
 
  |