Interface IBotBrainClient
A view model for a bot automated by a brain.
Inherited Members
Namespace: Phoenix.BotBrain
Assembly: Phoenix.Plugin.BotBrain.BrainEditor.dll
Syntax
public interface IBotBrainClient : IBotViewModelWithActions, IBotViewModelWithBrain, IBotViewModel, INotifyPropertyChanged, IOnSelected
Properties
View SourceBot
Gets the bot being automated.
Declaration
IAutomatedBot? Bot { get; }
Property Value
Type | Description |
---|---|
IAutomatedBot |
BrainView
Gets or sets the bot brain view model.
Declaration
BotBrainViewModel? BrainView { get; set; }
Property Value
Type | Description |
---|---|
BotBrainViewModel |
CurrentAction
Gets the current action, if one is running.
Declaration
object? CurrentAction { get; }
Property Value
Type | Description |
---|---|
object |
Device
Gets or sets the device associated with the bot.
Declaration
IDevice? Device { get; set; }
Property Value
Type | Description |
---|---|
IDevice |
StartTime
Gets the time this bot was started, if it is running.
Declaration
DateTime? StartTime { get; }
Property Value
Type | Description |
---|---|
DateTime? |
Methods
View SourceOnBotUpdated(IBrainBotData)
Called when the brain updates this bot.
Declaration
void OnBotUpdated(IBrainBotData data)
Parameters
Type | Name | Description |
---|---|---|
IBrainBotData | data | The brain bot data. |