From ce1e855b9fd9a59de1cfdf792e32dbb1d0023dc8 Mon Sep 17 00:00:00 2001
From: Arthur Coolen <coolen@astron.nl>
Date: Mon, 7 Feb 2011 10:56:41 +0000
Subject: [PATCH] Bug 756: added maximizeDuartion to (Ana)Beam

---
 MAC/Deployment/data/OTDB/AnaBeam.comp | 4 ++--
 MAC/Deployment/data/OTDB/Beam.comp    | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/MAC/Deployment/data/OTDB/AnaBeam.comp b/MAC/Deployment/data/OTDB/AnaBeam.comp
index beb1ed274a3..59dd05c0cb7 100644
--- a/MAC/Deployment/data/OTDB/AnaBeam.comp
+++ b/MAC/Deployment/data/OTDB/AnaBeam.comp
@@ -44,5 +44,5 @@ par  angle2		 I	dbl	-	10    0	   0   			    -	'Declination or Elevation in rad.'
 par  directionType	 I	ptext	-	10    0	   'J2000|AZEL|LMN;J2000'   -   'Coord.system used'
 par  startTime		 I	text    -	10    0	   ''   		    -	'startTime'
 par  duration		 I	uint	-	10    0	   0   			    -	'Time in seconds'
-par  rank                I    	pint    -       10    0    '1|2|3|4|5;1'            -   'Rank of importance'
-
+par  maximizeDuration	 I	bool	-	10    0	   false		    -	'set AnaBeam.Duration to observation duration or not'
+par  rank                I    	pint    -       10    0    '1|2|3|4|5;1'            -   'Rank of importance'
\ No newline at end of file
diff --git a/MAC/Deployment/data/OTDB/Beam.comp b/MAC/Deployment/data/OTDB/Beam.comp
index 773af2dee48..961d517f0f0 100644
--- a/MAC/Deployment/data/OTDB/Beam.comp
+++ b/MAC/Deployment/data/OTDB/Beam.comp
@@ -44,6 +44,7 @@ par  angle2		 I	dbl	-	10    0	   0   			  -	'Declination(s) or Elevation of the
 par  directionType	 I	ptext	-	10    0	   'J2000|AZEL|LMN;J2000' -     'Coord.system used for the sources'
 par  startTime		 I	text	-	10    0	   ''  			  -	'Relative time (to starttime) when to activate the angles'
 par  duration		 I	uint	-	10    0	   0   			  -	'Time in seconds each sources is followed.'
+par  maximizeDuration	 I	bool	-	10    0	   false		    -	'set Beam.duration to observation duration or not'
 par  subbandList         I      vuint   -       10    0    []                     - 	'List of all used subbands, eg.[205,276..300]. Range 1..511.'
 par  beamletList         I      vuint   -       10    0    []                     - 	'Mapping of subbands on beamlets, eg.[0..47]. Range 0..243'
 par  momID		 I      int     -       10    0    0                      - 	'MeasurementID in MoM'
-- 
GitLab