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