using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Web;
|
using VueWebApi.DLL.DAL;
|
using VueWebApi.Models;
|
using VueWebApi.Tools;
|
|
namespace VueWebApi.DLL.BLL
|
{
|
public class AppDeviceManageBLL
|
{
|
#region[日常点检,扫描工位/设备二维码]
|
public static ToMessage CheckScanDeviceQrCodeData(string eqpcode)
|
{
|
return AppDeviceManageDAL.CheckScanDeviceQrCodeData(eqpcode);
|
}
|
#endregion
|
|
#region[日常点检,选择扫码设备列表带出点检项]
|
public static ToMessage SelectScanDeviceQrCodeItem(string eqpcode)
|
{
|
return AppDeviceManageDAL.SelectScanDeviceQrCodeItem(eqpcode);
|
}
|
#endregion
|
|
#region[日常点检、提交保存]
|
public static ToMessage AppDeviceCheckSave(string username, AppDevicecCheck json)
|
{
|
return AppDeviceManageDAL.AppDeviceCheckSave(username,json);
|
}
|
#endregion
|
|
|
|
#region[定期保养,扫描工位/设备二维码]
|
public static ToMessage RepairScanDeviceQrCodeData(string eqpcode)
|
{
|
return AppDeviceManageDAL.RepairScanDeviceQrCodeData(eqpcode);
|
}
|
#endregion
|
|
#region[日常保养,选择扫码设备列表带出保养项]
|
public static ToMessage RepairSelectScanDeviceQrCodeItem(string eqpcode)
|
{
|
return AppDeviceManageDAL.RepairSelectScanDeviceQrCodeItem(eqpcode);
|
}
|
#endregion
|
|
#region[日常保养,提交保存]
|
public static ToMessage AppDeviceRepairSave(string username,string maintcyc, AppDevicecCheck json)
|
{
|
return AppDeviceManageDAL.AppDeviceRepairSave(username, maintcyc, json);
|
}
|
#endregion
|
|
|
|
#region[设备维修申请,扫描工位/设备二维码]
|
public static ToMessage MaintainScanDeviceApplyQrCodeData(string eqpcode)
|
{
|
return AppDeviceManageDAL.MaintainScanDeviceApplyQrCodeData(eqpcode);
|
}
|
#endregion
|
|
#region[设备维修申请,提交保存]
|
public static ToMessage MaintainScanDeviceApplySave(string username, string eqpcode, string wkshpcode, string faultsourcecode, string faultdescr, HttpFileCollection files)
|
{
|
return AppDeviceManageDAL.MaintainScanDeviceApplySave(username,eqpcode, wkshpcode, faultsourcecode, faultdescr, files);
|
}
|
#endregion
|
|
|
#region[设备维修列表]
|
public static ToMessage RepairScanDeviceQrCodeDataList()
|
{
|
return AppDeviceManageDAL.RepairScanDeviceQrCodeDataList();
|
}
|
#endregion
|
|
#region[设备维修提交]
|
public static ToMessage RepairScanDeviceSave(string docu_code, string username, string eqpcode, string wkshpcode, string faultdescr, string is_stoprepair, string repaircontent, string replaceparts, HttpFileCollection files)
|
{
|
return AppDeviceManageDAL.RepairScanDeviceSave(docu_code,username, eqpcode, wkshpcode, faultdescr, is_stoprepair, repaircontent, replaceparts, files);
|
}
|
#endregion
|
|
|
#region[维修验证列表]
|
public static ToMessage RepairVerificationScanDeviceData()
|
{
|
return AppDeviceManageDAL.RepairVerificationScanDeviceData();
|
}
|
#endregion
|
|
#region[维修验证详情信息]
|
public static ToMessage RepairVerificationScanDeviceDataSub(string repair_code, string eqpcode, string wkshpcode)
|
{
|
return AppDeviceManageDAL.RepairVerificationScanDeviceDataSub(repair_code,eqpcode, wkshpcode);
|
}
|
#endregion
|
|
#region[维修验证提交]
|
public static ToMessage RepairVerificationScanDeviceSave(string username,string repairwo, string eqpcode, string wkshpcode, string result)
|
{
|
return AppDeviceManageDAL.RepairVerificationScanDeviceSave(username, repairwo,eqpcode, wkshpcode, result);
|
}
|
#endregion
|
|
|
#region[安灯呼叫扫描工位]
|
public static ToMessage AppDeviceAnDengCallScanSearch(string eqpcode)
|
{
|
return AppDeviceManageDAL.AppDeviceAnDengCallScanSearch(eqpcode);
|
}
|
#endregion
|
|
#region[安灯呼叫,选择扫描工位带出呼叫类型选项及对应人员数据]
|
public static ToMessage AppDeviceAnDengCallItemSearch(string eqpcode,string wkshpcode)
|
{
|
return AppDeviceManageDAL.AppDeviceAnDengCallItemSearch(eqpcode, wkshpcode);
|
}
|
#endregion
|
|
#region[安灯呼叫提交]
|
public static ToMessage AppDeviceAnDengCallSave(string username, string eqpcode, string wkshpcode, List<AnDnDate> json)
|
{
|
return AppDeviceManageDAL.AppDeviceAnDengCallSave(username,eqpcode,wkshpcode,json);
|
}
|
#endregion
|
|
|
|
#region[安灯响应扫描工位/设备]
|
public static ToMessage AppDeviceAnDengLampResponseScanSearch(string eqpcode)
|
{
|
return AppDeviceManageDAL.AppDeviceAnDengLampResponseScanSearch(eqpcode);
|
}
|
#endregion
|
|
#region[安灯响应提交]
|
public static ToMessage AppDeviceAnDengLampResponseSave(string username, string eqpcode, string wkshpcode, List<ObjectData> json)
|
{
|
return AppDeviceManageDAL.AppDeviceAnDengLampResponseSave(username,eqpcode,wkshpcode,json);
|
}
|
#endregion
|
}
|
}
|