| | |
| | | using System.Collections.Generic; |
| | | using System.Data; |
| | | using System.Data.Entity.Core.Metadata.Edm; |
| | | using System.Diagnostics; |
| | | using System.Drawing; |
| | | using System.Linq; |
| | | using System.Linq.Expressions; |
| | |
| | | } |
| | | private void FormCC_Load(object sender, EventArgs e) |
| | | { |
| | | |
| | | |
| | | |
| | | |
| | | /* |
| | |
| | | { |
| | | while (true) |
| | | { |
| | | Thread.Sleep(2000);//1秒钟读取一次 |
| | | Thread.Sleep(3000);//1秒钟读取一次 |
| | | try |
| | | { |
| | | if (stationServiceClient == null) |
| | | { |
| | | continue; |
| | | } |
| | | /* |
| | | |
| | | Stopwatch main = new Stopwatch(); |
| | | main.Start(); |
| | | |
| | | iWareCC.StationService.DeviceWarningInfo[] waringList = await stationServiceClient.GetWaringInfoListAsync((int)EDevice.Station, configDeviceWarningList.wmsConfigDeviceWarnings.ToArray()); |
| | | |
| | | main.Stop(); |
| | | var milliseconds = main.ElapsedMilliseconds; //-- 操作时间(毫秒) |
| | | |
| | | //显示报警信息 |
| | | List<String> warningCodeList = new List<string>(); |
| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |