using System; using System.IO.Ports; using DTS.Common.Enums; namespace DTS.Common.Interface.Sensors.SensorsList { public interface ICanIOSetting { /// /// ID in the database for the uart i/o setting /// only positive numbers are valid database ids /// int DatabaseId { get; set; } /// /// whether the uart i/o is checked in a list with a checkbox /// bool Included { get; set; } /// /// the serial number / setting name /// string SerialNumber { get; set; } /// /// description or comment of setting /// string Description { get; set; } /// /// the user who last modified setting /// string LastModifiedBy { get; set; } /// /// when the setting was last modified /// DateTime LastModified { get; set; } /// /// returns true if uart i/o matches filter criteria /// /// /// bool Filter(string term); /// /// whether the uart i/o is associated with a channel /// bool Assigned { get; set; } /// /// whether the uart i/o is online or not /// bool Online { get; set; } /// /// the isocode for the uart i/o /// string ISOCode { get; set; } /// /// the iso channel name for the uart i/o /// string ISOChannelName { get; set; } /// /// the user code for the uart i/o /// string UserCode { get; set; } /// /// the user channel name for the uart i/o /// string UserChannelName { get; set; } /// /// 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 /// bool Broken { get; set; } /// /// 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 /// 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; } } }