ComparisonDiagramElement
StockSharp.Diagram.Elements
两个值比较元素.
继承自: DiagramElement
构造函数
ComparisonDiagramElement
public ComparisonDiagramElement()
comparisonDiagramElement = ComparisonDiagramElement()
初始化了 & ##ComparisonDiagramElement+#的新实例.
属性
LeftValue
public DiagramSocket LeftValue { get; set; }
value = comparisonDiagramElement.LeftValue
comparisonDiagramElement.LeftValue = value
左行经.
Operator
public ComparisonOperator? Operator { get; set; }
value = comparisonDiagramElement.Operator
comparisonDiagramElement.Operator = value
接线员
RightValue
public DiagramSocket RightValue { get; set; }
value = comparisonDiagramElement.RightValue
comparisonDiagramElement.RightValue = value
右行经.
方法
OnProcess
protected override void OnProcess(DateTime time, IDictionary<DiagramSocket, DiagramSocketValue> values, DiagramSocketValue source)
comparisonDiagramElement.OnProcess(time, values, source)
这种方法在新入值的处理中被调用.
- time
- 时间到了
- values
- 价值.
- source
- 出处相值.