| | |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// 网络预热 |
| | | /// </summary> |
| | |
| | | Dictionary<string, List<int>> _positionCheckTimeDict = new Dictionary<string, List<int>>(); |
| | | Dictionary<string, List<string>> _positionSpecHeads = new Dictionary<string, List<string>>(); |
| | | |
| | | |
| | | volatile int uploadId = 0; |
| | | |
| | | |
| | | public void NewProductIntoList(ProductModel p, bool isSaveDB) |
| | | { |
| | |
| | | LogAsync(DateTime.Now, EnumHelper.LogLevel.Action, $"产品{p.PID}_{p.SEQUENCE}工位{measureBind.WorkPosition}的第{measureBind.CheckIndex}检测完成,{msg}"); |
| | | } |
| | | }); |
| | | |
| | | |
| | | |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | LogAsync(DateTime.Now, EnumHelper.LogLevel.Error, $"{measureBind.WorkPosition},产品{string.Join(",", products.Select(u => u.PID))}的NG图片保存异常,{ex.GetExceptionMessage()}"); |
| | | } |
| | | |
| | | } |
| | | }); |
| | | } |
| | |
| | | }); |
| | | } |
| | | |
| | | |
| | | public void ReplyPlcData(WorkPositionSet p, List<bool> result) |
| | | { |
| | | if (p.plcresult != 0) |
| | |
| | | }); |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | #endregion |
| | | |
| | |
| | | { |
| | | try |
| | | { |
| | | LogAsync(DateTime.Now, EnumHelper.LogLevel.Action, $"打印机打印{str}"); |
| | | int ttwith = 240; |
| | | int ttheigh = 80; |
| | | Printmessage = str; |