|
@@ -14,7 +14,7 @@
|
|
|
h5.instrument_status_name,
|
|
|
h.instrument_status_normal, h.bypass_yes, h.interlock_status_ty, h.control_system_status_normal,
|
|
|
d.interlock_current_unit, d.interlock_set_unit,
|
|
|
- d.bypass_tag, d.input_status_tag, d.output_status_tag, d.mp_status_tag, s.interlock_out_value_tag
|
|
|
+ d.bypass_tag, d.input_status_tag, d.output_status_tag, d.mp_status_tag, s.interlock_out_value_tag, d.instrument_status_tag
|
|
|
from interlock_detail_history d
|
|
|
left join interlock_summary_history s on d.summaryid = s.id
|
|
|
left join interlock_base_hy h1 on h1.control_system_status = d.mp_status and h1.interlock_system_id = s.interlock_system_id
|