![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
二期c++接口
Dependencies: EthernetInterface mbed-rtos mbed uniqueCPUID
Fork of bcsdk by
Asset.h@8:f2a567ee3a46, 2017-09-21 (annotated)
- Committer:
- webmaster
- Date:
- Thu Sep 21 02:09:04 2017 +0000
- Revision:
- 8:f2a567ee3a46
- Child:
- 10:aabd720e632c
test create asset;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
webmaster | 8:f2a567ee3a46 | 1 | /*********************************************************************** |
webmaster | 8:f2a567ee3a46 | 2 | * Module: Asset.h |
webmaster | 8:f2a567ee3a46 | 3 | * Author: Administrator |
webmaster | 8:f2a567ee3a46 | 4 | * Modified: 2017Äê8ÔÂ31ÈÕ 15:14:02 |
webmaster | 8:f2a567ee3a46 | 5 | * Purpose: Declaration of the class Asset |
webmaster | 8:f2a567ee3a46 | 6 | * Comment: ÔÚºãΪÇø¿éÁ´ÍøÂçÉϵĵ¥¸ö×ʲú£¬Äܹ»ÔÚ½»Ò×Öз¢·ÅºÍתÒÆ¡£ |
webmaster | 8:f2a567ee3a46 | 7 | * ×ʲúµÄÈ«ÇòΨһ±êʶ·û¡£<br> |
webmaster | 8:f2a567ee3a46 | 8 | * ×ʲú°æ±¾1½«×ʲúIDÖ¸¶¨ÎªÒÔÏÂÄÚÈݵĹþÏ££º<br> |
webmaster | 8:f2a567ee3a46 | 9 | * ×ʲú°æ±¾<br> |
webmaster | 8:f2a567ee3a46 | 10 | * ×ʲúµÄ·¢Ðмƻ®<br> |
webmaster | 8:f2a567ee3a46 | 11 | * ºËÐĵÄVM°æ±¾<br> |
webmaster | 8:f2a567ee3a46 | 12 | * ÍøÂçµÄ³õʼ¿éµÄ¹þÏ£ |
webmaster | 8:f2a567ee3a46 | 13 | ***********************************************************************/ |
webmaster | 8:f2a567ee3a46 | 14 | |
webmaster | 8:f2a567ee3a46 | 15 | #if !defined(__Account_Asset_h) |
webmaster | 8:f2a567ee3a46 | 16 | #define __Account_Asset_h |
webmaster | 8:f2a567ee3a46 | 17 | |
webmaster | 8:f2a567ee3a46 | 18 | class Asset |
webmaster | 8:f2a567ee3a46 | 19 | { |
webmaster | 8:f2a567ee3a46 | 20 | public: |
webmaster | 8:f2a567ee3a46 | 21 | std::string id; |
webmaster | 8:f2a567ee3a46 | 22 | std::string alias; |
webmaster | 8:f2a567ee3a46 | 23 | key[]* keys; |
webmaster | 8:f2a567ee3a46 | 24 | int quorum; |
webmaster | 8:f2a567ee3a46 | 25 | map<std::string,Object> definition; |
webmaster | 8:f2a567ee3a46 | 26 | std::string isLocal; |
webmaster | 8:f2a567ee3a46 | 27 | |
webmaster | 8:f2a567ee3a46 | 28 | protected: |
webmaster | 8:f2a567ee3a46 | 29 | private: |
webmaster | 8:f2a567ee3a46 | 30 | |
webmaster | 8:f2a567ee3a46 | 31 | }; |
webmaster | 8:f2a567ee3a46 | 32 | |
webmaster | 8:f2a567ee3a46 | 33 | #endif |