common/Hardware/WaterMeter/Genesis/Protocols/RequestProtocol/EventArguments/AuthorizationRequiredEventArgs.cs
2026-04-23 17:50:07 +02:00

26 lines
728 B
C#

using System;
namespace Xylem.Common.Hardware.WaterMeter.Genesis.Protocols.RequestProtocol.EventArguments
{
/// <inheritdoc />
/// <summary>
/// if session is gone and a re authorization is necessary
/// </summary>
public class AuthorizationRequiredEventArgs : EventArgs
{
/// <inheritdoc />
/// <summary>
/// Ctor
/// </summary>
/// <param name="command">this command will be resend after authorization</param>
public AuthorizationRequiredEventArgs(RequestRecord command = null)
{
Command = command;
}
/// <summary>
/// Command to resend
/// </summary>
public RequestRecord Command;
}
}