1234567891011121314151617181920212223242526 |
- 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<T>(string type);
- bool Write<T>(string type, T buffer);
- List<string> GetTypes();
- bool IsOpen(string type);
- bool Open(string type);
- void Close(string type);
- }
- }
|