Last change
on this file since 1715 was 459, checked in by Kevin Toppenberg, 16 years ago |
Adding foia-cprs branch
|
File size:
1.1 KB
|
Line | |
---|
1 | unit mVitBase;
|
---|
2 |
|
---|
3 | interface
|
---|
4 |
|
---|
5 | uses
|
---|
6 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
|
---|
7 | StdCtrls, Buttons, uVitals;
|
---|
8 |
|
---|
9 | type
|
---|
10 | TVitInfo = record
|
---|
11 | VType: TVitalType;
|
---|
12 | VValue: string;
|
---|
13 | end;
|
---|
14 |
|
---|
15 | TfraVitBase = class(TFrame)
|
---|
16 | lblVitalType: TLabel;
|
---|
17 | btnQuals: TBitBtn;
|
---|
18 | private
|
---|
19 | { Private declarations }
|
---|
20 | public
|
---|
21 | constructor Create(AOwner: TComponent); override;
|
---|
22 | procedure VitalsMetricChanged; virtual;
|
---|
23 | procedure VitalsCVPUnitsChanged; virtual;
|
---|
24 | function GetVitalInfo: TVitInfo; virtual;
|
---|
25 | end;
|
---|
26 |
|
---|
27 | var
|
---|
28 | VitEnabledColor: array[boolean] of TColor = (clBtnFace, clWindow);
|
---|
29 |
|
---|
30 | implementation
|
---|
31 |
|
---|
32 | {$R *.DFM}
|
---|
33 |
|
---|
34 | { TFrame1 }
|
---|
35 |
|
---|
36 | constructor TfraVitBase.Create(AOwner: TComponent);
|
---|
37 | begin
|
---|
38 | inherited;
|
---|
39 | VitalsFrameCreated(Self);
|
---|
40 | VitalsMetricChanged;
|
---|
41 | VitalsCVPUnitsChanged;
|
---|
42 | end;
|
---|
43 |
|
---|
44 | function TfraVitBase.GetVitalInfo: TVitInfo;
|
---|
45 | begin
|
---|
46 | Result.VType := vtUnknown;
|
---|
47 | Result.VValue := '';
|
---|
48 | end;
|
---|
49 |
|
---|
50 | procedure TfraVitBase.VitalsCVPUnitsChanged;
|
---|
51 | begin
|
---|
52 | end;
|
---|
53 |
|
---|
54 | procedure TfraVitBase.VitalsMetricChanged;
|
---|
55 | begin
|
---|
56 | end;
|
---|
57 |
|
---|
58 | end.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.