Files
DP44/Common/DTS.Common/.svn/pristine/03/03dcd6b7b6e8827fbcf3ae23ef05be38a6d928a7.svn-base
2026-04-17 14:55:32 -04:00

83 lines
2.8 KiB
Plaintext

using System;
using System.IO.Ports;
using DTS.Common.Enums;
namespace DTS.Common.Interface.Sensors.SensorsList
{
public interface ICanIOSetting
{
/// <summary>
/// ID in the database for the uart i/o setting
/// only positive numbers are valid database ids
/// </summary>
int DatabaseId { get; set; }
/// <summary>
/// whether the uart i/o is checked in a list with a checkbox
/// </summary>
bool Included { get; set; }
/// <summary>
/// the serial number / setting name
/// </summary>
string SerialNumber { get; set; }
/// <summary>
/// description or comment of setting
/// </summary>
string Description { get; set; }
/// <summary>
/// the user who last modified setting
/// </summary>
string LastModifiedBy { get; set; }
/// <summary>
/// when the setting was last modified
/// </summary>
DateTime LastModified { get; set; }
/// <summary>
/// returns true if uart i/o matches filter criteria
/// </summary>
/// <param name="term"></param>
/// <returns></returns>
bool Filter(string term);
/// <summary>
/// whether the uart i/o is associated with a channel
/// </summary>
bool Assigned { get; set; }
/// <summary>
/// whether the uart i/o is online or not
/// </summary>
bool Online { get; set; }
/// <summary>
/// the isocode for the uart i/o
/// </summary>
string ISOCode { get; set; }
/// <summary>
/// the iso channel name for the uart i/o
/// </summary>
string ISOChannelName { get; set; }
/// <summary>
/// the user code for the uart i/o
/// </summary>
string UserCode { get; set; }
/// <summary>
/// the user channel name for the uart i/o
/// </summary>
string UserChannelName { get; set; }
/// <summary>
/// marks the uart i/o setting as broken or not
/// broken sensors do not appear in selectable lists of sensors in edit test setup or edit group
/// </summary>
bool Broken { get; set; }
/// <summary>
/// marks the uart i/o setting as donotuse
/// donotuse sensors do not appear in selectable lists of sensors in edit test setup or edit group
/// </summary>
bool DoNotUse { get; set; }
bool CanIsFD { get; set; }
int CanArbBaseBitrate { get; set; }
int CanArbBaseSJW { get; set; }
int CanDataBitrate { get; set; }
int CanDataSJW { get; set; }
string CanFileType { get; set; }
}
}