1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
| 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 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.DeviceGroupSearch(startNum, endNum, prop, order);
| }
| #endregion
|
| #region[设备组新增]
| public static ToMessage AddUpdateDeviceGroup(List<ObjectDataCont> json, string username)
| {
| return DeviceManagerDAL.AddUpdateDeviceGroup(json, username);
| }
| #endregion
|
| #region[设备组删除]
| public static ToMessage DeleteDeviceGroup(string devicegroupcode)
| {
| return DeviceManagerDAL.DeleteDeviceGroup(devicegroupcode);
| }
| #endregion
|
|
| #region[设备类型查找设备组]
| public static ToMessage DeviceTypeSelectGroup(string eqptypecode)
| {
| return DeviceManagerDAL.DeviceTypeSelectGroup(eqptypecode);
| }
| #endregion
|
| #region[所属车间下拉接口]
| public static ToMessage WorkShopSelect()
| {
| return DeviceManagerDAL.WorkShopSelect();
| }
| #endregion
|
| #region[所属车间查找所属产线接口]
| public static ToMessage WorkShopSelectLine(string workshopcode)
| {
| return DeviceManagerDAL.WorkShopSelectLine(workshopcode);
| }
| #endregion
|
| #region [设备清单查询]
| public static ToMessage DeviceMangerSearch(string deviceCode, string deviceName, string status, string workShop, string deviceType, string deviceGroup, int startNum, int endNum, string prop, string order)
| {
| return DeviceManagerDAL.DeviceMangerSearch(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
|
|
|
|
| #region[设备点检项列表查询]
| public static ToMessage DeviceCheckItemSearch(string checkitemcode, string checkitemname, string checkdescr, string isqrcode,string cycle, int startNum, int endNum, string prop, string order)
| {
| return DeviceManagerDAL.DeviceCheckItemSearch(checkitemcode, checkitemname, checkdescr, isqrcode, cycle, startNum, endNum, prop, order);
| }
| #endregion
|
| #region[设备点检项新增编辑]
| public static ToMessage AddUpdateDeviceCheckItem(string checkitemid, string checkitemcode, string checkitemname, string checkitemdescr, string cycle, string isqrcode, string usercode, string operType)
| {
| return DeviceManagerDAL.AddUpdateDeviceCheckItem(checkitemid, checkitemcode, checkitemname, checkitemdescr, cycle, isqrcode, usercode, operType);
| }
| #endregion
|
| #region[设备点检项删除]
| public static ToMessage DeleteDeviceCheckItem(string checkitemcode)
| {
| return DeviceManagerDAL.DeleteDeviceCheckItem(checkitemcode);
| }
| #endregion
|
|
| #region[设备保养项列表查询]
| public static ToMessage DeviceMaiItemSearch(string maiitemcode, string maiitemname, string maidescr, string isqrcode, string cycle, int startNum, int endNum, string prop, string order)
| {
| return DeviceManagerDAL.DeviceMaiItemSearch(maiitemcode, maiitemname, maidescr, isqrcode, cycle, startNum, endNum, prop, order);
| }
| #endregion
|
| #region[设备保养项新增编辑]
| public static ToMessage AddUpdateDeviceMaiItem(string maiitemid, string maiitemcode, string maiitemname, string maiitemdescr, string cycle, string isqrcode, string usercode, string operType)
| {
| return DeviceManagerDAL.AddUpdateDeviceMaiItem(maiitemid, maiitemcode, maiitemname, maiitemdescr, cycle, isqrcode, usercode, operType);
| }
| #endregion
|
| #region[设备保养项删除]
| public static ToMessage DeleteDeviceMaiItem(string maiitemcode)
| {
| return DeviceManagerDAL.DeleteDeviceMaiItem(maiitemcode);
| }
| #endregion
| }
| }
|
|