| | |
| | | namespace iWareCC.WCF |
| | | { |
| | | // 注意: 使用“重构”菜单上的“重命名”命令,可以同时更改代码和配置文件中的类名“CCWcfService”。 |
| | | [ServiceBehavior(ConcurrencyMode = ConcurrencyMode.Multiple)] |
| | | public class CCWcfService : ICCWcfService |
| | | { |
| | | |
| | |
| | | } |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 下线放行方向 |
| | | /// </summary> |
| | | /// <param name="iscomplete"></param> |
| | | /// <returns></returns> |
| | | public FunRetEntity WriteQiTaoInfo(bool iscomplete) |
| | | { |
| | | try |
| | | { |
| | | using (StationServiceClient client = new StationServiceClient()) |
| | | { |
| | | var res = client.WriteQiTaoInfo((int)EDevice.Station, StationLocationEnum.BZ30.ToString(), iscomplete); |
| | | if (!res.result) |
| | | { |
| | | return FunRetEntity.Fail(res.resMsg); |
| | | } |
| | | } |
| | | |
| | | return FunRetEntity.Success("成功", ""); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return FunRetEntity.Fail("异常:" + ex.Message); |
| | | } |
| | | } |
| | | |
| | | } |
| | | } |