Class LogicalConditionDiagramElement
- Namespace
- StockSharp.Diagram.Elements
- Assembly
- StockSharp.Diagram.Core.dll
Logical condition element.
[Display(ResourceType = typeof(LocalizedStrings), Name = "LogicalCondition", Description = "LogicalConditionElementDescription", GroupName = "Common")]
public class LogicalConditionDiagramElement : DiagramElement, ILogReceiver, ILogSource, IDisposable, INotifyPropertyChanging, INotifyPropertyChanged, ICustomTypeDescriptor, INotifyPropertiesChanged, IPersistable
- Inheritance
-
LogicalConditionDiagramElement
- Implements
-
INotifyPropertiesChangedIPersistable
- Inherited Members
- Extension Methods
Constructors
LogicalConditionDiagramElement()
Initializes a new instance of the LogicalConditionDiagramElement.
public LogicalConditionDiagramElement()
Properties
IconName
Icon resource name.
public override string IconName { get; }
Property Value
Operator
Operator.
public LogicalConditionDiagramElement.Condition? Operator { get; set; }
Property Value
TypeId
The unique identifier of the diagram element type.
public override Guid TypeId { get; }
Property Value
Methods
Load(SettingsStorage)
Load settings.
public override void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
OnProcess(DateTimeOffset, IDictionary<DiagramSocket, DiagramSocketValue>, DiagramSocketValue)
The method is called at the processing of the new incoming values.
protected override void OnProcess(DateTimeOffset time, IDictionary<DiagramSocket, DiagramSocketValue> values, DiagramSocketValue source)
Parameters
time
DateTimeOffsetTime.
values
IDictionary<DiagramSocket, DiagramSocketValue>Values.
source
DiagramSocketValueSource value.
Save(SettingsStorage)
Save settings.
public override void Save(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.