alielie
2025-07-04 0940f31b7eba1cf6b6a8c1fca72d97cf686e79f2
Plugin.ServoManage/ServoManage.xaml.cs
@@ -1,10 +1,12 @@
using HMI.Base;
using ConnectionUtil;
using HMI.Base;
using HMI.Core.Entity;
using HMI.Core.Manager;
using HMI.Core.Setting;
using HMI.Core.Util;
using HMI.UI;
using HMI.UI.Util;
using OPCConnection;
using Plugin.ServoManage.Entity;
using System;
using System.Collections.Generic;
@@ -91,7 +93,7 @@
        /// <summary>
        /// 实例化服务器接口函数
        /// </summary>
        private OpcInterface.OpcInterface lTSCADAApi = new OpcInterface.OpcInterface();
        private SCADAApi lTSCADAApi = new OPCClient();
        private bool isActived = false;
        private System.Timers.Timer motorMonitorTimer;
@@ -402,7 +404,8 @@
                    MsgBoxHelper2.Error(ex.Message);
                }
            }
            else {
            else
            {
                motorMonitorTimer.Enabled = true;
            }
        }