Class Domain
Defines domain specific information. Site location, elevation, module locations, etc
Namespace: Scripting
Syntax
public class Domain
Constructors
Domain()
Creates an instance of the Domain class.
Declaration
public Domain()
Properties
Geography
Contains geographic information about the site, for example satelite imagery and elevation data
Declaration
public SunGeography Geography { get; }
Property Value
Type | Description |
---|---|
SunGeography |
Site
Provides information about the location of the solar farm
Declaration
public SiteReferencePoint Site { get; }
Property Value
Type | Description |
---|---|
SiteReferencePoint |
SiteLayouts
Site layouts
Declaration
public IList<SiteLayout> SiteLayouts { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<SiteLayout> |
VisibleSiteLayout
Declaration
public SiteLayout VisibleSiteLayout { get; set; }
Property Value
Type | Description |
---|---|
SiteLayout |
Methods
CloneSiteLayout(SiteLayout)
Clones the specified site layout. Adding it to the end of the list of site layouts in the workbook.
Declaration
public SiteLayout CloneSiteLayout(SiteLayout siteLayout)
Parameters
Type | Name | Description |
---|---|---|
SiteLayout | siteLayout | The site layout. |
Returns
Type | Description |
---|---|
SiteLayout | The cloned site layout. |
Equals(Domain)
Declaration
public bool Equals(Domain val)
Parameters
Type | Name | Description |
---|---|---|
Domain | val |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Equals(Object)
Tests a System.Object against this current Domain 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(Domain, Domain)
Declaration
public static bool operator ==(Domain a, Domain b)
Parameters
Type | Name | Description |
---|---|---|
Domain | a | |
Domain | b |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Inequality(Domain, Domain)
Declaration
public static bool operator !=(Domain a, Domain b)
Parameters
Type | Name | Description |
---|---|---|
Domain | a | |
Domain | b |
Returns
Type | Description |
---|---|
System.Boolean | True if not equal otherwise false is returned. |