-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAxumMeterFrm_6.h
88 lines (86 loc) · 2.81 KB
/
AxumMeterFrm_6.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
//---------------------------------------------------------------------------
#ifndef AxumMeterFrm6H
#define AxumMeterFrm6H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include "AnalogClock.h"
#include "MeterPanel.h"
#include <Graphics.hpp>
#include "GradientFill.h"
#include <Menus.hpp>
#include "ExtendedPanel.h"
#include "VUMeter.h"
#include "BitmapButton.h"
#include <ScktComp.hpp>
#include "EQPanel.h"
#include "PhaseMeter.h"
#include <jpeg.hpp>
#include "libpq-fe.h"
#include "FaderPanel.h"
#include "MambaNetFrm.h"
#include "Knob.h"
#include "ATImage.hpp"
#define MBN_VARARG
#include "mbn.h"
#include "axum_form.h"
#include "MambaNetFrm.h"
//---------------------------------------------------------------------------
class TAxumMeterForm_6 : public TMambaNetForm
{
__published: // IDE-managed Components
TMeterPanel *LeftMeterPanel1;
TMeterPanel *RightMeterPanel1;
TATImage *AxumMeterBackgroundImage;
TLabel *OnAirLabel;
TLabel *Label1Meter1;
TLabel *Label2Meter1;
TMeterPanel *LeftMeterPanel2;
TMeterPanel *RightMeterPanel2;
TLabel *Label1Meter2;
TLabel *Label2Meter2;
TTimer *MeterReleaseTimer;
TLabel *Redlight1Label;
TLabel *Redlight2Label;
TLabel *Redlight3Label;
TLabel *Redlight4Label;
TLabel *Redlight5Label;
TLabel *Redlight6Label;
TLabel *Redlight7Label;
TLabel *Redlight8Label;
TPhaseMeter *PhaseMeter1;
TPhaseMeter *PhaseMeter2;
TLabel *MainLabel;
TLabel *Label1Meter3;
TMeterPanel *LeftMeterPanel3;
TMeterPanel *RightMeterPanel3;
TMeterPanel *LeftMeterPanel4;
TMeterPanel *RightMeterPanel4;
TLabel *Label1Meter4;
void __fastcall FormResize(TObject *Sender);
void __fastcall MeterReleaseTimerTimer(TObject *Sender);
private: // User declarations
TPicture *GetSmallSwitchPicture(unsigned char Color);
void UpdateSwitch(unsigned char SwitchNr);
float MeterData[8];
bool Redlight[8];
float PhaseMeterData[2];
public: // User declarations
unsigned char SwitchState[54];
unsigned char OnColor[54];
unsigned char OffColor[54];
__fastcall TAxumMeterForm_6(TComponent* Owner, char *url, char *port, char TCP, form_node_info *node_info);
__fastcall ~TAxumMeterForm_6();
void MambaNetError(int code, char *msg);
void MambaNetOnlineStatus(unsigned long addr, char valid);
int MambaNetSetActuatorData(unsigned short object, union mbn_data data);
void ConfigurationInformation(unsigned short object, char func_type, int func_seq, int func_nr, char *Label, char *Description);
void StartCommunication();
};
//---------------------------------------------------------------------------
extern PACKAGE TAxumMeterForm_6 *AxumMeterForm_6;
//---------------------------------------------------------------------------
#endif