| | |
| | | using System.Linq; |
| | | using iWareCommon; |
| | | using Newtonsoft.Json.Linq; |
| | | |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace iWareSda |
| | | { |
| | |
| | | { |
| | | #region 对外发布WCF形式数据访问服务 |
| | | |
| | | var StationServiceHost = new ServiceHost(typeof(iWareSda.StationService)); |
| | | StationServiceHost.Open(); |
| | | Task.Run(() => |
| | | { |
| | | var StationServiceHost = new ServiceHost(typeof(iWareSda.StationService)); |
| | | StationServiceHost.Open(); |
| | | }); |
| | | |
| | | #endregion |
| | | |
| | |
| | | } |
| | | |
| | | //赋值报警 |
| | | s.View.R_WarningDBList = s.GetAlertDatas(); |
| | | //s.View.R_WarningDBList = s.GetAlertDatas(); |
| | | |
| | | //s.IsConnected = s.plcService.IsConnected; |
| | | ////区域1 |