mirror of
https://github.com/OpenLogics/MewtocolNet.git
synced 2025-12-06 11:11:23 +00:00
Multiple fixes
This commit is contained in:
13
MewtocolNet/Events/PlcConnectionArgs.cs
Normal file
13
MewtocolNet/Events/PlcConnectionArgs.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
|
||||
namespace MewtocolNet.Events {
|
||||
|
||||
public delegate void PlcConnectionEventHandler(object sender, PlcConnectionArgs e);
|
||||
|
||||
public class PlcConnectionArgs : EventArgs {
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
22
MewtocolNet/Events/RegisterChanged.cs
Normal file
22
MewtocolNet/Events/RegisterChanged.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using MewtocolNet.Registers;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace MewtocolNet.Events {
|
||||
|
||||
public delegate void RegisterChangedEventHandler(object sender, RegisterChangedArgs e);
|
||||
|
||||
public class RegisterChangedArgs : EventArgs {
|
||||
|
||||
public IRegister Register { get; internal set; }
|
||||
|
||||
public object Value { get; internal set; }
|
||||
|
||||
public object PreviousValue { get; internal set; }
|
||||
|
||||
public string PreviousValueString { get; internal set; }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user