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