| | |
| | | ToMessage mes = new ToMessage(); |
| | | RedisHelper redis = new RedisHelper(); |
| | | |
| | | #region[大岛车间综合看板,生产车间查找产线接口] |
| | | #region[大岛车间综合看板,获取生产车间] |
| | | /// <summary> |
| | | /// 大岛车间综合看板,生产车间查找产线接口 |
| | | /// 大岛车间综合看板,获取生产车间 |
| | | /// </summary> |
| | | /// <param name="shopcode">车间编码</param> |
| | | /// <returns></returns> |
| | | [Route(template: "ShopSearchLine")] |
| | | [Route(template: "ShopSearch")] |
| | | [HttpGet] |
| | | public HttpResponseMessage ShopSearchLine(string shopcode) |
| | | public HttpResponseMessage ShopSearch() |
| | | { |
| | | mes = KanBanManagerentBLL.ShopSearchLine(shopcode); |
| | | mes = KanBanManagerentBLL.ShopSearch(); |
| | | return TJson.toJson(mes); |
| | | } |
| | | #endregion |
| | |
| | | /// <summary> |
| | | /// 大岛车间综合看板,左上产线加工任务接口 |
| | | /// </summary> |
| | | /// <param name="json">提交数据(参考工序定义关联工作站提交)</param> |
| | | /// <param name="shopcode">车间编码</param> |
| | | /// <returns></returns> |
| | | [Route(template: "LineSearchTopLeftData")] |
| | | [HttpPost] |
| | | public HttpResponseMessage LineSearchTopLeftData(List<ObjectData> json) |
| | | public HttpResponseMessage LineSearchTopLeftData(string shopcode) |
| | | { |
| | | mes = KanBanManagerentBLL.LineSearchTopLeftData(json); |
| | | mes = KanBanManagerentBLL.LineSearchTopLeftData(shopcode); |
| | | return TJson.toJson(mes); |
| | | } |
| | | #endregion |
| | |
| | | /// <summary> |
| | | /// 大岛车间综合看板,左下列表接口 |
| | | /// </summary> |
| | | /// <param name="shopcode">车间编码</param> |
| | | /// <returns></returns> |
| | | [Route(template: "LineSearchBottomLeftData")] |
| | | [HttpGet] |
| | | public HttpResponseMessage LineSearchBottomLeftData() |
| | | public HttpResponseMessage LineSearchBottomLeftData(string shopcode) |
| | | { |
| | | mes = KanBanManagerentBLL.LineSearchBottomLeftData(); |
| | | mes = KanBanManagerentBLL.LineSearchBottomLeftData(shopcode); |
| | | return TJson.toJson(mes); |
| | | } |
| | | #endregion |
| | |
| | | /// <summary> |
| | | /// 大岛车间综合看板,右上top排行接口 |
| | | /// </summary> |
| | | /// <param name="shopcode">车间编码</param> |
| | | /// <returns></returns> |
| | | [Route(template: "LineSearchTopRightData")] |
| | | [HttpGet] |
| | | public HttpResponseMessage LineSearchTopRightData() |
| | | public HttpResponseMessage LineSearchTopRightData(string shopcode) |
| | | { |
| | | mes = KanBanManagerentBLL.LineSearchTopRightData(); |
| | | mes = KanBanManagerentBLL.LineSearchTopRightData(shopcode); |
| | | return TJson.toJson(mes); |
| | | } |
| | | #endregion |
| | |
| | | /// <summary> |
| | | /// 大岛车间综合看板,右下top排行接口 |
| | | /// </summary> |
| | | /// <param name="shopcode">车间编码</param> |
| | | /// <returns></returns> |
| | | [Route(template: "LineSearchBottomRightData")] |
| | | [HttpGet] |
| | | public HttpResponseMessage LineSearchBottomRightData() |
| | | public HttpResponseMessage LineSearchBottomRightData(string shopcode) |
| | | { |
| | | mes = KanBanManagerentBLL.LineSearchBottomRightData(); |
| | | mes = KanBanManagerentBLL.LineSearchBottomRightData(shopcode); |
| | | return TJson.toJson(mes); |
| | | } |
| | | #endregion |