完成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

@@ -1,6 +1,5 @@
using System.Collections.Concurrent;
using DMS.Application.DTOs;
using DMS.Application.DTOs.Events;
using DMS.Application.Interfaces.Management;
using DMS.Application.Services;
using DMS.Core.Models;

View File

@@ -1,6 +1,6 @@
using System.Collections.Concurrent;
using DMS.Application.DTOs;
using DMS.Application.DTOs.Events;
using DMS.Application.Events;
namespace DMS.Application.Interfaces;

View File

@@ -1,5 +1,4 @@
using System;
using DMS.Application.Events;
namespace DMS.Application.Interfaces;

View File

@@ -1,5 +1,4 @@
using System;
using DMS.Application.DTOs.Events;
using DMS.Application.Events;
using DMS.Core.Events;
@@ -81,4 +80,11 @@ public interface IEventService
/// <param name="sender">事件发送者</param>
/// <param name="e">变量值改变事件参数</param>
void RaiseVariableChanged(object sender, VariableChangedEventArgs e);
void RaiseVariableActiveChanged(object sender,VariablesActiveChangedEventArgs e);
/// <summary>
/// 变量启停改变事件
/// </summary>
event EventHandler<VariablesActiveChangedEventArgs> OnVariableActiveChanged;
}

View File

@@ -1,5 +1,5 @@
using DMS.Application.DTOs;
using DMS.Application.DTOs.Events;
using DMS.Application.Events;
namespace DMS.Application.Interfaces.Management;

View File

@@ -1,5 +1,5 @@
using DMS.Application.DTOs;
using DMS.Application.DTOs.Events;
using DMS.Application.Events;
namespace DMS.Application.Interfaces.Management;

View File

@@ -1,5 +1,5 @@
using DMS.Application.DTOs;
using DMS.Application.DTOs.Events;
using DMS.Application.Events;
namespace DMS.Application.Interfaces.Management;