Go to the bottom.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! SDDL:         PLAN_ORIENT.SDDL
!
! Purpose:      This defines the plan_orient relation.
!
! Modification History:
!
!   Date       OPR      Who                       Reason
! --------   -------    ---   -------------------------------------------------
! 09/05/96     32570    rjs   Created.  Modeled after the plan_windows relation
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!

LANGUAGE        FORTRAN,SQL

INCLUDE         ZSPSS_USER_TYPES.SDDL

RECORD  PLAN_ORIENT_TYPE

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

    DESCRIPTION		

	"A plan orient record defines the V3 position angle (at the target)
         range in which SPSS must schedule a scheduling unit.  Plan orient
         records are generated by SPIKE and are factored into the generation
         of plan windows for SUs with orient link constraints.
	 For a given scheduling unit, this relation may contain
         zero or one plan orient record for each version of the long range
         plan.  The lrp_base_cat relation tells which LRP is the current
         operational LRP to use.
	 
	 Plan orient angle ranges are treated as a scheduling constraints by
         SPSS.  Therefore, SPSS ensures that each scheduling unit is 
	 scheduled within the assigned plan orient angle range.

	 Note that the plan orient angle range actually restricts only
         the first target alignment of a scheduling unit.  No-roll maneuver
         corrections are applied to the scheduled V3 position angle when
         scheduling subsequent alignments with pointing changes."

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

    FIELD sunit_id
	TYPE SUNIT_ID_TYPE
    END_FIELD


    FIELD version_num
	TYPE VERSION_NUM_TYPE
    END_FIELD


    FIELD lrp_name
        TYPE LRP_NAME_TYPE
	RELATED_FIELDS	"lrp_base_cat.lrp_name"
    END_FIELD


    FIELD visit_id
	TYPE VISIT_ID_TYPE
    END_FIELD


    FIELD prop_id
	TYPE INT_PROPOSAL_ID_TYPE
    END_FIELD


    FIELD v3_min_ang
	TYPE		R8
	DESCRIPTION	"This field is the starting point of the SPIKE
                         specified V3 angle position range for the scheduling
                         unit.  The range spans from v3_min_ang to
                         v3_max_ang in the clockwise direction."
        RELATED_FIELDS  "plan_orient.v3_max_ang"
        RANGE           0.0 360.0
    END_FIELD


    FIELD v3_max_ang
	TYPE		R8
	DESCRIPTION	"This field is the ending point of the SPIKE
                         specified V3 angle position range for the scheduling
                         unit.  The range spans from v3_min_ang to
                         v3_max_ang in the clockwise direction."
        RELATED_FIELDS  "plan_orient.v3_min_ang"
        RANGE           0.0 360.0
    END_FIELD


    FIELD v3_pref_ang
	TYPE		R8
	DESCRIPTION	"This field is the SPIKE prefered V3 position angle
                         for the scheduling unit.  The SPSS orientation tool
                         SPOT will populate the appropriate fields in QAPOSITION
                         such that PMDB/UPDATE /TYPE=OBSET will set the v3_posang
                         field to the value of v3_pref_ang.  Refer to the help
                         information on the SPOT command."
        RANGE           0.0 360.0
    END_FIELD


END_RECORD

 
!------------------------------------------------------------------------------
!
!   RELATION DECLARATION
!
!------------------------------------------------------------------------------
 
RELATION  plan_orient
 
    TYPE             PLAN_ORIENT_TYPE
 
    DESCRIPTION      "Long Range Plan Orientation Range Relation"
 
    SUBSYSTEM_USING  "SPSS", "SPIKE", "REPLICATION-TO-SOGS", "TRANS", "CCLIST"

    RELATED_FIELDS  "plan_windows.*" "lrp_base_cat.*"


    INDEX  plan_orient_1
        TYPE         unique, clustered
        FIELDS       sunit_id, version_num, lrp_name, v3_min_ang
    END_INDEX
 
END_RELATION
 
!------------------------------------------------------------------------------
!
!   INSTANCE DECLARATION
!
!------------------------------------------------------------------------------
 
INSTANCE plan_orient

    TYPE PLAN_ORIENT_TYPE

END_INSTANCE

Go to the top.