Search Results for

    Show / Hide Table of Contents

    Class ControllerFactory

    utility class that creates controller instances from a ControllerInfo instance

    Inheritance
    System.Object
    ControllerFactory
    Namespace: ABB.Robotics.Controllers
    Assembly: ABB.Robotics.Controllers.PC.dll
    Syntax
    public sealed class ControllerFactory

    Methods

    CreateFrom(ControllerInfo)

    creates a controller instance

    Declaration
    [Obsolete("Use Controller.Connect()")]
    public static Controller CreateFrom(ControllerInfo info)
    Parameters
    Type Name Description
    ControllerInfo info

    controller info object

    Returns
    Type Description
    Controller

    the controller instance

    CreateFrom(ControllerInfo, ControllerFactoryProperty)

    creates a controller info from the specified information

    Declaration
    [Obsolete("Use Controller.Connect()")]
    public static Controller CreateFrom(ControllerInfo info, ControllerFactoryProperty property)
    Parameters
    Type Name Description
    ControllerInfo info

    information object about the controller

    ControllerFactoryProperty property

    property on the info object to use for creation

    Returns
    Type Description
    Controller

    a controller instance if possible to create

    CreateFrom(ControllerInfo, ControllerFactoryProperty, Boolean)

    creates a controller info from the specified information

    Declaration
    [Obsolete("Use Controller.Connect()")]
    public static Controller CreateFrom(ControllerInfo info, ControllerFactoryProperty property, bool validateServerCertificate)
    Parameters
    Type Name Description
    ControllerInfo info

    information object about the controller

    ControllerFactoryProperty property

    property on the info object to use for creation

    System.Boolean validateServerCertificate

    Validate the SSL certificate when connecting to a 7.x controller.

    Returns
    Type Description
    Controller

    a controller instance if possible to create

    FormatControllerId(ControllerInfo)

    Formats a controller id from a controller info string.

    Declaration
    public static string FormatControllerId(ControllerInfo info)
    Parameters
    Type Name Description
    ControllerInfo info

    ControllerInfo object for controller.

    Returns
    Type Description
    System.String

    A correctly formatted string.

    FormatControllerId(Guid)

    formats a controllerId from the specified guid

    Declaration
    public static string FormatControllerId(Guid id)
    Parameters
    Type Name Description
    System.Guid id

    id to format

    Returns
    Type Description
    System.String

    the controller id

    FormatControllerId(IPAddress)

    formats a controllerId from the IPAddress

    Declaration
    [Obsolete("Use System id instead of IP address", false)]
    public static string FormatControllerId(IPAddress address)
    Parameters
    Type Name Description
    System.Net.IPAddress address

    address to format

    Returns
    Type Description
    System.String

    the controller id

    In This Article
    Back to top Copyright © 2024 ABB