34 lines
814 B
C#
34 lines
814 B
C#
using System;
|
|
|
|
namespace Xylem.Common.Hardware.Interfaces.Protocols.ProtocolCore.EventArguments
|
|
{
|
|
|
|
/// <inheritdoc />
|
|
/// <summary>
|
|
/// abstract for set structure for BaseDataEventArgs
|
|
/// </summary>
|
|
public abstract class BaseDataEventArgs : EventArgs
|
|
{
|
|
/// <summary>
|
|
/// 'Base' get event record form real child.
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public Object GetData()
|
|
{
|
|
return GetEventData();
|
|
}
|
|
|
|
/// <summary>
|
|
/// get real Event record
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public abstract Object GetEventData();
|
|
|
|
/// <summary>
|
|
/// Holds the record before decoding, for logging
|
|
/// </summary>
|
|
public String RawData;
|
|
}
|
|
}
|
|
|