2024-12-03 10:36:06 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "AdsDevice.h"
|
|
|
|
|
2024-12-05 11:04:47 +08:00
|
|
|
namespace bhf
|
2024-12-03 10:36:06 +08:00
|
|
|
{
|
2024-12-05 11:04:47 +08:00
|
|
|
namespace ads
|
2024-12-03 10:36:06 +08:00
|
|
|
{
|
|
|
|
struct ECatAccess {
|
|
|
|
ECatAccess(const std::string& gw, AmsNetId netId, const uint16_t port);
|
|
|
|
long ListECatMasters(std::ostream& os) const;
|
|
|
|
|
|
|
|
private:
|
|
|
|
AdsDevice device;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|