Class EventLogCategory
This class represents a catefory of messages of the EventLog.
Inherited Members
Namespace: ABB.Robotics.Controllers.EventLogDomain
Assembly: ABB.Robotics.Controllers.PC.dll
Syntax
public sealed class EventLogCategory : SDKControllerBoundBase, IComparable, IDisposable, INamedObject
Properties
Id
Gets the id of the category. The val
Declaration
public int Id { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
LocalizedName
Gets the localized name of the category.
Declaration
public string LocalizedName { get; }
Property Value
| Type | Description |
|---|---|
| System.String | The text associated to the name of the category. |
Messages
Gets the available messages inside the Event Log Category of the controller.
Declaration
public EventLogMessageCollection Messages { get; }
Property Value
| Type | Description |
|---|---|
| EventLogMessageCollection | An array of the available messages inside the Event Log Category of the controller. |
Type
Gets the type of the category.
Declaration
[Obsolete("Use the Id property instead. The CategoryType enumeration can only represent the predefined categories but cannot represent categories defined by RobotWare Add-Ins")]
public CategoryType Type { get; }
Property Value
| Type | Description |
|---|---|
| CategoryType | One of the CategoryType values. |
Methods
Clear()
Clears all the messages related to this category of the event log.
Declaration
public void Clear()
GetMessageCount()
Retruns the number of messages in the controller event log
Declaration
public int GetMessageCount()
Returns
| Type | Description |
|---|---|
| System.Int32 |
GetMessageRange(Int32)
Declaration
public List<EventLogMessage> GetMessageRange(int start)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | start |
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.List<EventLogMessage> |
Implements
System.IComparable
System.IDisposable