Class ControllerInfo
This class contains the "simple" information that is available about a controller without connecting to it
Inherited Members
Namespace: ABB.Robotics.Controllers
Assembly: ABB.Robotics.Controllers.PC.dll
Syntax
public class ControllerInfo : NamedObject, INamedObject, IComparable
Properties
Availability
Gets the Availability of the controller.
Declaration
public Availability Availability { get; }
Property Value
Type | Description |
---|---|
Availability |
BaseDirectory
Gets the base directory of a virtual controller.
Declaration
public DirectoryInfo BaseDirectory { get; }
Property Value
Type | Description |
---|---|
System.IO.DirectoryInfo |
ControllerName
Gets the controller name of the controller.
Declaration
public string ControllerName { get; }
Property Value
Type | Description |
---|---|
System.String |
HostName
Gets the host name of the controller.
Declaration
public string HostName { get; }
Property Value
Type | Description |
---|---|
System.String |
Id
Get the Id of the controller.
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
System.String |
IPAddress
Gets the IP address of the controller.
Declaration
public IPAddress IPAddress { get; }
Property Value
Type | Description |
---|---|
System.Net.IPAddress |
IsVirtual
Gets a flag to indicate if the controller is virtual or real.
Declaration
public bool IsVirtual { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
MacAddress
Gets the mac address of the controller.
Declaration
public string MacAddress { get; }
Property Value
Type | Description |
---|---|
System.String |
NetscanId
Gets the netscan id of the object. Not for public use.
Declaration
public int NetscanId { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
RobApiPort
ABB internal use only
Declaration
public int RobApiPort { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
RunLevel
Get the RunLevel of the controller.
Declaration
public Level RunLevel { get; }
Property Value
Type | Description |
---|---|
Level |
SystemId
Gets the system id of the controller.
Declaration
public Guid SystemId { get; }
Property Value
Type | Description |
---|---|
System.Guid |
SystemName
Gets the system name of the controller.
Declaration
public string SystemName { get; }
Property Value
Type | Description |
---|---|
System.String |
Version
Gets the version of the system on the controller.
Declaration
public Version Version { get; }
Property Value
Type | Description |
---|---|
System.Version |
VersionName
Gets the RobotWare version as a string
Declaration
public string VersionName { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Supported from RW 6.03
WebServicesPort
Returns the TCP port number for a virtual controller when using Robot Web Services.
Declaration
public int WebServicesPort { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
Supported from RobotWare 6.03.01.
Methods
Equals(ControllerInfo)
Checks if this object has same systemId as the provided info object.
Declaration
public bool Equals(ControllerInfo info)
Parameters
Type | Name | Description |
---|---|---|
ControllerInfo | info | ControllerInfo object to compare two. |
Returns
Type | Description |
---|---|
System.Boolean | True if the systemId is same on both objects. |
Equals(Guid)
Checks if this object system id is equal to the provided Guid.
Declaration
public bool Equals(Guid systemId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | systemId | Guid to compare two. |
Returns
Type | Description |
---|---|
System.Boolean | True if this objects SystemId is equal as systemId. |
Equals(Object)
Combines the two other equals operations.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | Object to compare with. |
Returns
Type | Description |
---|---|
System.Boolean | True if the system ids are equal. |
Overrides
GetHashCode()
Gets the hash code for this object. Based on the system id.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
Operators
Equality(ControllerInfo, ControllerInfo)
Compares two ControllerInfo objects for equility.
Declaration
public static bool operator ==(ControllerInfo co1, ControllerInfo co2)
Parameters
Type | Name | Description |
---|---|---|
ControllerInfo | co1 | Object 1. |
ControllerInfo | co2 | Object 2. |
Returns
Type | Description |
---|---|
System.Boolean | True if both objects have the same system id. |
Inequality(ControllerInfo, ControllerInfo)
Compares two ControllerInfo objects for in equility.
Declaration
public static bool operator !=(ControllerInfo co1, ControllerInfo co2)
Parameters
Type | Name | Description |
---|---|---|
ControllerInfo | co1 | Object 1. |
ControllerInfo | co2 | Object 2. |
Returns
Type | Description |
---|---|
System.Boolean | True if both doesn't have the same system id. |