Last change
on this file since 1176 was 453, checked in by Kevin Toppenberg, 16 years ago |
Initial upload of TMG-CPRS 1.0.26.69
|
File size:
797 bytes
|
Rev | Line | |
---|
[453] | 1 | //kt -- Modified with SourceScanner on 8/8/2007
|
---|
| 2 | unit mVitBP;
|
---|
| 3 |
|
---|
| 4 | interface
|
---|
| 5 |
|
---|
| 6 | uses
|
---|
| 7 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
|
---|
| 8 | mVitBase, StdCtrls, Buttons, ComCtrls, DKLang;
|
---|
| 9 |
|
---|
| 10 | type
|
---|
| 11 | TfraVitPB = class(TfraVitBase)
|
---|
| 12 | udSystolic: TUpDown;
|
---|
| 13 | edtSystolic: TEdit;
|
---|
| 14 | udDiastolic: TUpDown;
|
---|
| 15 | edtDiastolic: TEdit;
|
---|
| 16 | lblSlash: TLabel;
|
---|
| 17 | private
|
---|
| 18 | { Private declarations }
|
---|
| 19 | public
|
---|
| 20 | function GetVitalInfo: TVitInfo; override;
|
---|
| 21 | end;
|
---|
| 22 |
|
---|
| 23 | var
|
---|
| 24 | fraVitPB: TfraVitPB;
|
---|
| 25 |
|
---|
| 26 | implementation
|
---|
| 27 |
|
---|
| 28 | uses uVitals;
|
---|
| 29 |
|
---|
| 30 | {$R *.DFM}
|
---|
| 31 |
|
---|
| 32 | { TfraVitPB }
|
---|
| 33 |
|
---|
| 34 | function TfraVitPB.GetVitalInfo: TVitInfo;
|
---|
| 35 | begin
|
---|
| 36 | Result.VType := vtBP;
|
---|
| 37 | Result.VValue := edtSystolic.Text + '/' + edtDiastolic.Text;
|
---|
| 38 | if Result.VValue = '/' then
|
---|
| 39 | Result.VValue := '';
|
---|
| 40 | end;
|
---|
| 41 |
|
---|
| 42 | end.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.