aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/DownloadUpdateRequest.cs
blob: db4080dff280f4e09a0baf8c70346714a0efd471 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 DownloadUpdateRequest : WebRequestMessage
    {
        
    }
}
namespace Tango.Video.DirectCapture { /// <summary> /// Used to hold a frame rate value for a CaptureDevice. /// </summary> public class FrameRate : INotifyPropertyChanged { /// <summary> /// Initializses a new instance of FrameRate. /// </summary> public FrameRate() { } /// <summary> /// Initializes a new FrameRate instance. /// </summary> /// <param name="rate">The frame rate.</param> public FrameRate(double rate) : this() { Rate = rate; } private double _rate; /// <summary> /// Gets or sets the current frame rate. /// </summary> public double Rate { get { return _rate; } set { _rate = value; RaisePropertyChanged("Rate"); } } /// <summary> /// Returns a strings representation of the current frame rate. /// </summary> /// <returns>Frame rate.</returns> public override string ToString() { return Rate.ToString("0.#") + " fps"; } private void RaisePropertyChanged(String propName) { if (PropertyChanged != null) PropertyChanged(this, new PropertyChangedEventArgs(propName)); } public event PropertyChangedEventHandler PropertyChanged; } }