Files
DP44/Common/DTS.CommonCore/.svn/pristine/dc/dc52d0f5506ad570b8e80205004e6f11d750cc27.svn-base
2026-04-17 14:55:32 -04:00

72 lines
2.4 KiB
Plaintext

using DTS.Common.Enums.Hardware;
using DTS.Common.Interface.DASFactory.Diagnostics;
using System.Collections.ObjectModel;
using System.Windows.Media;
namespace DTS.Common.Interface.Hardware.AddEditHardware
{
/// <summary>
/// describes interface used in AddEditHardware
/// </summary>
public interface IAddEditHardwareHardware
{
/// <summary>
/// the das type
/// </summary>
HardwareTypes HardwareType{ get; set; }
/// <summary>
/// the serial number for the das
/// </summary>
string SerialNumber { get; set; }
/// <summary>
/// the firmware version of the das
/// </summary>
string FirmwareVersion { get; set; }
/// <summary>
/// the ipaddress of the das (if supported)
/// </summary>
string IPAddress { get; set; }
/// <summary>
/// whether the das supports an ip address
/// </summary>
bool SupportsIPAddress { get; }
/// <summary>
/// whether the das supports rack sizes
/// </summary>
bool SupportsRackSize { get; }
/// <summary>
/// the configuration of the das (if supported)
/// </summary>
bool SupportsConfiguration { get; }
/// <summary>
/// the configuration of the das
/// </summary>
SLICEConfigurations SLICEConfiguration { get; set; }
/// <summary>
/// the size of the rack (if supported)
/// </summary>
RackSizes RackSize { get; set; }
/// <summary>
/// an image representing the das
/// </summary>
ImageSource DASImage { get; }
ObservableCollection<IAddEditHardwareDASModule> Modules { get; set; }
void RemoveModule(IAddEditHardwareDASModule module);
void AddModule();
/// <summary>
/// returns a new ISOHardware representation of the hardware
/// </summary>
IISOHardware ToISOHardware();
/// <summary>
/// whether this is actual physical hardware or just stand in hardware/not real hardware
/// </summary>
bool StandIn { get; set; }
bool IsModule { get; set; }
/// <summary>
/// indicates whether this record already exists in the database or is a new entry
/// </summary>
bool IsAdd { get; set; }
}
}