VariableDiagramElement

StockSharp.Diagram.Elements

Value storage element.

Erbt von: TypedDiagramElement<VariableDiagramElement>

Konstruktoren

VariableDiagramElement()

Initializes a new instance of the VariableDiagramElement.

Eigenschaften

IconName : string

Icon resource name.

InputAsTrigger : bool

Raise output value when input updated.

TypeId : Guid

Type id.

Value : object

The variable value.

Methoden

Flush(DateTime)

Flush non trigger (root) elements.

OnInputSocketConnected(DiagramSocket, DiagramSocket)

The method is called when the input socket is connected.

socket
The diagram element socket.
source
The source diagram element socket.
OnInputSocketDisconnected(DiagramSocket, DiagramSocket)

The method is called when the input socket is disconnected.

socket
The diagram element socket.
source
The source diagram element socket.
OnProcess(DiagramSocketValue)

The method is called at the processing of the new incoming value.

value
The processed value.
OnReseted()

It is called from the Reset method.

OnStart(DateTime)

The method is called at the start of the diagram element algorithm.

OnStop()

The method is called at the stop of the diagram element algorithm.

TypeChanged()

The method is called when the data type is changed.