use environment MITL_HARDWARE_CFG_TYPE to change ini/json

main
Yik Teng Hie 1 year ago
parent 57e617a66f
commit 80a0d6ba99

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -13,6 +13,8 @@ public:
CHardwareConfiguration& Get();
private:
std::string getEnv(const std::string& strName);
std::string m_strFtyType{ "json" };
std::unique_ptr<CHardwareConfiguration> m_pHardwareCfg;

@ -16,7 +16,7 @@
* {
* "Type": "7851",
* "NumOfCard": 1,
* "CardConfig": [
* "CardCfg": [
* {
* "Channels": [
* [ 0,0,0,0,0],

Loading…
Cancel
Save