| | |
| | | { |
| | | public class DeviceManagerBLL |
| | | { |
| | | #region[设备类型查询] |
| | | public static ToMessage DeviceTypeSearch(int startNum, int endNum, string prop, string order) |
| | | { |
| | | return DeviceManagerDAL.DeviceTypeSearch(startNum, endNum, prop, order); |
| | | } |
| | | #endregion |
| | | |
| | | #region[设备类型新增] |
| | | public static ToMessage AddUpdateDeviceType(List<ObjectDataCont> json, string username) |
| | | { |
| | | return DeviceManagerDAL.AddUpdateDeviceType(json, username); |
| | | } |
| | | #endregion |
| | | |
| | | #region[设备类型删除] |
| | | public static ToMessage DeleteDeviceType(string devicetypecode) |
| | | { |
| | | return DeviceManagerDAL.DeleteDeviceType(devicetypecode); |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | #region[设备类型下拉框接口] |
| | | public static ToMessage DeviceTypeSelect() |
| | | { |
| | | return DeviceManagerDAL.DeviceTypeSelect(); |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | #region[设备组查询] |
| | | public static ToMessage DeviceGroupSearch(int startNum, int endNum, string prop, string order) |
| | |
| | | return DeviceManagerDAL.WorkShopSelectLine(workshopcode); |
| | | } |
| | | #endregion |
| | | |
| | | #region [设备清单查询] |
| | | public static ToMessage DeviceMangerSearch(string stu_torgcode, string description, string deviceCode, string deviceName, string status, string workShop, string deviceType, string deviceGroup, int startNum, int endNum, string prop, string order) |
| | | { |
| | | return DeviceManagerDAL.DeviceMangerSearch(stu_torgcode, description, deviceCode, deviceName, status, workShop, deviceType, deviceGroup, startNum, endNum, prop, order); |
| | | } |
| | | #endregion |
| | | |
| | | #region[设备清单新增编辑] |
| | | public static ToMessage AddUpdateDeviceManger(string deviceid, string devicecode, string devicename, string devicetype, string devicegroup, string importdate, string workshop, string linecode, string status, string ratio, string usercode, string operType) |
| | | { |
| | | return DeviceManagerDAL.AddUpdateDeviceManger(deviceid, devicecode, devicename, devicetype, devicegroup, importdate, workshop, linecode, status, ratio, usercode, operType); |
| | | } |
| | | #endregion |
| | | |
| | | #region[设备清单删除] |
| | | public static ToMessage DeleteDeviceManger(string devicecode) |
| | | { |
| | | return DeviceManagerDAL.DeleteDeviceManger(devicecode); |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | |
| | | |
| | |
| | | return DeviceManagerDAL.DeviceUpdateOutExcel(stu_torgcode, description, wkshopcode, eqpcode, eqpname, reportuser, repairuser, vrifcatuser, reportopendate, reportclosedate, repairopendate, repairclosedate, vrifcatopendate, vrifcatclosedate); |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | #region[设备类型查询] |
| | | public static ToMessage DeviceTypeSearch() |
| | | { |
| | | return DeviceManagerDAL.DeviceTypeSearch(); |
| | | } |
| | | #endregion |
| | | |
| | | #region[设备类型新增] |
| | | public static ToMessage AddUpdateDeviceType(string OperType, List<ObjectDataCont> json, User us) |
| | | { |
| | | return DeviceManagerDAL.AddUpdateDeviceType(OperType,json, us); |
| | | } |
| | | #endregion |
| | | |
| | | #region[设备类型删除] |
| | | public static ToMessage DeleteDeviceType(string devicetypecode, User us) |
| | | { |
| | | return DeviceManagerDAL.DeleteDeviceType(devicetypecode,us); |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | #region [设备清单查询] |
| | | public static ToMessage DeviceMangerSearch(string devicecode, string devicename, string status, string storgcode, string devicetype, int startNum, int endNum, string prop, string order) |
| | | { |
| | | return DeviceManagerDAL.DeviceMangerSearch(devicecode, devicename, status, storgcode, devicetype, startNum, endNum, prop, order); |
| | | } |
| | | #endregion |
| | | |
| | | #region[设备信息新增编辑] |
| | | public static ToMessage AddUpdateDeviceManger(string devicecode, string devicename, string devicetype, string storgcode, string status, string OperType, User us) |
| | | { |
| | | return DeviceManagerDAL.AddUpdateDeviceManger(devicecode, devicename, devicetype, storgcode, status, OperType, us); |
| | | } |
| | | #endregion |
| | | |
| | | #region[#region[设备信息删除]] |
| | | public static ToMessage DeleteDeviceManger(string devicecode,User us) |
| | | { |
| | | return DeviceManagerDAL.DeleteDeviceManger(devicecode,us); |
| | | } |
| | | #endregion |
| | | } |
| | | } |