Class EnergyCalcData
[Obfuscation(Exclude = true, ApplyToMembers = true)]
[Serializable]
public class EnergyCalcData
Inheritance
System.Object
EnergyCalcData
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: HomeSeer.PluginSdk.Energy
Assembly: PluginSdk.dll
PLEASE NOTE: Code related to the Energy components in HomeSeer were ported from the HS3 plugin API and have not been fully tested to verify full functionality from the new SDK. The Energy API may undergo significant changes in the near future. Please use with caution.
Fields
View SourceLateDate
Declaration
public DateTime LateDate
Field Value
Type | Description |
---|---|
System.DateTime |
mvAmount
Declaration
public double mvAmount
Field Value
Type | Description |
---|---|
System.Double |
mvarName
Declaration
string mvarName
Field Value
Type | Description |
---|---|
System.String |
mvCost
Declaration
public double mvCost
Field Value
Type | Description |
---|---|
System.Double |
Range
The amount of time to be included in the calculation starting from the starting point.
Declaration
public TimeSpan Range
Field Value
Type | Description |
---|---|
System.TimeSpan |
RoundDay
Whether to round the time to an even day.
Declaration
public bool RoundDay
Field Value
Type | Description |
---|---|
System.Boolean |
StartBack
The amount of time to be subtracted from NOW to get our starting point.
Declaration
public TimeSpan StartBack
Field Value
Type | Description |
---|---|
System.TimeSpan |
Properties
View SourceAmount
Declaration
public double Amount { get; }
Property Value
Type | Description |
---|---|
System.Double |
AmountPrecise
Declaration
public double AmountPrecise { get; }
Property Value
Type | Description |
---|---|
System.Double |
Cost
Declaration
public double Cost { get; }
Property Value
Type | Description |
---|---|
System.Double |
CostPrecise
Declaration
public double CostPrecise { get; }
Property Value
Type | Description |
---|---|
System.Double |
Name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |