map/das-dn/third_party/AdsLib/LicenseAccess.h

24 lines
453 B
C
Raw Normal View History

2024-12-03 10:36:06 +08:00
// SPDX-License-Identifier: MIT
/**
Copyright (c) 2021 - 2022 Beckhoff Automation GmbH & Co. KG
*/
#pragma once
#include "AdsDevice.h"
2024-12-09 09:41:04 +08:00
namespace Beckhoff
2024-12-03 10:36:06 +08:00
{
2024-12-09 09:41:04 +08:00
namespace Ads
2024-12-03 10:36:06 +08:00
{
struct LicenseAccess {
LicenseAccess(const std::string& gw, AmsNetId netid, uint16_t port);
int ShowPlatformId(std::ostream& os) const;
int ShowSystemId(std::ostream& os) const;
int ShowVolumeNo(std::ostream& os) const;
private:
AdsDevice device;
};
}
}