;+
; Project     : SOLAR-B - EIS
;
; Name        : EIS_engineering_parameters__DEFINE
;
; Purpose     : Generates structure EIS_engineering_parameters.
;
; Explanation : When IDL encounters structure 'STRname', if structure not already defined
;               it looks for routine strname__define and compiles and calls routine to define
;               structure. NB under unix it looks for lower case flename.
;
;               This routine defines the structure :
;
;                 EIS_engineering_parameters. Tags are :
;                   CAM_readout_parameters     : Structure of type EIS_CAM_readout.
;                   XRT_flare_parameters       : structure of type EIS_XRT_flare_parameters.
;                   EIS_flare_parameters       : structure of type EIS_flare_parameters.
;                   mechanism_control          : structure of type EIS_mechanism_control
;                   bakeout_parameters         : structure of type EIS_bakeout_parameters
;                   AEC_exposure_time_table    : ULONG[28] exposure times in 10ms units corresponding to exposure IDs.
;                   safety_margin_time         : DOUBLE time in seconds after which can re-use a sequence table or
;                                                line list table entry after it is last used.
;                   event_safety_margin_time   : DOUBLE time in seconds after which can re-use an event control table
;                                                after it is last used.
;                   AEC_safety_margin_time     : DOUBLE time in seconds after which can an AEC control table after
;                                                it is last used.
;
; Use         : < dummy = {EIS_engineering_parameters} >
;
; Inputs      : None.
;
; Opt. Inputs : None.
;
; Outputs     : Sets up structure definition.
;
; Opt. Outputs: None.
;
; Keywords    : None,
;
; Calls       : None.
;
; Common      : None.
;
; Restrictions: None.
;
; Side effects: None.
;
; Category    : EIS_CPT.
;
; Prev. Hist. : None.
;
; Written     : Martin Carter RAL 03/08/04
;
; Modified    : Version 0.1, 21/09/04, MKC
;                 Removed automatic state version.
;               Version 0.2, 29/09/04, MKC
;                 Renamed mechanism tag mechanism_control.
;                 Renamed XRT_flare tag XRT_flare_control.
;                 Renamed EIS_flare tag EIS_flare_control.
;                 Renamed EIS_event tag EIS_event_control.
;               Version 0.3, 14/10/04, MKC
;                 Added AEC_exposure_time_table.
;               Version 0.4, 20/10/04, MKC
;                 Added safety_margin_time.
;                 Added EIS OBSTBL RAM sub ID.
;               Version 0.5, 30/11/04, MKC
;                 Moved flush_CCDS to EIS_CAM_READOUT.
;               Version 0.6, 14/02/05, MKC
;                 Added special and AEC safety margin times.
;               Version 0.7, 23/02/05, MKC
;                 Renamed special safety margin times.
;               Version 0.8, 28/02/05, MKC
;                 Renamed EIS XRT flare control, EIS flare control
;                 to EIS XRT flare parameters, EIS flare parameters.
;                 Removed EIS event control structure.
;                 Moved OBSTBL RAM sub ID.
;               Version 0.9, 24/06/05, MKC
;                 Changed INT values to UINT.
;                 Changed saftey margin times to ULONGs.
;               Version 1.0, 08/09/05, MKC
;                 Added eis bakeout parameters structure tag.
;               Version 1.1, 25/09/05, MKC
;                 Added OBSTBL memory command time tag.
;               Version 1.2, 14/01/07, MKC
;                 Removed OBSTBL memory command time tag.
;
; Version     : 1.2, 14/01/07
;-
;**********************************************************

PRO eis_engineering_parameters__define

  dummy = {EIS_engineering_parameters, $
           CAM_readout_parameters      : {EIS_CAM_readout}, $
           XRT_flare_parameters        : {EIS_XRT_flare_parameters}, $
           EIS_flare_parameters        : {EIS_flare_parameters}, $
           mechanism_control           : {EIS_mechanism_control}, $
           bakeout_parameters          : {EIS_bakeout_parameters}, $
           AEC_exposure_time_table     : ULONARR(28), $
           safety_margin_time          : 0UL, $
           event_safety_margin_time    : 0UL, $
           AEC_safety_margin_time      : 0UL}

END





