/[projects]/dao/DelphiScanner/Components/tpsystools_4.04/examples/CBuilder/AstCalU.h
ViewVC logotype

Contents of /dao/DelphiScanner/Components/tpsystools_4.04/examples/CBuilder/AstCalU.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2671 - (show annotations) (download)
Tue Aug 25 18:15:15 2015 UTC (8 years, 8 months ago) by torben
File MIME type: text/plain
File size: 4019 byte(s)
Added tpsystools component
1 // ***** BEGIN LICENSE BLOCK *****
2 // * Version: MPL 1.1
3 // *
4 // * The contents of this file are subject to the Mozilla Public License Version
5 // * 1.1 (the "License"); you may not use this file except in compliance with
6 // * the License. You may obtain a copy of the License at
7 // * http://www.mozilla.org/MPL/
8 // *
9 // * Software distributed under the License is distributed on an "AS IS" basis,
10 // * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 // * for the specific language governing rights and limitations under the
12 // * License.
13 // *
14 // * The Original Code is TurboPower SysTools
15 // *
16 // * The Initial Developer of the Original Code is
17 // * TurboPower Software
18 // *
19 // * Portions created by the Initial Developer are Copyright (C) 1996-2002
20 // * the Initial Developer. All Rights Reserved.
21 // *
22 // * Contributor(s):
23 // *
24 // * ***** END LICENSE BLOCK *****
25 //---------------------------------------------------------------------------
26 #ifndef AstCalUH
27 #define AstCalUH
28 //---------------------------------------------------------------------------
29 #include <vcl\Classes.hpp>
30 #include <vcl\Controls.hpp>
31 #include <vcl\StdCtrls.hpp>
32 #include <vcl\Forms.hpp>
33 #include <vcl\ExtCtrls.hpp>
34 #include <math.h>
35 #include <StDate.hpp>
36 #include <StAstro.hpp>
37 #include <StAstroP.hpp>
38
39 //---------------------------------------------------------------------------
40 class PACKAGE TForm1 : public TForm
41 {
42 __published: // IDE-managed Components
43 TPanel *Panel1;
44 TLabel *Label1;
45 TLabel *Label2;
46 TLabel *Label3;
47 TLabel *Label4;
48 TLabel *Label5;
49 TLabel *Label6;
50 TButton *Button1;
51 TEdit *MonthEF;
52 TEdit *DateEF;
53 TEdit *YearEF;
54 TEdit *LongEF;
55 TEdit *LatEF;
56 TGroupBox *GB1;
57 TLabel *Label7;
58 TLabel *Label8;
59 TEdit *LocalTimeEF;
60 TEdit *SiderealTimeEF;
61 TGroupBox *GB2;
62 TLabel *Label9;
63 TLabel *Label10;
64 TLabel *Label11;
65 TLabel *Label12;
66 TLabel *Label13;
67 TEdit *SunRiseEF;
68 TEdit *MoonRiseEF;
69 TEdit *SunSetEF;
70 TEdit *MoonSetEF;
71 TEdit *TwiStartEF;
72 TEdit *TwiEndEF;
73 TGroupBox *GB3;
74 TListBox *PositionsLB;
75 THeader *Header1;
76 TGroupBox *GB4;
77 TLabel *Label14;
78 TLabel *Label15;
79 TLabel *Label16;
80 TLabel *Label17;
81 TLabel *PhaseLabel;
82 TEdit *NMFirstDate;
83 TEdit *FQFirstDate;
84 TEdit *NMFirstTime;
85 TEdit *FQFirstTime;
86 TEdit *FMFirstDate;
87 TEdit *LQFirstDate;
88 TEdit *LQFirstTime;
89 TEdit *FMFirstTime;
90 TEdit *NMSecondDate;
91 TEdit *NMSecondTime;
92 TEdit *FQSecondDate;
93 TEdit *FQSecondTime;
94 TEdit *FMSecondDate;
95 TEdit *FMSecondTime;
96 TEdit *LQSecondTime;
97 TEdit *LQSecondDate;
98 TEdit *NMPrevDate;
99 TEdit *FQPrevDate;
100 TEdit *FMPrevDate;
101 TEdit *LQPrevDate;
102 TEdit *LQPrevTime;
103 TEdit *FMPrevTime;
104 TEdit *FQPrevTime;
105 TEdit *NMPrevTime;
106 TEdit *NMNextDate;
107 TEdit *FQNextDate;
108 TEdit *FMNextDate;
109 TEdit *LQNextDate;
110 TEdit *LQNextTime;
111 TEdit *FMNextTime;
112 TEdit *FQNextTime;
113 TEdit *NMNextTime;
114 THeader *Header2;
115 TGroupBox *GB5;
116 TLabel *Label18;
117 TLabel *Label19;
118 TLabel *Label20;
119 TLabel *Label21;
120 TLabel *Label22;
121 TLabel *Label23;
122 TEdit *SpringTime;
123 TEdit *SummerTime;
124 TEdit *SummerDate;
125 TEdit *SpringDate;
126 TEdit *FallTime;
127 TEdit *WinterTime;
128 TEdit *WinterDate;
129 TEdit *FallDate;
130 TEdit *EasterEF;
131 TEdit *SunlightEF;
132 TTimer *Timer1;
133 void __fastcall FormCreate(TObject *Sender);
134 void __fastcall Timer1Timer(TObject *Sender);
135 void __fastcall Button1Click(TObject *Sender);
136 private: // User declarations
137 void __fastcall DoCalcTimes();
138 void __fastcall DoFixedCalcs();
139 void __fastcall DoCalcs(double ObsLong, double ObsLat);
140 public: // User declarations
141 TStDateTimeRec TheDT;
142 TStRiseSetRec RS;
143 int D, M, Y;
144 double ObsLat, ObsLong;
145
146 __fastcall TForm1(TComponent* Owner);
147 };
148 //---------------------------------------------------------------------------
149 extern PACKAGE TForm1 *Form1;
150 //---------------------------------------------------------------------------
151 #endif

  ViewVC Help
Powered by ViewVC 1.1.20