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

Create Table T_TIME_SET(
code		VARCHAR(100)		NOT NULL,
chinese		VARCHAR(100),
warntop		DECIMAL(10),
warnbot		DECIMAL(10),
errortop		DECIMAL(10),
errorbot		DECIMAL(10),
Flag		DECIMAL(1),
CONSTRAINT pk_T_TIME_SET PRIMARY KEY (code)
)
IN TB8KUSREMS INDEX IN TB8KIDXEMS@
Alter Table T_TIME_SET ALTER COLUMN Flag SET WITH Default 1@

COMMENT ON Table T_TIME_SET IS '报警设定反馈时间'@

COMMENT ON T_TIME_SET (code IS 'TAG编码')@
COMMENT ON T_TIME_SET (chinese IS '中文名称')@
COMMENT ON T_TIME_SET (warntop IS '普通报警上限')@
COMMENT ON T_TIME_SET (warnbot IS '普通报警下限')@
COMMENT ON T_TIME_SET (errortop IS '异常报警上限')@
COMMENT ON T_TIME_SET (errorbot IS '异常报警下限')@
COMMENT ON T_TIME_SET (Flag IS '可用标记')@

