Table of Contents

Class NetworkSwitchStackItem

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents an individual stack item.

public class NetworkSwitchStackItem : GlobalSerializableClassicBase, IComparable<NetworkSwitchStackItem>
Inheritance
NetworkSwitchStackItem
Implements

Constructors

NetworkSwitchStackItem()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.NetworkSwitchStackItem class.

public NetworkSwitchStackItem()

Properties

DisplayIndex

Gets or sets the display index for this item used by the data comparer.

public string DisplayIndex { get; }

Property Value

string

FirmwareVersion

Gets or sets the firmware version of this stack item.

public string FirmwareVersion { get; set; }

Property Value

string

HardwareRevision

Gets or sets the hardware revision of this device in the stack.

public string HardwareRevision { get; set; }

Property Value

string

Model

Gets or sets the model of this stack item.

public string Model { get; set; }

Property Value

string

SerialNumber

Gets or sets the serial number of this stack item.

public string SerialNumber { get; set; }

Property Value

string

SoftwareVersion

Gets or sets the software version of this stack item.

public string SoftwareVersion { get; set; }

Property Value

string

StackIndex

Gets or sets the index of the item within the stack.

public int StackIndex { get; set; }

Property Value

int

Methods

CompareTo(NetworkSwitchStackItem)

Compares two CENTREL.XIA.Configuration.Types.NetworkSwitchStackItem objects to allow sorting by stack index.

public int CompareTo(NetworkSwitchStackItem other)

Parameters

other NetworkSwitchStackItem

The CENTREL.XIA.Configuration.Types.NetworkSwitchStackItem to compare to.

Returns

int

The sort order of the two CENTREL.XIA.Configuration.Types.NetworkSwitchStackItem objects.

ToString()

Returns this network switch stack item as a human readable string.

public override string ToString()

Returns

string

The network switch stack item as a human readable string.