using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SKMC.Api.Common.Exceptions { /// /// 基于异常配置的异常展示模型 /// public class ExceptionShow : ExceptionConfig, ICloneable { public ExceptionShow(ExceptionConfig exceptionConfig) : base(exceptionConfig) { } private string _uid; public string Uid { get { return _uid; } set { _uid = value; } } private DateTime _encounterTime; /// /// 异常发生时间 /// public DateTime EncounterTime { get { return _encounterTime; } set { _encounterTime = value; RaisePropertyChanged(); } } private string _stationName; /// /// 异常发生工位 /// public string StationName { get { return _stationName; } set { _stationName = value; } } private string _detail; /// /// 异常详情 /// public string Detail { get { return _detail; } set { _detail = value; RaisePropertyChanged(); } } public Func RetryAction { get; set; } public Action IgnoreAction { get; set; } public Action AbortAction { get; set; } public object Clone() { return this.MemberwiseClone(); } } }