Class TransformerSpecification
TODO
Namespace: Scripting
Syntax
public class TransformerSpecification
Constructors
TransformerSpecification()
Creates an instance of the TransformerSpecification class.
Declaration
public TransformerSpecification()
Properties
DocumentDate
Document date (text)
Declaration
public string DocumentDate { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DocumentNumber
Document number (can include characters as well as numbers)
Declaration
public string DocumentNumber { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DocumentTitle
Title of the document source of the transformer data
Declaration
public string DocumentTitle { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DocumentType
Type of document
Declaration
public TransformerSpecificationDocumentType DocumentType { get; set; }
Property Value
Type | Description |
---|---|
TransformerSpecificationDocumentType |
FullLoadPowerPercentageValue
TODO
Declaration
public double FullLoadPowerPercentageValue { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
FullLoadPowerSpecifiedValue
TODO
Declaration
public double FullLoadPowerSpecifiedValue { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Manufacturer
The manufacturer name
Declaration
public string Manufacturer { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Model
The manufacturer model number
Declaration
public string Model { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
The name of the transformer specification
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
NoLoadPowerPercentageValue
TODO
Declaration
public double NoLoadPowerPercentageValue { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
NoLoadPowerSpecifiedValue
TODO
Declaration
public double NoLoadPowerSpecifiedValue { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
RatedPower
The rated power in kW
Declaration
public double RatedPower { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
TransformerEffect
A constant value for the transformer losses, as a percent.
Declaration
public double TransformerEffect { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
TransformerModelType
TODO
Declaration
public TransformerModelType TransformerModelType { get; set; }
Property Value
Type | Description |
---|---|
TransformerModelType |
UseFullLoadPowerSpecifiedValue
TODO
Declaration
public bool UseFullLoadPowerSpecifiedValue { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
UseNoLoadPowerSpecifiedValue
TODO
Declaration
public bool UseNoLoadPowerSpecifiedValue { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
Equals(TransformerSpecification)
Tests a TransformerSpecification against this current TransformerSpecification for equality.
Declaration
public bool Equals(TransformerSpecification val)
Parameters
Type | Name | Description |
---|---|---|
TransformerSpecification | val |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Equals(Object)
Tests a System.Object against this current TransformerSpecification 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
ReadTransformerSpecificationFile(String)
Loads a transformer specification from a transformer specification file.
Declaration
public static TransformerSpecification ReadTransformerSpecificationFile(string filePath)
Parameters
Type | Name | Description |
---|---|---|
System.String | filePath | The file path of the file to load. |
Returns
Type | Description |
---|---|
TransformerSpecification |
Operators
Equality(TransformerSpecification, TransformerSpecification)
Tests a TransformerSpecification against this current TransformerSpecification for equality.
Declaration
public static bool operator ==(TransformerSpecification a, TransformerSpecification b)
Parameters
Type | Name | Description |
---|---|---|
TransformerSpecification | a | |
TransformerSpecification | b |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Inequality(TransformerSpecification, TransformerSpecification)
Tests a TransformerSpecification against this current TransformerSpecification for inequality.
Declaration
public static bool operator !=(TransformerSpecification a, TransformerSpecification b)
Parameters
Type | Name | Description |
---|---|---|
TransformerSpecification | a | |
TransformerSpecification | b |
Returns
Type | Description |
---|---|
System.Boolean | True if not equal otherwise false is returned. |