NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Mechatronics_GanttOperationBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口至JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Mechatronics_GanttOperationBuilder.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/Expression.hxx>
22
#include <NXOpen/Builder.hxx>
23
#include <NXOpen/ObjectList.hxx>
24
#include <NXOpen/libnxopencpp_mechatronics_exports.hxx>
25
#ifdef _MSC_VER
26
#pragma warning(push)
27
#pragma warning(disable:4996)
28
#endif
29
#ifdef __GNUC__
30
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
31
#endif
32
namespace
NXOpen
33
{
34
namespace
Mechatronics
35
{
36
class
GanttOperationBuilder
;
37
}
38
class
BasePart
;
39
class
Builder
;
40
class
Expression
;
41
namespace
Mechatronics
42
{
43
class
GanttOperationConditionBuilder
;
44
}
45
namespace
Mechatronics
46
{
47
class
GanttOperationConditionBuilderList
;
48
}
49
namespace
Mechatronics
50
{
51
class
GanttOperationObject
;
52
}
53
namespace
Mechatronics
54
{
55
class
GanttOperationParameterBuilder
;
56
}
57
namespace
Mechatronics
58
{
59
class
GanttOperationParameterBuilderList
;
60
}
61
class
NXObject
;
62
namespace
Mechatronics
63
{
64
class
_GanttOperationBuilderBuilder;
65
class
GanttOperationBuilderImpl;
69
class
NXOPENCPP_MECHATRONICSEXPORT GanttOperationBuilder :
public
NXOpen::Builder
70
{
72
public
:
enum
SimpleOperationType
73
{
74
SimpleOperationTypeSimple
,
75
SimpleOperationTypePause
76
};
77
78
public
:
enum
OperationType
79
{
80
OperationTypeSimple
,
81
OperationTypeCommpound
= 16,
82
OperationTypeTrigger
= 32,
83
OperationTypePause
= 64
84
};
85
private
:
GanttOperationBuilderImpl
* m_ganttoperationbuilder_impl;
86
private
:
friend
class
_GanttOperationBuilderBuilder;
87
protected
:
GanttOperationBuilder
();
88
public
:
~GanttOperationBuilder
();
92
public
:
NXOpen::BasePart
*
Context
93
(
94
);
98
public
:
void
SetContext
99
(
100
NXOpen::BasePart
* context
101
);
105
public
:
NXString
OperationID
106
(
107
);
111
public
:
void
SetOperationID
112
(
113
const
NXString
&
id
114
);
118
void
SetOperationID
119
(
120
const
char
*
id
121
);
125
public
:
NXString
OperationName
126
(
127
);
131
public
:
void
SetOperationName
132
(
133
const
NXString
& name
134
);
138
void
SetOperationName
139
(
140
const
char
* name
141
);
145
public
:
NXString
ParentID
146
(
147
);
151
public
:
void
SetParentID
152
(
153
const
NXString
& parent
154
);
158
void
SetParentID
159
(
160
const
char
* parent
161
);
165
public
:
NXOpen::NXObject
*
Physics
166
(
167
);
171
public
:
void
SetPhysics
172
(
173
NXOpen::NXObject
* physics
174
);
178
public
:
NXOpen::Mechatronics::GanttOperationBuilder::OperationType
OperationTypes
179
(
180
);
184
public
:
void
SetOperationTypes
185
(
186
NXOpen::Mechatronics::GanttOperationBuilder::OperationType
type
187
);
191
public
:
double
Duration
192
(
193
);
197
public
:
void
SetDuration
198
(
199
double
duration
200
);
204
public
:
NXOpen::Expression
*
ExpressionDuration
205
(
206
);
210
public
:
double
StartTime
211
(
212
);
216
public
:
void
SetStartTime
217
(
218
double
start
219
);
223
public
:
NXOpen::Mechatronics::GanttOperationParameterBuilderList
*
ParameterList
224
(
225
);
229
public
:
void
AddParameterList
230
(
231
const
std::vector<NXOpen::Mechatronics::GanttOperationParameterBuilder *> & parameters
232
);
236
public
:
NXOpen::Mechatronics::GanttOperationConditionBuilderList
*
ConditionList
237
(
238
);
242
public
:
void
AddConditionList
243
(
244
const
std::vector<NXOpen::Mechatronics::GanttOperationConditionBuilder *> & conditions
245
);
249
public
:
bool
ActiveStatus
250
(
251
);
255
public
:
void
SetActiveStatus
256
(
257
bool
status
258
);
262
public
:
NXOpen::Mechatronics::GanttOperationBuilder::SimpleOperationType
Type
263
(
264
);
268
public
:
void
SetType
269
(
270
NXOpen::Mechatronics::GanttOperationBuilder::SimpleOperationType
type
271
);
275
public
:
void
SetOperationsGroup
276
(
277
NXOpen::Mechatronics::GanttOperationObject
* group ,
278
const
std::vector<NXOpen::Mechatronics::GanttOperationObject *> & objects
279
);
281
284
public
:
void
SetSequenceNumber
285
(
286
int
index
287
);
289
};
290
}
291
}
292
#ifdef _MSC_VER
293
#pragma warning(pop)
294
#endif
295
#ifdef __GNUC__
296
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
297
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
298
#endif
299
#endif
300
#undef EXPORTLIBRARY