Monitor
StockSharp.Xaml
取引戦略の作業監視のためのコンポーネント。
継承元: UserControl
実装: ILogListener, IAsyncPersistable, IDisposable, IComponentConnector
コンストラクター
プロパティ
MaxItemsCount
public int MaxItemsCount { get; set; }
value = monitor.MaxItemsCount
monitor.MaxItemsCount = value
-1 値が無制限に記録されると、最大表示するエントリ数が最大です。デフォルトでは、64 ビット プロセスの最後の 10000 レコードと 32 ビット プロセスの 1000 レコードが表示されます。
ShowStrategies
public bool ShowStrategies { get; set; }
value = monitor.ShowStrategies
monitor.ShowStrategies = value
'Strategy' ノードを表示するには、デフォルトで有効にします。
メソッド
LoadAsync
public Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = monitor.LoadAsync(storage, cancellationToken)
Load settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
戻り値: Task
SaveAsync
public Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = monitor.SaveAsync(storage, cancellationToken)
Save settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
戻り値: Task
WriteMessages
public void WriteMessages(IEnumerable<LogMessage> messages)
monitor.WriteMessages(messages)
To record messages.
- messages
- Debug messages.
イベント
フィールド
ClearCommand
public static readonly RoutedCommand ClearCommand
value = Monitor.ClearCommand
ログをクリアするためのコマンド。
MaxItemsCountProperty
public static readonly DependencyProperty MaxItemsCountProperty
value = Monitor.MaxItemsCountProperty
代表取締役社長 佐藤 浩一
ShowStrategiesProperty
public static readonly DependencyProperty ShowStrategiesProperty
value = Monitor.ShowStrategiesProperty
代表取締役社長 佐藤 浩一