| | |
| | | return FunRetEntity.Fail("异常:" + ex.Message); |
| | | } |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 扫码记录清除 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | public FunRetEntity WriteStation_PartClear() |
| | | { |
| | | try |
| | | { |
| | | using (StationServiceClient client = new StationServiceClient()) |
| | | { |
| | | var res = client.PartClear((int)EDevice.Station, true, StationLocationEnum.首次扫码工位.ToString()); |
| | | if (!res.result) |
| | | { |
| | | return FunRetEntity.Fail(res.resMsg); |
| | | } |
| | | } |
| | | |
| | | return FunRetEntity.Success("成功", ""); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return FunRetEntity.Fail("异常:" + ex.Message); |
| | | } |
| | | } |
| | | |
| | | } |
| | | } |