using DMS.Application.DTOs;
namespace DMS.Application.Events
{
///
/// 变量值变更事件参数
///
public class VariableValueChangedEventArgs : EventArgs
{
///
/// 变量DTO对象
///
public VariableDto Variable { get; set; }
///
/// 旧值
///
public string? OldValue { get; set; }
///
/// 构造函数
///
public VariableValueChangedEventArgs(VariableDto variable, string? oldValue)
{
Variable = variable;
OldValue = oldValue;
}
}
}