NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Mechatronics_SinumerikClientBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口至JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Mechatronics_SinumerikClientBuilder.ja
9//
10// 生成工具:
11// apiwrap
12//
13// 警告:
14// 此文件为自动生成 - 请勿手动编辑
15//
16#pragma once
17#include <NXOpen/NXDeprecation.hxx>
18#include <vector>
19#include <NXOpen/NXString.hxx>
20#include <NXOpen/Callback.hxx>
21#include <NXOpen/Mechatronics_SignalBuilder.hxx>
22#include <NXOpen/Builder.hxx>
23#include <NXOpen/libnxopencpp_mechatronics_exports.hxx>
24#ifdef _MSC_VER
25#pragma warning(push)
26#pragma warning(disable:4996)
27#endif
28#ifdef __GNUC__
29#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
30#endif
31namespace NXOpen
32{
33 namespace Mechatronics
34 {
36 }
37 class Builder;
38 namespace Mechatronics
39 {
41 }
42 class Part;
43 namespace Mechatronics
44 {
45 class _SinumerikClientBuilderBuilder;
46 class SinumerikClientBuilderImpl;
51 class NXOPENCPP_MECHATRONICSEXPORT SinumerikClientBuilder : public NXOpen::Builder
52 {
55 public: enum AreaType
56 {
60 };
61
63 public:
64 struct TagInfo
65 {
66 public: NXString Name;
68 public: NXOpen::Mechatronics::SignalBuilder::ExternalSignalIOType EIOType;
70 public: NXString Value;
71 public: bool BChecked;
72 public: TagInfo() :
73 Name(),
74 EAreaType((NXOpen::Mechatronics::SinumerikClientBuilder::AreaType)0),
75 EIOType((NXOpen::Mechatronics::SignalBuilder::ExternalSignalIOType)0),
76 DataType(),
77 Value(),
78 BChecked()
79 {
80 }
82 public: TagInfo(const NXString &nameInitial ,
84 NXOpen::Mechatronics::SignalBuilder::ExternalSignalIOType eIOTypeInitial ,
85 const NXString &dataTypeInitial ,
86 const NXString &valueInitial ,
87 bool bCheckedInitial ) :
88 Name(nameInitial),
89 EAreaType(eAreaTypeInitial),
90 EIOType(eIOTypeInitial),
91 DataType(dataTypeInitial),
92 Value(valueInitial),
93 BChecked(bCheckedInitial)
94{
95 }
96 };
97 private: SinumerikClientBuilderImpl * m_sinumerikclientbuilder_impl;
98 private: friend class _SinumerikClientBuilderBuilder;
99 protected: SinumerikClientBuilder();
100 public: ~SinumerikClientBuilder();
104 public: void RefreshSinumerik
105 (
106 bool bUpdateTags
107 );
111 public: void GetFile
112 (
113 const NXString & srcFile ,
114 const NXString & destFile
115 );
120 (
121 const char * srcFile ,
122 const char * destFile
123 );
127 public: std::vector<NXString> GetInstanceNames
128 (
129 std::vector<NXOpen::Part *> & ownerParts
130 );
134 public: void SetInstanceNames
135 (
136 const std::vector<NXOpen::Part *> & ownerParts ,
137 std::vector<NXString> & names
138 );
143 (
144 const NXString & instanceName ,
145 NXOpen::Part * ownerPart ,
146 std::vector<NXOpen::Mechatronics::SinumerikClientBuilder::TagInfo> & tagInfos ,
147 int* cyclic ,
148 int* stepFactor
149 );
154 (
155 const char * instanceName ,
156 NXOpen::Part * ownerPart ,
157 std::vector<NXOpen::Mechatronics::SinumerikClientBuilder::TagInfo> & tagInfos ,
158 int* cyclic ,
159 int* stepFactor
160 );
165 (
166 const NXString & instanceName ,
167 NXOpen::Part * ownerPart ,
168 const std::vector<NXOpen::Mechatronics::SinumerikClientBuilder::TagInfo> & tagInfos ,
169 int cyclic ,
170 int stepFactor
171 );
176 (
177 const char * instanceName ,
178 NXOpen::Part * ownerPart ,
179 const std::vector<NXOpen::Mechatronics::SinumerikClientBuilder::TagInfo> & tagInfos ,
180 int cyclic ,
181 int stepFactor
182 );
187 (
188 const NXString & instanceName ,
189 NXOpen::Part * ownerPart
190 );
195 (
196 const char * instanceName ,
197 NXOpen::Part * ownerPart
198 );
202 public: void SetMagazineTool
203 (
204 const NXString & instanceName ,
205 NXOpen::Part * ownerPart ,
207 );
212 (
213 const char * instanceName ,
214 NXOpen::Part * ownerPart ,
216 );
221 (
222 );
227 (
228 const NXString & configurationName
229 );
234 (
235 const char * configurationName
236 );
241 (
242 );
247 (
248 NXOpen::Part * ownerPart
249 );
250 };
251 }
252}
253#ifdef _MSC_VER
254#pragma warning(pop)
255#endif
256#ifdef __GNUC__
257#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
258#pragma GCC diagnostic warning "-Wdeprecated-declarations"
259#endif
260#endif
261#undef EXPORTLIBRARY