整理了错误的捕捉
关闭窗口验证
This commit is contained in:
17
CapMachine.Wpf/PrismEvent/ErrStateEvent.cs
Normal file
17
CapMachine.Wpf/PrismEvent/ErrStateEvent.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using Prism.Events;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CapMachine.Wpf.PrismEvent
|
||||
{
|
||||
/// <summary>
|
||||
/// 错误状态事件
|
||||
/// </summary>
|
||||
public class ErrStateEvent : PubSubEvent<ErrStateMsg>
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
19
CapMachine.Wpf/PrismEvent/ErrStateMsg.cs
Normal file
19
CapMachine.Wpf/PrismEvent/ErrStateMsg.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CapMachine.Wpf.PrismEvent
|
||||
{
|
||||
/// <summary>
|
||||
/// 错误状态消息
|
||||
/// </summary>
|
||||
public class ErrStateMsg
|
||||
{
|
||||
/// <summary>
|
||||
/// 错误消息内容
|
||||
/// </summary>
|
||||
public string? ErrMsg { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user