Go to the bottom.
!
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! SDDL Name:	WSIDATA_DEF.SDDL
!
! Purpose:      This SDDL file defines the WSIDATA_DEF relation.
!
! Modification History:
!
!   Date       PR      Who                       Reason
! --------   -------   ---   -------------------------------------------------
! 10/ 4/94   27329     NSS   Original implementation
! 05/08/98   36870     MRB   Add C output
! 10/01/01   44572     sss   Added index
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!

LANGUAGE  C, FORTRAN, SQL

INCLUDE  ZSPSS_USER_TYPES.SDDL

RECORD  SIDET_TYPE

!------------------------------------------------------------------------------
!
!   RECORD INFORMATION
!
!------------------------------------------------------------------------------

    DESCRIPTION       "This relation is used to define Science Instrument (SI)
                       and SI Detector entities within SPSS. Note that each
                       instrument on board the HST will have corresponding
                       entries within this relation in order for SPSS to be
                       able to schedule SI sequences on calendars. Pseudo
                       Instruments (such as the HUB) will also be defined in 
                       this relation.

                       It is expected that each SI or Detector defined in this
                       relation will have corresponding entries within the 
                       following relations:

                           o  wsistate_def  (defines an SI or Detector state)
                           o  wsistate_tra  (defines a transition from one state
                                             to another state)
                           o  wsistate_seq  (defines a sequence of transitions)

                       The SI name and Detector name fields are key elements
                       in the definition of entries in all of the above 
                       relations.

                       In order for SPSS to consider scheduling SI sequences
                       for an alignment, an alignment must contain entries 
                       within the qasi_states relation.

                       The entries within this table are loaded into a C&C List
                       upon C&C List creation (CCLIST/CREATE)."

!------------------------------------------------------------------------------
!
!   FIELD INFORMATION
!
!------------------------------------------------------------------------------



    FIELD  si_name
        TYPE SI_ID_TYPE
    END_FIELD



    FIELD  si_det_name
        TYPE SI_DETECTOR_TYPE
        DESCRIPTION     "This field is blank for SI definitions."
    END_FIELD



    FIELD  suppr_order
        TYPE            I2
        DESCRIPTION     "The order in which an instrument or detector will be 
                         considered for suppression during the scheduling 
                         process. This value must be an unique positive 
                         integer. 

                         Suppression is the process where the SI S/W attempts
                         to leave the SI/Detector in the highest state possible.
                         In this way, suppression limits thermal cycling and
                         attempts to minimize wear and tear on Instrument 
                         internal mechanisms.

			 Note that the suppression process takes place after
                         complete sequences have been scheduled for all 
                         alignments within a scheduling unit. The process also
                         takes place when a scheduling unit is deleted from a
                         calendar."
    END_FIELD


END_RECORD


!------------------------------------------------------------------------------
!
!   RELATION DECLARATION
!
!------------------------------------------------------------------------------


RELATION  wsidata_def

    TYPE             SIDET_TYPE

    DESCRIPTION      "SI and Detector Data Definition Relation"

    SUBSYSTEM_USING  "SPSS", "IM", "SCIOPSDB", "CCLIST"

    RELATED_FIELDS  "wsistate_tra.*" "wsistate_seq.*" "wsistate_def.*"


    INDEX  wsidata_def_1
        TYPE         clustered
        FIELDS       si_name
    END_INDEX

END_RELATION

!------------------------------------------------------------------------------
!
!   INSTANCE DECLARATION
!
!------------------------------------------------------------------------------

INSTANCE  wsidata_def

    GLOBAL

    TYPE        SIDET_TYPE

END_INSTANCE

Go to the top.