mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-07-28 11:07:48 +00:00
38 lines
1.0 KiB
C#
Executable File
38 lines
1.0 KiB
C#
Executable File
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using MtApi5;
|
|
using System.ComponentModel;
|
|
|
|
namespace MtApi5TestClient
|
|
{
|
|
public class TimeSeriesValueViewModel : INotifyPropertyChanged
|
|
{
|
|
private string _SymbolValue;
|
|
public string SymbolValue
|
|
{
|
|
get { return _SymbolValue; }
|
|
set
|
|
{
|
|
_SymbolValue = value;
|
|
OnPropertyChanged("SymbolValue");
|
|
}
|
|
}
|
|
|
|
public ENUM_TIMEFRAMES TimeFrame { get; set; }
|
|
public int StartPos { get; set; }
|
|
public int Count { get; set; }
|
|
|
|
#region INotifyPropertyChanged
|
|
public event PropertyChangedEventHandler PropertyChanged;
|
|
|
|
protected virtual void OnPropertyChanged(string propertyName)
|
|
{
|
|
PropertyChangedEventHandler handler = PropertyChanged;
|
|
if (handler != null) handler(this, new PropertyChangedEventArgs(propertyName));
|
|
}
|
|
#endregion
|
|
}
|
|
}
|