This commit is contained in:
2026-04-17 14:55:32 -04:00
commit bc3ac1d4c9
18017 changed files with 4371742 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
using DTS.Common.Enums.Communication;
namespace DTS.Common.Interface.Communication
{
public interface ICommunicationReport
{
object UserState { get; set; }
CommunicationConstantsAndEnums.CommunicationResult Result { get; set; }
byte[] Data { get; set; }
}
}

View File

@@ -0,0 +1,43 @@
using System;
namespace DTS.Common.Interface.Communication
{
public interface ICommunication_DASInfo
{
/// <summary>
/// these are devices which are connected to the das
/// currently only used by SLICE6DB
/// </summary>
IDASConnectedDevice[] ConnectedDevices { get; }
/// <summary>
/// sets ConnectedDevices
/// </summary>
/// <param name="devices">devices connected to this das</param>
void SetConnectedDevices(IDASConnectedDevice[] devices);
string[] SerialNumbers { get; set; }
string[] FirmwareVersions { get; set; }
string StackSerialNumber(int devid);
/// <summary>
/// indicates date of first use
/// null indicates the hardware has not been used since calibration
/// only valid when IsFirstUseDateSupported is true
/// 15524 DAS "First Use Date"
/// </summary>
DateTime? FirstUseDate { get; set; }
/// <summary>
/// returns whether the hardware supports first use or not
/// for hardware to support first use the hardware must support
/// storage for user attributes in firmware and also have been
/// calibrated by software support hardware first use
/// 15524 DAS "First Use Date"
/// </summary>
bool IsFirstUseDateSupported { get; set; }
/// <summary>
/// indicates whether or not streaming is supported
/// 30429 TSR AIRs can enable/disable streaming via the DISABLE_STREAMING_FEATURE system attribute
/// </summary>
bool IsStreamingSupported { get; set; }
}
}

View File

@@ -0,0 +1,45 @@
using DTS.Common.Enums.Hardware;
using System.Net.NetworkInformation;
namespace DTS.Common.Interface.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; }
}
}