28 lines
753 B
C#
28 lines
753 B
C#
///
|
|
/// Copyright (c) 2021 Sensus Slovensko a.s.
|
|
///
|
|
using System;
|
|
|
|
namespace TBF.BenchControl.GenericDevices
|
|
{
|
|
public interface ISessionDataMngmnt
|
|
{
|
|
/// <summary>
|
|
/// Called when a new session is started
|
|
/// </summary>
|
|
/// <param name="dataStreamFileName">File name for the log file</param>
|
|
void StartSession();
|
|
|
|
/// <summary>
|
|
/// Called when a mark inside a session nees to be saved
|
|
/// </summary>
|
|
/// <param name="mark">Arbitrary object, ToString() method is used to show marks in log files</param>
|
|
void SaveMark(object mark);
|
|
|
|
/// <summary>
|
|
/// Called when a new session is completed
|
|
/// </summary>
|
|
void EndSession();
|
|
}
|
|
}
|