| | |
| | | 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; |
| | |
| | | { |
| | | public partial class FormCC : Form |
| | | { |
| | | /// <summary> |
| | | /// 全局-269位置最新扫描的板件数据(格式 包号|Upi|时间点) |
| | | /// </summary> |
| | | public static string Globle_269_LastPackageUpi = ""; |
| | | |
| | | /// <summary> |
| | | /// 全局-配置报警信息列表 |
| | |
| | | } |
| | | 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>(); |
| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |