Multiprocotol Terminalprogram (BAT)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
MultiTerm/MultiTerm.Core/ViewModel/IDataViewModel.cs

30 lines
774 B

namespace MultiTerm.Core.ViewModel;
public interface IDataViewModel
{
/// <summary>
/// Allows frontent to group items by line identifier.
/// Can be set, e.g. to reorder items.
/// </summary>
int LineIdentifier { get; set; }
/// <summary>
/// Time when this data was produced.
/// </summary>
TimeOnly Time { get; }
/// <summary>
/// Hosts a displayable string of the character (UTF-16 encoded).
/// </summary>
string DisplayString { get; }
/// <summary>
/// Hosts a string of the character (hexadecimal format).
/// </summary>
string DisplayStringHex { get; }
/// <summary>
/// Hosts a string of the character (binary format).
/// </summary>
string DisplayStringBin { get; }
}