完成S7变量启用和停用更新
This commit is contained in:
20
DMS.Core/Events/VariableActiveChangedEventArgs.cs
Normal file
20
DMS.Core/Events/VariableActiveChangedEventArgs.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
namespace DMS.Core.Events;
|
||||
|
||||
public class VariablesActiveChangedEventArgs: EventArgs
|
||||
{
|
||||
|
||||
public List<int> VariableIds { get; }
|
||||
|
||||
public int DeviceId{get;}
|
||||
|
||||
public bool NewStatus { get; }
|
||||
|
||||
|
||||
|
||||
public VariablesActiveChangedEventArgs(List<int> variableIds,int deviceId, bool newStatus)
|
||||
{
|
||||
VariableIds = variableIds;
|
||||
DeviceId=deviceId;
|
||||
NewStatus = newStatus;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user