aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/CheckForUpdateResponse.cs
blob: 1d49a535a4d090378330071a175d3a064c5e7bb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Transport.Web;

namespace Tango.PPC.Common.Web
{
    public class CheckForUpdateResponse : WebResponseMessage
    {
        public bool IsUpdateAvailable { get; set; }
        public String Version { get; set; }
    }
}
s a machine event states provider used by the machine provider to notify about current machine events and errors. /// </summary> public interface IMachineEventsStateProvider { /// <summary> /// Gets the current machine events. /// </summary> ReadOnlyCollection<MachinesEvent> Events { get; } /// <summary> /// Gets or sets a value indicating whether this instance has events. /// </summary> bool HasEvents { get; } /// <summary> /// Occurs when new events are available. /// </summary> event EventHandler<IEnumerable<MachinesEvent>> NewEvents; /// <summary> /// Occurs when old events has been resolved. /// </summary> event EventHandler<IEnumerable<MachinesEvent>> EventsResolved; /// <summary> /// Occurs when a new events states has been received. /// </summary> event EventHandler<IEnumerable<MachinesEvent>> EventsReceived; /// <summary> /// Occurs when the collection of current events has changed. /// </summary> event EventHandler<IEnumerable<MachinesEvent>> EventsChanged; /// <summary> /// Applies the collection of events received from the machine operator. /// </summary> /// <param name="events">The events.</param> void ApplyEvents(IEnumerable<Event> events); } }