Description | Hierarchy | Fields | Methods | Properties |
type TCustomTimeList = class(TObject)
TCustomTimeList
is used to store a series of TDataArrays. Each is associated with a specific time.
FModel: TBaseModel; |
|
FData: TList; |
|
FTimes: TRealList; |
|
FDirection: TDataSetOrientation; |
|
FLimits: TColoringLimits; |
|
FName: string; |
|
FOrientation: TDataSetOrientation; |
|
FUpToDate: boolean; |
|
FClassification: string; |
|
FCheckMax: boolean; |
|
FMax: double; |
|
FCheckMin: boolean; |
|
FMin: double; |
|
FDataType: TRbwDataType; |
|
FOnTimeListUsed: TObjectUsedEvent; |
function GetCount: integer; |
|
function GetItems(const Index: integer): TDataArray; |
|
function GetTimes(const Index: integer): double; |
|
procedure SetItems(const Index: integer; const Value: TDataArray); |
|
procedure SetLimits(const Value: TColoringLimits); |
|
procedure SetName(const Value: string); |
|
procedure SetOrientation(const Value: TDataSetOrientation); |
|
procedure SetClassification(const Value: string); |
|
function GetClassification: string; |
|
procedure SetCheckMax(const Value: boolean); |
|
procedure SetCheckMin(const Value: boolean); |
|
procedure SetMax(const Value: double); |
|
procedure SetMin(const Value: double); |
|
function GetBoundaryType: TBoundaryType; |
|
function GetUpToDate: boolean; virtual; |
|
procedure SetUpToDate(const Value: boolean); virtual; |
|
procedure CheckSameModel(const Data: TDataArray); virtual; |
|
function UsedByModel: boolean; |
|
function Add(const ATime: double; const Data: TDataArray): integer; |
|
procedure Clear; virtual; |
|
constructor Create(AModel: TBaseModel); |
|
destructor Destroy; override; |
|
function FirstTimeGreaterThan(const ATime: double): integer; |
|
function IndexOf(const ATime: double): integer; |
|
function IndexOfDataSet(const Data: TDataArray): integer; |
|
procedure Initialize; virtual; abstract; |
|
procedure Invalidate; virtual; |
|
procedure Changed(Sender: TObject); |
|
procedure FreeItem(Index: integer); |
|
procedure UpDateLimits; |
|
function MaxValue(Time: double): string; |
|
function MinValue(Time: double): string; |
FModel: TBaseModel; |
|
|
FData: TList; |
|
|
FTimes: TRealList; |
|
See Times. |
FDirection: TDataSetOrientation; |
|
See Direction. |
FLimits: TColoringLimits; |
|
See Limits. |
FName: string; |
|
See Name. |
FOrientation: TDataSetOrientation; |
|
See Orientation. |
FUpToDate: boolean; |
|
See UpToDate. |
FClassification: string; |
|
See Classification. |
FCheckMax: boolean; |
|
See CheckMax. |
FMax: double; |
|
See Max. |
FCheckMin: boolean; |
|
See CheckMin. |
FMin: double; |
|
See Min. |
FDataType: TRbwDataType; |
|
See DataType. |
FOnTimeListUsed: TObjectUsedEvent; |
|
See OnTimeListUsed. |
function GetCount: integer; |
|
See Count. |
function GetItems(const Index: integer): TDataArray; |
|
See Items. |
function GetTimes(const Index: integer): double; |
|
See Times. |
procedure SetItems(const Index: integer; const Value: TDataArray); |
|
See Items. |
procedure SetLimits(const Value: TColoringLimits); |
|
See Limits. |
procedure SetName(const Value: string); |
|
See Name. |
procedure SetOrientation(const Value: TDataSetOrientation); |
|
See Orientation. |
procedure SetClassification(const Value: string); |
|
See Classification. |
function GetClassification: string; |
|
See Classification. |
procedure SetCheckMax(const Value: boolean); |
|
See CheckMax. |
procedure SetCheckMin(const Value: boolean); |
|
See CheckMin. |
procedure SetMax(const Value: double); |
|
See Max. |
procedure SetMin(const Value: double); |
|
See Min. |
function GetBoundaryType: TBoundaryType; |
|
function GetUpToDate: boolean; virtual; |
|
See UpToDate. |
procedure SetUpToDate(const Value: boolean); virtual; |
|
See UpToDate. |
procedure CheckSameModel(const Data: TDataArray); virtual; |
|
|
function UsedByModel: boolean; |
|
If OnTimeListUsed is assigned, |
function Add(const ATime: double; const Data: TDataArray): integer; |
|
|
procedure Clear; virtual; |
|
|
constructor Create(AModel: TBaseModel); |
|
|
destructor Destroy; override; |
|
|
function FirstTimeGreaterThan(const ATime: double): integer; |
|
|
function IndexOf(const ATime: double): integer; |
|
|
function IndexOfDataSet(const Data: TDataArray): integer; |
|
|
procedure Initialize; virtual; abstract; |
|
|
procedure Invalidate; virtual; |
|
|
procedure Changed(Sender: TObject); |
|
|
procedure FreeItem(Index: integer); |
|
|
procedure UpDateLimits; |
|
|
function MaxValue(Time: double): string; |
|
|
function MinValue(Time: double): string; |
|
|
property Model: TBaseModel read FModel; |
|
property OnTimeListUsed: TObjectUsedEvent read FOnTimeListUsed write
FOnTimeListUsed; |
|
|
property Count: integer read GetCount; |
|
|
property Name: string read FName write SetName; |
|
|
property Times[constIndex:integer]: double read GetTimes; |
|
|
property UpToDate: boolean read GetUpToDate; |
|
|
property Orientation: TDataSetOrientation read FOrientation write
SetOrientation; |
|
|
property Items[constIndex:integer]: TDataArray read GetItems
write SetItems; |
|
|
property Limits: TColoringLimits read FLimits write SetLimits; |
|
|
property Direction: TDataSetOrientation read FDirection write FDirection; |
|
|
property Classification: string read GetClassification
write SetClassification; |
|
|
property BoundaryType: TBoundaryType read GetBoundaryType; |
|
property Max: double read FMax write SetMax; |
|
|
property Min: double read FMin write SetMin; |
|
|
property CheckMax: boolean read FCheckMax write SetCheckMax; |
|
|
property CheckMin: boolean read FCheckMin write SetCheckMin; |
|
|
property DataType: TRbwDataType read FDataType write FDataType; |
|
|