Update README.md

master
呓喵酱 5 years ago committed by GitHub
parent 813ba0a8eb
commit 0afea652bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      docs/back-end-API/README.md

@ -18,6 +18,10 @@
> 请传入一个map的vector。map的键名为停车位种类,键值为个数。vector顺序代表层数,从0层开始。
+ `void updateFeeTable(std::map<string, std::vector<int>>& m)`: 更新费用计算方法。map的键名是种类type, 键值是这个type的计费方式,用vector表示。注意vector从0开始,顺序对应小时,最大为24小时。对应的值是这一小时的计费。**首次运行时,本函数必须在ini()之后调用**。
### 获取Park信息函数
+ `const int getMaxLevel()`: 获取Park层数
### 获取车位函数
+ `const std::vector<string> getPlotsID()`: 获取全部车位ID
+ `const std::vector<string> getPlotsID(const bool isOccupied)`: 获取全部占有/未占有车位ID

Loading…
Cancel
Save