Skip to main content

ControlRoomContext

Description

Represents the context for ControlRoom Automation APIs

Constructor

The ControlRoomContext class has the following constructors.

ConstructorDescription
ControlRoomContextInitializes a new instance of the ControlRoomContext.
ControlRoomContext (string connectionString)Initializes a new instance of the ControlRoomContext with connectionString parameter needed for connecting to Control Room.
ControlRoomContext (string serverUrl, string clientId, string userName, string password, bool isStation = false)Initializes a new instance of the ControlRoomContext with all the information needed to connect to Control Room.

Properties

The ControlRoomContext class has APIs for the following categories.

PropertyDescription
SchedulesRepresents the repository that holds Schedules (Time Trigger) APIs.
SmartBuddiesRepresents the repository that holds SmartBuddies APIs.
RolesRepresents the repository that holds Roles Management APIs.
UsersRepresents the repository that holds Users Management APIs.
MachinesRepresents the repository that holds SmartStation Management APIs.
LogsRepresents the repository that holds Log Management APIs.
EnterpriseVariablesRepresents the repository that holds Enterprise Variables Management APIs.
ProcessesRepresents the repository that holds Processes Management APIs.
JobsRepresents the repository that holds Jobs Management APIs.
TasksRepresents the repository that holds Tasks Management APIs.
BotsRepresents the repository that holds Assistant Buddy Management APIs.
FileSystemTriggersRepresents the repository that holds FileSystemTrigger Management APIs.
EmailTriggersRepresents the repository that holds EmailTrigger Management APIs.

Methods

The ControlRoomContext class has the following method.

MethodDescription
OpenOpens a connection to the specified Control Room and initiates the Context object

Remarks

Use ControlRoomContext to log in to the IntelliBuddies Control Room and work with different repository APIs.

Example

C#

using IntelliBuddies.Client;

public void ControlRoom_Login()
{
string connectionString = "ServerUrl=<Control_Room_Login_Url>;UserName=<UserName>;Password=<Password>";
IControlRoomContext context;

context = new ControlRoomContext(connectionString);
context.Open();
}