| | |
| | | /// </summary> |
| | | /// <param name="eqpcode">设备编码</param> |
| | | /// <returns></returns> |
| | | [Route(template: "ScanDeviceQrCodeData")] |
| | | [Route(template: "CheckScanDeviceQrCodeData")] |
| | | [HttpGet] |
| | | public HttpResponseMessage ScanDeviceQrCodeData(string eqpcode) |
| | | public HttpResponseMessage CheckScanDeviceQrCodeData(string eqpcode) |
| | | { |
| | | mes = AppDeviceManageBLL.ScanDeviceQrCodeData(eqpcode); |
| | | mes = AppDeviceManageBLL.CheckScanDeviceQrCodeData(eqpcode); |
| | | return TJson.toJson(mes); |
| | | } |
| | | #endregion |
| | |
| | | return TJson.toJson(mes); |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | #region[定期保养,扫描工位/设备二维码] |
| | | /// <summary> |
| | | /// 定期保养,扫描工位/设备二维码 |
| | | /// </summary> |
| | | /// <param name="eqpcode">设备编码</param> |
| | | /// <returns></returns> |
| | | [Route(template: "RepairScanDeviceQrCodeData")] |
| | | [HttpGet] |
| | | public HttpResponseMessage RepairScanDeviceQrCodeData(string eqpcode) |
| | | { |
| | | mes = AppDeviceManageBLL.RepairScanDeviceQrCodeData(eqpcode); |
| | | return TJson.toJson(mes); |
| | | } |
| | | #endregion |
| | | |
| | | #region[日常保养,选择扫码设备列表带出保养项] |
| | | /// <summary> |
| | | /// 日常保养,选择扫码设备列表带出保养项 |
| | | /// </summary> |
| | | /// <param name="eqpcode">设备编码</param> |
| | | /// <returns></returns> |
| | | [Route(template: "RepairSelectScanDeviceQrCodeItem")] |
| | | [HttpGet] |
| | | public HttpResponseMessage RepairSelectScanDeviceQrCodeItem(string eqpcode) |
| | | { |
| | | mes = AppDeviceManageBLL.RepairSelectScanDeviceQrCodeItem(eqpcode); |
| | | return TJson.toJson(mes); |
| | | } |
| | | #endregion |
| | | |
| | | #region[日常保养,提交保存] |
| | | /// <summary> |
| | | /// 日常保养,提交保存 |
| | | /// </summary> |
| | | /// <param name="username">登录人员(保养人)</param> |
| | | /// <param name="maintcyc">保养周期</param> |
| | | /// <param name="json">提交数据</param> |
| | | /// <returns></returns> |
| | | [Route(template: "AppDeviceRepairSave")] |
| | | [HttpPost] |
| | | public HttpResponseMessage AppDeviceRepairSave(string username,string maintcyc, AppDevicecCheck json) |
| | | { |
| | | mes = AppDeviceManageBLL.AppDeviceRepairSave(username, maintcyc, json); |
| | | return TJson.toJson(mes); |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | #region[测试安灯呼叫] |
| | | [Route(template: "AppDeviceAnDengCallSave")] |
| | | [HttpPost] |
| | | public HttpResponseMessage AppDeviceAnDengCallSave(string eqpcode) |
| | | { |
| | | mes = AppDeviceManageBLL.AppDeviceAnDengCallSave(eqpcode); |
| | | return TJson.toJson(mes); |
| | | } |
| | | #endregion |
| | | } |
| | | } |