28 lines
1.1 KiB
Plaintext
28 lines
1.1 KiB
Plaintext
using DTS.Common.Enums.Hardware;
|
|
using DTS.Common.Interface.DataRecorders;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace DTS.Common.Interface.DASFactory.Diagnostics
|
|
{
|
|
public interface IISOHardware : IDASDBRecord
|
|
{
|
|
void GetChannelsString(out int analog, out int digitalIn, out int digitalOut, out int squib, out int uart, out int streamOut, out int streamIn, out int can);
|
|
HardwareTypes DASTypeEnum { get; set; }
|
|
string IPAddress { get; set; }
|
|
//Pseudo racks are racks are collections of hardware that associated with each
|
|
//other but aren't racks, this includes SLICE slabs and SLICE6 with S6DB
|
|
//this just indicates whether it's capable, not whether it's serving that role
|
|
bool IsPseudoRackModule();
|
|
bool IsTSRAIR();
|
|
bool ValidateSerialNumber(ref List<string> errors);
|
|
bool ValidateIPAddress(ref List<string> errors);
|
|
void Insert();
|
|
void Update();
|
|
/// <summary>
|
|
/// remove this hardware from the database
|
|
/// </summary>
|
|
void Delete();
|
|
}
|
|
}
|