mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-12-26 16:41:50 +01:00
27 lines
646 B
C#
27 lines
646 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace DS4WinWPF
|
|
{
|
|
public class LogItem
|
|
{
|
|
private DateTime datetime;
|
|
private string message;
|
|
private bool warning;
|
|
|
|
public DateTime Datetime { get => datetime; set => datetime = value; }
|
|
public string Message { get => message; set => message = value; }
|
|
public bool Warning { get => warning; set => warning = value; }
|
|
public string Color
|
|
{
|
|
get
|
|
{
|
|
return warning ? "Red" : "Black";
|
|
}
|
|
}
|
|
}
|
|
}
|