You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
1.9 KiB
C#

using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
namespace HuizhongLibrary.Data
{
/// <summary>
/// <20><><EFBFBD>ݴ<EFBFBD><DDB4><EFBFBD>
/// </summary>
/// <typeparam name="T"><3E><><EFBFBD><EFBFBD></typeparam>
public class DataEventArgs<T>:EventArgs
{
private int m_ID;
public int ID
{
get { return m_ID; }
set { m_ID = value; }
}
private string m_DeviceNo;
public string DeviceNo
{
get { return m_DeviceNo; }
set { m_DeviceNo = value; }
}
private string m_Name;
public string Name
{
get { return m_Name; }
set { m_Name = value; }
}
private T m_Data;
/// <summary>
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
/// </summary>
public T Data
{
get { return m_Data; }
set { m_Data = value; }
}
private string m_TypeName;
/// <summary>
/// <20><><EFBFBD><EFBFBD><EFBFBD>ص<EFBFBD>
/// </summary>
public string TypeName
{
get { return m_TypeName; }
set { m_TypeName = value; }
}
private string m_StackTrace;
/// <summary>
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ
/// </summary>
public string StackTrace
{
get { return m_StackTrace; }
set { m_StackTrace = value; }
}
private string m_ErrorMsg;
/// <summary>
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ
/// </summary>
public string ErrorMsg
{
get { return m_ErrorMsg; }
set { m_ErrorMsg = value; }
}
private bool m_IsError = false;
/// <summary>
/// <20>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
/// </summary>
public bool IsError
{
get { return m_IsError; }
set { m_IsError = value; }
}
}
}