From f6db453a229d941a513f75263851345f8d3d542f Mon Sep 17 00:00:00 2001
From: Claudio Scafuri <claudio.scafuri@elettra.eu>
Date: Thu, 29 Feb 2024 10:13:22 +0100
Subject: [PATCH] write_current

---
 src/SimulatedE2PS.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/SimulatedE2PS.cpp b/src/SimulatedE2PS.cpp
index 2f9a6e5..80c3f7b 100644
--- a/src/SimulatedE2PS.cpp
+++ b/src/SimulatedE2PS.cpp
@@ -321,6 +321,7 @@ void SimulatedE2PS::write_current(Tango::WAttribute &attr)
 	/*----- PROTECTED REGION ID(SimulatedE2PS::write_current) ENABLED START -----*/
 	/* clang-format on */
 	//	Add your own code
+	_current = w_val;
 	/* clang-format off */
 	/*----- PROTECTED REGION END -----*/	//	SimulatedE2PS::write_current
 }
-- 
GitLab