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