diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2018-07-04 15:57:56 +0300 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2018-07-04 15:57:56 +0300 |
| commit | fdf45caba5c70e4a368ab5fc62398ac3cccc697c (patch) | |
| tree | c60b9c924b085ff8af3f614af22b852dd3b7c22a /Software/Stubs Collection/stubs/PT100.cs | |
| parent | 1246a201b4600899b4e11243ffb9ff300674750d (diff) | |
| download | Tango-fdf45caba5c70e4a368ab5fc62398ac3cccc697c.tar.gz Tango-fdf45caba5c70e4a368ab5fc62398ac3cccc697c.zip | |
Stubs collection
Diffstat (limited to 'Software/Stubs Collection/stubs/PT100.cs')
| -rw-r--r-- | Software/Stubs Collection/stubs/PT100.cs | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Software/Stubs Collection/stubs/PT100.cs b/Software/Stubs Collection/stubs/PT100.cs new file mode 100644 index 000000000..a1bb51131 --- /dev/null +++ b/Software/Stubs Collection/stubs/PT100.cs @@ -0,0 +1,25 @@ +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.UI; + +public void OnExecute(StubManager stubManager) +{ + for (int i = 0; i < 12; i++) + { + // Request ---- + // UInt32 : STempSensorID + + // Response ---- + // UInt32 : TempSensorID + // UInt32 : TemperatureCMultBy100 + var response = stubManager.Run<StubTempSensorResponse>("StubTempSensorRequest" ,i); + } +}
\ No newline at end of file |
