cemu-DS4Windows/DS4Windows/LogItem.cs

27 lines
646 B
C#
Raw Normal View History

2019-12-18 22:33:23 +01:00
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";
}
}
}
}