24 lines
453 B
C++
24 lines
453 B
C++
// SPDX-License-Identifier: MIT
|
|
/**
|
|
Copyright (c) 2021 - 2022 Beckhoff Automation GmbH & Co. KG
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "AdsDevice.h"
|
|
|
|
namespace Beckhoff
|
|
{
|
|
namespace Ads
|
|
{
|
|
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;
|
|
};
|
|
}
|
|
}
|