!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! SDDL Name: CONV_DISCRETE.SDDL ! ! Purpose: This SDDL file defines the CONV_DISCRETE relation. ! ! Modification History: ! ! Date OPR Who Reason ! -------- ------- --- ------------------------------------------------- ! 06/28/96 29389 Rose Original implementation ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! LANGUAGE SQL RECORD CONV_DISCRETE !------------------------------------------------------------------------------ ! ! RECORD INFORMATION ! !------------------------------------------------------------------------------ DESCRIPTION "This relation specifies the discrete conversions which are to be applied to certain telemetry mnemonics. In the past PODPS used a wide relation: one which had a single tuple for each mnemonic, and 16 groups of fields specifying up to 16 conversion ranges. Not only is this a poor design limit on the number of possible ranges, but if a mnemonic only used 2 fields (a majority of cases) there would be a significant amount of unused space reserved in the database. The current design allows a mnemonic to have any number of tuples, each one of which only specifies a single conversion range. See OPR.29389. " !------------------------------------------------------------------------------ ! ! FIELD INFORMATION ! !------------------------------------------------------------------------------ FIELD mnemonic TYPE C8 DESCRIPTION "The name of the telemetry mnemonic" END_FIELD FIELD low_value TYPE I4 DESCRIPTION "The low value of the range" END_FIELD FIELD high_value TYPE I4 DESCRIPTION "The high value of the range" END_FIELD FIELD text TYPE C8 DESCRIPTION "Return this text if the mnemonic value lies between the low_value and the high_value (inclusive)" END_FIELD END_RECORD !------------------------------------------------------------------------------ ! ! RELATION DECLARATION ! !------------------------------------------------------------------------------ RELATION conv_discrete TYPE CONV_DISCRETE DESCRIPTION "Discrete conversion coefficients" SUBSYSTEM_USING "OPUS" INDEX conv_discrete_1 TYPE unique, clustered FIELDS mnemonic, low_value END_INDEX END_RELATION !------------------------------------------------------------------------------ ! ! INSTANCE DECLARATION ! !------------------------------------------------------------------------------ INSTANCE conv_discrete GLOBAL TYPE CONV_DISCRETE END_INSTANCE