using Bro.Common.Interface;
|
using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace Bro.Common.Model.Interface
|
{
|
public delegate void OnMonitorInvokeDelegate(DateTime dt, IDevice device, MonitorSet monitorSet);
|
public delegate void OnMonitorAlarmDelegate(DateTime dt, IDevice device, WarningSet warning, bool isAlarmRaised);
|
public interface IMonitor
|
{
|
//List<int> GetMonitorValues(int startAddress, int length);
|
void Monitor();
|
|
event OnMonitorInvokeDelegate OnMonitorInvoke;
|
event OnMonitorAlarmDelegate OnMonitorAlarm;
|
}
|
|
//public class MonitorInvokePara
|
//{
|
// public string MethodCode { get; set; }
|
// public List<int> InputData { get; set; }
|
// //public Action<ProcessResponse> CallBack { get; set; }
|
//}
|
}
|