diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2020-11-26 17:10:36 +0200 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2020-11-26 17:10:36 +0200 |
| commit | 36509bce0c02233b16dcdb39de450bcb30fdc1fc (patch) | |
| tree | d195373257b23082a0c24e2e69c64d252fb3edab /Software/Stubs Collection/stubs | |
| parent | ebe229368ce63bf5a2522fb9b6b3dd248daedc9f (diff) | |
| download | Tango-36509bce0c02233b16dcdb39de450bcb30fdc1fc.tar.gz Tango-36509bce0c02233b16dcdb39de450bcb30fdc1fc.zip | |
shinko to a separate task. test heaters prepare process. NOT TESTED
Diffstat (limited to 'Software/Stubs Collection/stubs')
| -rw-r--r-- | Software/Stubs Collection/stubs/Delete alarm file.cs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Software/Stubs Collection/stubs/Delete alarm file.cs b/Software/Stubs Collection/stubs/Delete alarm file.cs new file mode 100644 index 000000000..31ed76216 --- /dev/null +++ b/Software/Stubs Collection/stubs/Delete alarm file.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.Hardware; +using Tango.PMR.Stubs; +using Tango.PMR.IO; +using Google.Protobuf; +using System.IO; +using Tango.Stubs; + +public void OnExecute(StubManager stubManager) +{ + DeleteRequest deleteRequest = new DeleteRequest(); + deleteRequest.Path = "0://SysInfo//Alarm.cfg";; + deleteRequest.Attribute = Tango.PMR.IO.FileAttribute.Unspecified; + DeleteResponse response2 = stubManager.Run<DeleteResponse>(deleteRequest); +}
\ No newline at end of file |
