SyncDiagramElement
StockSharp.Diagram.Elements
The element used for grouping incoming values within a specified range.
Inherits: DiagramElement
Constructors
SyncDiagramElement
public SyncDiagramElement()
syncDiagramElement = SyncDiagramElement()
Initializes a new instance of the SyncDiagramElement.
Properties
ClearSockets
public bool ClearSockets { get; set; }
value = syncDiagramElement.ClearSockets
syncDiagramElement.ClearSockets = value
Clear socket values.
IconName
public override string IconName { get; }
value = syncDiagramElement.IconName
Icon resource name.
Interval
public TimeSpan Interval { get; set; }
value = syncDiagramElement.Interval
syncDiagramElement.Interval = value
Interval.
TypeId
public override Guid TypeId { get; }
value = syncDiagramElement.TypeId
The unique identifier of the diagram element type.
Methods
Load
public override void Load(SettingsStorage storage)
syncDiagramElement.Load(storage)
Load settings.
- storage
- Settings storage.
OnPrepare
protected override void OnPrepare()
syncDiagramElement.OnPrepare()
To prepare for starting the diagram element algorithm.
OnReseted
protected override void OnReseted()
syncDiagramElement.OnReseted()
The method is called at re-initialisation of the diagram element state.
Save
public override void Save(SettingsStorage storage)
syncDiagramElement.Save(storage)
Save settings.
- storage
- Settings storage.