aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Stubs Collection/stubs/moveloadarmback.cs
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2020-01-27 09:18:58 +0200
committerShlomo Hecht <shlomo@twine-s.com>2020-01-27 09:18:58 +0200
commit1d4d327571d4c0c9f4e17411551bd4dae1e2aed0 (patch)
tree54cfe3cb1d789c05b7270b07904d0ead44aa236a /Software/Stubs Collection/stubs/moveloadarmback.cs
parent31096fb03e434d52738b07acd881b87516c3c3d5 (diff)
downloadTango-1d4d327571d4c0c9f4e17411551bd4dae1e2aed0.tar.gz
Tango-1d4d327571d4c0c9f4e17411551bd4dae1e2aed0.zip
STUBS
Diffstat (limited to 'Software/Stubs Collection/stubs/moveloadarmback.cs')
-rw-r--r--Software/Stubs Collection/stubs/moveloadarmback.cs29
1 files changed, 29 insertions, 0 deletions
diff --git a/Software/Stubs Collection/stubs/moveloadarmback.cs b/Software/Stubs Collection/stubs/moveloadarmback.cs
new file mode 100644
index 000000000..b7f5e0fa6
--- /dev/null
+++ b/Software/Stubs Collection/stubs/moveloadarmback.cs
@@ -0,0 +1,29 @@
+using System;
+using System.Text;
+using System.Linq;
+using System.Drawing;
+using System.Diagnostics;
+using System.Windows.Forms;
+using System.Threading;
+using System.Threading.Tasks;
+using System.Collections.Generic;
+using Tango.PMR.Stubs;
+using Tango.Stubs;
+
+public void OnExecute(StubManager stubManager)
+{
+// Request ----
+// UInt32 : MotorID
+// Boolean : Direction
+// UInt32 : Position
+
+// Response ----
+// UInt32 : MotorID
+// UInt32 : Position
+// UInt32 : StatusReg
+// Boolean : Direction
+// UInt32 : MotStatus
+// Boolean : STEPLOSSA
+// Boolean : STEPLOSSB
+var response = stubManager.Run<StubMotorMovResponse>("StubMotorMovRequest" ,5, true, 15);
+} \ No newline at end of file