天津投入产出系统后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

61 lines
1.7 KiB

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace QMAPP.WinForm.FileSynchronizers
{
/// <summary>
/// 注塑参数事件数据
/// </summary>
public class InjParamEventArgs:EventArgs
{
/// <summary>
/// 错误
/// </summary>
public Exception Exception { get; protected set;}
/// <summary>
/// 事件
/// </summary>
public DateTime RecordTime { get; protected set; }
/// <summary>
/// 列头行
/// </summary>
public String HeaderRow { get; protected set; }
/// <summary>
/// 数据行
/// </summary>
public String DataRow { get; protected set; }
/// <summary>
/// 参数文件名
/// </summary>
public String FileName { get; protected set; }
/// <summary>
/// 返回数据
/// </summary>
/// <param name="time"></param>
/// <param name="header"></param>
/// <param name="data"></param>
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;
}
/// <summary>
/// 返回异常
/// </summary>
/// <param name="time"></param>
/// <param name="exception"></param>
public InjParamEventArgs(DateTime time, Exception exception)
{
this.RecordTime = time;
this.Exception = exception;
}
public char[] DataSeparator { get; protected set; }
}
}