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

29 lines
677 B
C
Raw Normal View History

2024-12-03 10:36:06 +08:00
// SPDX-License-Identifier: MIT
/**
Copyright (c) 2015 - 2022 Beckhoff Automation GmbH & Co. KG
*/
#pragma once
#if defined(USE_TWINCAT_ROUTER)
#include "TwinCAT/AdsDef.h"
#else
#include "Standalone/AdsDef.h"
#endif
#include <iosfwd>
namespace Beckhoff
{
namespace Ads
{
bool operator<(const AmsNetId& lhs, const AmsNetId& rhs);
bool operator==(const AmsNetId& lhs, const AmsNetId& rhs);
bool operator<(const AmsAddr& lhs, const AmsAddr& rhs);
bool operator==(const AmsAddr& lhs, const AmsAddr& rhs);
std::ostream& operator<<(std::ostream& os, const AmsNetId& netId);
enum nSystemServiceOpenFile : uint32_t {
SYSTEMSERVICE_OPENGENERIC /*[[deprecated]]*/ = 1,
};
}
}