using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FlyADBase
{
public class IStatusChangedEventArgs : EventArgs
{
public IStatusChangedEventArgs(DateTime time, UInt16 istatus, UInt16 ichanged, int pos, int pos2)
{
Time = time;
IStatus = istatus;
IChanged = ichanged;
Position = pos;
Position2 = pos2;
}
///
/// 开始时间点
///
public DateTime Time;
///
/// 输入口状态
///
public UInt16 IStatus;
///
/// 变化量
///
public UInt16 IChanged;
///
/// 变化时的脉冲1
///
public int Position;
///
/// 变化时的脉冲2
///
public int Position2;
}
public delegate void IStatusChangedEventHandler(object sender, IStatusChangedEventArgs e);
}