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

Create Table T_STA_PROAB_A(
updateTime		TIMESTAMP		NOT NULL,
tagName		VARCHAR(50)		NOT NULL,
tagNameChinese		VARCHAR(100),
standardDeviation		DECIMAL(10,5),
data		VARCHAR(7000),
ruleMin		DECIMAL(10,5),
ruleMax		DECIMAL(10,5),
source		DECIMAL(1),
CONSTRAINT pk_T_STA_PROAB_A PRIMARY KEY (updateTime, tagName)
)
IN TB8KUSREMS INDEX IN TB8KIDXEMS@

COMMENT ON Table T_STA_PROAB_A IS '设备记录值概率分布_A工况'@

COMMENT ON T_STA_PROAB_A (updateTime IS '记录生成时间')@
COMMENT ON T_STA_PROAB_A (tagName IS 'Tag点')@
COMMENT ON T_STA_PROAB_A (tagNameChinese IS 'Tag点中文')@
COMMENT ON T_STA_PROAB_A (standardDeviation IS '这段时间段内的标准差')@
COMMENT ON T_STA_PROAB_A (data IS '具体的数据分布情况，JSON格式')@
COMMENT ON T_STA_PROAB_A (ruleMin IS '记录的用于规则判定的最小值，只有设置规则可用时才会被记录')@
COMMENT ON T_STA_PROAB_A (ruleMax IS '记录的用于规则判定的最大值，同上')@
COMMENT ON T_STA_PROAB_A (source IS 'DB/OL，0表示数据来源于数据库，1表示数据来源于在线')@

