Commit 3b109214 authored by 潘栩锋's avatar 潘栩锋 🚴

修复 DynAreaIO 组件 一直显示服务器连接断开

parent 5279d889
......@@ -195,16 +195,14 @@ namespace FLY.Thick.Base.UI.UiModule
UpdateError();
}
private void WarningService_PropertyChanged(object sender, PropertyChangedEventArgs e)
private void WarningSystem_PropertyChanged(object sender, PropertyChangedEventArgs e)
{
if (e.PropertyName == nameof(Reflect_SeviceClient.IsConnected))
{
UpdateError();
}
}
private void WarningSystem_PropertyChanged(object sender, PropertyChangedEventArgs e)
{
if (e.PropertyName == nameof(warningSystem.ReasonList))
else if (e.PropertyName == nameof(warningSystem.ReasonList))
{
if (warningSystem.ReasonList != null && warningSystem.ReasonList.Count() > 0)
reason_list_index = warningSystem.ReasonList.Count() - 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment