| | |
| | | } |
| | | #endregion |
| | | |
| | | var Stations = stationinfoRepository.Find(x => x.area == PipelineJob.area_code(name)).OrderBy(x => x.lastUpdateTime).ToList(); |
| | | |
| | | #region 涓嬫枡浣嶆槸鍚︿负绌虹姸鎬佸悓姝ョ粰妗佹灦 |
| | | foreach (var station in Stations) |
| | | { |
| | | client.WriteByOrder(station.stationCode, station.location_state != LocationStateEnum.Stroge.ToString(), name); |
| | | } |
| | | #endregion |
| | | |
| | | if (finished && !updatefinished) |
| | | { |
| | | client.WriteByOrder("W_Enabl_Load", false, name);//鏄惁鍏佽 |
| | |
| | | #endregion |
| | | |
| | | |
| | | var Stations = stationinfoRepository.Find(x => x.area == PipelineJob.area_code(name)).OrderBy(x => x.lastUpdateTime).ToList(); |
| | | |
| | | #region 涓嬫枡浣嶆槸鍚︿负绌虹姸鎬佸悓姝ョ粰妗佹灦 |
| | | foreach (var station in Stations) |
| | | { |
| | | client.WriteByOrder(station.stationCode, station.location_state != LocationStateEnum.Stroge.ToString(), name); |
| | | } |
| | | #endregion |
| | | |
| | | #region MyRegion |
| | | //var currentAreaNr = (Int16)DBExtension.Read(details.Where(x => x.plcdetail_name == "W_Are00aNr").First(), client); |