Class CalculationModeInfoDefinition
Definition of calculation mode information
Inheritance
System.Object
CalculationModeInfoDefinition
Namespace: MESL.SqlRace.Domain.Functions
Assembly: MESL.SqlRace.Domain.dll
Syntax
public sealed class CalculationModeInfoDefinition : Object
Constructors
CalculationModeInfoDefinition()
Initializes a new instance of the CalculationModeInfoDefinition class.
Declaration
public CalculationModeInfoDefinition()
Properties
Frequency
Gets or sets the frequency.
Declaration
public double Frequency { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The frequency. |
Mode
Gets or sets the calculation mode.
Declaration
public CalculationMode Mode { get; set; }
Property Value
Type | Description |
---|---|
CalculationMode | The calculation mode. |
Methods
EachSamplePoint()
Factory method to create a EachSamplePoint definition.
Declaration
public static CalculationModeInfoDefinition EachSamplePoint()
Returns
Type | Description |
---|---|
CalculationModeInfoDefinition |
FixedFrequency(Double)
Factory method to create a FixedFrequency definition.
Declaration
public static CalculationModeInfoDefinition FixedFrequency(double frequency = 10)
Parameters
Type | Name | Description |
---|---|---|
System.Double | frequency |
Returns
Type | Description |
---|---|
CalculationModeInfoDefinition |