using System;
using System.IO.Ports;
using DTS.Common.Enums;
namespace DTS.Common.Interface.Sensors.SensorsList
{
public interface IUartIOSetting
{
///
/// 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; }
///
/// uart baud rate
///
uint BaudRate { get; set; }
///
/// uart data bits
///
uint DataBits { get; set; }
///
/// uart stop bits
///
StopBits StopBits { get; set; }
///
/// uart parity
///
Parity Parity { get; set; }
///
/// uart flow control FB 30486 removed set. Always be NONE
///
Handshake FlowControl { get; }
///
/// the data format of incoming data
///
UartDataFormat DataFormat { get; set; }
}
}