using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace QMAPP.WinForm.FileSynchronizers { /// /// 注塑参数事件数据 /// public class InjParamEventArgs:EventArgs { /// /// 错误 /// public Exception Exception { get; protected set;} /// /// 事件 /// public DateTime RecordTime { get; protected set; } /// /// 列头行 /// public String HeaderRow { get; protected set; } /// /// 数据行 /// public String DataRow { get; protected set; } /// /// 参数文件名 /// public String FileName { get; protected set; } /// /// 返回数据 /// /// /// /// public InjParamEventArgs(DateTime time, string filename, string header, string data, params char[] dataSeparator) { this.FileName = filename; this.RecordTime = time; this.HeaderRow = header; this.DataRow = data; this.DataSeparator = dataSeparator; } /// /// 返回异常 /// /// /// public InjParamEventArgs(DateTime time, Exception exception) { this.RecordTime = time; this.Exception = exception; } public char[] DataSeparator { get; protected set; } } }