/// /// Copyright (c) 2013-2015 Sensus Metering Systems /// namespace TBF.BenchControl.Generic { public interface IComponentCfgCtrl { /// /// Reference to device configuration class instance /// IComponentCfg Config { get; set; } /// /// When true, More/Less button will be shown and processed /// bool ShowMore { get; } /// /// Unlock controls. /// void Unlock(); /// /// Verify current user controls for validity. /// Called when user wants to close/save the configuration. /// /// See VerifyFlags CfgUpdateFlags VerifyCfg(ref string message); /// /// Save form parameters to the configuration class. /// CfgUpdateFlags UpdateCfg(); /// /// Called when the dialog with component configuration control is closing. /// In this function CmdResponse handelrs (if any) should be closed, etc. /// void Closing(); } }