tbf/TBF/Rig/RegisterReaders/GenesisRegReader/communication/Genesis/DataPackages/TempTofCalc.cs
Michal Buzik e26d88d437 Refactor Genesis use 3 chanels reader structure:
- Replace `Xylem.Common` namespace references with `TBF.Rig.RegisterReaders`.
- Introduce `GenesisSmartReaderTest` and `FakeSerialDriver` for unit testing.
- Revamp `FlowDirectionDetection` to support multiple channels.
- Make constants in `StreamingDecoder` public for enhanced accessibility.
- Update `AssemblyVersion` and `AssemblyFileVersion` to `3.9.3010.1`.
2026-03-24 08:53:16 +01:00

28 lines
773 B
C#

using System;
namespace TBF.Rig.RegisterReaders.GenesisRegReader.communication.Genesis.DataPackages
{
/// <summary>
/// Temperature Time Of Flight calculation
/// </summary>
public struct TempTofCalc
{
private DateTime _refDate;
private Double _refTemp;
private Double _tof;
/// <summary>
/// Reference data
/// </summary>
public DateTime RefDate { get => _refDate; set => _refDate = value; }
/// <summary>
/// Reference temperature
/// </summary>
public Double RefTemp { get => _refTemp; set => _refTemp = value; }
/// <summary>
/// Time Of Flight
/// </summary>
public Double Tof { get => _tof; set => _tof = value; }
}
}