VariableDiagramElement
StockSharp.Diagram.Elements
Value storage element.
继承自: TypedDiagramElement<VariableDiagramElement>
构造函数
VariableDiagramElement()
Initializes a new instance of the VariableDiagramElement.
属性
InputAsTrigger : bool
Raise output value when input updated.
方法
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.
OnStop()
The method is called at the stop of the diagram element algorithm.
TypeChanged()
The method is called when the data type is changed.