43 lines
915 B
C#
43 lines
915 B
C#
///
|
|
/// Copyright (c) 2013-2021 Sensus Slovensko a.s.
|
|
///
|
|
using System.Collections.Generic;
|
|
using Common;
|
|
using Config.Entities;
|
|
|
|
namespace TBF.Rig.Generic
|
|
{
|
|
public interface IComponent
|
|
{
|
|
string Name { get; }
|
|
|
|
string ClassName { get; }
|
|
|
|
string ParentName { get; }
|
|
|
|
DebugMode DebugLevel { get; }
|
|
|
|
LogLevel LogLevel { get; }
|
|
|
|
IComponentCfg Cfg { get; }
|
|
|
|
/// <summary>
|
|
/// Measurement correction table
|
|
/// </summary>
|
|
IList<MeasurementCorrection> Corrections { get; set; }
|
|
|
|
IList<Uncertainty> Uncertainties { get; set; }
|
|
|
|
/// <summary>
|
|
/// Invoked once on program start-up before the state machine is started,
|
|
/// before RunDeviceBefore() functions of all devices and before Start()
|
|
/// functions of all operations.
|
|
/// </summary>
|
|
void Initialize();
|
|
|
|
void StartChangeHandler();
|
|
|
|
void StopChangeHandler();
|
|
}
|
|
}
|