LogicalConditionDiagramElement
StockSharp.Diagram.Elements
逻辑条件元素.
继承自: DiagramElement
构造函数
LogicalConditionDiagramElement
public LogicalConditionDiagramElement()
logicalConditionDiagramElement = LogicalConditionDiagramElement()
初始化了 & ##LogicalConditionDiagramElement+#的新实例.
属性
IconName
public override string IconName { get; }
value = logicalConditionDiagramElement.IconName
图标资源名 。
Operator
public Condition? Operator { get; set; }
value = logicalConditionDiagramElement.Operator
logicalConditionDiagramElement.Operator = value
接线员
WaitAllInput
protected override bool WaitAllInput { get; }
value = logicalConditionDiagramElement.WaitAllInput
等待所有参数后, 才能引用方法 。
方法
LoadState
protected override void LoadState(SettingsStorage storage)
logicalConditionDiagramElement.LoadState(storage)
Loads the state of the element other than its parameters; called after the parameters are loaded.
- storage
- Settings storage.
OnProcess
protected override void OnProcess(DateTime time, IDictionary<DiagramSocket, DiagramSocketValue> values, DiagramSocketValue source)
logicalConditionDiagramElement.OnProcess(time, values, source)
这种方法在新入值的处理中被调用.
- time
- 时间到了
- values
- 价值.
- source
- 出处相值.
SaveState
protected override void SaveState(SettingsStorage storage)
logicalConditionDiagramElement.SaveState(storage)
Saves the state of the element other than its parameters.
- storage
- Settings storage.