map/das-dn/third_party/AdsLib/AdsDef.h
2024-12-05 11:28:59 +08:00

29 lines
606 B
C++

// 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>
bool operator<(const AmsNetId& lhs, const AmsNetId& rhs);
bool operator<(const AmsAddr& lhs, const AmsAddr& rhs);
std::ostream& operator<<(std::ostream& os, const AmsNetId& netId);
AmsNetId make_AmsNetId(const std::string& addr);
namespace bhf
{
namespace ads
{
enum nSystemServiceOpenFile : uint32_t {
SYSTEMSERVICE_OPENGENERIC /*[[deprecated]]*/ = 1,
};
}
}