summaryrefslogtreecommitdiffstats
path: root/includes/dekplt.hpp
blob: 378442bc365134caf1d0ce46619d368848b61081 (plain)
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
//-*- mode: c++; indent-tabs-mode: t; coding: utf-8; show-trailing-whitespace: t -*-

// file dekplt.hpp

#ifndef _DEKPLT_HPP
#define _DEKPLT_HPP

#include <iostream>

namespace dekplt {

  // Structures.
  struct tagFVCom {
    double m_nVMin;
    double m_nVMax;
    double m_nHMin;
    double m_nHMax;
    double m_nHA;
    double m_nTAxisL;
    double m_nTolrce;
    double m_nHTax;
    double m_nXTit;
    double m_nYTit;
    double m_nSizTit;
    double m_nXSuper;
    double m_nYSuper;
    double m_nSizSup;
    double m_nFLine;
    double m_nSizID;
    double m_nXID;
    double m_nYID;
    double m_nFact;
    double m_nDXGrd1;
    double m_nDYGrd1;
    double m_nDXGrd2;
    double m_nDYGrd2;
    double m_nFill1;
    double m_nFill2;
    double m_nVS;
    double m_nVL;
    double m_nVH;
    double m_nPapMax;
    double m_nTimBeg;
    double m_nTimEnd;
    double m_nFHTax;
    double m_nFXSup;
    double m_nFYSup;
    double m_nFXTit;
    double m_nFYTit;
    double m_nFXID;
    double m_nFYID;
    double m_nFTCarr;
    double m_nVAxisL;
    double m_nFXNumV;
    double m_nFXNumH;
    double m_FVXAxtt;
    double m_FXVert;
    double m_nFSymb;
    double m_nPapLim;
  };

  typedef struct tagFVCom tFVCom;

  struct tagIVCom {
    int m_nKlevl;
    int m_nKextr;
    int m_nIHS;
    int m_nLu7Plt;
    int m_nIprsrt;
    int m_nLimCol;
    int m_nLinePR;
    int m_nIBaud;
    int m_nLTek;
    int m_nNumTit;
    int m_nMaxSym;
    int m_nMTit;
    int m_nMaxISX;
    int m_nMaxISY;
    int m_nGrid1;
    int m_nGrid2;
    int m_nMSuper;
    int m_nMid;
    int m_nMLine;
    int m_nCut1;
    int m_nCut2;
    int m_nSmPlt;
    int m_nLSymb;
    int m_nXMax;
    int m_nYMax;
    int m_nLChId;
    int m_nXInch;
    int m_nYInch;
    int m_nXOff;
    int m_nYOff;
    int m_nLook;
    int m_nLChSup;
    int m_nLChTit;
    int m_nLChXax;
    int m_nLCHYax;
    int m_nITerm;
    int m_nLTic;
    int m_nIzTit;
    int m_nIZGr1;
    int m_nIZGr2;
    int m_nLdShg1;
    int m_nLdShg2;
    int m_nIZXax;
    int m_nIZYax;
    int m_nXId6;
    int m_nYId6;
    int m_nXEnd;
    int m_nYEnd;
    int m_nIZId;
    int m_nXVern;
    int m_nIChRef;
    int m_nIChEnd;
    int m_nInchPx;
    int m_nInchPy;
    int m_nInWait;
    int m_nNoLabl;
    int m_nLChFil;
    int m_nLChLim;
    int m_nMu6Std;
  };

  typedef struct tagIVCom tIVCom;

  struct tagANPLT {
    char m_pChoice[ 8 ];
    char m_pStop[ 8 ];
    char m_pPurge[ 8 ];
    char m_pOut[ 8 ];
    char m_pHelp[ 8 ];
    char m_pSmooth[ 8 ];
    char m_pSize[ 8 ];
    char m_pShow[ 8 ];
    char m_pLineZZ[ 8 ];
    char m_pPhoto[ 8 ];
    char m_pRepeat[ 8 ];
    char m_pFlush[ 8 ];
    char m_pPlayBA[ 8 ];
    char m_pPen[ 8 ];
    char m_pMultiP[ 8 ];
    char m_pOffset[ 8 ];
    char m_pLimits[ 8 ];
    char m_pDebug[ 8 ];
    char m_pTEK[ 8 ];
    char m_pStack[ 8 ];
    char m_pPrintE[ 8 ];
    char m_pMetric[ 8 ];
    char m_pAllTim[ 8 ];
    char m_pColumn[ 8 ];
    char m_pSetCol[ 8 ];
    char m_pLonger[ 8 ];
    char m_pAverag[ 8 ];
    char m_pInner[ 8 ];
    char m_pRescal[ 8 ];
    char m_pLastPL[ 8 ];
    char m_pBatch[ 8 ];
    char m_pPunch[ 8 ];
    char m_pExtrem[ 8 ];
    char m_pLevel[ 8 ];
    char m_pNoPlot[ 8 ];
    char m_pMessag[ 8 ];
    char m_pEnd[ 8 ];
    char m_pTimeSP[ 8 ];
    char m_pLabel[ 8 ];
    char m_pTimeUN[ 8 ];
    char m_pCursor[ 8 ];
    char m_pXYPlot[ 8 ];
    char m_pSlope[ 8 ];
    char m_pBack[ 8 ];
    char m_pReFile[ 8 ];
    char m_pTEXBlk[ 8 ];
    char m_pSetDat[ 8 ];
  };

  typedef struct tagANPLT tANPLT;
  
  // Variables.
  extern char pBBus[ 300 ];
  extern char pBusLst[ 1000 ];
  //
  extern int nIBaud;
  extern int nIBrnch;
  extern int nIBsOut;
  extern int nICHEnd;
  extern int nICHRef;
  extern int nICP;
  extern int nICurse;
  extern int nIHS;
  extern int nInchPX;
  extern int nInchPY;
  extern int nInd1;
  extern int nIndExp;
  extern int nInWait;
  extern int nIPrsrt;
  extern int nITerm;
  extern int nIZgr1;
  extern int nIZgr2;
  extern int nIZid;
  extern int nZtit;
  extern int nIzxax;
  extern int nIzyax;
  extern int nL4Plot;
  extern int nLchfil;
  extern int nLchid;
  extern int nLchlim;
  extern int nLchsup;
  extern int nLchtit;
  extern int nLchxax;
  extern int nLchyax;
  extern int nLdshg1;
  extern int nLdshg2;
  extern int nLimCol;
  extern int nLimFix;
  extern int nLook;
  extern int nLSymb;
  extern int nLTic;
  extern int nLu7Plt;
  extern int nLinePR;
  extern int nLTek;
  extern int nMaxEv;
  extern int nMaxEw;
  extern int nMaxIp;
  extern int nMaxIsx;
  extern int nMaxIsy;
  extern int nMaxSym;
  extern int nMFake;
  extern int nMGrid1;
  extern int nMGrid2;
  extern int nMid;
  extern int nMLine;
  extern int nMSuper;
  extern int nMTit;
  extern int nMu6Sav;
  extern int nMu6Std;
  extern int nMxypl;
  extern int nNamVar;
  extern int nNc;
  extern int nChSup;
  extern int nChVer;
  extern int nCut;
  extern int nCut1;
  extern int nCut2;
  extern int nNewFil;
  extern int nNoLabl;
  extern int nSmplt;
  extern int nNT2;
  extern int nNumBrn;
  extern int nNumFlt;
  extern int nNumNVO;
  extern int nNumOut;
  extern int nNumRaw;
  extern int nNumTek;
  extern int nNumTit;
  extern int nV;
  extern int nXEnd;
  extern int nXId6;
  extern int nXInch;
  extern int nXMax;
  extern int nXOff;
  extern int nXVern;
  extern int nYEnd;
  extern int nYId6;
  extern int nYInch;
  extern int nYMax;
  extern int nYOff;
  extern int pLabrtm[ 20 ];
  extern int pMCurve[ 20 ];
  extern int pMLevel[ 20 ];
  extern int pMMM[ 20 ];
  extern int nMPlot[ 20 ];
  extern int pMStart[ 20 ];
  extern int pMSymbT[ 20 ];
  extern int pNumPts[ 20 ];
  //
  extern double nDX;
  extern double nDXGrd1;
  extern double nDXGrd2;
  extern double nDY;
  extern double nDYGrd1;
  extern double nDYGrd2;
  extern double nEvnByt;
  extern double nFact;
  extern double nFHTax;
  extern double nFill;
  extern double nFill1;
  extern double nFill2;
  extern double nFinFin;
  extern double nFLine;
  extern double nFSymb;
  extern double nFTCarr;
  extern double nFVAxtt;
  extern double nFXId;
  extern double nFXNumH;
  extern double nFXNumV;
  extern double nFXSup;
  extern double nFXTit;
  extern double nFXVert;
  extern double nFYId;
  extern double nFYSup;
  extern double nFYTit;
  extern double nGMax;
  extern double nGMin;
  extern double nHA;
  extern double nHMax;
  extern double nHMin;
  extern double nHPI;
  extern double nHTax;
  extern double nPapLim;
  extern double nPapMax;
  extern double nSizID;
  extern double nSizSup;
  extern double nSizTit;
  extern double nTAxisL;
  extern double nTimeBeg;
  extern double nTimeEnd;
  extern double nTMult;
  extern double nTolrce;
  extern double nTStep;
  extern double nVaxIsl;
  extern double nVH;
  extern double nVL;
  extern double nVMax;
  extern double nVMaxR;
  extern double nVMin;
  extern double nVMinR;
  extern double nVS;
  extern double nXId;
  extern double nXSuper;
  extern double nXTit;
  extern double nYId;
  extern double nYSuper;
  extern double nYTit;
  extern double pAAA[ 20 ];
  extern double pBBB[ 20 ];
  extern double pBX[ 150 ];
  extern double pDatePL[ 2 ];
  extern double pDYOld[ 20 ];
  extern double pEV[ 15000 ];
  extern double pEW[ 15000 ];
  extern double pFVCom[ 50 ];
  extern double pFXRef[ 25 ];
  extern double pFYRef[ 25 ];
  extern double pTClop[ 2 ];
  extern double pTTLev[ 20 ];
  extern double pTTMax[ 20 ];
  extern double pTTMin[ 20 ];
  extern double pYLevel[ 20 ];
  extern double pYYMax[ 20 ];
  extern double pYYMin[ 20 ];
  //
  extern std::string sFilNam;
  extern std::string sAlpha;
  extern std::string sBuffIn;
  extern std::string sVertL;
  extern std::string sHeadL;
  extern std::string sXYTitl;
  extern std::string sTextD1;
  extern std::string sTextD2;
  extern std::string sCurren;
  extern std::string sVoltag;
  extern std::string sBrClas;
  extern std::string sDate;
  extern std::string sTime;
  extern std::string sANSI;
  extern std::string sBuffIn;
  extern std::string pSlot1[ 20 ];
  extern std::string pSext[ 6 ];
  extern std::string pHorzL[ 8 ];
  extern std::string pIBuff[ 20 ];
  extern std::string pABuff77[ 10 ];
  extern std::string pAnPlt[];
  //
  extern tFVCom sFVCom;
  extern tIVCom sIVCom;

}

#endif // _DEKPLT_HPP