二期c++接口
Dependencies: EthernetInterface mbed-rtos mbed uniqueCPUID
Fork of bcsdk by
Balance.h@17:82d09b5a9189, 2018-06-08 (annotated)
- Committer:
- MrAI
- Date:
- Fri Jun 08 01:40:23 2018 +0000
- Revision:
- 17:82d09b5a9189
- Parent:
- 8:f2a567ee3a46
????
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
webmaster | 8:f2a567ee3a46 | 1 | /*********************************************************************** |
webmaster | 8:f2a567ee3a46 | 2 | * Module: Balance.h |
webmaster | 8:f2a567ee3a46 | 3 | * Author: Administrator |
webmaster | 8:f2a567ee3a46 | 4 | * Modified: 2017Äê8ÔÂ31ÈÕ 15:51:18 |
webmaster | 8:f2a567ee3a46 | 5 | * Purpose: Declaration of the class Balance |
webmaster | 8:f2a567ee3a46 | 6 | * Comment: ±íʾ¶ÔÖ¸¶¨²ÎÊýÇóºÍµÄÌض¨×ʲú£¨»ò×ʲú£©µÄÓà¶î¡£ |
webmaster | 8:f2a567ee3a46 | 7 | ***********************************************************************/ |
webmaster | 8:f2a567ee3a46 | 8 | |
webmaster | 8:f2a567ee3a46 | 9 | #if !defined(__Account_Balance_h) |
webmaster | 8:f2a567ee3a46 | 10 | #define __Account_Balance_h |
webmaster | 8:f2a567ee3a46 | 11 | |
webmaster | 8:f2a567ee3a46 | 12 | class Balance |
webmaster | 8:f2a567ee3a46 | 13 | { |
webmaster | 8:f2a567ee3a46 | 14 | public: |
webmaster | 8:f2a567ee3a46 | 15 | int builder(void); |
webmaster | 8:f2a567ee3a46 | 16 | long getAmount(void); |
webmaster | 8:f2a567ee3a46 | 17 | void setAmount(long newAmount); |
webmaster | 8:f2a567ee3a46 | 18 | |
webmaster | 8:f2a567ee3a46 | 19 | map<std::string,std::string> sumBy; |
webmaster | 8:f2a567ee3a46 | 20 | long amount; |
webmaster | 8:f2a567ee3a46 | 21 | |
webmaster | 8:f2a567ee3a46 | 22 | protected: |
webmaster | 8:f2a567ee3a46 | 23 | private: |
webmaster | 8:f2a567ee3a46 | 24 | |
webmaster | 8:f2a567ee3a46 | 25 | }; |
webmaster | 8:f2a567ee3a46 | 26 | |
webmaster | 8:f2a567ee3a46 | 27 | #endif |