schangxiang@126.com
2025-08-13 a97a624c1fb269a059f97629076433c46b4e8b4c
SDA/iWareSda/SdaMainForm.cs
@@ -12,7 +12,7 @@
using System.Linq;
using iWareCommon;
using Newtonsoft.Json.Linq;
using System.Threading.Tasks;
namespace iWareSda
{
@@ -108,8 +108,11 @@
            {
                #region 对外发布WCF形式数据访问服务
                var StationServiceHost = new ServiceHost(typeof(iWareSda.StationService));
                StationServiceHost.Open();
                Task.Run(() =>
                {
                    var StationServiceHost = new ServiceHost(typeof(iWareSda.StationService));
                    StationServiceHost.Open();
                });
                #endregion
@@ -355,7 +358,7 @@
                        }
                        //赋值报警
                        s.View.R_WarningDBList = s.GetAlertDatas();
                        //s.View.R_WarningDBList = s.GetAlertDatas();
                        //s.IsConnected = s.plcService.IsConnected;
                        ////区域1