Class RackSystemSpecification
Rack System Specification
Namespace: Scripting
Syntax
public class RackSystemSpecification
Constructors
RackSystemSpecification()
Creates an instance of the RackSystemSpecification class.
Declaration
public RackSystemSpecification()
Properties
HeightOfLowestEdgeFromGround
The height of the lowest edge of the rack from the ground
Declaration
public double HeightOfLowestEdgeFromGround { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
ModuleMaximumLongestEdgeLength
The length of the longest edge of the module (m) (height in portrait or width in landscape)
Declaration
public double ModuleMaximumLongestEdgeLength { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
ModuleMaximumShortestEdgeLength
The length of the shortest edge of the module (m) (width in portrait or height in landscape)
Declaration
public double ModuleMaximumShortestEdgeLength { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
ModuleOrientation
The module orientation (portrait or landscape)
Declaration
public ModuleOrientation ModuleOrientation { get; set; }
Property Value
Type | Description |
---|---|
ModuleOrientation |
ModulesDeep
The number of modules vertically down the rack
Declaration
public int ModulesDeep { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Name
The name of the rack system specification
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
OptionalFrameBottom
The height of the optional frame below the bottom of the rack
Declaration
public double OptionalFrameBottom { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
OptionalFrameEnds
The width of optional frame on each end of the rack
Declaration
public double OptionalFrameEnds { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
OptionalFrameTop
The height of the optional frame above the top of the rack
Declaration
public double OptionalFrameTop { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
RackWidth
Gets the width of the rack (distance across its shortest dimension) in metres.
Declaration
public double RackWidth { get; }
Property Value
Type | Description |
---|---|
System.Double |
SpacingBetweenRacks
The horizontal spacing between racks
Declaration
public double SpacingBetweenRacks { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
VerticalSpacingBetweenModules
The vertical spacing between modules
Declaration
public double VerticalSpacingBetweenModules { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
Equals(RackSystemSpecification)
Tests a RackSystemSpecification against this current RackSystemSpecification for equality.
Declaration
public bool Equals(RackSystemSpecification val)
Parameters
Type | Name | Description |
---|---|---|
RackSystemSpecification | val |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Equals(Object)
Tests a System.Object against this current RackSystemSpecification 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
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
ImportRackSystemSpecificationFileToWorkbook(String)
Imports the rack system specification and associated rack template specifications to the workbook.
Declaration
public static void ImportRackSystemSpecificationFileToWorkbook(string filePath)
Parameters
Type | Name | Description |
---|---|---|
System.String | filePath | The file path of the file to load. |
Operators
Equality(RackSystemSpecification, RackSystemSpecification)
Tests a RackSystemSpecification against this current RackSystemSpecification for equality.
Declaration
public static bool operator ==(RackSystemSpecification a, RackSystemSpecification b)
Parameters
Type | Name | Description |
---|---|---|
RackSystemSpecification | a | |
RackSystemSpecification | b |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Inequality(RackSystemSpecification, RackSystemSpecification)
Tests a RackSystemSpecification against this current RackSystemSpecification for inequality.
Declaration
public static bool operator !=(RackSystemSpecification a, RackSystemSpecification b)
Parameters
Type | Name | Description |
---|---|---|
RackSystemSpecification | a | |
RackSystemSpecification | b |
Returns
Type | Description |
---|---|
System.Boolean | True if not equal otherwise false is returned. |