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
30 lines
1.4 KiB
|
|
#pragma once
|
|
#include <exception>
|
|
#include <fstream>
|
|
#include <iostream>
|
|
#include <list>
|
|
#include <map>
|
|
#include <memory>
|
|
#include <mutex>
|
|
#include <set>
|
|
#include <sstream>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
#include "iflytop/core/components/config_template/config_template.hpp"
|
|
|
|
#define ConfigELEMENT_LIST(marco) \
|
|
marco(string /* */, deviceId, "") /*设备ID*/ \
|
|
marco(string /* */, iflytopSubDeviceCanIFName, "can0") /*子设备Can设备名称*/ \
|
|
marco(int32_t /* */, iflytopSubDeviceCanBitrate, 500000) /*子设备Can设备波特率*/ \
|
|
marco(string /* */, pipettingRobotCanIFName, "can1") /*移液臂Can设备名称*/ \
|
|
marco(int32_t /* */, pipettingRobotCanBitrate, 500000) /*移液臂Can设备波特率*/ \
|
|
marco(float /* */, dvalueCoefficient, 2) /*数值越小,相对消毒时间越长*/ \
|
|
marco(float /* */, disinfectantWeightCorrectionFactor, 0.8500000238418579) /**/ \
|
|
marco(bool /* */, testMode, false) /**/
|
|
|
|
configTemplateDEFILE_CONFIG_SERVICE2( //
|
|
GConfig, //
|
|
ConfigELEMENT_LIST, //
|
|
"./configs/config.json", {});
|