-
Notifications
You must be signed in to change notification settings - Fork 0
/
ConfigUnit.h
53 lines (48 loc) · 1.47 KB
/
ConfigUnit.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//---------------------------------------------------------------------------
#ifndef ConfigUnitH
#define ConfigUnitH
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Forms.hpp>
//---------------------------------------------------------------------------
#include <Vcl.Grids.hpp>
#include <Vcl.ValEdit.hpp>
#include <Vcl.Dialogs.hpp>
class CTerminal;
class TConfigForm : public TForm
{
__published: // IDE-managed Components
TLabel *Label1;
TLabel *Label2;
TLabel *Label3;
TLabel *Label4;
TLabel *Label5;
TLabel *Label6;
TLabel *Label7;
TButton *ButtonSaveConfig;
TEdit *EditNo;
TComboBox *ComboBoxTerminalType;
TComboBox *ComboBoxLotteryKind;
TCheckBox *CheckBoxManager;
TComboBox *ComboBoxCom;
TEdit *EditAccount;
TEdit *EditPasswd;
TEdit *EditUKey;
TLabel *Label8;
TValueListEditor *ValueListEditor;
TButton *ButtonUpdateFirmware;
TOpenDialog *OpenDialogFirmware;
void __fastcall ButtonUpdateFirmwareClick(TObject *Sender);
private: // User declarations
CTerminal *terminal;
void __fastcall GetComPortList(TStrings *lstComm);
public: // User declarations
__fastcall TConfigForm(TComponent* Owner);
void SetTerminal(CTerminal *term);
};
//---------------------------------------------------------------------------
extern PACKAGE TConfigForm *ConfigForm;
//---------------------------------------------------------------------------
#endif