You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
1.4 KiB

1 year ago
1 year ago
1 year ago
  1. #pragma once
  2. #include <exception>
  3. #include <fstream>
  4. #include <iostream>
  5. #include <list>
  6. #include <map>
  7. #include <memory>
  8. #include <mutex>
  9. #include <set>
  10. #include <sstream>
  11. #include <string>
  12. #include <vector>
  13. #include "iflytop/core/components/config_template/config_template.hpp"
  14. #define ConfigELEMENT_LIST(marco) \
  15. marco(string /* */, deviceId, "") /*设备ID*/ \
  16. marco(string /* */, iflytopSubDeviceCanIFName, "can0") /*子设备Can设备名称*/ \
  17. marco(int32_t /* */, iflytopSubDeviceCanBitrate, 500000) /*子设备Can设备波特率*/ \
  18. marco(string /* */, pipettingRobotCanIFName, "can1") /*移液臂Can设备名称*/ \
  19. marco(int32_t /* */, pipettingRobotCanBitrate, 500000) /*移液臂Can设备波特率*/ \
  20. marco(float /* */, dvalueCoefficient, 2) /*数值越小,相对消毒时间越长*/ \
  21. marco(float /* */, disinfectantWeightCorrectionFactor, 0.8500000238418579) /**/ \
  22. marco(bool /* */, testMode, false) /**/
  23. configTemplateDEFILE_CONFIG_SERVICE2( //
  24. GConfig, //
  25. ConfigELEMENT_LIST, //
  26. "./configs/config.json", {});