-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdata.h
More file actions
49 lines (46 loc) · 870 Bytes
/
Copy pathdata.h
File metadata and controls
49 lines (46 loc) · 870 Bytes
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
#ifndef DATA_H
#define DATA_H
#include <QString>
#include <QMap>
struct DataGP{
QString codec;
QString name;
QString TodayOpeningPrice;
QString YesterdayClosingPrice;
QString currentPrice;
QString todayMax;
QString todayMin;
QString Date;
QString Time;
QString currentS;
};
struct DataHaveGP{
QString codec;
QString name;
int haveNum=0;
double payallPrice=0;
double currentPrice=0;
double currentallPrice=0;
double historySY=0;
double todaySY=0;
double yesterDayPrice=0;
};
struct DataAllDP{
double payallPrice=0;
double currentallPrice=0;
double todaySY=0;
};
struct MapdataGP
{
QMap <QString ,DataGP> map;
};
struct MapdataHaveGP
{
QMap <QString ,DataHaveGP> map;
};
class data
{
public:
data();
};
#endif // DATA_H