##// END OF EJS Templates
imanay -
r248:249
parent child
Show More
@@ -322,6 +322,27
322 for i in in_lst: No newline at end of file
322 for i in in_lst:
323 relay_up.append(i[14:17]) No newline at end of file
323 relay_up.append(i[14:17])
324 relay_dw.append(i[17:20]) No newline at end of file
324 relay_dw.append(i[17:20])
325 cm_up.append(i[21:24])
No newline at end of file
326 cm_dw.append(i[24:27])
No newline at end of file
327
No newline at end of file
328 comp_up = []
No newline at end of file
329 comp_dw = []
No newline at end of file
330
No newline at end of file
331 for i in range(len(relay_up)):
No newline at end of file
332 if cmp(relay_up[i], cm_up[i]) == 0:
No newline at end of file
333 comp_up.append(0)
No newline at end of file
334 else:
No newline at end of file
335 comp_up.append(1)
No newline at end of file
336
No newline at end of file
337 for i in range(len(relay_dw)):
No newline at end of file
338 if cmp(relay_dw[i], cm_dw[i]) == 0:
No newline at end of file
339 comp_dw.append(0)
No newline at end of file
340 else:
No newline at end of file
341 comp_dw.append(1)
No newline at end of file
342
No newline at end of file
343 print comp_up
No newline at end of file
344 print comp_dw
No newline at end of file
345 No newline at end of file
325 No newline at end of file
346
326 No newline at end of file
347
327 def __ThreeComparation(self, in_lst): No newline at end of file
348 def __ThreeComparation(self, in_lst):
General Comments 0
You need to be logged in to leave comments. Login now