Files
DMS/DMS.Application/Events/VariableValueChangedEventArgs.cs

29 lines
685 B
C#
Raw Normal View History

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