Sic.Framework/MECF.Framework.Common/Aitex/Core/RT/Device/IDevice.cs

25 lines
348 B
C#
Raw Normal View History

2023-04-13 11:51:03 +08:00
using System;
using MECF.Framework.Common.Event;
namespace Aitex.Core.RT.Device
{
public interface IDevice
{
string Module { get; set; }
string Name { get; set; }
bool HasAlarm { get; }
event Action<string, AlarmEventItem> OnDeviceAlarmStateChanged;
bool Initialize();
void Monitor();
void Terminate();
void Reset();
}
}