Files
DP44/Common/DTS.Common/Events/SLICE6MulticastPropertyEvent.cs
2026-04-17 14:55:32 -04:00

32 lines
1.1 KiB
C#

using DTS.Common.Enums;
using Prism.Events;
namespace DTS.Common.Events
{
/// <summary>
/// The SLICE6MulticastPropertyEventChanged event.
/// </summary>
///
/// <remarks>This event has to be used when SLICE6 multicast property(s) have changed.</remarks>
///
public class SLICE6MulticastPropertyEventChanged : PubSubEvent<SLICE6MulticastPropertyEventArgs>
{
}
public class SLICE6MulticastPropertyEventArgs
{
public SLICE6Properties SLICE6Property { get; private set; }
public string SLICE6MulticastAddress { get; private set; }
public int SLICE6MulticastCommandPort { get; private set; }
public int SLICE6MulticastResponsePort { get; private set; }
public SLICE6MulticastPropertyEventArgs(SLICE6Properties property, string address, int commandPort, int responsePort)
{
SLICE6Property = property;
SLICE6MulticastAddress = address;
SLICE6MulticastCommandPort = commandPort;
SLICE6MulticastResponsePort = responsePort;
}
}
}