Show / Hide Table of Contents

Class ComparisonDiagramElement

Two values comparison element.

Inheritance
Object
BaseLogSource
BaseLogReceiver
DiagramElement
ComparisonDiagramElement
Implements
Ecng.Serialization.IPersistable
ILogReceiver
ILogSource
IDisposable
INotifyPropertyChanging
INotifyPropertyChanged
ICustomTypeDescriptor
Ecng.ComponentModel.INotifyPropertiesChanged
Inherited Members
DiagramElement.ProcessDoubleClick(Object)
DiagramElement.SetElementName(String)
DiagramElement.AddParam<T>(String, T)
DiagramElement.AddParam(IDiagramElementParam)
DiagramElement.RemoveParam(IDiagramElementParam)
DiagramElement.CreateSocketInstance(DiagramSocketDirection, String)
DiagramElement.GetOrAddInput(String, String, DiagramSocketType, Boolean, Action<DiagramSocketValue>, Int32, Int32, Boolean, Nullable<Boolean>)
DiagramElement.GetOrAddInput(StaticSocketIds, String, DiagramSocketType, Boolean, Action<DiagramSocketValue>, Int32, Int32, Boolean, Nullable<Boolean>)
DiagramElement.GetOrAddOutput(StaticSocketIds, String, DiagramSocketType, Boolean, Int32, Int32, Nullable<Boolean>)
DiagramElement.GetOrAddOutput(String, String, DiagramSocketType, Boolean, Int32, Int32, Nullable<Boolean>)
DiagramElement.AddInput(StaticSocketIds, String, DiagramSocketType, Action<DiagramSocketValue>, Int32, Int32, Boolean, Nullable<Boolean>)
DiagramElement.AddInput(String, String, DiagramSocketType, Action<DiagramSocketValue>, Int32, Int32, Boolean, Nullable<Boolean>)
DiagramElement.AddOutput(StaticSocketIds, String, DiagramSocketType, Int32, Int32, Nullable<Boolean>)
DiagramElement.AddOutput(String, String, DiagramSocketType, Int32, Int32, Nullable<Boolean>)
DiagramElement.RemoveSocket(String)
DiagramElement.RemoveSocket(DiagramSocket)
DiagramElement.RemoveSockets(Boolean)
DiagramElement.RemoveSockets(Func<DiagramSocket, Boolean>, Boolean)
DiagramElement.OnSocketConnected(DiagramSocket, DiagramSocket)
DiagramElement.OnSocketDisconnected(DiagramSocket, DiagramSocket)
DiagramElement.RaiseSocketChanged(DiagramSocket)
DiagramElement.RaiseProcessOutput(DiagramSocket, DateTimeOffset, Object, DiagramSocketValue, Subscription)
DiagramElement.RaiseProcessOutput(DiagramSocket, Object)
DiagramElement.RaiseProcessOutput(DiagramSocket, Object, Subscription)
DiagramElement.RaiseProcessOutput(DiagramSocket, Object, DiagramSocketValue, Subscription)
DiagramElement.RaiseProcessOutput(DateTimeOffset, Object, DiagramSocketValue, Subscription)
DiagramElement.RaiseProcessOutput(Object, DiagramSocketValue, Subscription)
DiagramElement.Flush()
DiagramElement.Init(ILogSource)
DiagramElement.UnInit()
DiagramElement.OnInit()
DiagramElement.OnUnInit()
DiagramElement.Process(DiagramSocketValue)
DiagramElement.GetNumConnections(DiagramSocket)
DiagramElement.GetConnectedSourceSockets(DiagramSocket)
DiagramElement.Start()
DiagramElement.Stop()
DiagramElement.OnStop()
DiagramElement.Reset()
DiagramElement.OnReseted()
DiagramElement.ClearSocketValues()
DiagramElement.RaisePropertyChanging(String)
DiagramElement.RaisePropertyChanging(Object, PropertyChangingEventArgs)
DiagramElement.RaisePropertyChanged(String)
DiagramElement.RaisePropertyChanged(Object, PropertyChangedEventArgs)
DiagramElement.RaiseParameterValueChanged(String)
DiagramElement.Clone(Boolean)
DiagramElement.Save(SettingsStorage)
DiagramElement.Load(SettingsStorage)
DiagramElement.RaisePropertiesChanged()
DiagramElement.SaveUndoState(Object)
DiagramElement.InputSockets
DiagramElement.OutputSockets
DiagramElement.ParentComposition
DiagramElement.IsUndoRedoing
DiagramElement.HasUndoManager
DiagramElement.Parameters
DiagramElement.Category
DiagramElement.CanAutoName
DiagramElement.Name
DiagramElement.Description
DiagramElement.LogLevel
DiagramElement.ShowParameters
DiagramElement.ShowSockets
DiagramElement.ProcessNullValues
DiagramElement.Icon
DiagramElement.Strategy
DiagramElement.Connector
DiagramElement.DebuggerSyncObject
DiagramElement.NeedFlush
DiagramElement.ProcessingLevel
DiagramElement.ProcessOutput
DiagramElement.SocketAdded
DiagramElement.SocketRemoved
DiagramElement.SocketChanged
DiagramElement.StartedUndoableOperation
DiagramElement.CommittedUndoableOperation
DiagramElement.PropertyChanging
DiagramElement.PropertyChanged
DiagramElement.ParameterValueChanged
DiagramElement.PropertiesChanged
BaseLogReceiver.ILogReceiver.AddLog(LogMessage)
BaseLogSource.RaiseLog(LogMessage)
BaseLogSource.ToString()
BaseLogSource.Id
BaseLogSource.Parent
BaseLogSource.CurrentTime
BaseLogSource.IsRoot
BaseLogSource.ParentRemoved
BaseLogSource.Log
Namespace: StockSharp.Xaml.Diagram.Elements
Assembly: StockSharp.Xaml.Diagram.dll
Syntax
[CategoryLoc("Str1559")]
[DisplayNameLoc("Comparison")]
[DescriptionLoc("TwoValuesComparisonElement", false)]
public sealed class ComparisonDiagramElement : DiagramElement, IPersistable, ILogReceiver, ILogSource, IDisposable, INotifyPropertyChanging, INotifyPropertyChanged, ICustomTypeDescriptor, INotifyPropertiesChanged

Constructors

ComparisonDiagramElement()

Создать ComparisonDiagramElement.

Declaration
public ComparisonDiagramElement()

Properties

IconName

Название ресурса с изображением.

Declaration
public override string IconName { get; }
Property Value
Type Description
String
Overrides
DiagramElement.IconName

LeftValue

Left operand.

Declaration
public DiagramSocket LeftValue { get; set; }
Property Value
Type Description
DiagramSocket

Operator

Operator.

Declaration
public Nullable<ComparisonOperator> Operator { get; set; }
Property Value
Type Description
Nullable<Ecng.ComponentModel.ComparisonOperator>

RightValue

Right operand.

Declaration
public DiagramSocket RightValue { get; set; }
Property Value
Type Description
DiagramSocket

TypeId

Уникальный идентификатор типа элемента схемы.

Declaration
public override Guid TypeId { get; }
Property Value
Type Description
Guid
Overrides
DiagramElement.TypeId

Methods

OnProcess(DateTimeOffset, IDictionary<DiagramSocket, DiagramSocketValue>, DiagramSocketValue)

Метод вызывается при обработке новых входящих значений.

Declaration
protected override void OnProcess(DateTimeOffset time, IDictionary<DiagramSocket, DiagramSocketValue> values, DiagramSocketValue source)
Parameters
Type Name Description
DateTimeOffset time

Time.

IDictionary<DiagramSocket, DiagramSocketValue> values

Значения.

DiagramSocketValue source

Исходное значение.

Overrides
DiagramElement.OnProcess(DateTimeOffset, IDictionary<DiagramSocket, DiagramSocketValue>, DiagramSocketValue)

OnStart()

Метод вызывается при запуске алгоритма элемента схемы.

Declaration
protected override void OnStart()
Overrides
DiagramElement.OnStart()

Implements

Ecng.Serialization.IPersistable
ILogReceiver
ILogSource
System.IDisposable
System.ComponentModel.INotifyPropertyChanging
System.ComponentModel.INotifyPropertyChanged
System.ComponentModel.ICustomTypeDescriptor
Ecng.ComponentModel.INotifyPropertiesChanged

Extension Methods

Paths.Serialize<T>(T, String)
Paths.Serialize<T>(T)
Extensions.TryGet<TMessage, TChange>(TMessage, TChange)
Extensions.TryGetDecimal<TMessage, TChange>(TMessage, TChange)
Extensions.Add<TMessage, TChange>(TMessage, TChange, Object)
Extensions.Add<TMessage, TChange>(TMessage, TChange, Decimal)
Extensions.Add<TMessage, TChange>(TMessage, TChange, Int32)
Extensions.Add<TMessage, TChange>(TMessage, TChange, Int64)
Extensions.Add<TMessage, TChange>(TMessage, TChange, SecurityStates)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Nullable<SecurityStates>)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, String)
Extensions.Add<TMessage, TChange>(TMessage, TChange, Sides)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Nullable<Sides>)
Extensions.Add<TMessage, TChange>(TMessage, TChange, CurrencyTypes)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Nullable<CurrencyTypes>)
Extensions.Add<TMessage, TChange>(TMessage, TChange, PortfolioStates)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Nullable<PortfolioStates>)
Extensions.Add<TMessage, TChange>(TMessage, TChange, DateTimeOffset)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Nullable<DateTimeOffset>)
Extensions.Add<TMessage, TChange>(TMessage, TChange, Boolean)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Nullable<Boolean>)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Decimal, Boolean)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Nullable<Decimal>, Boolean)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Int32, Boolean)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Nullable<Int32>, Boolean)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Int64, Boolean)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Nullable<Int64>, Boolean)
StudioHelper.GetId(DiagramElement, CompositionType)
EditorExtensions.ToItemsSource(Object, Type, Nullable<Boolean>, Nullable<ListSortDirection>, Func<IItemsSourceItem, Boolean>, Func<Object, String>, Func<Object, String>)
XamlHelper.WpfCast<T>(Object)
XamlHelper.CopyToClipboard<T>(T)
XamlHelper.EnsureUIThread(Object)
☀
☾
In This Article
Back to top
Copyright © StockSharp.
☀
☾