From b8360a466f1b56e137002b5ef3e1d6894e101d45 Mon Sep 17 00:00:00 2001
From: Ruud Overeem <overeem@astron.nl>
Date: Mon, 11 Dec 2006 16:20:41 +0000
Subject: [PATCH] BugID:679 Added customPrepPVSSDB to station software.

---
 .../StationCU/src/StationControl/Makefile.am  |  3 +--
 .../StationControl/customPrepPVSSDB.ctl.in    | 25 +++++++++----------
 2 files changed, 13 insertions(+), 15 deletions(-)

diff --git a/MAC/APL/StationCU/src/StationControl/Makefile.am b/MAC/APL/StationCU/src/StationControl/Makefile.am
index b6a06a1d578..e1fe1ef6121 100644
--- a/MAC/APL/StationCU/src/StationControl/Makefile.am
+++ b/MAC/APL/StationCU/src/StationControl/Makefile.am
@@ -25,8 +25,7 @@ EXTRA_DIST 					= $(configfiles_DATA) $(sysconf_DATA)
 
 #in case of make install these files will be copied to the bindir beside the test apps
 configfilesdir=$(bindir)
-configfiles_DATA 	= 
-#customPrepPVSSDB.ctl
+configfiles_DATA 	= customPrepPVSSDB.ctl
 
 sysconf_DATA		= StationControl.conf \
 					  StationControl.log_prop
diff --git a/MAC/APL/StationCU/src/StationControl/customPrepPVSSDB.ctl.in b/MAC/APL/StationCU/src/StationControl/customPrepPVSSDB.ctl.in
index dd03b42e5ce..88496cdb9c1 100644
--- a/MAC/APL/StationCU/src/StationControl/customPrepPVSSDB.ctl.in
+++ b/MAC/APL/StationCU/src/StationControl/customPrepPVSSDB.ctl.in
@@ -1,17 +1,16 @@
 // this script must reside in the <PVSS project>/scripts directory
 main()
 {
-  // create an enabled flag for CCU_PIC
-//  dpCreate("PIC__enabled", "GCFPaPsEnabled");
-//  dpSet("PIC__enabled.","autoloaded|TCcuPic");
-//  dpCreate("PIC_Stations__enabled", "GCFPaPsEnabled");
-//  dpSet("PIC_Stations__enabled.","autoloaded|TCcuPic");
-//  dpCreate("PIC_CEP__enabled", "GCFPaPsEnabled");
-//  dpSet("PIC_CEP__enabled.","autoloaded|TCcuCep");
-//  dpCreate("GSO__enabled", "GCFPaPsEnabled");
-//  dpSet("GSO__enabled.","autoloaded|TCcuPic");
-//  dpCreate("VIC__enabled", "GCFPaPsEnabled");
-//  dpSet("VIC__enabled.","autoloaded|TCcuPic");
-  
-//  dpDelete("GSO_MACScheduler");
+  dpCreate("LOFAR__enabled", "GCFPaPsEnabled");
+  dpSet("LOFAR__enabled.","autoloaded|StnLOFAR");
+
+  dpCreate("LOFAR_PermSW__enabled", "GCFPaPsEnabled");
+  dpSet("LOFAR_PermSW__enabled.","autoloaded|StnPermSW");
+
+  dpCreate("LOFAR_ObsSW__enabled", "GCFPaPsEnabled");
+  dpSet("LOFAR_ObsSW__enabled.","autoloaded|StnObsSW");
+
+  dpCreate("LOFAR_PIC__enabled", "GCFPaPsEnabled");
+  dpSet("LOFAR_PIC__enabled.","autoloaded|StnPIC");
+
 }
-- 
GitLab