| | |
| | | |
| | | using Newtonsoft.Json; |
| | | using Newtonsoft.Json.Linq; |
| | | using NLog.LayoutRenderers.Wrappers; |
| | | using System; |
| | | using System.Threading.Tasks; |
| | | using System.Web.Http; |
| | | using static HH.WCS.JiaTong.api.ApiHelper; |
| | | using static HH.WCS.JiaTong.api.ApiModel; |
| | |
| | | /// </summary> |
| | | /// <param name="model"></param> |
| | | /// <returns></returns> |
| | | public Result CreatelevatorTask(Elevator model) |
| | | public Result CreatelevatorTask(ElevatorModel model) |
| | | { |
| | | Result result = new Result(); |
| | | LogHelper.Info("CreatelevatorTask Request:" + JsonConvert.SerializeObject(model)); |
| | | |
| | | result=ApiHelper.CreatelevatorTask(model); |
| | | result = ApiHelper.CreatelevatorTask(model); |
| | | LogHelper.Info("CreatelevatorTask Result:" + JsonConvert.SerializeObject(result)); |
| | | |
| | | return result; |
| | | } |
| | | |
| | | } |
| | | } |