using Prism.Mvvm; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SKMC.Api.Client.Model { /// /// 客户端UI提醒, 提供3个级别对应3个背景色 /// public class ClientNotification : BindableBase { private string _head; /// /// 主标题 /// public string Head { get { return _head; } set { _head = value; RaisePropertyChanged(); } } private string _detail; /// /// 详情 /// public string Detail { get { return _detail; } set { _detail = value; RaisePropertyChanged(); } } private DateTime _dateTime; /// /// 发生时间 /// public DateTime DateTime { get { return _dateTime; } set { _dateTime = value; RaisePropertyChanged(); } } private byte _level; /// /// 提醒级别 0:普通提醒(浅蓝色背景) 1: 重要提醒(黄色背景) 2:紧急提醒(红色背景) /// public byte Level { get { return _level; } set { _level = value; RaisePropertyChanged(); } } public Action ConfirmAction { get; set; } } }