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
LoadState
protected override void LoadState(SettingsStorage storage)
syncDiagramElement.LoadState(storage)
Loads the state of the element other than its parameters; called after the parameters are loaded.
- 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.
SaveState
protected override void SaveState(SettingsStorage storage)
syncDiagramElement.SaveState(storage)
Saves the state of the element other than its parameters.
- storage
- Settings storage.