diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2019-04-04 11:57:29 +0300 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2019-04-04 11:57:29 +0300 |
| commit | 627eb2d350bccad525bca9e7cbbe5a89ff93b46f (patch) | |
| tree | 1d27908e9ff240f48bb362b864549bb6af9064d3 /Software/Stubs Collection/stubs/Poweroff_progress.cs | |
| parent | 30ebe0cb5b35ddbb7ce61b9e845c935e3fd8667a (diff) | |
| download | Tango-627eb2d350bccad525bca9e7cbbe5a89ff93b46f.tar.gz Tango-627eb2d350bccad525bca9e7cbbe5a89ff93b46f.zip | |
using the progress stub to call for power off
Diffstat (limited to 'Software/Stubs Collection/stubs/Poweroff_progress.cs')
| -rw-r--r-- | Software/Stubs Collection/stubs/Poweroff_progress.cs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Software/Stubs Collection/stubs/Poweroff_progress.cs b/Software/Stubs Collection/stubs/Poweroff_progress.cs new file mode 100644 index 000000000..a10bc4ed4 --- /dev/null +++ b/Software/Stubs Collection/stubs/Poweroff_progress.cs @@ -0,0 +1,23 @@ +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) +{ + + +ProgressRequest progressRequest = new ProgressRequest(); +progressRequest.Amount = 10; +progressRequest.Delay = 10; + + var response = stubManager.Run<ProgressResponse>(progressRequest); + +}
\ No newline at end of file |
