-- Version:		2025.7.31  14:52:27
Drop Table T_EQP_STOP_HISTORY@

Create Table T_EQP_STOP_HISTORY(
RuleId		VARCHAR(100)		NOT NULL,
timeStart		TIMESTAMP		NOT NULL,
timeEnd		TIMESTAMP,
Reason		VARCHAR(300),
CONSTRAINT pk_T_EQP_STOP_HISTORY PRIMARY KEY (RuleId, timeStart)
)
IN TB8KUSREMS INDEX IN TB8KIDXEMS@

COMMENT ON Table T_EQP_STOP_HISTORY IS '设备运行状态'@

COMMENT ON T_EQP_STOP_HISTORY (RuleId IS '规则ID')@
COMMENT ON T_EQP_STOP_HISTORY (timeStart IS '开始时间')@
COMMENT ON T_EQP_STOP_HISTORY (timeEnd IS '结束时间')@
COMMENT ON T_EQP_STOP_HISTORY (Reason IS '设备停机原因')@

