Sic.Framework/MECF.Framework.Common/MECF/Framework/RT/Core/IoProviders/IIoProvider.cs

32 lines
785 B
C#
Raw Normal View History

2023-04-13 11:51:03 +08:00
using System.Collections.Generic;
using System.Xml;
using Aitex.Core.RT.IOCore;
namespace MECF.Framework.RT.Core.IoProviders
{
public interface IIoProvider
{
string Name { get; set; }
string Module { get; set; }
bool IsOpened { get; }
void Initialize(string module, string name, List<IoBlockItem> lstBuffers, IIoBuffer buffer, XmlElement nodeParameter, Dictionary<int, string> ioMappingPathFile);
void Initialize(string module, string name, List<IoBlockItem> lstBuffers, IIoBuffer buffer, XmlElement nodeParameter, string ioMappingPathFile, string ioModule);
void Start();
void Stop();
void Reset();
bool SetValue(AOAccessor aoItem, short value);
bool SetValueFloat(AOAccessor aoItem, float value);
bool SetValue(DOAccessor doItem, bool value);
}
}