- Replace `OpthoHeadService` with `RadioService` to enhance Genesis communication handling via serial interface. - Introduce `OptoReceivedEventArgs` to manage event-driven communication. - Add foundational protocol implementations (`BaseProtocol`, `IProtocol`, etc.) for Genesis configuration and processing. - Implement `SirtConfig`, `MeterConfig`, and `ProcessConfig` classes for flexible Genesis configuration management. - Expand Genesis framework to support diagnostics, activity modes, and version retrieval.
23 lines
604 B
C#
23 lines
604 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace TBF.Rig.RegisterReaders.GenesisRegReader.communication.Genesis.DataPackages.EventArguments
|
|
{
|
|
/// <inheritdoc />
|
|
/// <summary>
|
|
/// EventArgs for Request Responses
|
|
/// </summary>
|
|
public class RequestResponseDataEventArgs : BaseDataEventArgs
|
|
{
|
|
/// <summary>
|
|
/// Request response from meter
|
|
/// </summary>
|
|
public List<Byte> RequestResponseData;
|
|
|
|
/// <inheritdoc />
|
|
public override Object GetEventData()
|
|
{
|
|
return RequestResponseData;
|
|
}
|
|
}
|
|
} |