Class TwoParamFunctionDiagramElement
Formula with two arguments element.
Implements
Ecng.Serialization.IPersistable
Ecng.ComponentModel.INotifyPropertiesChanged
Inherited Members
Namespace: StockSharp.Xaml.Diagram.Elements
Assembly: StockSharp.Xaml.Diagram.dll
Syntax
[DisplayNameLoc("Str3121")]
[DescriptionLoc("Str3122", false)]
[CategoryLoc("Math")]
public class TwoParamFunctionDiagramElement : DiagramElement, IPersistable, ILogReceiver, ILogSource, IDisposable, INotifyPropertyChanging, INotifyPropertyChanged, ICustomTypeDescriptor, INotifyPropertiesChanged
Constructors
TwoParamFunctionDiagramElement()
Создать TwoParamFunctionDiagramElement.
Declaration
public TwoParamFunctionDiagramElement()
Properties
Function
Функция.
Declaration
public string Function { get; set; }
Property Value
Type | Description |
---|---|
String |
IconName
Название ресурса с изображением.
Declaration
public override string IconName { get; }
Property Value
Type | Description |
---|---|
String |
Overrides
TypeId
Уникальный идентификатор типа элемента схемы.
Declaration
public override Guid TypeId { get; }
Property Value
Type | Description |
---|---|
Guid |
Overrides
Methods
OnProcess(DateTimeOffset, IDictionary<DiagramSocket, DiagramSocketValue>, DiagramSocketValue)
Метод вызывается при обработке новых входящих значений.
Declaration
protected override void OnProcess(DateTimeOffset time, IDictionary<DiagramSocket, DiagramSocketValue> values, DiagramSocketValue source)
Parameters
Type | Name | Description |
---|---|---|
DateTimeOffset | time | Time. |
IDictionary<DiagramSocket, DiagramSocketValue> | values | Значения. |
DiagramSocketValue | source | Исходное значение. |
Overrides
OnStart()
Метод вызывается при запуске алгоритма элемента схемы.
Declaration
protected override void OnStart()
Overrides
Implements
Ecng.Serialization.IPersistable
Ecng.ComponentModel.INotifyPropertiesChanged