30 lines
1.0 KiB
C#
30 lines
1.0 KiB
C#
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();
|
|
/// <summary>
|
|
/// validates changes on page
|
|
/// if record is passed in, also makes sure there are no
|
|
/// RequiredChannels with identical channel codes
|
|
/// </summary>
|
|
/// <param name="record">null, or record being changed</param>
|
|
/// <returns></returns>
|
|
bool ValidateChange(ITTSChannelRecord record = null);
|
|
bool ChangeValidationIsNeeded { get; set; }
|
|
/// <summary>
|
|
/// Initializes components in View UI
|
|
/// </summary>
|
|
void InitializeView();
|
|
/// <summary>
|
|
/// filters the available sensors by the given text
|
|
/// </summary>
|
|
/// <param name="text"></param>
|
|
void Search(string text);
|
|
}
|
|
}
|