namespace ZJ_BYD.Untils
{
public class MyEventHandler
{
#region 初始化
private string log = "-1";
///
/// 值变化委托
///
///
///
public delegate void LogChangedEventHandler(object newValue, string stationCode);
///
/// 只有Key改变,Value还未改变
///
public event LogChangedEventHandler LogChanged;
public string StationCode { get; set; }
///
/// 获得或设置编号
///
public string Log
{
get { return log; }
set
{
log = value;
if (LogChanged != null)
{
LogChanged(log, StationCode);
}
}
}
#endregion
}
}