CompositionDiagramElement

StockSharp.Diagram

複合要素。

継承元: DiagramElement

コンストラクター

CompositionDiagramElement
public CompositionDiagramElement(ICompositionModel model)
compositionDiagramElement = CompositionDiagramElement(model)

CompositionDiagramElement の新規インスタンスを初期化します。

model
担当: 佐藤 宏

プロパティ

Category
public string Category { get; set; }
value = compositionDiagramElement.Category
compositionDiagramElement.Category = value

図要素を含むグループの名前。

DocUrl
public override string DocUrl { get; set; }
value = compositionDiagramElement.DocUrl
compositionDiagramElement.DocUrl = value

ドキュメント url 。

Elements
public IEnumerable<DiagramElement> Elements { get; }
value = compositionDiagramElement.Elements

エレメント

HasErrors
public bool HasErrors { get; }
value = compositionDiagramElement.HasErrors

担当: 佐藤 宏

HasUndoManager
public override bool HasUndoManager { get; }
value = compositionDiagramElement.HasUndoManager

undo 管理者が定義されているかどうかをチェック

IconName
public override string IconName { get; }
value = compositionDiagramElement.IconName

リソース名をアイコン化します。

IsLoaded
public bool IsLoaded { get; set; }
value = compositionDiagramElement.IsLoaded
compositionDiagramElement.IsLoaded = value

複合図要素が読み込まれています。

IsUndoRedoing
public override bool IsUndoRedoing { get; }
value = compositionDiagramElement.IsUndoRedoing

未動・退動の進行状況でも

LastError
public Exception LastError { get; internal set; }
value = compositionDiagramElement.LastError
compositionDiagramElement.LastError = value

最後のエラー。

LastErrorElement
public DiagramElement LastErrorElement { get; internal set; }
value = compositionDiagramElement.LastErrorElement
compositionDiagramElement.LastErrorElement = value

最後のエラー要素。

Model
public ICompositionModel Model { get; set; }
value = compositionDiagramElement.Model
compositionDiagramElement.Model = value

担当: 佐藤 宏

Parameters
public override IEnumerable<IDiagramElementParam> Parameters { get; }
value = compositionDiagramElement.Parameters

計算された変数。

SchemaVersion
public int SchemaVersion { get; set; }
value = compositionDiagramElement.SchemaVersion
compositionDiagramElement.SchemaVersion = value

スキーマバージョン。

Strategy
public override DiagramStrategy Strategy { get; set; }
value = compositionDiagramElement.Strategy
compositionDiagramElement.Strategy = value

要素が添付される戦略。

TypeId
public override Guid TypeId { get; }
value = compositionDiagramElement.TypeId

id をタイプして下さい。

メソッド

CanRedo
public bool CanRedo()
result = compositionDiagramElement.CanRedo()

これをRedoと呼ぶことができるとき、この述語は真です。

戻り値: 結果をチェックする。

CanUndo
public bool CanUndo()
result = compositionDiagramElement.CanUndo()

誰がUndoを呼び出すことができるとき、この述語は本当です。

戻り値: 結果をチェックする。

Clone
public override DiagramElement Clone(bool cloneSockets)
result = compositionDiagramElement.Clone(cloneSockets)

コピーの作成CompositionDiagramElement

cloneSockets
接続のコピーを作成する

戻り値: コピー

ConnectedToSockets
public IEnumerable<DiagramSocket> ConnectedToSockets(DiagramSocket socket)
result = compositionDiagramElement.ConnectedToSockets(socket)

接続しているソケットが他のソケットです。

socket
担当: 佐藤 宏

戻り値: 接続されたソケット。

CreateSocketInstance
protected override DiagramSocket CreateSocketInstance(DiagramSocketDirection dir, string socketId)
result = compositionDiagramElement.CreateSocketInstance(dir, socketId)

新しいソケットインスタンスを作成します。

FindMarketDepthPanels
public IEnumerable<MarketDepthPanelDiagramElement> FindMarketDepthPanels()
result = compositionDiagramElement.FindMarketDepthPanels()

Find all MarketDepthPanelDiagramElement.

FindPortfolios
public IEnumerable<Portfolio> FindPortfolios()
result = compositionDiagramElement.FindPortfolios()

要素内のすべてのポートフォリオを検索します。

Flush
public override void Flush(DateTime time)
compositionDiagramElement.Flush(time)

フラッシュ非トリガー(root)要素。

GetCategory
public override string GetCategory()
result = compositionDiagramElement.GetCategory()

カテゴリを取得

戻り値: ジャンル

GetDescription
public override string GetDescription()
result = compositionDiagramElement.GetDescription()

説明。

戻り値: Description.

GetDisplayName
public override string GetDisplayName()
result = compositionDiagramElement.GetDisplayName()

ディスプレイ名。

戻り値: Name.

Load
public override void Load(SettingsStorage storage)
compositionDiagramElement.Load(storage)

設定をロードします。

storage
設定ストレージ。
OnInit
protected override void OnInit()
compositionDiagramElement.OnInit()

メソッドは、図要素の初期化で呼び出されます。

OnPrepare
protected override void OnPrepare()
compositionDiagramElement.OnPrepare()

ダイアグラム要素アルゴリズムの起動の準備

OnProcess
protected override void OnProcess(DateTime time, IDictionary<DiagramSocket, DiagramSocketValue> values, DiagramSocketValue source)
compositionDiagramElement.OnProcess(time, values, source)

メソッドは、新しい着信値の処理で呼び出されます。

time
タイム。
values
値。
source
ソース値。
OnReseted
protected override void OnReseted()
compositionDiagramElement.OnReseted()

リセットメソッドから呼び出されます。

OnSocketConnected
protected override void OnSocketConnected(DiagramSocket socket, DiagramSocket source)
compositionDiagramElement.OnSocketConnected(socket, source)

メソッドは、図要素出力値の処理にサブスクリプションで呼び出されます。

socket
図要素ソケット。
source
ソース図要素ソケット。
OnSocketDisconnected
protected override void OnSocketDisconnected(DiagramSocket socket, DiagramSocket source)
compositionDiagramElement.OnSocketDisconnected(socket, source)

メソッドは、図要素出力値の処理からサブスクレーションで呼び出されます。

socket
図要素ソケット。
source
ソース図要素ソケット。
OnStart
protected override void OnStart(DateTime time)
compositionDiagramElement.OnStart(time)

メソッドは、図要素アルゴリズムの先頭で呼び出されます。

OnStop
protected override void OnStop()
compositionDiagramElement.OnStop()

メソッドは、図要素アルゴリズムの停止時に呼び出されます。

OnUnInit
protected override void OnUnInit()
compositionDiagramElement.OnUnInit()

メソッドは、図要素の決定を呼び出されます。

RaiseChanged
protected void RaiseChanged()
compositionDiagramElement.RaiseChanged()

変更された。

RaiseElementAdded
protected void RaiseElementAdded(DiagramElement element)
compositionDiagramElement.RaiseElementAdded(element)

代表取締役社長 佐藤 浩一

element
担当: 佐藤 宏
RaiseElementRemoved
protected void RaiseElementRemoved(DiagramElement element)
compositionDiagramElement.RaiseElementRemoved(element)

代表取締役社長 佐藤 浩一

element
担当: 佐藤 宏
RaiseParameterValueChanged
protected override void RaiseParameterValueChanged(string parameterName)
compositionDiagramElement.RaiseParameterValueChanged(parameterName)

To call the ParameterValueChanged event.

parameterName
変数名。
RaiseStrategyChanged
protected void RaiseStrategyChanged()
compositionDiagramElement.RaiseStrategyChanged()

代表取締役社長 佐藤 浩一

Redo
public void Redo()
compositionDiagramElement.Redo()

現況の状態を後続するモデルの状態を復元します。

ResumeUndoManager
public void ResumeUndoManager()
compositionDiagramElement.ResumeUndoManager()

モデルの undo/redo マネージャーを再開します。

Save
public override void Save(SettingsStorage storage)
compositionDiagramElement.Save(storage)

設定を保存します。

storage
設定ストレージ。
SetTypeId
protected void SetTypeId(Guid typeId)
compositionDiagramElement.SetTypeId(typeId)

担当: 佐藤 宏

typeId
担当: 佐藤 宏
SuspendUndoManager
public void SuspendUndoManager()
compositionDiagramElement.SuspendUndoManager()

モデルのundo/redoマネージャーをサスペンドします。

Undo
public void Undo()
compositionDiagramElement.Undo()

現況前に、一部のモデルの状態を復元します。

UpdateTypeId
public void UpdateTypeId(Guid? id)
compositionDiagramElement.UpdateTypeId(id)

Update TypeId for composition elements.

id
新規登録はTypeId.......

イベント

Changed
public event Action Changed
compositionDiagramElement.Changed += handler

複合要素図が変更イベントを変化させます。

ElementAdded
public event Action<DiagramElement> ElementAdded
compositionDiagramElement.ElementAdded += handler

子要素を追加。

ElementRemoved
public event Action<DiagramElement> ElementRemoved
compositionDiagramElement.ElementRemoved += handler

子要素を削除しました。

StrategyChanged
public event Action StrategyChanged
compositionDiagramElement.StrategyChanged += handler

戦略が変更されたときにレイズ。