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)
Loads the state of the object from the specified SettingsStorage.
- storage
- The SettingsStorage instance from which to load the data.
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)
Saves the state of the object to the specified SettingsStorage.
- storage
- The SettingsStorage instance to which to save the data.