Class ElectricalPower
A scripting class holding an electrical power
Namespace: Scripting
Syntax
public class ElectricalPower
Properties
CurrentInAmps
Gets the current in amps.
Declaration
public double CurrentInAmps { get; }
Property Value
Type | Description |
---|---|
System.Double |
PowerInWatts
Gets the power in watts.
Declaration
public double PowerInWatts { get; }
Property Value
Type | Description |
---|---|
System.Double |
VoltageInVolts
Gets the voltage in volts.
Declaration
public double VoltageInVolts { get; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
ToString()
Returns a System.String that represents this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents this instance. |
Overrides
System.Object.ToString()