forked from Eric-Guo/pl-form
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathforms_TOP.rb
277 lines (255 loc) · 8.61 KB
/
forms_TOP.rb
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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
# encoding: UTF-8
# file date 9/4/2012 by Feng Ding
# Common Production Fields can be merge in production log form
# no common production field in TOP
# DOC# 3735-02-00025 MT productin log sheet
memory_test_positrol_fields = {
:status_code => :string,
:lot_no => :string,
:m_c => :string,
:lot_no => :string,
:package => :string,
:capacity => :string,
:temp => :string,
:lot_in_time => :timestamp,
:lot_out_time => :timestamp,
:qty_in => :integer,
:qty_out => :integer,
:total => :integer,
:ope => :integer,
:rt => :integer,
:eqa => :integer,
:hucd => :integer,
:setup => :integer,
:pm_cal => :integer,
:handler => :integer,
:tester => :integer,
:facility => :integer,
:eng => :integer,
:end_lot => :integer,
:idle => :integer,
:visual_inspection => :string,
}
generate_form 'TOP_PRD', 'MemoryTestProductin',
(memory_test_positrol_fields.merge common_fields)
# DOC# 3775-02-00103 CT productin log sheet
card_test_production_fields = {
:status_code => :string,
:m_c => :string,
:lot_no => :string,
:package => :string,
:capacity => :string,
:lot_in_time => :timestamp,
:lot_out_time => :timestamp,
:qty_in => :integer,
:qty_out => :integer,
:total => :integer,
:ope => :integer ,
:rt => :integer,
:eqa => :integer,
:set_up => :integer,
:pm_cal => :integer,
:handler => :integer,
:tester => :integer,
:facility => :integer,
:eng => :integer,
:end_lot => :integer ,
:idle => :integer,
:visual_inspection => :string,
}
generate_form 'TOP_PRD', 'CardTestProduction',
(card_test_production_fields.merge common_fields)
# DOC# 3795-02-00006 TFCL productin log sheet
tfcl_production_fields = {
:m_c => :string,
:lot_no => :string,
:lot_in_time => :timestamp,
:lot_out_time => :timestamp,
:qty_in => :integer,
:qty_out => :integer,
:total => :integer,
:ope => :integer ,
:rt => :integer,
:eqa => :integer,
:set_up => :integer,
:pm_cal => :integer,
:handler => :integer ,
:tester => :integer,
:facility => :integer,
:eng => :integer,
:end_lot => :integer ,
:idle => :integer,
:misc => :string,
}
generate_form 'TOP_PRD', 'TfclProduction',
(tfcl_production_fields.merge common_fields)
# Doc:3735-02-00042 Burn In production lot sheet
mt_burn_in_production_fields = {
:status_code => :string,
:lot_no => :string,
:uld_no => :string,
:stk_oven_no => :string,
:lot_no => :string,
:package_capacity => :string,
:start_time_fo_load => :timestamp,
:end_time_for_load => :timestamp,
:qty_in_for_load => :integer,
:start_time_fo_unload => :timestamp,
:end_time_for_unload => :timestamp,
:qty_out_for_unload => :integer,
:lot_start_time_for_oven => :timestamp,
:lot_end_time_for_oven => :timestamp,
:oven_temp => :string,
:qty_in_for_oven => :integer,
:qty_out_for_oven => :integer,
:setup_conversion_for_uld => :integer,
:pm_cal_for_uld => :integer,
:pm_cal_for_oven => :integer,
:uld_repair => :integer,
:oven_repair => :integer,
:look_for_missing_unit => :integer,
:fac => :integer,
:eng => :integer,
:end_lot => :integer,
:mlu_idle => :integer ,
:oven_idle => :integer,
:others => :string,
}
generate_form 'TOP_PRD', 'BurnInProduction',
(mt_burn_in_production_fields.merge common_fields)
# DOC# 3735-02-00026 Memory Test Daily check list
memory_test_daily_check_fields = {
:start_end_time => :timestamp,
:program_no => :string,
:contact_angle => :string,
}
generate_form 'TOP_PRD', 'MemoryTestDailyCheck',
(memory_test_daily_check_fields.merge common_fields)
# DOC# 3731-02-30029 TOP shift machine jamming trend
mt_ct_tfcl_fields = {
:profile_check => :string,
:in_time => :timestamp,
:out_time => :timestamp,
}
generate_form 'TOP_EQP', 'ShiftMachineJammingRecord',
(mt_ct_tfcl_fields.merge common_fields)
# DOC# 3731-02-20006 Monthly & Half Year PM Record
mt_ct_fields = {
:profile_check => :string,
:in_time => :timestamp,
:out_time => :timestamp,
}
generate_form 'TOP_EQP', 'TOPMonthlyHalfYearlyPm',
(mt_ct_fields.merge common_fields)
# DOC# 3733-02-00138 TOP_conversion_checklist
top_conversion_fields = {
:profile_check => :string,
:in_time => :timestamp,
:out_time => :timestamp,
}
generate_form 'TOP_EQP', 'TopConversion',
(top_conversion_fields.merge common_fields)
# DOC# 3731-02-30036 STK Oven daily checklist
stk_oven_daily_fields = {
:profile_check => :string,
:in_time => :timestamp,
:out_time => :timestamp,
}
generate_form 'TOP_EQP', 'StkOvenDaily',
(stk_oven_daily_fields.merge common_fields)
# DOC# 3731-02-30037 M820 Burn-In Daily Check Record
m820_burn_in_daily_check_fields = {
:profile_check => :string,
:in_time => :timestamp,
:out_time => :timestamp,
}
generate_form 'TOP_EQP', 'M820BuinInDailyCheck',
(m820_burn_in_daily_check_fields.merge common_fields)
# DOC# 3731-02-30037 ProV Buin-In Daily Check Record
prov_buin_in_daily_check_fields = {
:profile_check => :string,
:in_time => :timestamp,
:out_time => :timestamp,
}
generate_form 'TOP_EQP', 'ProVBuinInDailyCheck',
(prov_buin_in_daily_check_fields.merge common_fields)
# DOC# 3731-02-30036 JEC Oven daily checklist
jec_oven_daily_fields = {
:profile_check => :string,
:in_time => :timestamp,
:out_time => :timestamp,
}
generate_form 'TOP_EQP', 'JecOvenDaily',
(jec_oven_daily_fields.merge common_fields)
# DOC# 3731-02-30013 Monthly & Half Year PM Record
mirae_m820_handler_monthly_and_half_year_pm_fields = {
:profile_check => :string,
:in_time => :timestamp,
:out_time => :timestamp,
}
generate_form 'TOP_EQP', 'MiraeM820hHandler_Pm',
(mirae_m820_handler_monthly_and_half_year_pm_fields.merge common_fields)
# DOC# 3731-02-30013 Monthly & Half Year PM Record
burn_in_board_monthly_pm_record_fields = {
:profile_check => :string,
:in_time => :timestamp,
:out_time => :timestamp,
}
generate_form 'TOP_EQP', 'BurnInBoardMonthlyPm',
(burn_in_board_monthly_pm_record_fields.merge common_fields)
# DOC# 3775-02-00104 Card Test Daily check list
card_test_daily_check_fields = {
:profile_check => :string,
:in_time => :timestamp,
:out_time => :timestamp,
}
generate_form 'TOP_EQP', 'CardTestDailyCheck',
(card_test_daily_check_fields.merge common_fields)
# DOC# 3733-02-00140 TFCL Test Daily check list
tfcl_test_daily_check_fields = {
:profile_check => :string,
:in_time => :timestamp,
:out_time => :timestamp,
}
generate_form 'TOP_EQP', 'TfclTestDailyCheck',
(tfcl_test_daily_check_fields.merge common_fields)
# DOC# 3731-02-30046 HonTech Test Daily check list
honTech_test_daily_check_fields = {
:profile_check => :string,
:in_time => :timestamp,
:out_time => :timestamp,
}
generate_form 'TOP_EQP', 'HonTechTestDailyCheck',
(honTech_test_daily_check_fields.merge common_fields)
# DOC# 3731-02-30045 Mirae M150 Test Daily check list
mirae_m150_test_daily_check_fields = {
:profile_check => :string,
:in_time => :timestamp,
:out_time => :timestamp,
}
generate_form 'TOP_EQP', 'MiraeM150TestDailyCheck',
(mirae_m150_test_daily_check_fields.merge common_fields)
# DOC# 3791-02-30001 Monthly & Half Year PM Record
tfcl_tester_monthly_and_semi_annual_pm_fields = {
:profile_check => :string,
:in_time => :timestamp,
:out_time => :timestamp,
}
generate_form 'TOP_EQP', 'TfclTesterMonthlyHY_Pm',
(tfcl_tester_monthly_and_semi_annual_pm_fields.merge common_fields)
# DOC# 3731-02-30044 Monthly & Half Year PM Record
mirae_m150_handler_monthly_and_half_year_pm_fields = {
:profile_check => :string,
:in_time => :timestamp,
:out_time => :timestamp,
}
generate_form 'TOP_EQP', 'MiraeM150Handler_Pm',
(mirae_m150_handler_monthly_and_half_year_pm_fields.merge common_fields)
# DOC# 3731-02-30040 Monthly & Half Year PM Record
hontech_ht3600a_handler_monthly_and_half_year_pm_fields = {
:profile_check => :string,
:in_time => :timestamp,
:out_time => :timestamp,
}
generate_form 'TOP_EQP', 'HontechHt3600aHandler_Pm',
(hontech_ht3600a_handler_monthly_and_half_year_pm_fields.merge common_fields)