完成S7变量启用和停用更新

This commit is contained in:
2025-09-16 14:42:23 +08:00
parent 3102938f92
commit 74fde6bd8b
59 changed files with 226 additions and 454 deletions

View File

@@ -0,0 +1,30 @@
using DMS.Core.Enums;
namespace DMS.Application.Events
{
/// <summary>
/// 数据变更事件参数基类
/// </summary>
public class DataChangedEventArgs : System.EventArgs
{
/// <summary>
/// 变更类型
/// </summary>
public DataChangeType ChangeType { get; }
/// <summary>
/// 变更时间
/// </summary>
public DateTime ChangeTime { get; }
/// <summary>
/// 构造函数
/// </summary>
/// <param name="changeType">变更类型</param>
public DataChangedEventArgs(DataChangeType changeType)
{
ChangeType = changeType;
ChangeTime = DateTime.Now;
}
}
}