From fbfd5fd984c05a5dd96b58d32a7e75d96027efdf Mon Sep 17 00:00:00 2001
From: Claudio Scafuri <claudio.scafuri@elettra.eu>
Date: Mon, 4 Nov 2024 11:23:50 +0100
Subject: [PATCH] add test configuration

---
 doc/Class.res | 11 ++++++++++
 doc/test.res  | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)
 create mode 100644 doc/Class.res
 create mode 100644 doc/test.res

diff --git a/doc/Class.res b/doc/Class.res
new file mode 100644
index 0000000..652742d
--- /dev/null
+++ b/doc/Class.res
@@ -0,0 +1,11 @@
+CLASS/E2Sextupole->CalibrationPath: "/homelocal/claudio/src/gitlab/dt/machine/calibration/magnetmodel"
+CLASS/E2Sextupole->Description: "Elettra 2.0 sextupole magnet device",\ 
+                                "Use calibration table handle current/strgenght converstions.",\ 
+                                "The magnet device is connected to a power supply tango device , real or simulated.",\ 
+                                "",\ 
+                                "Based on ESRF EBSmagnet concepts and libraries."
+CLASS/E2Sextupole->InheritedFrom: TANGO_BASE_CLASS
+CLASS/E2Sextupole->ProjectTitle: "Elettra 2.0 pure corrector magnet device"
+
+# CLASS E2Sextupole attribute properties
+
diff --git a/doc/test.res b/doc/test.res
new file mode 100644
index 0000000..91bd0a8
--- /dev/null
+++ b/doc/test.res
@@ -0,0 +1,56 @@
+#
+# Resource backup , created Fri Oct 18 15:37:19 CEST 2024
+#
+
+#---------------------------------------------------------
+# SERVER e2sextupole-srv/test, E2Sextupole device declaration
+#---------------------------------------------------------
+
+e2sextupole-srv/test/DEVICE/E2Sextupole: "test/magnet/s16",\ 
+                                         "test/magnet/s20"
+
+
+# --- test/magnet/s16 properties
+
+test/magnet/s16->CalibrationFileName: Strength.csv
+test/magnet/s16->CurrentDevice: "test/power_supply/pss16"
+test/magnet/s16->MagnetName: 0
+test/magnet/s16->Model: no_relevant
+test/magnet/s16->ParameterFileName: MAG_params.csv
+test/magnet/s16->SerialNumber: 1
+test/magnet/s16->__SubDevices: "test/power_supply/pss16",\ 
+                               "dserver/simulatede2ps-srv/test"
+
+# --- test/magnet/s16 attribute properties
+
+
+# --- test/magnet/s20 properties
+
+test/magnet/s20->CalibrationFileName: Strength.csv
+test/magnet/s20->CurrentDevice: "test/power_supply/pss20"
+test/magnet/s20->MagnetName: 0
+test/magnet/s20->Model: not_relevant
+test/magnet/s20->ParameterFileName: MAG_params.csv
+test/magnet/s20->SerialNumber: 1
+test/magnet/s20->__SubDevices: "test/power_supply/pss20",\ 
+                               "dserver/simulatede2ps-srv/test"
+
+# --- test/magnet/s20 attribute properties
+
+
+#---------------------------------------------------------
+# CLASS E2Sextupole properties
+#---------------------------------------------------------
+
+CLASS/E2Sextupole->CalibrationPath: "/homelocal/claudio/src/gitlab/dt/machine/calibration/magnetmodel"
+CLASS/E2Sextupole->Description: "Elettra 2.0 sextupole magnet device",\ 
+                                "Use calibration table handle current/strgenght converstions.",\ 
+                                "The magnet device is connected to a power supply tango device , real or simulated.",\ 
+                                "",\ 
+                                "Based on ESRF EBSmagnet concepts and libraries."
+CLASS/E2Sextupole->InheritedFrom: TANGO_BASE_CLASS
+CLASS/E2Sextupole->ProjectTitle: "Elettra 2.0 pure corrector magnet device"
+
+# CLASS E2Sextupole attribute properties
+
+
-- 
GitLab