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

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

parent 5279d889
...@@ -195,16 +195,14 @@ namespace FLY.Thick.Base.UI.UiModule ...@@ -195,16 +195,14 @@ namespace FLY.Thick.Base.UI.UiModule
UpdateError(); UpdateError();
} }
private void WarningService_PropertyChanged(object sender, PropertyChangedEventArgs e)
private void WarningSystem_PropertyChanged(object sender, PropertyChangedEventArgs e)
{ {
if (e.PropertyName == nameof(Reflect_SeviceClient.IsConnected)) if (e.PropertyName == nameof(Reflect_SeviceClient.IsConnected))
{ {
UpdateError(); UpdateError();
} }
} else if (e.PropertyName == nameof(warningSystem.ReasonList))
private void WarningSystem_PropertyChanged(object sender, PropertyChangedEventArgs e)
{
if (e.PropertyName == nameof(warningSystem.ReasonList))
{ {
if (warningSystem.ReasonList != null && warningSystem.ReasonList.Count() > 0) if (warningSystem.ReasonList != null && warningSystem.ReasonList.Count() > 0)
reason_list_index = warningSystem.ReasonList.Count() - 1; 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