首次提交:添加src文件夹代码
This commit is contained in:
50
Cowain.Bake.Main/Models/LogModel.cs
Normal file
50
Cowain.Bake.Main/Models/LogModel.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
using Prism.Mvvm;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Cowain.Bake.Main.Models
|
||||
{
|
||||
public class LogModel : BindableBase
|
||||
{
|
||||
private DateTime logTime;
|
||||
/// <summary>
|
||||
/// 日志时间
|
||||
/// </summary>
|
||||
public DateTime LogTime
|
||||
{
|
||||
get => logTime;
|
||||
set => SetProperty(ref logTime, value);
|
||||
}
|
||||
private string logText;
|
||||
/// <summary>
|
||||
/// 日志内容
|
||||
/// </summary>
|
||||
public string LogText
|
||||
{
|
||||
get => logText;
|
||||
set => SetProperty(ref logText, value);
|
||||
}
|
||||
private string logLevel;
|
||||
/// <summary>
|
||||
/// 日志等级
|
||||
/// </summary>
|
||||
public string LogLevel
|
||||
{
|
||||
get => logLevel;
|
||||
set => SetProperty(ref logLevel, value);
|
||||
}
|
||||
|
||||
private string fontColor;
|
||||
/// <summary>
|
||||
/// 日志等级字体颜色
|
||||
/// </summary>
|
||||
public string FontColor
|
||||
{
|
||||
get => fontColor;
|
||||
set => SetProperty(ref fontColor, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user