完成S7变量启用和停用更新
This commit is contained in:
26
DMS.Application/Events/NlogChangedEventArgs.cs
Normal file
26
DMS.Application/Events/NlogChangedEventArgs.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using DMS.Application.DTOs;
|
||||
using DMS.Core.Enums;
|
||||
|
||||
namespace DMS.Application.Events
|
||||
{
|
||||
/// <summary>
|
||||
/// Nlog日志变更事件参数
|
||||
/// </summary>
|
||||
public class NlogChangedEventArgs : DataChangedEventArgs
|
||||
{
|
||||
/// <summary>
|
||||
/// 变更的日志DTO
|
||||
/// </summary>
|
||||
public NlogDto Nlog { get; }
|
||||
|
||||
/// <summary>
|
||||
/// 构造函数
|
||||
/// </summary>
|
||||
/// <param name="changeType">变更类型</param>
|
||||
/// <param name="nlog">变更的日志DTO</param>
|
||||
public NlogChangedEventArgs(DataChangeType changeType, NlogDto nlog) : base(changeType)
|
||||
{
|
||||
Nlog = nlog;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user