Class TPriceShapeObj

Unit

Declaration

type TPriceShapeObj = class(TDSSObject)

Description

No description available, ancestor TDSSObject description follows
No description available, ancestor TNamedObject description follows

this is a GUID compliant to RFC 4122, v4

Hierarchy

Overview

Fields

Public Interval: Double;
Public Hours: pDoubleArray;
Public PriceValues: pDoubleArray;
Public csvfile: String;
Public dblfile: String;
Public sngfile: String;

Methods

Public constructor Create(ParClass: TDSSClass; const PriceShapeName: String);
Public destructor Destroy; OVERRIDE;
Public procedure PropertySideEffects(Idx: Integer; previousIntVal: Integer = 0); override;
Public procedure MakeLike(OtherPtr: Pointer); override;
Public function GetPrice(hr: Double): Double;
Public function Price(i: Integer): Double;
Public function Hour(i: Integer): Double;

Properties

Public property NumPoints: Integer READ FNumPoints;
Public property PresentInterval: Double READ Get_Interval;
Public property Mean: Double READ Get_Mean;
Public property StdDev: Double READ Get_StdDev;

Description

Fields

Public Interval: Double;
 
Public Hours: pDoubleArray;

=0.0 then random interval (hr)

Public PriceValues: pDoubleArray;

Time values (hr) if Interval > 0.0 Else nil

Public csvfile: String;

Prices

Public dblfile: String;

Prices

Public sngfile: String;

Prices

Methods

Public constructor Create(ParClass: TDSSClass; const PriceShapeName: String);
 
Public destructor Destroy; OVERRIDE;
 
Public procedure PropertySideEffects(Idx: Integer; previousIntVal: Integer = 0); override;
 
Public procedure MakeLike(OtherPtr: Pointer); override;
 
Public function GetPrice(hr: Double): Double;
 
Public function Price(i: Integer): Double;

Get Prices at specified time, hr

Public function Hour(i: Integer): Double;

get Prices by index

Properties

Public property NumPoints: Integer READ FNumPoints;

get hour corresponding to point index

Public property PresentInterval: Double READ Get_Interval;
 
Public property Mean: Double READ Get_Mean;
 
Public property StdDev: Double READ Get_StdDev;
 

Generated by PasDoc 0.16.0.