using DTS.Common.Base;
using DTS.Common.Interface.TestSetups.Imports.TTS.ReadFile;
namespace DTS.Common.Interface.TestSetups.Imports.TTS
{
public interface IEditFileViewModel : IBaseViewModel
{
IEditFileView View { get; set; }
bool Validate();
///
/// validates changes on page
/// if record is passed in, also makes sure there are no
/// RequiredChannels with identical channel codes
///
/// null, or record being changed
///
bool ValidateChange(ITTSChannelRecord record = null);
bool ChangeValidationIsNeeded { get; set; }
///
/// Initializes components in View UI
///
void InitializeView();
///
/// filters the available sensors by the given text
///
///
void Search(string text);
}
}