using System.Collections.Generic; namespace Aitex.Core.RT.PLC { public interface IDataDevice { bool IsOpened { get; } bool Open(); void Close(); object Read(string type); bool Write(string type, T buffer); List GetTypes(); bool IsOpen(string type); bool Open(string type); void Close(string type); } }