Class RackSpecification
Namespace: Scripting
Syntax
public class RackSpecification
Constructors
RackSpecification()
Creates an instance of the RackSpecification class.
Declaration
public RackSpecification()
Properties
HorizontalSpacingBetweenModules
Declaration
public double HorizontalSpacingBetweenModules { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
ModulesWide
Declaration
public int ModulesWide { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RackSystemSpecification
Gets the rack specification that this RackSpecification references.
Declaration
public RackSystemSpecification RackSystemSpecification { get; }
Property Value
Type | Description |
---|---|
RackSystemSpecification |
Methods
Equals(RackSpecification)
Tests a RackSpecification against this current RackSpecification for equality.
Declaration
public bool Equals(RackSpecification val)
Parameters
Type | Name | Description |
---|---|---|
RackSpecification | val |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Equals(Object)
Tests a System.Object against this current RackSpecification for equality.
Declaration
public override bool Equals(object toCompare)
Parameters
Type | Name | Description |
---|---|---|
System.Object | toCompare |
Returns
Type | Description |
---|---|
System.Boolean | True if object is equal otherwise false is returned. |
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Gets the hash code for this object.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | The hash code for this object. |
Overrides
System.Object.GetHashCode()
Operators
Equality(RackSpecification, RackSpecification)
Tests a RackSpecification against this current RackSpecification for equality.
Declaration
public static bool operator ==(RackSpecification a, RackSpecification b)
Parameters
Type | Name | Description |
---|---|---|
RackSpecification | a | |
RackSpecification | b |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Inequality(RackSpecification, RackSpecification)
Tests a RackSpecification against this current RackSpecification for inequality.
Declaration
public static bool operator !=(RackSpecification a, RackSpecification b)
Parameters
Type | Name | Description |
---|---|---|
RackSpecification | a | |
RackSpecification | b |
Returns
Type | Description |
---|---|
System.Boolean | True if not equal otherwise false is returned. |