26 lines
728 B
C#
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;
|
|
}
|
|
}
|