using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Documents; 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); } }