init
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
using DTS.Common.Base;
|
||||
using DTS.Common.Interface.DASFactory.Diagnostics;
|
||||
using DTS.Common.Interface.DASFactory.Diagnostics.HardwareList;
|
||||
using DTS.Common.Interface.DataRecorders;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace DTS.Common.Interface.Hardware.AddEditHardware
|
||||
{
|
||||
public interface IAddEditHardwareViewModel : IBaseViewModel
|
||||
{
|
||||
IAddEditHardwareView View { get; set; }
|
||||
void Unset();
|
||||
/// <summary>
|
||||
/// hardware being operated on in viewmodel
|
||||
/// </summary>
|
||||
IAddEditHardwareHardware Hardware { get; set; }
|
||||
int? TestId { get; set; }
|
||||
/// <summary>
|
||||
/// initializes the viewmodel with the given hardware
|
||||
/// </summary>
|
||||
void SetHardware(IDASHardware hw, IISOHardware isoHW);
|
||||
/// <summary>
|
||||
/// whether to send notifications of changes or not
|
||||
/// this can be used to avoid notifications when initializing things
|
||||
/// <summary>
|
||||
bool NotificationsOn { get; set; }
|
||||
/// <summary>
|
||||
/// returns true if the hardware can be committed, false otherwise
|
||||
/// </summary>
|
||||
bool Validate(IISOHardware isoHW, ref List<string> errors, ref List<string> warnings, bool displayWindow, bool IsAdd);
|
||||
void PublishPageError(bool displayWindow, List<string> errors, List<string> warnings);
|
||||
/// <summary>
|
||||
/// commits any changes present
|
||||
/// </summary>
|
||||
void Save();
|
||||
IISOHardware GetISOHardware();
|
||||
/// <summary>
|
||||
/// Whether standin hardware is supported by the current model
|
||||
/// </summary>
|
||||
bool AllowStandin { get; set; }
|
||||
/// <summary>
|
||||
/// allows access to the SLICE6 treeview module
|
||||
/// </summary>
|
||||
void SetSLICE6TreeView(ISLICE6TreeView treeView, IHardwareListViewModel treeViewModel);
|
||||
/// <summary>
|
||||
/// access to the current SLICE6TreeView
|
||||
/// </summary>
|
||||
ISLICE6TreeView SLICE6TreeView { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user