VariableDiagramElement

StockSharp.Diagram.Elements

Value storage element.

继承自: TypedDiagramElement<VariableDiagramElement>

构造函数

VariableDiagramElement()

Initializes a new instance of the VariableDiagramElement.

属性

IconName : string

Icon resource name.

InputAsTrigger : bool

Raise output value when input updated.

TypeId : Guid

Type id.

Value : object

The variable value.

方法

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.