46 lines
1.4 KiB
C#
46 lines
1.4 KiB
C#
|
|
using DTS.Common.Enums.Hardware;
|
|||
|
|
using System.Net.NetworkInformation;
|
|||
|
|
|
|||
|
|
namespace DTS.DASLib.Communication
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// part of 10582 Implement auto-discover and monitor DAS status.
|
|||
|
|
/// this describes a device connected to a DAS, in particular S6 connected to a S6DB
|
|||
|
|
/// </summary>
|
|||
|
|
public interface IDASConnectedDevice
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// the device type of the connected device
|
|||
|
|
/// </summary>
|
|||
|
|
HardwareTypes DeviceType { get; }
|
|||
|
|
/// <summary>
|
|||
|
|
/// the port on the DAS which the device is on (0 based)
|
|||
|
|
/// </summary>
|
|||
|
|
int Port { get; }
|
|||
|
|
/// <summary>
|
|||
|
|
/// the spot on the chain or port the device is on (0 based)
|
|||
|
|
/// </summary>
|
|||
|
|
int SpotOnPort { get; }
|
|||
|
|
/// <summary>
|
|||
|
|
/// MAC Address or physical address
|
|||
|
|
/// </summary>
|
|||
|
|
PhysicalAddress PhysicalAddress{ get; }
|
|||
|
|
/// <summary>
|
|||
|
|
/// the IPAddress of the device
|
|||
|
|
/// </summary>
|
|||
|
|
string IPAddress{ get; }
|
|||
|
|
/// <summary>
|
|||
|
|
/// the serial number of the device
|
|||
|
|
/// </summary>
|
|||
|
|
string SerialNumber { get; }
|
|||
|
|
/// <summary>
|
|||
|
|
/// the location of the device
|
|||
|
|
/// </summary>
|
|||
|
|
string Location { get; }
|
|||
|
|
/// <summary>
|
|||
|
|
/// the version of the device
|
|||
|
|
/// </summary>
|
|||
|
|
string Version { get; }
|
|||
|
|
}
|
|||
|
|
}
|