aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Stubs Collection/stubs/Delete alarm file.cs
blob: 31ed76216bc0b9c46d8619fc58d1a0c4987139eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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);
}