tbf/TestBenchFramework/BenchControl/Generic/IComponentCfgCtrl.cs
2014-07-28 09:56:40 +02:00

29 lines
645 B
C#

namespace TBF.BenchControl.Generic
{
public interface IComponentCfgCtrl
{
/// <summary>
/// Reference to device configuration class instance
/// </summary>
IComponentCfg Config { get; set; }
/// <summary>
/// Verify current user controls for validity.
/// Called when user wants to close/save the configuration.
/// </summary>
/// <returns>See VerifyFlags</returns>
CfgVerifyFlags VerifyCfg(ref string message);
/// <summary>
/// Save settings to the configuration class.
/// </summary>
void Unlock();
/// <summary>
/// Save settings to the configuration class.
/// </summary>
void UpdateCfg();
}
}