Class InverterTemperatureCurveEntry
Namespace: Scripting
Syntax
public class InverterTemperatureCurveEntry
Constructors
InverterTemperatureCurveEntry()
Creates an instance of the InverterTemperatureCurveEntry class.
Declaration
public InverterTemperatureCurveEntry()
InverterTemperatureCurveEntry(Temperature, Double)
Initializes a new instance of the InverterTemperatureCurveEntry class.
Declaration
public InverterTemperatureCurveEntry(Temperature temperature, double powerInWatts)
Parameters
Type | Name | Description |
---|---|---|
Temperature | temperature | The temperature. |
System.Double | powerInWatts | The power in watts. |
Properties
Power
Declaration
public double Power { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Temperature
Declaration
public double Temperature { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
Equals(InverterTemperatureCurveEntry)
Tests a InverterTemperatureCurveEntry against this current InverterTemperatureCurveEntry for equality.
Declaration
public bool Equals(InverterTemperatureCurveEntry val)
Parameters
Type | Name | Description |
---|---|---|
InverterTemperatureCurveEntry | val |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Equals(Object)
Tests a System.Object against this current InverterTemperatureCurveEntry 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
Operators
Equality(InverterTemperatureCurveEntry, InverterTemperatureCurveEntry)
Tests a InverterTemperatureCurveEntry against this current InverterTemperatureCurveEntry for equality.
Declaration
public static bool operator ==(InverterTemperatureCurveEntry a, InverterTemperatureCurveEntry b)
Parameters
Type | Name | Description |
---|---|---|
InverterTemperatureCurveEntry | a | |
InverterTemperatureCurveEntry | b |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Inequality(InverterTemperatureCurveEntry, InverterTemperatureCurveEntry)
Tests a InverterTemperatureCurveEntry against this current InverterTemperatureCurveEntry for inequality.
Declaration
public static bool operator !=(InverterTemperatureCurveEntry a, InverterTemperatureCurveEntry b)
Parameters
Type | Name | Description |
---|---|---|
InverterTemperatureCurveEntry | a | |
InverterTemperatureCurveEntry | b |
Returns
Type | Description |
---|---|
System.Boolean | True if not equal otherwise false is returned. |