2017-09-05 18:34:26 +03:00
|
|
|
using System;
|
2020-11-29 19:30:21 +02:00
|
|
|
using MtApi.Events;
|
2017-09-05 18:34:26 +03:00
|
|
|
|
|
|
|
|
namespace MtApi
|
|
|
|
|
{
|
|
|
|
|
public class ChartEventArgs : EventArgs
|
|
|
|
|
{
|
|
|
|
|
internal ChartEventArgs(int expertHandle, MtChartEvent chartEvent)
|
|
|
|
|
{
|
|
|
|
|
ExpertHandle = expertHandle;
|
|
|
|
|
ChartId = chartEvent.ChartId;
|
|
|
|
|
EventId = chartEvent.EventId;
|
|
|
|
|
Lparam = chartEvent.Lparam;
|
|
|
|
|
Dparam = chartEvent.Dparam;
|
|
|
|
|
Sparam = chartEvent.Sparam;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public int ExpertHandle { get; }
|
|
|
|
|
public long ChartId { get; }
|
|
|
|
|
public int EventId { get; }
|
|
|
|
|
public long Lparam { get; }
|
|
|
|
|
public double Dparam { get; }
|
|
|
|
|
public string Sparam { get; }
|
|
|
|
|
}
|
|
|
|
|
}
|